Skip to content

Commit

Permalink
Localization for a few narrator-only strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanvb committed Feb 3, 2024
1 parent ad8975c commit 2e2ba37
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions intl/msg_hash_us.h
Original file line number Diff line number Diff line change
Expand Up @@ -16078,3 +16078,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."
)
3 changes: 3 additions & 0 deletions msg_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -2867,6 +2867,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),
Expand Down
8 changes: 5 additions & 3 deletions retroarch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
{
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 2e2ba37

Please sign in to comment.