From 8b364bc611487926d1993b324f24cf0a1ba2be95 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 26 Jul 2016 10:35:53 +0200 Subject: [PATCH] Add help message for 'Parent directory' --- intl/msg_hash_us.c | 20 ++++++++++++++++---- menu/menu_displaylist.c | 5 +++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index 7448ab3661..fcbd539611 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -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, diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index 5a158d11f0..2f3e4c77a7 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -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;