Uncomment line that requests UI l10n files.

This commit is contained in:
Shane McDonald
2017-01-12 21:07:03 -05:00
parent cbf0c2704d
commit 6b0573da71

View File

@@ -24,10 +24,7 @@ export default
var langUrl = langInfo.replace('-', '_'); var langUrl = langInfo.replace('-', '_');
//gettextCatalog.debug = true; //gettextCatalog.debug = true;
gettextCatalog.setCurrentLanguage(langInfo); gettextCatalog.setCurrentLanguage(langInfo);
// TODO: the line below is commented out temporarily until gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json');
// the .po files are received from the i18n team, in order to avoid
// 404 file not found console errors in dev
// gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json');
}; };
}]) }])
.factory('i18n', ['gettextCatalog', .factory('i18n', ['gettextCatalog',