Translation Loading

Translations only need to be loaded by themselves now, English is the default on component creation
This commit is contained in:
Konloch 2021-07-08 02:33:03 -07:00
parent 7b724d00c2
commit baaa2c0780

View file

@ -481,10 +481,7 @@ public class SettingsSerializer
//line 130 is used for preload //line 130 is used for preload
if(Configuration.language != Language.ENGLISH) if(Configuration.language != Language.ENGLISH)
{ Configuration.language.loadLanguage(); //load language translations
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; 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.