From baaa2c07806167cc1063b2e3afffb0463c0e02f1 Mon Sep 17 00:00:00 2001 From: Konloch Date: Thu, 8 Jul 2021 02:33:03 -0700 Subject: [PATCH] Translation Loading Translations only need to be loaded by themselves now, English is the default on component creation --- .../the/bytecode/club/bytecodeviewer/SettingsSerializer.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/SettingsSerializer.java b/src/main/java/the/bytecode/club/bytecodeviewer/SettingsSerializer.java index f6653aa4..511c3430 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/SettingsSerializer.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/SettingsSerializer.java @@ -481,10 +481,7 @@ public class SettingsSerializer //line 130 is used for preload 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 language translations Settings.hasSetLanguageAsSystemLanguage = true; } catch (Exception e) { //ignore because errors are expected, first start up and outdated settings.