更新 'lib/assets/javascripts/new-dashboard/i18n/backbone-i18n.js'

This commit is contained in:
zhongjin 2024-04-09 10:37:27 +08:00
parent 928dcad324
commit a55814381d

View File

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