From 1f281beea2348ddc6e67b5e2cde4dca40c0de544 Mon Sep 17 00:00:00 2001 From: Gregor Richards Date: Fri, 2 Dec 2016 22:49:56 -0500 Subject: [PATCH] Replace "no networks found" message with "no netplay hosts found" --- intl/msg_hash_us.h | 2 ++ menu/menu_displaylist.c | 12 ++++++------ msg_hash.h | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index fa082796d7..3756fe6e88 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -966,6 +966,8 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_INFORMATION_AVAILABLE, "No information is available.") MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_ITEMS, "No items.") +MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_NETPLAY_HOSTS_FOUND, + "No netplay hosts found.") MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_NETWORKS_FOUND, "No networks found.") MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_PERFORMANCE_COUNTERS, diff --git a/menu/menu_displaylist.c b/menu/menu_displaylist.c index ae67b10f87..24ffc54d67 100644 --- a/menu/menu_displaylist.c +++ b/menu/menu_displaylist.c @@ -5034,9 +5034,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data) task_push_netplay_lan_scan(); menu_entries_append_enum(info->list, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_NETWORKS_FOUND), - msg_hash_to_str(MENU_ENUM_LABEL_NO_NETWORKS_FOUND), - MENU_ENUM_LABEL_NO_NETWORKS_FOUND, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_NETPLAY_HOSTS_FOUND), + msg_hash_to_str(MENU_ENUM_LABEL_NO_NETPLAY_HOSTS_FOUND), + MENU_ENUM_LABEL_NO_NETPLAY_HOSTS_FOUND, 0, 0, 0); } else @@ -5055,9 +5055,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data) } #else menu_entries_append_enum(info->list, - msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_NETWORKS_FOUND), - msg_hash_to_str(MENU_ENUM_LABEL_NO_NETWORKS_FOUND), - MENU_ENUM_LABEL_NO_NETWORKS_FOUND, + msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_NETPLAY_HOSTS_FOUND), + msg_hash_to_str(MENU_ENUM_LABEL_NO_NETPLAY_HOSTS_FOUND), + MENU_ENUM_LABEL_NO_NETPLAY_HOSTS_FOUND, 0, 0, 0); #endif diff --git a/msg_hash.h b/msg_hash.h index 5a5494c483..11de0792c2 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -881,6 +881,7 @@ enum msg_hash_enums MENU_LABEL(NETPLAY_DISCONNECT), MENU_LABEL(NETPLAY_SETTINGS), MENU_LABEL(NETPLAY_CONNECT_TO), + MENU_LABEL(NO_NETPLAY_HOSTS_FOUND), MENU_ENUM_LABEL_RESET, MENU_ENUM_LABEL_SLOWMOTION,