Don't crash on translation errors

A non-translated interface is better than no interface at all.
This commit is contained in:
Pierre Ossman 2018-02-07 09:23:45 +01:00
parent e8b2ab65e5
commit 7c332ad930
1 changed files with 2 additions and 1 deletions

View File

@ -1659,7 +1659,8 @@ if (l10n.language !== "en" && l10n.dictionary === undefined) {
// wait for translations to load before loading the UI
UI.prime();
}, function (err) {
throw err;
Log.Error("Failed to load translations: " + err);
UI.prime();
});
} else {
UI.prime();