Translation Fix
This commit is contained in:
parent
d651f43b62
commit
0084e4c408
1 changed files with 3 additions and 1 deletions
|
@ -480,9 +480,11 @@ public class SettingsSerializer
|
||||||
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) {
|
||||||
//ignore because errors are expected, first start up and outdated settings.
|
//ignore because errors are expected, first start up and outdated settings.
|
||||||
|
|
Loading…
Reference in a new issue