use relativa path in import definitions of locales.json
parent
d9d0312a9e
commit
bc0d9c854b
|
@ -89,7 +89,7 @@ var generateLocaleIndex = function () {
|
|||
if (_.isEmpty(locales)) getAllLocales();
|
||||
var result = _.clone(locales);
|
||||
_.each(_.keys(locales), function(langcode) {
|
||||
if (langcode != 'en') result[langcode]='/locales/'+langcode+'.json';
|
||||
if (langcode != 'en') result[langcode]='locales/'+langcode+'.json';
|
||||
});
|
||||
return JSON.stringify(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue