(Menu) More menu hash

This commit is contained in:
twinaphex 2015-06-19 06:46:49 +02:00
parent 99f0453f11
commit fe64bf75f1
3 changed files with 12 additions and 4 deletions

View File

@ -175,11 +175,17 @@ static const char *menu_hash_to_str_english(uint32_t hash)
return "No items.";
case MENU_LABEL_CORE_LIST:
return "Load Core";
case MENU_LABEL_LOAD_CONTENT:
return "load_content";
case MENU_LABEL_VALUE_LOAD_CONTENT:
return "Load Content";
case MENU_LABEL_UNLOAD_CORE:
return "unload_core";
case MENU_LABEL_VALUE_UNLOAD_CORE:
return "Unload Core";
case MENU_LABEL_MANAGEMENT:
return "advanced_management";
case MENU_LABEL_VALUE_MANAGEMENT:
return "Advanced Management";
case MENU_LABEL_PERFORMANCE_COUNTERS:
return "performance_counters";

View File

@ -233,6 +233,7 @@ extern "C" {
#define MENU_LABEL_DETECT_CORE_LIST 0xaa07c341U
#define MENU_LABEL_DETECT_CORE_LIST_OK 0xabba2a7aU
#define MENU_LABEL_LOAD_CONTENT 0x5745de1fU
#define MENU_LABEL_VALUE_LOAD_CONTENT 0x755f3680U
#define MENU_LABEL_VALUE_CORE_UPDATER_LIST 0x0372767dU
#define MENU_LABEL_CORE_UPDATER_LIST 0xe12f4ee3U
#define MENU_LABEL_RECORD_CONFIG 0x11c3daf9U
@ -269,7 +270,8 @@ extern "C" {
#define MENU_LABEL_PERFORMANCE_COUNTERS 0xd8ab5049U
#define MENU_LABEL_VALUE_PERFORMANCE_COUNTERS 0x20eb18caU
#define MENU_LABEL_CORE_LIST 0xa8c3bfc9U
#define MENU_LABEL_MANAGEMENT 0xb8137ec2U
#define MENU_LABEL_MANAGEMENT 0x096d05b7U
#define MENU_LABEL_VALUE_MANAGEMENT 0x9afd7e78U
#define MENU_LABEL_OPTIONS 0x71f05091U
#define MENU_LABEL_VALUE_OPTIONS 0xd2a8b871U
#define MENU_LABEL_SETTINGS 0x1304dc16U

View File

@ -3577,8 +3577,8 @@ static bool setting_append_list_main_menu_options(
settings_data_list_current_add_flags(list, list_info, SD_FLAG_BROWSER_ACTION);
}
CONFIG_ACTION(
"load_content",
"Load Content",
menu_hash_to_str(MENU_LABEL_LOAD_CONTENT),
menu_hash_to_str(MENU_LABEL_VALUE_LOAD_CONTENT),
group_info.name,
subgroup_info.name,
parent_group);
@ -3591,8 +3591,8 @@ static bool setting_append_list_main_menu_options(
settings_data_list_current_add_flags(list, list_info, SD_FLAG_BROWSER_ACTION);
CONFIG_ACTION(
"management",
menu_hash_to_str(MENU_LABEL_MANAGEMENT),
menu_hash_to_str(MENU_LABEL_VALUE_MANAGEMENT),
group_info.name,
subgroup_info.name,
parent_group);