- New Word Discovery game with image support and practice phases - Auto-play TTS on word appearance with speed control (0.7x-1.1x) - Complete Settings page with TTS controls and debug interface - Language standardization with BCP 47 codes (en-US, zh-CN, fr-FR) - Media fallback handling for missing images and audio - Settings Manager with voice selection and debug tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
98 lines
2.7 KiB
JavaScript
98 lines
2.7 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",
|
|
language: "en-US",
|
|
|
|
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"
|
|
}
|
|
]
|
|
}
|
|
}; |