allow multiple files for translations

This commit is contained in:
Matteo Pagliazzi
2013-12-30 12:16:42 +01:00
parent 6299415d6e
commit cb07bc9229
25 changed files with 434 additions and 1 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ var getManifestFiles = function(page){
var translations = {};
var loadTranslations = function(locale){
translations[locale] = require(path.join(__dirname, "/../locales/", locale, 'app.json'));
translations[locale] = require(path.join(__dirname, "/../locales/", locale, 'app.js'));
}
// First fetch english so we can merge with missing strings in other languages