Localization for a few narrator-only strings. (#16195)

This commit is contained in:
zoltanvb 2024-02-04 20:58:44 +01:00 committed by GitHub
parent ad48a74bb8
commit 429e83745e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 3 deletions

View File

@ -16086,3 +16086,11 @@ MSG_HASH(
MSG_IOS_TOUCH_MOUSE_DISABLED,
"Touch mouse is disabled"
)
MSG_HASH(
MSG_ACCESSIBILITY_STARTUP,
"RetroArch accessibility on. Main Menu Load Core."
)
MSG_HASH(
MSG_AI_SERVICE_STOPPED,
"stopped."
)

View File

@ -2868,6 +2868,9 @@ enum msg_hash_enums
MENU_LABEL(AI_SERVICE_TEXT_POSITION),
MENU_LABEL(AI_SERVICE_TEXT_PADDING),
MSG_ACCESSIBILITY_STARTUP,
MSG_AI_SERVICE_STOPPED,
MENU_LABEL(ON),
MENU_LABEL(OFF),
MENU_LABEL(DISABLED),

View File

@ -5315,7 +5315,8 @@ bool command_event(enum event_command cmd, void *data)
accessibility_speak_priority(
accessibility_enable,
accessibility_narrator_speech_speed,
"stopped.", 10);
(char*)msg_hash_to_str(MSG_AI_SERVICE_STOPPED),
10);
#endif
}
else
@ -5329,7 +5330,8 @@ bool command_event(enum event_command cmd, void *data)
accessibility_speak_priority(
accessibility_enable,
accessibility_narrator_speech_speed,
"stopped.", 10);
(char*)msg_hash_to_str(MSG_AI_SERVICE_STOPPED),
10);
else
#endif
{
@ -7387,7 +7389,7 @@ bool retroarch_main_init(int argc, char *argv[])
accessibility_speak_priority(
accessibility_enable,
accessibility_narrator_speech_speed,
"RetroArch accessibility on. Main Menu Load Core.",
(char*)msg_hash_to_str(MSG_ACCESSIBILITY_STARTUP),
10);
#endif