Load en.json for languages that don't have translations.

This commit is contained in:
Julia Radzhabova 2017-09-06 14:49:06 +03:00
parent 44e1eb0e8d
commit 42c08e7b89

View file

@ -106,7 +106,14 @@ Common.Locale = new(function() {
l10n = eval("(" + xhrObj.responseText + ")");
}
}
catch (e) {
catch (e) {
try {
xhrObj.open('GET', 'locale/en.json', false);
xhrObj.send('');
l10n = eval("(" + xhrObj.responseText + ")");
}
catch (e) {
}
}
return {