(Menu) More labels

This commit is contained in:
Twinaphex 2015-06-20 20:33:23 +02:00
parent 5ac6828f50
commit 08cf8b75eb
3 changed files with 48 additions and 12 deletions

View File

@ -895,6 +895,30 @@ static const char *menu_hash_to_str_english(uint32_t hash)
return "core_updater_list";
case MENU_LABEL_VALUE_CORE_UPDATER_LIST:
return "Core Updater";
case MENU_LABEL_CORE_UPDATER_BUILDBOT_URL:
return "core_updater_buildbot_url";
case MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL:
return "Buildbot Cores URL";
case MENU_LABEL_BUILDBOT_ASSETS_URL:
return "buildbot_assets_url";
case MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL:
return "Buildbot Assets URL";
case MENU_LABEL_NAVIGATION_WRAPAROUND_VERTICAL:
return "menu_navigation_wraparound_vertical_enable";
case MENU_LABEL_NAVIGATION_WRAPAROUND_HORIZONTAL:
return "menu_navigation_wraparound_horizontal_enable";
case MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_HORIZONTAL:
return "Navigation Wrap-Around Horizontal";
case MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_VERTICAL:
return "Navigation Wrap-Around Vertical";
case MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
return "menu_navigation_browser_filter_supported_extensions_enable";
case MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
return "Browser - Filter by supported extensions";
case MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "core_updater_auto_extract_archive";
case MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE:
return "Automatically extract downloaded archive";
case MENU_LABEL_SYSTEM_INFORMATION:
return "system_information";
case MENU_LABEL_VALUE_SYSTEM_INFORMATION:

View File

@ -386,11 +386,23 @@ extern "C" {
#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_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE 0xa3d605f5U
#define MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE 0x5248591cU
#define MENU_LABEL_CORE_UPDATER_BUILDBOT_URL 0xe9ad8448U
#define MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL 0x1bc80956U
#define MENU_LABEL_BUILDBOT_ASSETS_URL 0x1895c71eU
#define MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL 0xaa0327a0U
#define MENU_LABEL_RECORD_CONFIG 0x11c3daf9U
#define MENU_LABEL_VIDEO_SHARED_CONTEXT 0x7d7dad16U
#define MENU_LABEL_VALUE_VIDEO_SHARED_CONTEXT 0x353d3287U
#define MENU_LABEL_DUMMY_ON_CORE_SHUTDOWN 0x78579f70U
#define MENU_LABEL_VALUE_DUMMY_ON_CORE_SHUTDOWN 0xc50126d3U
#define MENU_LABEL_NAVIGATION_WRAPAROUND_HORIZONTAL 0x42ba315aU
#define MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_HORIZONTAL 0x2609b62fU
#define MENU_LABEL_NAVIGATION_WRAPAROUND_VERTICAL 0x052bcbcaU
#define MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_VERTICAL 0xfc3b3bdfU
#define MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE 0xea48426bU
#define MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE 0x94af8500U
#define MENU_LABEL_UNLOAD_CORE 0x4b622170U
#define MENU_LABEL_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE 0x593d2623U
#define MENU_LABEL_VALUE_CORE_SET_SUPPORTS_NO_CONTENT_ENABLE 0x9614c0b2U

View File

@ -5772,8 +5772,8 @@ static bool setting_append_list_menu_options(
CONFIG_BOOL(
settings->menu.navigation.wraparound.horizontal_enable,
"menu_navigation_wraparound_horizontal_enable",
"Navigation Wrap-Around Horizontal",
menu_hash_to_str(MENU_LABEL_NAVIGATION_WRAPAROUND_HORIZONTAL),
menu_hash_to_str(MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_HORIZONTAL),
true,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -5786,8 +5786,8 @@ static bool setting_append_list_menu_options(
CONFIG_BOOL(
settings->menu.navigation.wraparound.vertical_enable,
"menu_navigation_wraparound_vertical_enable",
"Navigation Wrap-Around Vertical",
menu_hash_to_str(MENU_LABEL_NAVIGATION_WRAPAROUND_VERTICAL),
menu_hash_to_str(MENU_LABEL_VALUE_NAVIGATION_WRAPAROUND_VERTICAL),
true,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -5889,8 +5889,8 @@ static bool setting_append_list_menu_options(
CONFIG_BOOL(
settings->menu.navigation.browser.filter.supported_extensions_enable,
"menu_navigation_browser_filter_supported_extensions_enable",
"Browser - Filter by supported extensions",
menu_hash_to_str(MENU_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
menu_hash_to_str(MENU_LABEL_VALUE_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE),
true,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),
@ -6126,8 +6126,8 @@ static bool setting_append_list_core_updater_options(
CONFIG_STRING(
settings->network.buildbot_url,
"core_updater_buildbot_url",
"Buildbot Core URL",
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_BUILDBOT_URL),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_BUILDBOT_URL),
buildbot_server_url,
group_info.name,
subgroup_info.name,
@ -6138,8 +6138,8 @@ static bool setting_append_list_core_updater_options(
CONFIG_STRING(
settings->network.buildbot_assets_url,
"core_updater_buildbot_assets_url",
"Buildbot Assets URL",
menu_hash_to_str(MENU_LABEL_BUILDBOT_ASSETS_URL),
menu_hash_to_str(MENU_LABEL_VALUE_BUILDBOT_ASSETS_URL),
buildbot_assets_server_url,
group_info.name,
subgroup_info.name,
@ -6150,8 +6150,8 @@ static bool setting_append_list_core_updater_options(
CONFIG_BOOL(
settings->network.buildbot_auto_extract_archive,
"core_updater_auto_extract_archive",
"Automatically extract downloaded archive",
menu_hash_to_str(MENU_LABEL_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
menu_hash_to_str(MENU_LABEL_VALUE_CORE_UPDATER_AUTO_EXTRACT_ARCHIVE),
true,
menu_hash_to_str(MENU_VALUE_OFF),
menu_hash_to_str(MENU_VALUE_ON),