Skip to content

Commit

Permalink
retro-core: Fixed compilation warning
Browse files Browse the repository at this point in the history
I've just removed _("<profile name>"), it is never seen by the user, it is always replaced when the dialog loads/changes.
  • Loading branch information
ducalex committed Nov 23, 2024
1 parent 18f7d76 commit c5f9a75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions components/retro-go/translations.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* IMPORTANT: This file must be opened and saved as ISO 8859-1 (Latin-1)!
* Retro-Go does NOT understand UTF-8 or any other encoding.
* If the following looks like gibberish, your encoding is wrong: è é ê à â ä ò ô
* If the following looks like gibberish, your encoding is wrong: � � � � � � � �
*/

#include "rg_localization.h"
Expand Down Expand Up @@ -282,10 +282,6 @@ static const char *translations[][RG_LANG_MAX] =
[RG_LANG_EN] = "Profile",
[RG_LANG_FR] = "Profile"
},
{
[RG_LANG_EN] = "<profile name>",
[RG_LANG_FR] = "<nom du profil>"
},
{
[RG_LANG_EN] = "Controls",
[RG_LANG_FR] = "Controles"
Expand Down
2 changes: 1 addition & 1 deletion retro-core/main/main_snes.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static rg_gui_event_t menu_keymap_cb(rg_gui_option_t *option, rg_gui_event_t eve
if (event == RG_DIALOG_ENTER)
{
const rg_gui_option_t options[20] = {
{-1, _("Profile"), _("<profile name>"), RG_DIALOG_FLAG_NORMAL, &change_keymap_cb},
{-1, _("Profile"), "-", RG_DIALOG_FLAG_NORMAL, &change_keymap_cb},
{-2, "", NULL, RG_DIALOG_FLAG_MESSAGE, NULL},
{-3, "snes9x ", "handheld", RG_DIALOG_FLAG_MESSAGE, NULL},
{0, "-", "-", RG_DIALOG_FLAG_HIDDEN, &change_keymap_cb},
Expand Down

0 comments on commit c5f9a75

Please sign in to comment.