mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Uncomment line that requests UI l10n files.
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user