Don't crash on translation errors
A non-translated interface is better than no interface at all.
This commit is contained in:
parent
e8b2ab65e5
commit
7c332ad930
|
@ -1659,7 +1659,8 @@ if (l10n.language !== "en" && l10n.dictionary === undefined) {
|
||||||
// wait for translations to load before loading the UI
|
// wait for translations to load before loading the UI
|
||||||
UI.prime();
|
UI.prime();
|
||||||
}, function (err) {
|
}, function (err) {
|
||||||
throw err;
|
Log.Error("Failed to load translations: " + err);
|
||||||
|
UI.prime();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
UI.prime();
|
UI.prime();
|
||||||
|
|
Loading…
Reference in New Issue