Fixed default locale problem

This commit is contained in:
Igor Zhukov 2014-09-19 19:23:50 +04:00
parent aa3790005e
commit d766216c14

View File

@ -126,7 +126,7 @@
$.getJSON('js/locales/' + Config.I18n.locale + '.json').success(function (json) { $.getJSON('js/locales/' + Config.I18n.locale + '.json').success(function (json) {
Config.I18n.messages = json; Config.I18n.messages = json;
bootReady.i18n_messages = true; 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; bootReady.i18n_fallback = true;
} }
checkReady(); checkReady();