From bc0d9c854bdde26824bf964820752e4c1b63c954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Eixarch?= Date: Wed, 19 Dec 2012 18:22:12 +0100 Subject: [PATCH] use relativa path in import definitions of locales.json --- src/node/hooks/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/hooks/i18n.js b/src/node/hooks/i18n.js index bdef23afc..c947c896a 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); }