diff --git a/src/configMenu.cpp b/src/configMenu.cpp index 6a5f060..b7c3f04 100644 --- a/src/configMenu.cpp +++ b/src/configMenu.cpp @@ -1,6 +1,6 @@ -#include #include #include +#include #include #include #include @@ -54,19 +54,19 @@ void configMenu() { if (input.get(TRIGGER, PAD_BUTTON_LEFT)) { if (language == gettext("Japanese")) loadLanguage(Swkbd_LanguageType__English); - else if(language == gettext("English")) + else if (language == gettext("English")) loadLanguage(Swkbd_LanguageType__Chinese2); - else if(language == gettext("Simplified Chinese")) + else if (language == gettext("Simplified Chinese")) loadLanguage(Swkbd_LanguageType__Russian); - else if(language == gettext("Russian")) - loadLanguage(Swkbd_LanguageType__Korean); - else if(language == gettext("Korean")) + else if (language == gettext("Russian")) + loadLanguage(Swkbd_LanguageType__Korean); + else if (language == gettext("Korean")) loadLanguage(Swkbd_LanguageType__Chinese1); - else if(language == gettext("Traditional Chinese")) + else if (language == gettext("Traditional Chinese")) loadLanguage(Swkbd_LanguageType__Spanish); - else if(language == gettext("Spanish")) + else if (language == gettext("Spanish")) loadLanguage(Swkbd_LanguageType__Italian); - else if(language == gettext("Italian")) + else if (language == gettext("Italian")) loadLanguage(Swkbd_LanguageType__Japanese); } if (redraw) { diff --git a/src/language.cpp b/src/language.cpp index 6ce557f..e4e3584 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -30,7 +30,7 @@ void loadLanguage(Swkbd_LanguageType language) { gettextLoadLanguage("romfs:/japanese.json"); break; case Swkbd_LanguageType__English: - gettextLoadLanguage("romfs:/english.json"); + gettextLoadLanguage("romfs:/english.json"); break; /*case Swkbd_LanguageType__French: gettextLoadLanguage("romfs:/french.json"); @@ -75,7 +75,7 @@ std::string getLoadedLanguage() { return gettext("Japanese"); break; case Swkbd_LanguageType__English: - return gettext("English"); + return gettext("English"); break; /*case Swkbd_LanguageType__French: gettextLoadLanguage("romfs:/french.json");