summaryrefslogtreecommitdiff
path: root/web-ui
diff options
context:
space:
mode:
authorCaio Carrara <ccarrara@thoughtworks.com>2016-06-23 15:28:46 -0300
committerCaio Carrara <ccarrara@thoughtworks.com>2016-06-27 16:32:58 -0300
commit546c3d0ab51914645b0d5aa2890acc982949ccf6 (patch)
tree6eab786b67aed47595250dd72aef054e072be042 /web-ui
parent2251751bf1da5af2059d2f79736b9aef9b8755bf (diff)
Changes fallback language code to en_US
The previous used code was only 'en'. However, as we updated the codes with Transifex changes, it's also necessary update this fallback. See: #727
Diffstat (limited to 'web-ui')
-rw-r--r--web-ui/app/js/views/i18n.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/views/i18n.js b/web-ui/app/js/views/i18n.js
index 568e7635..6a39ee89 100644
--- a/web-ui/app/js/views/i18n.js
+++ b/web-ui/app/js/views/i18n.js
@@ -20,7 +20,7 @@ define(['i18next'], function(i18n) {
var self = i18n.t;
self.init = function(path) {
- i18n.init({detectLngQS: 'lang', fallbackLng: 'en', lowerCaseLng: true, getAsync: false, resGetPath: path + 'locales/__lng__/__ns__.json'});
+ i18n.init({detectLngQS: 'lang', fallbackLng: 'en_US', lowerCaseLng: true, getAsync: false, resGetPath: path + 'locales/__lng__/__ns__.json'});
Handlebars.registerHelper('t', self.bind(self));
};