Fixed default locale problem
This commit is contained in:
parent
aa3790005e
commit
d766216c14
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user