diff --git a/intl/msg_hash_chs.c b/intl/msg_hash_chs.c index befae05d14..5f7d695468 100644 --- a/intl/msg_hash_chs.c +++ b/intl/msg_hash_chs.c @@ -3063,8 +3063,6 @@ const char *msg_hash_to_str_chs(enum msg_hash_enums msg) return "自动加载重映射文件"; case MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE: return "自动加载Shader预设"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "返回"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK: return "返回"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM: diff --git a/intl/msg_hash_de.c b/intl/msg_hash_de.c index 647a18df98..f0cd0b9dc8 100644 --- a/intl/msg_hash_de.c +++ b/intl/msg_hash_de.c @@ -482,8 +482,6 @@ const char *msg_hash_to_str_de(enum msg_hash_enums msg) return "Lade Override-Dateien automatisch"; case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Lade Remap-Dateien automatisch"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "ZURÜCK"; case MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE: return "Blockiere SRAM-Überschreibung"; case MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL: diff --git a/intl/msg_hash_es.c b/intl/msg_hash_es.c index 55cd56ea7c..78e7276872 100644 --- a/intl/msg_hash_es.c +++ b/intl/msg_hash_es.c @@ -1558,8 +1558,6 @@ const char *msg_hash_to_str_es(enum msg_hash_enums msg) return "Cargar autom. archivos de anulación"; case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Cargar autom. archivos de reasignación"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "BACK"; case MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE: return "No sobrescribir SaveRAM al cargar un guardado rápido"; case MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL: diff --git a/intl/msg_hash_fr.c b/intl/msg_hash_fr.c index 6845bfb4a1..f875e798ab 100644 --- a/intl/msg_hash_fr.c +++ b/intl/msg_hash_fr.c @@ -108,8 +108,6 @@ const char *msg_hash_to_str_fr(enum msg_hash_enums msg) return "Charger les fichiers d'override automatiquement"; case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Charger les fichiers remaps automatiquement"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "Retour"; case MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE: return "Ne pas écraser la SaveRAM en chargeant la savestate"; case MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL: diff --git a/intl/msg_hash_it.c b/intl/msg_hash_it.c index d9b0bc49ae..cf970f76f3 100644 --- a/intl/msg_hash_it.c +++ b/intl/msg_hash_it.c @@ -2012,8 +2012,6 @@ const char *msg_hash_to_str_it(enum msg_hash_enums msg) return "Sì"; case MENU_ENUM_LABEL_VALUE_NO: return "No"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "INDIETRO"; case MENU_ENUM_LABEL_VALUE_SCREEN_RESOLUTION: return "Risoluzione schermo"; case MENU_ENUM_LABEL_VALUE_DISABLED: diff --git a/intl/msg_hash_jp.c b/intl/msg_hash_jp.c index 293e397034..a28280c323 100644 --- a/intl/msg_hash_jp.c +++ b/intl/msg_hash_jp.c @@ -3093,8 +3093,6 @@ const char *msg_hash_to_str_jp(enum msg_hash_enums msg) return "リマップファイルを自動的にロード"; case MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE: return "Load Shader Presets Automatically"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "戻る"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK: return "戻る"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM: diff --git a/intl/msg_hash_nl.c b/intl/msg_hash_nl.c index 6aeef53550..41a8302a97 100644 --- a/intl/msg_hash_nl.c +++ b/intl/msg_hash_nl.c @@ -91,8 +91,6 @@ const char *msg_hash_to_str_nl(enum msg_hash_enums msg) return "Laad Override Bestanden Automatisch"; case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Laad Remap Bestanden Automatisch"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "TERUG"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS: return "Basis menu besturing"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK: diff --git a/intl/msg_hash_pl.c b/intl/msg_hash_pl.c index 50c51b8051..3b9f8f046a 100644 --- a/intl/msg_hash_pl.c +++ b/intl/msg_hash_pl.c @@ -80,8 +80,6 @@ const char *msg_hash_to_str_pl(enum msg_hash_enums msg) return "Load Override Files Automatically"; /* this one's rather complicated */ case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Automatycznie wczytuj pliki remapowania"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "WSTECZ"; case MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE: return "Nie nadpisuj SaveRAM przy wczytywaniu stanu"; case MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL: diff --git a/intl/msg_hash_pt.c b/intl/msg_hash_pt.c index e0fd0b00b6..3c9f5d03f0 100644 --- a/intl/msg_hash_pt.c +++ b/intl/msg_hash_pt.c @@ -1018,8 +1018,6 @@ const char *msg_hash_to_str_pt(enum msg_hash_enums msg) return "Carregar Automaticamente Arquivos de Sobreposição"; case MENU_ENUM_LABEL_VALUE_AUTO_REMAPS_ENABLE: return "Carregar Automaticamente Arquivos Remapeados"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "VOLTAR"; case MENU_ENUM_LABEL_VALUE_BLOCK_SRAM_OVERWRITE: return "Não Sobrescrever SaveRAM ao Carregar Savestate"; case MENU_ENUM_LABEL_VALUE_BUILDBOT_ASSETS_URL: diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index b32f41df12..56345c2c07 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -3004,10 +3004,6 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg) switch (msg) { #include "msg_hash_us.h" - case MENU_ENUM_LABEL_VALUE_BACK: - return "BACK"; - case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK: - return "Back"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM: return "Confirm"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_INFO: diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 97d1f5aacb..594f81dd7c 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -194,3 +194,7 @@ MSG_HASH( MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE, "Load Shader Presets Automatically" ) +MSG_HASH( + MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK, + "Back" + ) diff --git a/intl/msg_hash_vn.c b/intl/msg_hash_vn.c index 964ae53499..59eac8cb63 100644 --- a/intl/msg_hash_vn.c +++ b/intl/msg_hash_vn.c @@ -3099,8 +3099,6 @@ const char *msg_hash_to_str_vn(enum msg_hash_enums msg) return "Tải Remap Files Automatically"; case MENU_ENUM_LABEL_VALUE_AUTO_SHADERS_ENABLE: return "Tải Shader Presets Automatically"; - case MENU_ENUM_LABEL_VALUE_BACK: - return "BACK"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK: return "Back"; case MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_CONFIRM: diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index a40be48572..b4aa3e5289 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -514,11 +514,20 @@ static void rgui_render(void *data) normal_color = NORMAL_COLOR(settings); if (menu_entries_ctl(MENU_ENTRIES_CTL_SHOW_BACK, NULL)) + { + char back_buf[32]; + char back_msg[32]; + + back_buf[0] = back_msg[0] = '\0'; + + strlcpy(back_buf, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_BASIC_MENU_CONTROLS_BACK), sizeof(back_buf)); + strlcpy(back_msg, string_to_upper(back_buf), sizeof(back_msg)); blit_line( RGUI_TERM_START_X(fb_width), RGUI_TERM_START_X(fb_width), - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_BACK), + back_msg, TITLE_COLOR(settings)); + } strlcpy(title_buf, string_to_upper(title_buf), sizeof(title_buf)); diff --git a/msg_hash.h b/msg_hash.h index cd9c33d2c3..e3147239ae 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -1843,7 +1843,6 @@ enum msg_hash_enums MENU_ENUM_LABEL_VALUE_YES, MENU_ENUM_LABEL_VALUE_NO, - MENU_ENUM_LABEL_VALUE_BACK, MENU_ENUM_LABEL_VALUE_DISABLED, MENU_ENUM_LABEL_VALUE_PORT,