diff --git a/intl/msg_hash_chs.h b/intl/msg_hash_chs.h index 7ec58992f2..7f1e783e70 100644 --- a/intl/msg_hash_chs.h +++ b/intl/msg_hash_chs.h @@ -3009,3 +3009,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_cht.h b/intl/msg_hash_cht.h index 80d6073a5c..f540971d1c 100644 --- a/intl/msg_hash_cht.h +++ b/intl/msg_hash_cht.h @@ -3009,3 +3009,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_de.h b/intl/msg_hash_de.h index b526b4033a..6dc87ced72 100644 --- a/intl/msg_hash_de.h +++ b/intl/msg_hash_de.h @@ -3003,3 +3003,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_eo.h b/intl/msg_hash_eo.h index d3919f0825..fc8a5a7ce3 100644 --- a/intl/msg_hash_eo.h +++ b/intl/msg_hash_eo.h @@ -2872,3 +2872,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_fr.h b/intl/msg_hash_fr.h index 8775cab098..466a97d753 100644 --- a/intl/msg_hash_fr.h +++ b/intl/msg_hash_fr.h @@ -3041,3 +3041,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Afficher les mises à jour des cœurs") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_it.h b/intl/msg_hash_it.h index f23da90c3b..432b106e6c 100644 --- a/intl/msg_hash_it.h +++ b/intl/msg_hash_it.h @@ -2409,3 +2409,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_REWIND_GRANULARITY, "Quando si riavvolge un numero definito di fotogrammi, è possibile riavvolgere più fotogrammi alla volta, aumentando la velocità di riavvolgimento.") MSG_HASH(MENU_ENUM_SUBLABEL_FASTFORWARD_RATIO, "La velocità massima in cui il contenuto verrà eseguito quando si utilizza l'avanzamento veloce (ad esempio, 5,0x per 60 fps = 300 fps). Se impostato a 0.0x, il rapporto dell'avanzamneto veloce è illimitato (nessun cap FPS)." ) + MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") + MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_ja.h b/intl/msg_hash_ja.h index e262c30da1..14e0aa3f7e 100644 --- a/intl/msg_hash_ja.h +++ b/intl/msg_hash_ja.h @@ -2997,3 +2997,11 @@ MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, "コンテンツをスキャンするための準備中") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_ko.h b/intl/msg_hash_ko.h index a65c5ea5a2..966b949c6b 100644 --- a/intl/msg_hash_ko.h +++ b/intl/msg_hash_ko.h @@ -3004,3 +3004,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_lbl.h b/intl/msg_hash_lbl.h index 89d3fa86dd..71bf8f9553 100644 --- a/intl/msg_hash_lbl.h +++ b/intl/msg_hash_lbl.h @@ -1275,3 +1275,5 @@ MSG_HASH(MENU_ENUM_LABEL_MENU_SHOW_CORE_UPDATER, "menu_show_core_updater") MSG_HASH(MENU_ENUM_LABEL_CORE_DELETE, "core_delete") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "playlist_entry_rename") diff --git a/intl/msg_hash_nl.h b/intl/msg_hash_nl.h index 9a55eda969..988b806124 100644 --- a/intl/msg_hash_nl.h +++ b/intl/msg_hash_nl.h @@ -2872,3 +2872,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_pt_br.h b/intl/msg_hash_pt_br.h index 44f22e0c2a..548d1848e6 100644 --- a/intl/msg_hash_pt_br.h +++ b/intl/msg_hash_pt_br.h @@ -3852,3 +3852,11 @@ MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, ) MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, "Preparando a busca de conteúdo...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_pt_pt.h b/intl/msg_hash_pt_pt.h index 154b80c9cc..74393a6e63 100644 --- a/intl/msg_hash_pt_pt.h +++ b/intl/msg_hash_pt_pt.h @@ -2979,3 +2979,13 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, + "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_ru.h b/intl/msg_hash_ru.h index a64b584530..ff4d06245f 100644 --- a/intl/msg_hash_ru.h +++ b/intl/msg_hash_ru.h @@ -3064,3 +3064,11 @@ MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Показать/скрыть возможность обновлять ядра (и информационные файлы ядер).") MSG_HASH(MSG_PREPARING_FOR_CONTENT_SCAN, "Preparing for content scan...") +MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, + "Delete core") +MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, + "Remove this core from disk.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 7025fae444..4e005fd2fe 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -3099,3 +3099,7 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_CORE_DELETE, "Delete core") MSG_HASH(MENU_ENUM_SUBLABEL_CORE_DELETE, "Remove this core from disk.") +MSG_HASH(MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/intl/msg_hash_vn.h b/intl/msg_hash_vn.h index 1459a99f45..f770c9a546 100644 --- a/intl/msg_hash_vn.h +++ b/intl/msg_hash_vn.h @@ -3039,3 +3039,7 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_MENU_SHOW_CORE_UPDATER, "Show Core Updater") MSG_HASH(MENU_ENUM_SUBLABEL_MENU_SHOW_CORE_UPDATER, "Show/hide the ability to update cores (and core info files).") +MSG_HASH(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + "Rename the title of the entry.") +MSG_HASH(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + "Rename") diff --git a/menu/cbs/menu_cbs_ok.c b/menu/cbs/menu_cbs_ok.c index b3602f5174..87d81c5fc4 100644 --- a/menu/cbs/menu_cbs_ok.c +++ b/menu/cbs/menu_cbs_ok.c @@ -4140,6 +4140,9 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs, case MENU_ENUM_LABEL_TAKE_SCREENSHOT: BIND_ACTION_OK(cbs, action_ok_screenshot); break; + case MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME: + BIND_ACTION_OK(cbs, action_ok_delete_entry); + break; case MENU_ENUM_LABEL_DELETE_ENTRY: BIND_ACTION_OK(cbs, action_ok_delete_entry); break; diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index dce5fdd763..0ebd14dac3 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -261,6 +261,7 @@ default_sublabel_macro(action_bind_sublabel_core_input_remapping_options, default_sublabel_macro(action_bind_sublabel_core_options, MENU_ENUM_SUBLABEL_CORE_OPTIONS) default_sublabel_macro(action_bind_sublabel_show_advanced_settings, MENU_ENUM_SUBLABEL_SHOW_ADVANCED_SETTINGS) default_sublabel_macro(action_bind_sublabel_threaded_data_runloop_enable, MENU_ENUM_SUBLABEL_THREADED_DATA_RUNLOOP_ENABLE) +default_sublabel_macro(action_bind_sublabel_playlist_entry_rename, MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_RENAME) default_sublabel_macro(action_bind_sublabel_playlist_entry_remove, MENU_ENUM_SUBLABEL_PLAYLIST_ENTRY_REMOVE) default_sublabel_macro(action_bind_sublabel_system_directory, MENU_ENUM_SUBLABEL_SYSTEM_DIRECTORY) default_sublabel_macro(action_bind_sublabel_rgui_browser_directory, MENU_ENUM_SUBLABEL_RGUI_BROWSER_DIRECTORY) @@ -623,6 +624,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, case MENU_ENUM_LABEL_SYSTEM_DIRECTORY: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_system_directory); break; + case MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_playlist_entry_rename); + break; case MENU_ENUM_LABEL_PLAYLIST_ENTRY_REMOVE: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_playlist_entry_remove); break; diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 0623edac8e..1b4078da03 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -3003,6 +3003,13 @@ static int menu_displaylist_parse_horizontal_content_actions( msg_hash_to_str(MENU_ENUM_LABEL_RUN), MENU_ENUM_LABEL_RUN, FILE_TYPE_PLAYLIST_ENTRY, 0, idx); +#if 0 + menu_entries_append_enum(info->list, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME), + msg_hash_to_str(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME), + MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, FILE_TYPE_PLAYLIST_ENTRY, 0, idx); +#endif + if (settings->bools.playlist_entry_remove) menu_entries_append_enum(info->list, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DELETE_ENTRY), diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 8294d3dfe2..2e891db79a 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -5887,6 +5887,14 @@ static bool setting_append_list( general_read_handler, SD_FLAG_NONE); + CONFIG_ACTION( + list, list_info, + MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME, + MENU_ENUM_LABEL_VALUE_PLAYLIST_ENTRY_RENAME, + &group_info, + &subgroup_info, + parent_group); + END_SUB_GROUP(list, list_info, parent_group); END_GROUP(list, list_info, parent_group); diff --git a/msg_hash.h b/msg_hash.h index be2f0102c8..38e035fc0f 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -734,6 +734,7 @@ enum msg_hash_enums MENU_LABEL(HISTORY_LIST_ENABLE), MENU_LABEL(CONTENT_HISTORY_SIZE), MENU_LABEL(PLAYLIST_ENTRY_REMOVE), + MENU_LABEL(PLAYLIST_ENTRY_RENAME), MENU_LABEL(ADD_TO_FAVORITES), MENU_LABEL(MENU_THROTTLE_FRAMERATE), MENU_LABEL(NO_ACHIEVEMENTS_TO_DISPLAY),