From d766216c149489a8f82558c00381b4df7b855b31 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 19 Sep 2014 19:23:50 +0400 Subject: [PATCH] Fixed default locale problem --- app/js/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/init.js b/app/js/init.js index c102ed4d..0ffd32fb 100644 --- a/app/js/init.js +++ b/app/js/init.js @@ -126,7 +126,7 @@ $.getJSON('js/locales/' + Config.I18n.locale + '.json').success(function (json) { Config.I18n.messages = json; bootReady.i18n_messages = true; - if (locale == defaultLocale) { // No fallback, leave empty object + if (Config.I18n.locale == defaultLocale) { // No fallback, leave empty object bootReady.i18n_fallback = true; } checkReady();