- Add intelligent content-game compatibility system with visual badges - Fix Adventure Reader to work with Dragon's Pearl content structure - Implement multi-column games grid for faster navigation - Add pronunciation display for Chinese vocabulary and sentences - Fix navigation breadcrumb to show proper hierarchy (Home > Levels > Content) - Add back buttons to all navigation pages - Improve JSONContentLoader to preserve story structure - Add comprehensive debugging and diagnostic tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
97 lines
2.6 KiB
JavaScript
97 lines
2.6 KiB
JavaScript
// === CONTENU DE TEST RICHE ===
|
|
|
|
window.ContentModules = window.ContentModules || {};
|
|
|
|
window.ContentModules.TestRich = {
|
|
id: "test-rich",
|
|
name: "Test Riche (complet)",
|
|
description: "Contenu riche pour tester la compatibilité maximale",
|
|
difficulty: "medium",
|
|
|
|
vocabulary: {
|
|
"apple": {
|
|
translation: "pomme",
|
|
prononciation: "apple",
|
|
type: "noun",
|
|
pronunciation: "audio/apple.mp3"
|
|
},
|
|
"book": {
|
|
translation: "livre",
|
|
prononciation: "book",
|
|
type: "noun"
|
|
},
|
|
"car": {
|
|
translation: "voiture",
|
|
prononciation: "car",
|
|
type: "noun"
|
|
},
|
|
"dog": {
|
|
translation: "chien",
|
|
prononciation: "dog",
|
|
type: "noun"
|
|
},
|
|
"eat": {
|
|
translation: "manger",
|
|
prononciation: "eat",
|
|
type: "verb"
|
|
},
|
|
"friend": {
|
|
translation: "ami",
|
|
prononciation: "friend",
|
|
type: "noun"
|
|
}
|
|
},
|
|
|
|
sentences: [
|
|
{
|
|
english: "I have a red apple",
|
|
french: "J'ai une pomme rouge",
|
|
prononciation: "ai hav a red apple"
|
|
},
|
|
{
|
|
english: "The dog is in the house",
|
|
french: "Le chien est dans la maison",
|
|
prononciation: "ze dog iz in ze house"
|
|
},
|
|
{
|
|
english: "My friend has a car",
|
|
french: "Mon ami a une voiture",
|
|
prononciation: "mai friend haz a car"
|
|
},
|
|
{
|
|
english: "I like to read books",
|
|
french: "J'aime lire des livres",
|
|
prononciation: "ai laik tu rid books"
|
|
}
|
|
],
|
|
|
|
dialogues: [
|
|
{
|
|
title: "Au restaurant",
|
|
conversation: [
|
|
{ speaker: "Waiter", english: "What would you like to eat?", french: "Que voulez-vous manger ?" },
|
|
{ speaker: "Customer", english: "I would like an apple", french: "Je voudrais une pomme" },
|
|
{ speaker: "Waiter", english: "Good choice!", french: "Bon choix !" }
|
|
]
|
|
}
|
|
],
|
|
|
|
fillInBlanks: [
|
|
{
|
|
sentence: "I have a red _____",
|
|
options: ["apple", "book", "car", "dog"],
|
|
correctAnswer: "apple",
|
|
explanation: "Apple fits the context"
|
|
}
|
|
],
|
|
|
|
audio: {
|
|
withText: [
|
|
{
|
|
title: "Vocabulary pronunciation",
|
|
transcript: "Apple, book, car, dog, eat, friend",
|
|
translation: "Pomme, livre, voiture, chien, manger, ami"
|
|
}
|
|
]
|
|
}
|
|
}; |