Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add russian translation #41

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,18 @@ constexpr config_strings get_config_strings(nn::swkbd::LanguageType language) {
.restart_to_apply_action = "Neustarten zum Anwenden",
.need_menu_action = "Nur vom Wii U-Menü aus",
};

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 @@ -113,6 +113,8 @@ static const char *get_nintendo_network_message() {
return "Usando Nintendo Network";
case nn::swkbd::LanguageType::German:
return "Nutze Nintendo Network";
case nn::swkbd::LanguageType::Russian:
return "Используется Nintendo Network";
}
}

Expand All @@ -132,6 +134,8 @@ static const char *get_pretendo_message() {
return "Usando Pretendo Network";
case nn::swkbd::LanguageType::German:
return "Nutze Pretendo Network";
case nn::swkbd::LanguageType::Russian:
return "Используется Pretendo Network";
}
}

Expand Down