feat(VocabService, localization, VocabLessonView): extend assistant wait feedback and timeout duration
All checks were successful
Deploy to production / deploy (push) Successful in 2m2s

- Increased the timeout duration for the language assistant from 30 seconds to 120 seconds to accommodate longer processing times.
- Added new localization strings across multiple languages (Cebuano, German, English, Spanish, French) to provide user feedback during the assistant's wait period, enhancing clarity and user experience.
- Implemented a visual waiting indicator in VocabLessonView to inform users that the assistant is still processing their request, improving overall interaction quality.
This commit is contained in:
Torsten Schulz (local)
2026-04-20 08:58:51 +02:00
parent e28ed7bdb5
commit d7fa5f925e
7 changed files with 88 additions and 2 deletions

View File

@@ -681,6 +681,9 @@
"languageAssistantInputPlaceholder": "Posez une question sur la leçon ou écrivez votre propre phrase à corriger.",
"languageAssistantSend": "Envoyer à l'assistant vocal",
"languageAssistantSending": "La réponse sera récupérée...",
"languageAssistantWaitingTitle": "L'assistant vocal travaille encore.",
"languageAssistantWaitingBody": "Les modèles locaux comme Ollama peuvent prendre quelques secondes, surtout lorsque le modèle est en cours de chargement.",
"languageAssistantWaitingElapsed": "Temps d'attente : {seconds} s",
"languageAssistantError": "L'assistant vocal ne pouvait pas répondre pour le moment.",
"languageAssistantPresetExplainStart": "Veuillez m'expliquer les modèles et la grammaire les plus importants de la leçon.",
"languageAssistantPatternHint": "Utilisez ce modèle en particulier",