Enhance VocabLessonView with vocabulary trainer and grammar explanations

- Introduced a vocabulary trainer feature allowing users to practice important vocabulary interactively, with options to start and stop the trainer.
- Added sections for grammar explanations and lesson descriptions to improve user understanding of the content.
- Updated translations in both English and German to reflect changes in vocabulary and exercise terminology.
- Enhanced conditional rendering to ensure proper display of vocabulary and grammar information based on lesson data.
This commit is contained in:
Torsten Schulz (local)
2026-01-19 20:58:39 +01:00
parent dacf6cb7f8
commit 95ba8f0b33
3 changed files with 377 additions and 16 deletions

View File

@@ -360,21 +360,30 @@
"optional": "Optional",
"invalidCode": "Ungültiger Code",
"courseNotFound": "Kurs nicht gefunden",
"grammarExercises": "Grammatik-Übungen",
"noExercises": "Keine Übungen verfügbar",
"grammarExercises": "Grammatik-Prüfung",
"noExercises": "Keine Prüfung verfügbar",
"enterAnswer": "Antwort eingeben",
"checkAnswer": "Antwort prüfen",
"correct": "Richtig!",
"wrong": "Falsch",
"explanation": "Erklärung",
"learn": "Lernen",
"exercises": "Übungen",
"exercises": "Kapitel-Prüfung",
"learnVocabulary": "Vokabeln lernen",
"lessonDescription": "Lektions-Beschreibung",
"culturalNotes": "Kulturelle Notizen",
"grammarExplanations": "Grammatik-Erklärungen",
"importantVocab": "Wichtige Begriffe",
"vocabInfoText": "Diese Begriffe werden in den Übungen verwendet. Lerne sie hier passiv, bevor du zu den interaktiven Übungen wechselst.",
"noVocabInfo": "Lies die Beschreibung oben und die Erklärungen in den Übungen, um die wichtigsten Begriffe zu lernen.",
"startExercises": "Zu den Übungen",
"vocabInfoText": "Diese Begriffe werden in der Prüfung verwendet. Lerne sie hier passiv, bevor du zur Kapitel-Prüfung wechselst.",
"noVocabInfo": "Lies die Beschreibung oben und die Erklärungen in der Prüfung, um die wichtigsten Begriffe zu lernen.",
"vocabTrainer": "Vokabeltrainer",
"vocabTrainerDescription": "Übe die wichtigsten Begriffe dieser Lektion interaktiv.",
"startVocabTrainer": "Vokabeltrainer starten",
"stopTrainer": "Trainer beenden",
"translateTo": "Übersetze ins Deutsche",
"translateFrom": "Übersetze ins Bisaya",
"next": "Weiter",
"startExercises": "Zur Kapitel-Prüfung",
"correctAnswer": "Richtige Antwort",
"alternatives": "Alternative Antworten"
}

View File

@@ -360,21 +360,30 @@
"optional": "Optional",
"invalidCode": "Invalid code",
"courseNotFound": "Course not found",
"grammarExercises": "Grammar Exercises",
"noExercises": "No exercises available",
"grammarExercises": "Chapter Test",
"noExercises": "No test available",
"enterAnswer": "Enter answer",
"checkAnswer": "Check Answer",
"correct": "Correct!",
"wrong": "Wrong",
"explanation": "Explanation",
"learn": "Learn",
"exercises": "Exercises",
"exercises": "Chapter Test",
"learnVocabulary": "Learn Vocabulary",
"lessonDescription": "Lesson Description",
"culturalNotes": "Cultural Notes",
"grammarExplanations": "Grammar Explanations",
"importantVocab": "Important Vocabulary",
"vocabInfoText": "These terms are used in the exercises. Learn them here passively before switching to the interactive exercises.",
"noVocabInfo": "Read the description above and the explanations in the exercises to learn the most important terms.",
"startExercises": "Start Exercises",
"vocabInfoText": "These terms are used in the test. Learn them here passively before switching to the chapter test.",
"noVocabInfo": "Read the description above and the explanations in the test to learn the most important terms.",
"vocabTrainer": "Vocabulary Trainer",
"vocabTrainerDescription": "Practice the most important terms of this lesson interactively.",
"startVocabTrainer": "Start Vocabulary Trainer",
"stopTrainer": "Stop Trainer",
"translateTo": "Translate to English",
"translateFrom": "Translate to Target Language",
"next": "Next",
"startExercises": "Start Chapter Test",
"correctAnswer": "Correct Answer",
"alternatives": "Alternative Answers"
}