Latest fixes for multilingual support.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user