use relativa path in import definitions of locales.json

pull/1297/head
Iván Eixarch 2012-12-19 18:22:12 +01:00 committed by Marcel Klehr
parent d9d0312a9e
commit bc0d9c854b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}