mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
Add guide character (owl) with varied bilingual messages, moods and setting
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
"settings.theme.auto": "Automatic",
|
||||
"settings.theme.light": "Light",
|
||||
"settings.theme.dark": "Dark",
|
||||
"settings.guide": "Guide character",
|
||||
"settings.sound": "Sound effects",
|
||||
"settings.volume": "Volume",
|
||||
"settings.voice": "Voice",
|
||||
|
||||
@@ -57,6 +57,7 @@
|
||||
"settings.theme.auto": "Automatique",
|
||||
"settings.theme.light": "Clair",
|
||||
"settings.theme.dark": "Sombre",
|
||||
"settings.guide": "Personnage-guide",
|
||||
"settings.sound": "Effets sonores",
|
||||
"settings.volume": "Volume",
|
||||
"settings.voice": "Voix",
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"level_start": [
|
||||
"Let's go! One small step at a time.",
|
||||
"Ready? We'll take it easy.",
|
||||
"Welcome to this level. Take your time.",
|
||||
"Great idea to keep going. Let's do it!"
|
||||
],
|
||||
"welcome_back": [
|
||||
"Good to see you again! We pick up where you left off.",
|
||||
"You're back! No pressure, we'll go gently.",
|
||||
"Welcome back. Even a short session counts."
|
||||
],
|
||||
"success_step": [
|
||||
"Well done, that's correct!",
|
||||
"Exactly right. You're getting the hang of it.",
|
||||
"Clean! Shall we move on?",
|
||||
"It works. You're making progress."
|
||||
],
|
||||
"success_first_try": [
|
||||
"First try, well done!",
|
||||
"Right and straight to the point. Impressive!",
|
||||
"All correct on the first attempt!"
|
||||
],
|
||||
"success_after_retry": [
|
||||
"You kept at it, and it paid off!",
|
||||
"There, you found it. Every attempt got you closer.",
|
||||
"Well done for carrying on: that's how we learn."
|
||||
],
|
||||
"error_runtime": [
|
||||
"An error is a clue: look at the line shown.",
|
||||
"Don't panic, it happens to everyone. Let's read the message together.",
|
||||
"Python tells you where to look: that's helpful, not a failure.",
|
||||
"Almost! Fix the line shown and run again."
|
||||
],
|
||||
"fail_tests": [
|
||||
"It runs, but it's not the expected result yet. Reread the instruction.",
|
||||
"You're on the right track. Compare what is printed with what is asked.",
|
||||
"Not quite. A small detail to adjust?"
|
||||
],
|
||||
"suggest_hint": [
|
||||
"A hint can help: the Hint button is there for that.",
|
||||
"Stuck? Ask for a hint, there is no penalty."
|
||||
],
|
||||
"hint_revealed": [
|
||||
"Here's a nudge. Over to you!",
|
||||
"One more hint: try it with that.",
|
||||
"Does that help? Go back to your code and test."
|
||||
],
|
||||
"interrupted": [
|
||||
"Execution stopped. Good call cutting the loop!",
|
||||
"Stop! Check that your loop's condition can become false."
|
||||
],
|
||||
"input_waiting": [
|
||||
"I'm listening: type your answer.",
|
||||
"The program is waiting for your input."
|
||||
],
|
||||
"level_complete": [
|
||||
"Level complete: +{xp} XP! Nice step.",
|
||||
"Well done! +{xp} XP, and you learned something solid.",
|
||||
"Mission accomplished, +{xp} XP. You can be proud."
|
||||
],
|
||||
"level_complete_replay": [
|
||||
"Nicely revised! No new XP, but practice counts.",
|
||||
"Reviewing is always a good idea."
|
||||
],
|
||||
"streak": [
|
||||
"{days} days in a row! Come back tomorrow, no pressure.",
|
||||
"A {days}-day streak: you're building a nice habit."
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"level_start": [
|
||||
"C'est parti ! Une petite étape à la fois.",
|
||||
"Prêt·e ? On avance tranquillement.",
|
||||
"Bienvenue dans ce niveau. Prends ton temps.",
|
||||
"Bonne idée de continuer. Allons-y !"
|
||||
],
|
||||
"welcome_back": [
|
||||
"Content de te revoir ! On reprend là où tu t'étais arrêté·e.",
|
||||
"Te revoilà ! Aucune pression, on y va doucement.",
|
||||
"Bon retour. Même une petite session compte."
|
||||
],
|
||||
"success_step": [
|
||||
"Bien joué, c'est correct !",
|
||||
"Exactement ça. Tu prends le coup de main.",
|
||||
"Propre ! Passons à la suite ?",
|
||||
"Ça marche. Tu progresses."
|
||||
],
|
||||
"success_first_try": [
|
||||
"Du premier coup, bravo !",
|
||||
"Juste et sans détour. Impressionnant !",
|
||||
"Tout bon dès le premier essai !"
|
||||
],
|
||||
"success_after_retry": [
|
||||
"Tu as persévéré, et ça a payé !",
|
||||
"Voilà, tu l'as trouvé. Chaque essai t'a rapproché·e.",
|
||||
"Bravo d'avoir continué : c'est comme ça qu'on apprend."
|
||||
],
|
||||
"error_runtime": [
|
||||
"Une erreur, c'est un indice : regarde la ligne indiquée.",
|
||||
"Pas de panique, ça arrive à tout le monde. Lis le message avec moi.",
|
||||
"Python te dit où chercher : c'est utile, pas un échec.",
|
||||
"Presque ! Corrige la ligne signalée et relance."
|
||||
],
|
||||
"fail_tests": [
|
||||
"Ça tourne, mais ce n'est pas encore le résultat attendu. Relis la consigne.",
|
||||
"Tu es sur la bonne voie. Compare ce qui s'affiche avec ce qui est demandé.",
|
||||
"Pas tout à fait. Un petit détail à ajuster ?"
|
||||
],
|
||||
"suggest_hint": [
|
||||
"Un indice peut aider : le bouton Indice est là pour ça.",
|
||||
"Bloqué·e ? Demande un indice, il n'y a aucune pénalité."
|
||||
],
|
||||
"hint_revealed": [
|
||||
"Voilà un coup de pouce. À toi de jouer !",
|
||||
"Un indice de plus : essaie avec ça.",
|
||||
"Ça t'aide ? Reprends ton code et teste."
|
||||
],
|
||||
"interrupted": [
|
||||
"Exécution arrêtée. Bien vu d'avoir coupé la boucle !",
|
||||
"Stop ! Vérifie que la condition de ta boucle peut devenir fausse."
|
||||
],
|
||||
"input_waiting": [
|
||||
"Je t'écoute : tape ta réponse.",
|
||||
"Le programme attend ta saisie."
|
||||
],
|
||||
"level_complete": [
|
||||
"Niveau terminé : +{xp} XP ! Belle étape.",
|
||||
"Bravo ! +{xp} XP, et tu as appris du solide.",
|
||||
"Mission accomplie, +{xp} XP. Tu peux être fier·ère."
|
||||
],
|
||||
"level_complete_replay": [
|
||||
"Bien revu ! Pas de nouveaux XP, mais la pratique, ça compte.",
|
||||
"Réviser, c'est toujours une bonne idée."
|
||||
],
|
||||
"streak": [
|
||||
"{days} jours de suite ! Reviens demain, sans pression.",
|
||||
"Série de {days} jours : tu prends une belle habitude."
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user