remove MENU_ENUM_LABEL_VALUE_BACK

This commit is contained in:
twinaphex 2016-11-05 01:41:44 +01:00
parent e6d71444dc
commit 0f2bd3e653
14 changed files with 14 additions and 26 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -2012,8 +2012,6 @@ const char *msg_hash_to_str_it(enum msg_hash_enums msg)
return "";
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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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"
)

View File

@ -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:

View File

@ -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));

View File

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