Skip to content

Commit

Permalink
feat(i18n): Add Russian translation
Browse files Browse the repository at this point in the history
Closes #41

Co-authored-by: Ash Logan <ash@heyquark.com>
  • Loading branch information
yarb00 and ashquarky committed Aug 3, 2024
1 parent 956419a commit 04d7231
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,18 @@ constexpr config_strings get_config_strings(nn::swkbd::LanguageType language) {
.restart_to_apply_action = "Herstart om toe te passen",
.need_menu_action = "Alleen vanuit het WiiU-menu"
};

case nn::swkbd::LanguageType::Russian:
return {
.plugin_name = "Inkay",
.network_category = "Выбор сети",
.connect_to_network_setting = "Подключиться к Pretendo Network",
.other_category = "Другие настройки",
.reset_wwp_setting = "Сбросить Wara Wara Plaza",
.press_a_action = "Нажмите A",
.restart_to_apply_action = "Перезагрузите для применения изменений",
.need_menu_action = "Только из меню Wii U"
};
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ static const char *get_nintendo_network_message() {
return "ニンテンドーネットワークを使用中";
case nn::swkbd::LanguageType::Dutch:
return "Nintendo Network wordt gebruikt";
case nn::swkbd::LanguageType::Russian:
return "Используется Nintendo Network";
}
}

Expand All @@ -145,6 +147,8 @@ static const char *get_pretendo_message() {
return "Pretendoネットワークを使用中";
case nn::swkbd::LanguageType::Dutch:
return "Pretendo Network wordt gebruikt";
case nn::swkbd::LanguageType::Russian:
return "Используется Pretendo Network";
}
}

Expand Down

0 comments on commit 04d7231

Please sign in to comment.