feat(i18n): Add Japanese translation

Closes #33

Co-authored-by: Ash Logan <ash@heyquark.com>
This commit is contained in:
Dekokiyo 2024-08-03 21:59:02 +10:00 committed by Ash Logan
parent a6fd3783f1
commit bdfb6ca859
2 changed files with 16 additions and 0 deletions

View File

@ -137,6 +137,18 @@ constexpr config_strings get_config_strings(nn::swkbd::LanguageType language) {
.restart_to_apply_action = "Reinicie para aplicar",
.need_menu_action = "Apenas no menu do Wii U"
};
case nn::swkbd::LanguageType::Japanese:
return {
.plugin_name = "Inkay",
.network_category = "ネットワークの選択",
.connect_to_network_setting = "Pretendoネットワークに接続",
.other_category = "その他の設定",
.reset_wwp_setting = "わらわら広場をリセット",
.press_a_action = "Aボタンを押す",
.restart_to_apply_action = "再起動して適用",
.need_menu_action = "WiiUメニューからのみ実行可能"
};
}
}

View File

@ -115,6 +115,8 @@ static const char *get_nintendo_network_message() {
case nn::swkbd::LanguageType::SimplifiedChinese:
case nn::swkbd::LanguageType::TraditionalChinese:
return "使用 Nintendo Network";
case nn::swkbd::LanguageType::Japanese:
return "ニンテンドーネットワークを使用中";
}
}
@ -137,6 +139,8 @@ static const char *get_pretendo_message() {
case nn::swkbd::LanguageType::SimplifiedChinese:
case nn::swkbd::LanguageType::TraditionalChinese:
return "使用 Pretendo Network";
case nn::swkbd::LanguageType::Japanese:
return "Pretendoネットワークを使用中";
}
}