feat: added zh-CN translations to the UI (#448)

This commit is contained in:
JackyChan
2020-04-02 15:07:56 +08:00
committed by GitHub
parent 6552f4c13f
commit 03114a842b
3 changed files with 149 additions and 1 deletions

View File

@@ -44,6 +44,12 @@ function loadDayJSLocale() {
dayjs.locale('es');
}
break;
case 'zh-cn':
{
require('dayjs/locale/zh-cn');
dayjs.locale('zh-cn');
}
break;
default:
break;
}