1
0
mirror of https://github.com/libretro/RetroArch synced 2025-04-02 07:20:34 +00:00

Change 'No items' label in playlists tab to 'No playlists

This commit is contained in:
twinaphex 2016-07-15 21:50:01 +02:00
parent aad8e3581c
commit a3c2cbda55
3 changed files with 12 additions and 4 deletions

@ -1174,6 +1174,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "system_information_cpu_cores"; return "system_information_cpu_cores";
case MENU_ENUM_LABEL_NO_ITEMS: case MENU_ENUM_LABEL_NO_ITEMS:
return "no_items"; return "no_items";
case MENU_ENUM_LABEL_NO_PLAYLISTS:
return "no_playlists";
case MENU_ENUM_LABEL_NO_SHADER_PARAMETERS: case MENU_ENUM_LABEL_NO_SHADER_PARAMETERS:
return "no_shader_parameters."; return "no_shader_parameters.";
case MENU_ENUM_LABEL_SETTINGS_TAB: case MENU_ENUM_LABEL_SETTINGS_TAB:
@ -3220,6 +3222,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
return "Directory not found."; return "Directory not found.";
case MENU_ENUM_LABEL_VALUE_NO_ITEMS: case MENU_ENUM_LABEL_VALUE_NO_ITEMS:
return "No items."; return "No items.";
case MENU_ENUM_LABEL_VALUE_NO_PLAYLISTS:
return "No playlists.";
case MENU_ENUM_LABEL_VALUE_CORE_LIST: case MENU_ENUM_LABEL_VALUE_CORE_LIST:
return "Load Core"; return "Load Core";
case MENU_ENUM_LABEL_VALUE_LOAD_CONTENT: case MENU_ENUM_LABEL_VALUE_LOAD_CONTENT:

@ -3225,9 +3225,9 @@ static int menu_displaylist_parse_playlists(
no_playlists: no_playlists:
menu_entries_append_enum(info->list, menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_ITEMS), msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_PLAYLISTS),
msg_hash_to_str(MENU_ENUM_LABEL_NO_ITEMS), msg_hash_to_str(MENU_ENUM_LABEL_NO_PLAYLISTS),
MENU_ENUM_LABEL_NO_ITEMS, MENU_ENUM_LABEL_NO_PLAYLISTS,
MENU_SETTING_NO_ITEM, 0, 0); MENU_SETTING_NO_ITEM, 0, 0);
return 0; return 0;
} }

@ -899,9 +899,13 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND, MENU_ENUM_LABEL_VALUE_DIRECTORY_NOT_FOUND,
MENU_ENUM_LABEL_NO_ITEMS, MENU_ENUM_LABEL_NO_ITEMS,
MENU_ENUM_LABEL_NO_SHADER_PARAMETERS,
MENU_ENUM_LABEL_VALUE_NO_ITEMS, MENU_ENUM_LABEL_VALUE_NO_ITEMS,
MENU_ENUM_LABEL_NO_PLAYLISTS,
MENU_ENUM_LABEL_VALUE_NO_PLAYLISTS,
MENU_ENUM_LABEL_NO_SHADER_PARAMETERS,
MSG_INTERFACE, MSG_INTERFACE,
MSG_MEMORY, MSG_MEMORY,
MSG_IN_BYTES, MSG_IN_BYTES,