Replace "no networks found" message with "no netplay hosts found"

This commit is contained in:
Gregor Richards 2016-12-02 22:49:56 -05:00
parent b4ec66e34a
commit 1f281beea2
3 changed files with 9 additions and 6 deletions

View File

@ -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,

View File

@ -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

View File

@ -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,