zh-cn
This commit is contained in:
parent
3297bb95c7
commit
339b9f38c9
@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
en: require('./en.json'),
|
||||
cn: require('./cn.json')
|
||||
'en': require('./en.json'),
|
||||
'zh-cn': require('./zh-cn.json')
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user