Translation Fix

This commit is contained in:
Konloch 2021-07-08 01:55:52 -07:00
parent d651f43b62
commit 0084e4c408

View file

@ -480,9 +480,11 @@ public class SettingsSerializer
Configuration.simplifiedTabNames = BytecodeViewer.viewer.simplifyNameInTabTitle.isSelected();
//line 130 is used for preload
Language.ENGLISH.loadLanguage(); //load english first incase the translation file is missing anything
if(Configuration.language != Language.ENGLISH)
{
Language.ENGLISH.loadLanguage(); //load english first incase the translation file is missing anything
Configuration.language.loadLanguage(); //load translation file and swap as needed
}
Settings.hasSetLanguageAsSystemLanguage = true;
} catch (Exception e) {
//ignore because errors are expected, first start up and outdated settings.