retro-core: Fixed compilation warning

I've just removed _("<profile name>"), it is never seen by the user, it is always replaced when the dialog loads/changes.
This commit is contained in:
Alex Duchesne 2024-11-23 16:09:28 +00:00
parent 18f7d7638b
commit c5f9a75f13
2 changed files with 2 additions and 6 deletions

View File

@ -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: <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD>
*/
#include "rg_localization.h"
@ -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"

View File

@ -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},