Skip to content

Commit

Permalink
Add German to options
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpl0itU committed Feb 5, 2023
1 parent 834f69e commit 3730e35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/menu/ConfigMenuState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ApplicationState::eSubState ConfigMenuState::update(Input *input) {
return SUBSTATE_RETURN;
if (input->get(TRIGGER, PAD_BUTTON_RIGHT)) {
if (language == LanguageUtils::gettext("Japanese"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__German);
else if (language == LanguageUtils::gettext("German"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__Italian);
else if (language == LanguageUtils::gettext("Italian"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__Portuguese);
Expand All @@ -40,6 +42,8 @@ ApplicationState::eSubState ConfigMenuState::update(Input *input) {
if (language == LanguageUtils::gettext("Japanese"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__English);
else if (language == LanguageUtils::gettext("English"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__German);
else if (language == LanguageUtils::gettext("German"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__Chinese2);
else if (language == LanguageUtils::gettext("Simplified Chinese"))
LanguageUtils::loadLanguage(Swkbd_LanguageType__Russian);
Expand Down

0 comments on commit 3730e35

Please sign in to comment.