更新 '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'; import deepObjectExtend from 'new-dashboard/utils/deep-object-extend';
var moment=require('moment'); var moment=require('moment');
require('moment/locale/zh-cn');
var ACTIVE_LOCALE = 'zh-cn'; var ACTIVE_LOCALE = 'zh-cn';
if (ACTIVE_LOCALE !== 'en') { //if (ACTIVE_LOCALE !== 'en') {
require('moment/locale/' + ACTIVE_LOCALE); // require('moment/locale/' + ACTIVE_LOCALE);
} //}
var Locale = require('locale/index'); var Locale = require('locale/index');
var Polyglot = require('node-polyglot'); var Polyglot = require('node-polyglot');