summaryrefslogtreecommitdiff
path: root/src/node/hooks
diff options
context:
space:
mode:
authorIván Eixarch <miao.org@gmail.com>2012-12-19 18:22:12 +0100
committerMarcel Klehr <mklehr@gmx.net>2012-12-23 18:16:54 +0100
commitbc0d9c854bdde26824bf964820752e4c1b63c954 (patch)
tree7e99f7d577cd33ea85e60c6ef8d4ce7b83989ff8 /src/node/hooks
parentd9d0312a9e182dc66b3a7d34aa74423ac3664bc2 (diff)
downloadetherpad-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.js2
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);
}