mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Unhardcode more strings
This commit is contained in:
parent
1f1a8eec89
commit
f41e420b44
@ -2241,3 +2241,7 @@ MSG_HASH(MENU_ENUM_LABEL_VALUE_DATABASE_CURSOR_LIST_ENTRY_EDGE_MAGAZINE_RATING,
|
|||||||
"Database - Filter : Edge Magazine Rating")
|
"Database - Filter : Edge Magazine Rating")
|
||||||
MSG_HASH(MENU_ENUM_LABEL_VALUE_DATABASE_CURSOR_LIST_ENTRY_DATABASE_INFO,
|
MSG_HASH(MENU_ENUM_LABEL_VALUE_DATABASE_CURSOR_LIST_ENTRY_DATABASE_INFO,
|
||||||
"Database Info")
|
"Database Info")
|
||||||
|
MSG_HASH(MSG_WIFI_SCAN_COMPLETE,
|
||||||
|
"Wi-Fi scan complete.")
|
||||||
|
MSG_HASH(MSG_SCANNING_WIRELESS_NETWORKS,
|
||||||
|
"Scanning wireless networks...")
|
@ -278,6 +278,8 @@ enum msg_hash_enums
|
|||||||
MSG_MOVIE_RECORD_STOPPED,
|
MSG_MOVIE_RECORD_STOPPED,
|
||||||
MSG_MOVIE_PLAYBACK_ENDED,
|
MSG_MOVIE_PLAYBACK_ENDED,
|
||||||
MSG_TAKING_SCREENSHOT,
|
MSG_TAKING_SCREENSHOT,
|
||||||
|
MSG_WIFI_SCAN_COMPLETE,
|
||||||
|
MSG_SCANNING_WIRELESS_NETWORKS,
|
||||||
MSG_FAILED_TO_TAKE_SCREENSHOT,
|
MSG_FAILED_TO_TAKE_SCREENSHOT,
|
||||||
MSG_CUSTOM_TIMING_GIVEN,
|
MSG_CUSTOM_TIMING_GIVEN,
|
||||||
MSG_SAVING_STATE,
|
MSG_SAVING_STATE,
|
||||||
|
@ -75,7 +75,7 @@ static void task_wifi_scan_handler(retro_task_t *task)
|
|||||||
driver_wifi_scan();
|
driver_wifi_scan();
|
||||||
|
|
||||||
task->progress = 100;
|
task->progress = 100;
|
||||||
task->title = strdup("Wi-Fi scan complete");
|
task->title = strdup(msg_hash_to_str(MSG_WIFI_SCAN_COMPLETE));
|
||||||
task->finished = true;
|
task->finished = true;
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -96,7 +96,7 @@ bool task_push_wifi_scan(void)
|
|||||||
task->state = state;
|
task->state = state;
|
||||||
task->handler = task_wifi_scan_handler;
|
task->handler = task_wifi_scan_handler;
|
||||||
task->callback = wifi_scan_callback;
|
task->callback = wifi_scan_callback;
|
||||||
task->title = strdup("Scanning wireless networks...");
|
task->title = strdup(msg_hash_to_str(MSG_SCANNING_WIRELESS_NETWORKS));
|
||||||
|
|
||||||
task_queue_ctl(TASK_QUEUE_CTL_PUSH, task);
|
task_queue_ctl(TASK_QUEUE_CTL_PUSH, task);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user