Add help message for 'Parent directory'

This commit is contained in:
twinaphex 2016-07-26 10:35:53 +02:00
parent df4cea8257
commit 8b364bc611
2 changed files with 21 additions and 4 deletions

View File

@ -204,17 +204,27 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
switch (msg)
{
case MENU_ENUM_LABEL_PARENT_DIRECTORY:
snprintf(s, len,
"Go back to the parent directory.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE:
snprintf(s, len,
"Plain file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN:
snprintf(s, len,
"Video. \n"
" \n"
"Select it to open this file with the video player.");
"Select it to open this file with the \n"
"video player.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN:
snprintf(s, len,
"Music. \n"
" \n"
"Select it to open this file with the music player.");
"Select it to open this file with the \n"
"music player.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE:
snprintf(s, len,
@ -224,13 +234,15 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
snprintf(s, len,
"Image. \n"
" \n"
"Select it to open this file with the image viewer.");
"Select it to open this file with the \n"
"image viewer.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION:
snprintf(s, len,
"Libretro core. \n"
" \n"
"Selecting this will associate this core to the game.");
"Selecting this will associate this core \n"
"to the game.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_CORE:
snprintf(s, len,

View File

@ -3609,6 +3609,11 @@ static int menu_displaylist_parse_generic(
switch (file_type)
{
case FILE_TYPE_PLAIN:
#if 0
enum_idx = MENU_ENUM_LABEL_FILE_BROWSER_PLAIN_FILE;
#endif
break;
case FILE_TYPE_MOVIE:
enum_idx = MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN;
break;