feat(VocabService, localization, VocabLessonView): extend assistant wait feedback and timeout duration

- 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 2a8e5e8085
commit 368752dc41
7 changed files with 88 additions and 2 deletions

View File

@@ -697,6 +697,9 @@
"languageAssistantInputPlaceholder": "Ask a lesson question or write your own sentence for correction.",
"languageAssistantSend": "Send to assistant",
"languageAssistantSending": "Getting answer ...",
"languageAssistantWaitingTitle": "The language assistant is still working.",
"languageAssistantWaitingBody": "Local models like Ollama can take a few seconds, especially while the model is loading.",
"languageAssistantWaitingElapsed": "Waiting time: {seconds}s",
"languageAssistantError": "The language assistant could not answer right now.",
"languageAssistantPresetExplainStart": "Please explain the main patterns and grammar in the lesson",
"languageAssistantPatternHint": "Focus especially on this pattern",