Latest fixes for multilingual support.

This commit is contained in:
Storm Dragon
2026-02-27 23:47:21 -05:00
parent c658bb6cd7
commit e999b2ff5c
3 changed files with 17 additions and 16 deletions

View File

@@ -83,8 +83,8 @@ void check_speech_history_keys() {
speechHistoryCurrentIndex--;
if (speechHistoryCurrentIndex < 0) {
speechHistoryCurrentIndex = 0;
screen_reader_speak(speech_history_transform_message("Oldest message. " + speechHistory[speechHistoryCurrentIndex]),
true);
screen_reader_speak(
speech_history_transform_message("Oldest message. " + speechHistory[speechHistoryCurrentIndex]), true);
return;
}
@@ -105,8 +105,8 @@ void check_speech_history_keys() {
speechHistoryCurrentIndex++;
if (speechHistoryCurrentIndex >= int(speechHistory.length())) {
speechHistoryCurrentIndex = speechHistory.length() - 1;
screen_reader_speak(speech_history_transform_message("Newest message. " + speechHistory[speechHistoryCurrentIndex]),
true);
screen_reader_speak(
speech_history_transform_message("Newest message. " + speechHistory[speechHistoryCurrentIndex]), true);
return;
}