This commit is contained in:
zhongjin 2024-04-07 01:11:59 +08:00
parent 3297bb95c7
commit 339b9f38c9
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
module.exports = {
en: require('./en.json'),
cn: require('./cn.json')
'en': require('./en.json'),
'zh-cn': require('./zh-cn.json')
};

View File

@ -1,6 +1,6 @@
import deepObjectExtend from 'new-dashboard/utils/deep-object-extend';
var ACTIVE_LOCALE = 'en';
var ACTIVE_LOCALE = 'zh-cn';
if (ACTIVE_LOCALE !== 'en') {
require('moment/locale/' + ACTIVE_LOCALE);
}

View File

@ -4,7 +4,7 @@ import './backbone-i18n';
// Locales
import en from 'new-dashboard/i18n/locales/en';
import cn from 'new-dashboard/i18n/locales/cn';
import cn from 'new-dashboard/i18n/locales/zh-cn';
Vue.use(VueI18n);