English Fix

This commit is contained in:
Konloch 2021-07-08 01:36:44 -07:00
parent 8933a9a8c0
commit 42d914d7a6

View file

@ -478,17 +478,15 @@ public class SettingsSerializer
//line 128 is used for theme on preload //line 128 is used for theme on preload
BytecodeViewer.viewer.simplifyNameInTabTitle.setSelected(asBoolean(129)); BytecodeViewer.viewer.simplifyNameInTabTitle.setSelected(asBoolean(129));
Configuration.simplifiedTabNames = BytecodeViewer.viewer.simplifyNameInTabTitle.isSelected(); Configuration.simplifiedTabNames = BytecodeViewer.viewer.simplifyNameInTabTitle.isSelected();
//line 130 is used for preload //line 130 is used for preload
Language.ENGLISH.loadLanguage(); //load english first incase the translation file is missing anything
if(Configuration.language != Language.ENGLISH) 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 Configuration.language.loadLanguage(); //load translation file and swap as needed
}
Settings.hasSetLanguageAsSystemLanguage = true; Settings.hasSetLanguageAsSystemLanguage = true;
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
//ignore because errors are expected, first start up and outdated settings. //ignore because errors are expected, first start up and outdated settings.
//e.printStackTrace(); e.printStackTrace();
} }
} }
@ -516,7 +514,7 @@ public class SettingsSerializer
catch (Exception e) catch (Exception e)
{ {
//ignore because errors are expected, first start up and outdated settings. //ignore because errors are expected, first start up and outdated settings.
//e.printStackTrace(); e.printStackTrace();
} }
} }