Add Bisaya course content for 'Haus & Familie' lesson: Introduce multiple-choice and gap-fill exercises for vocabulary related to house and family terms, including translations and explanations. Update lesson tracking to include the new lesson in the course content.

This commit is contained in:
Torsten Schulz (local)
2026-03-05 13:23:56 +01:00
parent fd41a53404
commit bf2b490731

View File

@@ -191,6 +191,90 @@ const BISAYA_EXERCISES = {
} }
], ],
// Lektion: Haus & Familie (Balay, Kwarto, Kusina, Pamilya)
'Haus & Familie': [
{
exerciseTypeId: 2, // multiple_choice
title: 'Wie sagt man "Haus" auf Bisaya?',
instruction: 'Wähle die richtige Übersetzung.',
questionData: {
type: 'multiple_choice',
question: 'Wie sagt man "Haus" auf Bisaya?',
options: ['Balay', 'Kwarto', 'Kusina', 'Pamilya']
},
answerData: { type: 'multiple_choice', correctAnswer: 0 },
explanation: '"Balay" bedeutet "Haus" auf Bisaya.'
},
{
exerciseTypeId: 2, // multiple_choice
title: 'Wie sagt man "Zimmer" auf Bisaya?',
instruction: 'Wähle die richtige Übersetzung.',
questionData: {
type: 'multiple_choice',
question: 'Wie sagt man "Zimmer" auf Bisaya?',
options: ['Kwarto', 'Balay', 'Kusina', 'Pamilya']
},
answerData: { type: 'multiple_choice', correctAnswer: 0 },
explanation: '"Kwarto" bedeutet "Zimmer" (Raum/Schlafzimmer).'
},
{
exerciseTypeId: 2, // multiple_choice
title: 'Wie sagt man "Küche" auf Bisaya?',
instruction: 'Wähle die richtige Übersetzung.',
questionData: {
type: 'multiple_choice',
question: 'Wie sagt man "Küche" auf Bisaya?',
options: ['Kusina', 'Balay', 'Kwarto', 'Pamilya']
},
answerData: { type: 'multiple_choice', correctAnswer: 0 },
explanation: '"Kusina" bedeutet "Küche".'
},
{
exerciseTypeId: 2, // multiple_choice
title: 'Wie sagt man "Familie" auf Bisaya?',
instruction: 'Wähle die richtige Übersetzung.',
questionData: {
type: 'multiple_choice',
question: 'Wie sagt man "Familie" auf Bisaya?',
options: ['Pamilya', 'Balay', 'Kwarto', 'Kusina']
},
answerData: { type: 'multiple_choice', correctAnswer: 0 },
explanation: '"Pamilya" bedeutet "Familie".'
},
{
exerciseTypeId: 1, // gap_fill
title: 'Haus & Räume vervollständigen',
instruction: 'Fülle die Lücken mit den richtigen Bisaya-Wörtern.',
questionData: {
type: 'gap_fill',
text: '{gap} (Haus) | {gap} (Zimmer) | {gap} (Küche) | {gap} (Familie)',
gaps: 4
},
answerData: {
type: 'gap_fill',
answers: ['Balay', 'Kwarto', 'Kusina', 'Pamilya']
},
explanation: 'Balay = Haus, Kwarto = Zimmer, Kusina = Küche, Pamilya = Familie.'
},
{
exerciseTypeId: 4, // transformation
title: 'Haus-Satz übersetzen',
instruction: 'Übersetze den Satz ins Bisaya.',
questionData: {
type: 'transformation',
text: 'Unser Haus hat zwei Zimmer',
sourceLanguage: 'Deutsch',
targetLanguage: 'Bisaya'
},
answerData: {
type: 'transformation',
correct: 'Ang among balay kay naay duha ka kwarto',
alternatives: ['Among balay naay duha ka kwarto', 'Ang among balay adunay duha ka kwarto']
},
explanation: '"Balay" = Haus, "kwarto" = Zimmer, "duha ka" = zwei (Stück).'
}
],
// Lektion 15: Zeitformen - Grundlagen // Lektion 15: Zeitformen - Grundlagen
'Zeitformen - Grundlagen': [ 'Zeitformen - Grundlagen': [
{ {
@@ -971,7 +1055,8 @@ async function createBisayaCourseContent() {
const replacePlaceholders = [ const replacePlaceholders = [
'Woche 1 - Wiederholung', 'Woche 1 - Wiederholung',
'Woche 1 - Vokabeltest', 'Woche 1 - Vokabeltest',
'Alltagsgespräche - Teil 1' 'Alltagsgespräche - Teil 1',
'Haus & Familie'
].includes(lesson.title); ].includes(lesson.title);
const existingCount = await VocabGrammarExercise.count({ const existingCount = await VocabGrammarExercise.count({
where: { lessonId: lesson.id } where: { lessonId: lesson.id }