mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
use relativa path in import definitions of locales.json
This commit is contained in:
parent
d9d0312a9e
commit
bc0d9c854b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue