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 506377978c
commit 111f6880b1
7 changed files with 88 additions and 2 deletions

View File

@@ -715,6 +715,9 @@
"languageAssistantInputPlaceholder": "Ask a leksiyon question o write imong own sentence para sa tamaion.",
"languageAssistantSend": "Padal-a ang aron katabang",
"languageAssistantSending": "Getting answer ...",
"languageAssistantWaitingTitle": "Ang pinulongan katabang is still working.",
"languageAssistantWaitingBody": "Local models sama sa Ollama can take a few seconds, especially kung loading pa ang model.",
"languageAssistantWaitingElapsed": "Waiting time: {seconds} s",
"languageAssistantError": "Ang pinulongan katabang could not answer right now.",
"languageAssistantPresetExplainStart": "Palihog explain ang main patterns ug grammar sa ang leksiyon",
"languageAssistantPatternHint": "Focus especially sa kini nga pattern",