Add UI components, i18n, settings store and base styles

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
denis
2026-10-14 22:11:52 +02:00
parent 07f3b22e58
commit 81f8402260
14 changed files with 1029 additions and 1 deletions
+61
View File
@@ -0,0 +1,61 @@
{
"app.title": "PyQuest",
"engine.loading": "Loading Python… (the first time can take a few seconds)",
"engine.failed": "Could not load Python. Reload the page or check your connection.",
"step.progress": "Step {current} of {total}",
"step.continue": "Continue",
"voice.listen": "Listen",
"voice.stop": "Stop reading",
"cell.editor": "Python code editor",
"cell.run": "Run",
"cell.running": "Running…",
"cell.stop": "Stop",
"cell.reset": "Reset",
"cell.hint": "Hint",
"cell.hint_count": "Hint {current} of {total}",
"cell.solution": "Show the solution",
"cell.output": "Output",
"cell.output_empty": "(nothing printed)",
"cell.shortcut": "Ctrl/Cmd + Enter to run",
"cell.passed": "Well done, that's correct!",
"cell.failed": "Not yet. Here is what is wrong:",
"cell.line": "Line {line}",
"cell.details": "Technical details",
"reason.syntax_error": "The code contains a syntax error.",
"reason.stdout_mismatch": "What is printed is not exactly what is expected.",
"reason.stdout_missing": "Something is missing from what is printed.",
"reason.variable_missing": "An expected variable does not exist.",
"reason.value_mismatch": "A variable does not have the right value.",
"reason.type_mismatch": "A variable does not have the right type.",
"reason.invalid_regex": "This test is badly defined (tell the level authors).",
"reason.unsupported_kind": "This test is not handled by the app yet.",
"reason.runtime_error": "The code stopped on an error.",
"mission.label": "Mission",
"mission.understand": "I understand",
"mission.done": "Level complete! +{xp} XP",
"mission.already": "Level already completed: no new XP, but well done for practising!",
"progress.title": "Your progress",
"progress.done": "Completed",
"progress.current": "In progress",
"progress.todo": "To do",
"progress.xp": "{xp} XP",
"progress.streak": "Streak: {days} day(s)",
"badge.earned": "Badge earned: {name}",
"badge.first_level": "First step",
"badge.three_levels": "Three levels",
"badge.xp_100": "100 XP",
"badge.streak_3": "3 days in a row",
"badge.streak_7": "7 days in a row",
"toast.close": "Close",
"settings.title": "Settings",
"settings.language": "Language",
"settings.fontSize": "Text size",
"settings.theme": "Theme",
"settings.theme.auto": "Automatic",
"settings.theme.light": "Light",
"settings.theme.dark": "Dark",
"settings.sound": "Sound effects",
"settings.volume": "Volume",
"settings.voice": "Voice",
"settings.voiceRate": "Voice speed"
}