更新 'lib/assets/javascripts/new-dashboard/i18n/backbone-i18n.js'
This commit is contained in:
parent
928dcad324
commit
a55814381d
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user