From b98524dc91d08e5f6511b964648a29886d902788 Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Tue, 25 Oct 2016 15:46:45 -0700 Subject: [PATCH] Temporarily commenting out request for language files in order to avoid 404 file not found error on the console until the i18n team provies the language files --- awx/ui/client/src/i18n.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui/client/src/i18n.js b/awx/ui/client/src/i18n.js index 7a353583e6..c5e5b782de 100644 --- a/awx/ui/client/src/i18n.js +++ b/awx/ui/client/src/i18n.js @@ -81,7 +81,10 @@ export default var langUrl = langInfo.replace('-', '_'); //gettextCatalog.debug = true; gettextCatalog.setCurrentLanguage(langInfo); - gettextCatalog.loadRemote('/static/languages/' + langUrl + '.json'); + // 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'); }; }]) .factory('i18n', ['gettextCatalog',