Enhance speech input handling in VocabLessonView: Introduce fallback instructions and placeholders for unsupported speech recognition in English, German, and Spanish. Update exercise instructions to dynamically display fallback options, improving user experience for speech-related exercises.

This commit is contained in:
Torsten Schulz (local)
2026-03-25 18:07:01 +01:00
parent 2e6eb53918
commit 01849c8ffe
4 changed files with 30 additions and 6 deletions

View File

@@ -437,6 +437,8 @@
"recordingError": "Aufnahme-Fehler",
"recognizedText": "Erkannter Text",
"speechRecognitionNotSupported": "Speech Recognition wird von diesem Browser nicht unterstützt. Bitte verwende Chrome oder Edge.",
"speakingFallbackInstruction": "Dein Browser unterstützt hier keine Spracheingabe. Schreibe deine gesprochene Antwort stattdessen als Text auf und prüfe sie dann normal.",
"speakingFallbackPlaceholder": "Schreibe hier, was du sagen würdest ...",
"keywords": "Schlüsselwörter",
"switchBackToMultipleChoice": "Zurück zu Multiple Choice",
"languageAssistantEyebrow": "Sprachassistent",

View File

@@ -437,6 +437,8 @@
"recordingError": "Recording error",
"recognizedText": "Recognized Text",
"speechRecognitionNotSupported": "Speech Recognition is not supported by this browser. Please use Chrome or Edge.",
"speakingFallbackInstruction": "Your browser does not support speech input here. Write down what you would say instead and check it normally.",
"speakingFallbackPlaceholder": "Write what you would say here ...",
"keywords": "Keywords",
"switchBackToMultipleChoice": "Switch back to Multiple Choice",
"languageAssistantEyebrow": "Language assistant",

View File

@@ -434,6 +434,8 @@
"recordingError": "Error de grabación",
"recognizedText": "Texto reconocido",
"speechRecognitionNotSupported": "El reconocimiento de voz no es compatible con este navegador. Usa Chrome o Edge.",
"speakingFallbackInstruction": "Tu navegador no admite entrada de voz aquí. Escribe en su lugar lo que dirías y compruébalo normalmente.",
"speakingFallbackPlaceholder": "Escribe aquí lo que dirías ...",
"keywords": "Palabras clave",
"switchBackToMultipleChoice": "Volver a opción múltiple",
"languageAssistantEyebrow": "Asistente de idiomas",