diff --git a/backend/scripts/create-bisaya-course-content.js b/backend/scripts/create-bisaya-course-content.js index b96e5a4..9cf418a 100644 --- a/backend/scripts/create-bisaya-course-content.js +++ b/backend/scripts/create-bisaya-course-content.js @@ -548,6 +548,201 @@ const BISAYA_EXERCISES = { } ], + // Lektion 11: Alltagsgespräche - Teil 1 (~20–30 Min Übungsmaterial) + 'Alltagsgespräche - Teil 1': [ + { + exerciseTypeId: 2, // multiple_choice + title: 'Wie sagt man "Wie war dein Tag?"?', + instruction: 'Wähle die richtige Frage aus.', + questionData: { + type: 'multiple_choice', + question: 'Wie sagt man "Wie war dein Tag?" auf Bisaya?', + options: ['Kumusta ang imong adlaw?', 'Kumusta ka?', 'Unsa ni?', 'Asa ka?'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Kumusta ang imong adlaw?" bedeutet "Wie war dein Tag?" - typische Alltagsfrage.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Wie sagt man "Was machst du?"?', + instruction: 'Wähle die richtige Frage aus.', + questionData: { + type: 'multiple_choice', + question: 'Wie sagt man "Was machst du?" auf Bisaya?', + options: ['Unsa imong ginabuhat?', 'Kumusta ka?', 'Asa ka?', 'Tagpila ni?'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Unsa imong ginabuhat?" bedeutet "Was machst du?" - "Unsa" = was, "ginabuhat" = machst.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Maayo ra"?', + instruction: 'Wähle die richtige Bedeutung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Maayo ra"?', + options: ['Es geht (so lala)', 'Sehr gut', 'Schlecht', 'Danke'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Maayo ra" bedeutet "Es geht" oder "So lala" - typische Antwort auf "Wie geht es dir?"' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Nagtrabaho ko"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Nagtrabaho ko"?', + options: ['Ich arbeite', 'Ich habe gegessen', 'Ich schlafe', 'Ich gehe'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Nagtrabaho ko" bedeutet "Ich arbeite" - "trabaho" = Arbeit.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Busy ko"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Busy ko"?', + options: ['Ich bin beschäftigt', 'Ich bin müde', 'Ich bin glücklich', 'Ich schlafe'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Busy ko" bedeutet "Ich bin beschäftigt" - "busy" wurde aus dem Englischen übernommen.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Kapoy ko"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Kapoy ko"?', + options: ['Ich bin müde', 'Ich bin beschäftigt', 'Ich bin krank', 'Ich bin glücklich'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Kapoy ko" bedeutet "Ich bin müde" - "kapoy" = müde.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Nagpahuway ko"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Nagpahuway ko"?', + options: ['Ich ruhe mich aus', 'Ich arbeite', 'Ich schlafe', 'Ich esse'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Nagpahuway ko" bedeutet "Ich ruhe mich aus" - "pahuway" = Ruhe.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Wie sagt man "Wie heißt du?"?', + instruction: 'Wähle die richtige Frage aus.', + questionData: { + type: 'multiple_choice', + question: 'Wie sagt man "Wie heißt du?" auf Bisaya?', + options: ['Unsa imong ngalan?', 'Kumusta ka?', 'Kinsa ka?', 'Asa ka?'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Unsa imong ngalan?" bedeutet "Wie heißt du?" - "ngalan" = Name.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Kinsa ka?"?', + instruction: 'Wähle die richtige Bedeutung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Kinsa ka?"?', + options: ['Wer bist du?', 'Wo bist du?', 'Was machst du?', 'Wie geht es dir?'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Kinsa ka?" bedeutet "Wer bist du?" - "kinsa" = wer.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Nalipay ko"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Nalipay ko"?', + options: ['Ich bin glücklich', 'Ich bin traurig', 'Ich bin müde', 'Ich bin krank'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Nalipay ko" bedeutet "Ich bin glücklich" - "lipay" = glücklich.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Naa koy trabaho"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Naa koy trabaho"?', + options: ['Ich habe Arbeit', 'Ich habe keine Arbeit', 'Ich arbeite', 'Ich ruhe mich aus'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Naa koy trabaho" bedeutet "Ich habe Arbeit" - "naa" = haben, "trabaho" = Arbeit.' + }, + { + exerciseTypeId: 2, // multiple_choice + title: 'Was bedeutet "Wala koy trabaho"?', + instruction: 'Wähle die richtige Übersetzung.', + questionData: { + type: 'multiple_choice', + question: 'Was bedeutet "Wala koy trabaho"?', + options: ['Ich habe keine Arbeit', 'Ich habe Arbeit', 'Ich arbeite', 'Ich bin müde'] + }, + answerData: { type: 'multiple_choice', correctAnswer: 0 }, + explanation: '"Wala koy trabaho" bedeutet "Ich habe keine Arbeit" - "wala" = nicht haben.' + }, + { + exerciseTypeId: 1, // gap_fill + title: 'Alltagsgespräch vervollständigen', + instruction: 'Fülle die Lücken mit den richtigen Bisaya-Wörtern.', + questionData: { + type: 'gap_fill', + text: 'Kumusta ang imong {gap}? (Wie war dein Tag?) - Maayo {gap}. (Es geht.)', + gaps: 2 + }, + answerData: { + type: 'gap_fill', + answers: ['adlaw', 'ra'] + }, + explanation: '"adlaw" = Tag, "Maayo ra" = Es geht.' + }, + { + exerciseTypeId: 1, // gap_fill + title: 'Antworten auf Alltagsfragen', + instruction: 'Fülle die Lücken mit den richtigen Bisaya-Wörtern.', + questionData: { + type: 'gap_fill', + text: 'Unsa imong ginabuhat? (Was machst du?) - {gap} ko. (Ich arbeite.) | Kapoy {gap}. (Ich bin müde.)', + gaps: 2 + }, + answerData: { + type: 'gap_fill', + answers: ['Nagtrabaho', 'ko'] + }, + explanation: '"Nagtrabaho ko" = Ich arbeite, "Kapoy ko" = Ich bin müde.' + }, + { + exerciseTypeId: 4, // transformation + title: 'Alltagssatz übersetzen', + instruction: 'Übersetze den Satz ins Bisaya.', + questionData: { + type: 'transformation', + text: 'Ich bin glücklich', + sourceLanguage: 'Deutsch', + targetLanguage: 'Bisaya' + }, + answerData: { + type: 'transformation', + correct: 'Nalipay ko', + alternatives: ['Malipayon ko', 'Nalipay ako'] + }, + explanation: '"Nalipay ko" bedeutet "Ich bin glücklich" auf Bisaya.' + } + ], + // Woche 1 - Wiederholung (Lektion 9) 'Woche 1 - Wiederholung': [ { @@ -772,8 +967,12 @@ async function createBisayaCourseContent() { continue; } - // Bei Woche-1-Wiederholung/Vokabeltest: Alte Platzhalter entfernen und ersetzen - const replacePlaceholders = ['Woche 1 - Wiederholung', 'Woche 1 - Vokabeltest'].includes(lesson.title); + // Lektionen mit Platzhalter-Ersetzung: alte Übungen entfernen und durch echte ersetzen + const replacePlaceholders = [ + 'Woche 1 - Wiederholung', + 'Woche 1 - Vokabeltest', + 'Alltagsgespräche - Teil 1' + ].includes(lesson.title); const existingCount = await VocabGrammarExercise.count({ where: { lessonId: lesson.id } }); diff --git a/backend/scripts/create-bisaya-course.js b/backend/scripts/create-bisaya-course.js index f8f8636..90be8ad 100755 --- a/backend/scripts/create-bisaya-course.js +++ b/backend/scripts/create-bisaya-course.js @@ -67,7 +67,7 @@ const LESSONS = [ // WOCHE 2: Alltag & Familie { week: 2, day: 1, num: 11, type: 'conversation', title: 'Alltagsgespräche - Teil 1', desc: 'Wie war dein Tag? Was machst du?', - targetMin: 15, targetScore: 80, review: false, + targetMin: 25, targetScore: 80, review: false, cultural: 'Alltagsgespräche sind wichtig für echte Kommunikation.' }, { week: 2, day: 1, num: 12, type: 'vocab', title: 'Haus & Familie',