New message 'no networks found'

This commit is contained in:
Jean-André Santoni 2016-12-01 00:35:20 +01:00
parent 3f0a418311
commit 1f1a8eec89
4 changed files with 14 additions and 9 deletions

View File

@ -624,6 +624,8 @@ MSG_HASH(MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE,
"no_history")
MSG_HASH(MENU_ENUM_LABEL_NO_ITEMS,
"no_items")
MSG_HASH(MENU_ENUM_LABEL_NO_NETWORKS_FOUND,
"no_networks_found")
MSG_HASH(MENU_ENUM_LABEL_NO_PERFORMANCE_COUNTERS,
"no_performance_counters")
MSG_HASH(MENU_ENUM_LABEL_NO_PLAYLISTS,

View File

@ -964,6 +964,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_NETWORKS_FOUND,
"No networks found.")
MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_PERFORMANCE_COUNTERS,
"No performance counters.")
MSG_HASH(MENU_ENUM_LABEL_VALUE_NO_PLAYLISTS,

View File

@ -4888,9 +4888,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
case DISPLAYLIST_WIFI_SETTINGS_LIST:
if (string_is_equal(settings->wifi.driver, "null"))
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND),
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
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,
0, 0, 0);
#ifdef HAVE_NETWORKING
else
@ -4903,9 +4903,9 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
task_push_wifi_scan();
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_SETTINGS_FOUND),
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
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,
0, 0, 0);
}
else
@ -4924,9 +4924,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_SETTINGS_FOUND),
msg_hash_to_str(MENU_ENUM_LABEL_NO_SETTINGS_FOUND),
MENU_ENUM_LABEL_NO_SETTINGS_FOUND,
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,
0, 0, 0);
#endif

View File

@ -862,6 +862,7 @@ enum msg_hash_enums
MENU_LABEL(CONTENT_SETTINGS),
MENU_LABEL(LOAD_CONTENT_LIST),
MENU_LABEL(NO_SETTINGS_FOUND),
MENU_LABEL(NO_NETWORKS_FOUND),
MENU_LABEL(NO_PERFORMANCE_COUNTERS),
MENU_LABEL(FRAME_THROTTLE_SETTINGS),
MENU_LABEL(FRAME_THROTTLE_ENABLE),