Skip to content

Commit

Permalink
feat(i18n): Add French translation (thanks @InternalLoss)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashquarky authored Apr 15, 2024
1 parent bf0031f commit c05c332
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,17 @@ constexpr config_strings get_config_strings(nn::swkbd::LanguageType language) {
.restart_to_apply_action = "Reinicia para confirmar",
.need_menu_action = "Sólo desde el menú de WiiU",
};
case nn::swkbd::LanguageType::French:
return {
.plugin_name = "Inkay",
.network_category = "Sélection du réseau",
.connect_to_network_setting = "Connexion à Pretendo",
.other_category = "Autres paramètres",
.reset_wwp_setting = "Réinitialiser la place WaraWara",
.press_a_action = "Appuyez sur A",
.restart_to_apply_action = "Redémarrer pour appliquer",
.need_menu_action = "Depuis le menu Wii U seulement",
};
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ static const char * get_nintendo_network_message() {
return "Using Nintendo Network";
case nn::swkbd::LanguageType::Spanish:
return "Usando Nintendo Network";
case nn::swkbd::LanguageType::French:
return "Sur Nintendo Network";
}
}
static const char * get_pretendo_message() {
Expand All @@ -113,6 +115,8 @@ static const char * get_pretendo_message() {
return "Using Pretendo Network";
case nn::swkbd::LanguageType::Spanish:
return "Usando Pretendo Network";
case nn::swkbd::LanguageType::French:
return "Sur Pretendo Network";
}
}

Expand Down

0 comments on commit c05c332

Please sign in to comment.