From d8143c3b2ffeb70793a974aa16d8ea8ee3004711 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Sun, 28 Sep 2014 22:53:59 +0400 Subject: [PATCH] Fixed angular missing for locale --- app/js/init.js | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/app/js/init.js b/app/js/init.js index e07e0f43..64902410 100644 --- a/app/js/init.js +++ b/app/js/init.js @@ -78,7 +78,7 @@ defaultLocale = 'en-us', bootReady = { dom: false, - i18n_ng: locale == defaultLocale, // Already included + i18n_ng: false, i18n_messages: false, i18n_fallback: false }, @@ -114,15 +114,7 @@ if (Config.I18n.supported.indexOf(locale) != -1) { Config.I18n.locale = locale; } - - if (!bootReady.i18n_ng) { - $('