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
1 changed files with 1 additions and 4 deletions

View File

@ -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.