Add help messages for general images

This commit is contained in:
twinaphex 2016-07-26 10:24:20 +02:00
parent 0b497837fb
commit df4cea8257
3 changed files with 10 additions and 0 deletions

View File

@ -216,6 +216,10 @@ int menu_hash_get_help_us_enum(enum msg_hash_enums msg, char *s, size_t len)
" \n"
"Select it to open this file with the music player.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE:
snprintf(s, len,
"Image file.");
break;
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER:
snprintf(s, len,
"Image. \n"
@ -1902,6 +1906,8 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "file_browser_movie_open";
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER:
return "file_browser_image_open_with_viewer";
case MENU_ENUM_LABEL_FILE_BROWSER_IMAGE:
return "file_browser_image";
case MENU_ENUM_LABEL_FILE_BROWSER_CORE_DETECTED:
return "file_browser_core_detected";
case MENU_ENUM_LABEL_DEFERRED_RETRO_ACHIEVEMENTS_SETTINGS_LIST:

View File

@ -3615,6 +3615,9 @@ static int menu_displaylist_parse_generic(
case FILE_TYPE_MUSIC:
enum_idx = MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN;
break;
case FILE_TYPE_IMAGE:
enum_idx = MENU_ENUM_LABEL_FILE_BROWSER_IMAGE;
break;
case FILE_TYPE_IMAGEVIEWER:
enum_idx = MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER;
break;

View File

@ -601,6 +601,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_FILE_BROWSER_CORE,
MENU_ENUM_LABEL_FILE_BROWSER_CORE_SELECT_FROM_COLLECTION,
MENU_ENUM_LABEL_FILE_BROWSER_CORE_DETECTED,
MENU_ENUM_LABEL_FILE_BROWSER_IMAGE,
MENU_ENUM_LABEL_FILE_BROWSER_IMAGE_OPEN_WITH_VIEWER,
MENU_ENUM_LABEL_FILE_BROWSER_MOVIE_OPEN,
MENU_ENUM_LABEL_FILE_BROWSER_MUSIC_OPEN,