Make 'Search' label translatable

This commit is contained in:
twinaphex 2015-06-27 14:16:41 +02:00
parent 02af2abf93
commit 70e56cd047
4 changed files with 8 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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