diff --git a/source/scenes/setting_menu.cpp b/source/scenes/setting_menu.cpp index 5e1fff02..d784bdeb 100644 --- a/source/scenes/setting_menu.cpp +++ b/source/scenes/setting_menu.cpp @@ -226,9 +226,9 @@ void Sem_init(void) { (new SelectorView(0, 0, 320, 35)) ->set_texts({ (std::function) []() { return LOCALIZED(LANG_EN); }, - (std::function) []() { return LOCALIZED(LANG_JA); } + (std::function) []() { return LOCALIZED(LANG_JA); }, (std::function) []() { return LOCALIZED(LANG_NL); } - }, var_lang == "ja" ? 1 : 0) + }, var_lang == "ja" ? 1 : var_lang == "nl" ? 2:0) ->set_title([](const SelectorView &) { return LOCALIZED(UI_LANGUAGE); }) ->set_on_change([](const SelectorView &view) { auto next_lang = std::vector{"en", "ja", "nl"}[view.selected_button]; @@ -242,12 +242,12 @@ void Sem_init(void) { (new SelectorView(0, 0, 320, 35)) ->set_texts({ (std::function) []() { return LOCALIZED(LANG_EN); }, - (std::function) []() { return LOCALIZED(LANG_JA); } + (std::function) []() { return LOCALIZED(LANG_JA); }, (std::function) []() { return LOCALIZED(LANG_NL); } }, var_lang_content == "ja" ? 1 : var_lang_content == "nl" ? 2 : 0) ->set_title([](const SelectorView &) { return LOCALIZED(CONTENT_LANGUAGE); }) ->set_on_change([](const SelectorView &view) { - auto next_lang = std::vector{"en", "ja"}[view.selected_button]; + auto next_lang = std::vector{"en", "ja", "nl"}[view.selected_button]; if (var_lang_content != next_lang) { var_lang_content = next_lang; misc_tasks_request(TASK_SAVE_SETTINGS);