Translation Loading
Translations only need to be loaded by themselves now, English is the default on component creation
This commit is contained in:
parent
7b724d00c2
commit
baaa2c0780
1 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue