mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Uncomment line that requests UI l10n files.
This commit is contained in:
parent
cbf0c2704d
commit
6b0573da71
@ -24,10 +24,7 @@ export default
|
||||
var langUrl = langInfo.replace('-', '_');
|
||||
//gettextCatalog.debug = true;
|
||||
gettextCatalog.setCurrentLanguage(langInfo);
|
||||
// TODO: the line below is commented out temporarily until
|
||||
// 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');
|
||||
gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json');
|
||||
};
|
||||
}])
|
||||
.factory('i18n', ['gettextCatalog',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user