From 7553dc66b552f5fa60894eecefdbc09ce6611230 Mon Sep 17 00:00:00 2001 From: sonninnos <45124675+sonninnos@users.noreply.github.com> Date: Thu, 23 Jun 2022 15:47:54 +0300 Subject: [PATCH] Add missing sublabels for non-running Quick Menu (#14090) --- intl/msg_hash_us.h | 8 ++++++++ menu/cbs/menu_cbs_sublabel.c | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 6514b357be..2c7e2e4692 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -6983,10 +6983,18 @@ MSG_HASH( MENU_ENUM_LABEL_VALUE_SET_CORE_ASSOCIATION, "Set Core Association" ) +MSG_HASH( + MENU_ENUM_SUBLABEL_SET_CORE_ASSOCIATION, + "Set the core associated with this content." + ) MSG_HASH( MENU_ENUM_LABEL_VALUE_RESET_CORE_ASSOCIATION, "Reset Core Association" ) +MSG_HASH( + MENU_ENUM_SUBLABEL_RESET_CORE_ASSOCIATION, + "Reset the core associated with this content." + ) MSG_HASH( MENU_ENUM_LABEL_VALUE_INFORMATION, "Information" diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index cc336630c4..721592e75e 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -812,6 +812,8 @@ DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_delete_entry, DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_information, MENU_ENUM_SUBLABEL_INFORMATION) DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_run, MENU_ENUM_SUBLABEL_RUN) DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_add_to_favorites, MENU_ENUM_SUBLABEL_ADD_TO_FAVORITES) +DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_set_core_association, MENU_ENUM_SUBLABEL_SET_CORE_ASSOCIATION) +DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_reset_core_association, MENU_ENUM_SUBLABEL_RESET_CORE_ASSOCIATION) DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_download_pl_entry_thumbnails, MENU_ENUM_SUBLABEL_DOWNLOAD_PL_ENTRY_THUMBNAILS) DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_goto_favorites, MENU_ENUM_SUBLABEL_GOTO_FAVORITES) DEFAULT_SUBLABEL_MACRO(action_bind_sublabel_goto_images, MENU_ENUM_SUBLABEL_GOTO_IMAGES) @@ -3043,8 +3045,15 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_menu_filebrowser_open_picker); break; case MENU_ENUM_LABEL_ADD_TO_FAVORITES: + case MENU_ENUM_LABEL_ADD_TO_FAVORITES_PLAYLIST: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_add_to_favorites); break; + case MENU_ENUM_LABEL_SET_CORE_ASSOCIATION: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_set_core_association); + break; + case MENU_ENUM_LABEL_RESET_CORE_ASSOCIATION: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_reset_core_association); + break; case MENU_ENUM_LABEL_DOWNLOAD_PL_ENTRY_THUMBNAILS: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_download_pl_entry_thumbnails); break;