diff options
author | Iván Eixarch <miao.org@gmail.com> | 2012-12-19 18:22:12 +0100 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2012-12-23 18:16:54 +0100 |
commit | bc0d9c854bdde26824bf964820752e4c1b63c954 (patch) | |
tree | 7e99f7d577cd33ea85e60c6ef8d4ce7b83989ff8 /src/node/hooks | |
parent | d9d0312a9e182dc66b3a7d34aa74423ac3664bc2 (diff) | |
download | etherpad-lite-bc0d9c854bdde26824bf964820752e4c1b63c954.zip |
use relativa path in import definitions of locales.json
Diffstat (limited to 'src/node/hooks')
-rw-r--r-- | src/node/hooks/i18n.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js index bdef23af..c947c896 100644 --- a/src/node/hooks/i18n.js +++ b/src/node/hooks/i18n.js @@ -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); } |