mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 14:28:47 +00:00
Make 'Search' label translatable
This commit is contained in:
parent
02af2abf93
commit
70e56cd047
@ -837,6 +837,8 @@ const char *menu_hash_to_str_nl(uint32_t hash)
|
||||
return "Invoer Hotkey Binds";
|
||||
case MENU_LABEL_VALUE_FRAME_THROTTLE_SETTINGS:
|
||||
return "Frame Throttle Instellingen";
|
||||
case MENU_VALUE_SEARCH:
|
||||
return "Zoeken:";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -1402,6 +1402,8 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||
return "Input Hotkey Binds";
|
||||
case MENU_LABEL_VALUE_FRAME_THROTTLE_SETTINGS:
|
||||
return "Frame Throttle Settings";
|
||||
case MENU_VALUE_SEARCH:
|
||||
return "Search:";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -37,6 +37,8 @@ extern "C" {
|
||||
#define MENU_VALUE_FILE_MOV 0x0b889157U
|
||||
#define MENU_VALUE_FILE_WMV 0x0b88bb9fU
|
||||
|
||||
#define MENU_VALUE_SEARCH 0xd0d5febbU
|
||||
|
||||
#define MENU_VALUE_DONT_CARE 0x19da07bcU
|
||||
#define MENU_VALUE_LINEAR 0xc0d12dc0U
|
||||
#define MENU_VALUE_NEAREST 0x6ab2b0b7U
|
||||
|
@ -200,8 +200,8 @@ void menu_input_search_start(void)
|
||||
return;
|
||||
|
||||
menu_input->keyboard.display = true;
|
||||
menu_input->keyboard.label = "Search: ";
|
||||
menu_input->keyboard.buffer =
|
||||
menu_input->keyboard.label = menu_hash_to_str(MENU_VALUE_SEARCH);
|
||||
menu_input->keyboard.buffer =
|
||||
input_keyboard_start_line(menu, menu_input_search_callback);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user