mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
fb3c539eee
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
158 lines
10 KiB
JSON
158 lines
10 KiB
JSON
{
|
|
"author.title": "Level editor — author mode",
|
|
"author.skip": "Go to the form",
|
|
"author.language": "Editor language",
|
|
"author.toolbar.label": "Level actions",
|
|
"author.toolbar.new": "New level",
|
|
"author.toolbar.load_select": "Site level to load",
|
|
"author.toolbar.load": "Load this level",
|
|
"author.toolbar.import": "Import a YAML file",
|
|
"author.toolbar.download": "Download level.yaml",
|
|
"author.toolbar.back": "Back to the app",
|
|
"author.confirm.new": "Start a new level? The current draft will be replaced.",
|
|
"author.confirm.load": "Load level {id}? The current draft will be replaced.",
|
|
"author.status.saved": "Draft saved in this browser at {time}.",
|
|
"author.status.draft_restored": "Previous draft restored.",
|
|
"author.status.loaded": "Level {id} loaded: edit it, then download the file.",
|
|
"author.status.imported": "File {name} imported.",
|
|
"author.status.import_error": "Import failed: {detail}",
|
|
"author.status.downloaded": "level.yaml downloaded for level {id}.",
|
|
"author.status.downloaded_with_errors": "level.yaml downloaded, but {count} error(s) remain to fix before proposing it.",
|
|
"author.section.info": "Level information",
|
|
"author.section.steps": "Steps",
|
|
"author.section.steps.help": "One new notion per step. Alternate explanations and code exercises.",
|
|
"author.section.mission": "Final mission",
|
|
"author.section.problems": "Checks",
|
|
"author.section.check": "Run the exercises",
|
|
"author.section.preview": "Try it as a learner",
|
|
"author.section.export": "Publish the level",
|
|
"author.level.id": "Identifier",
|
|
"author.level.id.help": "Two digits, a dash, a short lowercase name (e.g. 08-functions). It must equal the folder name levels/<id>/.",
|
|
"author.level.title": "Level title",
|
|
"author.level.difficulty": "Difficulty (0 to 10)",
|
|
"author.level.difficulty.help": "0 = no prerequisite.",
|
|
"author.level.xp": "Mission XP",
|
|
"author.level.xp.help": "Awarded once, at the end of the level.",
|
|
"author.level.requires": "Prerequisite levels",
|
|
"author.level.requires.help": "Informative only: never prevents opening the level.",
|
|
"author.level.requires.none": "No other level exists yet.",
|
|
"author.step.title": "Step {n} — {type}",
|
|
"author.step.type.explain": "Explanation",
|
|
"author.step.type.code": "Code exercise",
|
|
"author.step.add.explain": "Add an explanation",
|
|
"author.step.add.code": "Add a code exercise",
|
|
"author.step.up": "Move step {n} up",
|
|
"author.step.down": "Move step {n} down",
|
|
"author.step.remove": "Remove step {n}",
|
|
"author.step.text": "Text",
|
|
"author.step.text.help": "Short sentences. Inline code goes between backticks: `print()`.",
|
|
"author.step.voice": "Offer voice narration",
|
|
"author.step.voice.help": "Adds a \"Listen\" button. The audio file is then generated with make voice.",
|
|
"author.step.image": "Image (optional)",
|
|
"author.step.image.help": "Path relative to the level folder.",
|
|
"author.step.instruction": "Instruction",
|
|
"author.step.starter": "Starter code",
|
|
"author.step.starter.help": "It must run as is, without errors, and must not already pass the tests (except for a \"run to see\" step).",
|
|
"author.step.hints": "Hints",
|
|
"author.step.hints.help": "One hint per line, from vaguest to most precise. Same count in French and English.",
|
|
"author.step.solution": "Reference solution",
|
|
"author.step.solution.help": "Required: it is executed to check that the tests are right.",
|
|
"author.tests": "Validation tests",
|
|
"author.test.title": "Test {n}",
|
|
"author.test.add": "Add a test",
|
|
"author.test.remove": "Remove test {n}",
|
|
"author.test.kind": "Test type",
|
|
"author.test.name": "Variable name",
|
|
"author.test.value": "Expected value",
|
|
"author.test.value.newline": "Exact output: press Enter at the end of the text to expect a final line break (print adds one).",
|
|
"author.test.value.regex": "Regular expression applied to the whole output. If the program asks for input, the prompt is part of the output.",
|
|
"author.test.valueType": "Value type",
|
|
"author.test.valueType.help": "An integer and a decimal that are equal (10 and 10.0) count as the same value; add a \"variable type\" test to tell them apart.",
|
|
"author.test.type": "Expected type",
|
|
"author.test.inputs": "Scripted inputs (optional)",
|
|
"author.test.inputs.help": "One per line, answered in order to input(). The test is then evaluated on a replay of the code with these inputs.",
|
|
"author.test.message": "Message if the test fails (optional)",
|
|
"author.test.message.label": "Failure message",
|
|
"author.valueType.text": "Text",
|
|
"author.valueType.number": "Number",
|
|
"author.valueType.boolean": "True / false",
|
|
"author.kind.no_syntax_error": "No syntax error",
|
|
"author.kind.no_syntax_error.help": "The code runs without a syntax error.",
|
|
"author.kind.stdout_equals": "Output exactly equal",
|
|
"author.kind.stdout_equals.help": "Everything printed, final line break included.",
|
|
"author.kind.stdout_contains": "Output contains",
|
|
"author.kind.stdout_contains.help": "A piece of text present in the output.",
|
|
"author.kind.stdout_matches_regex": "Output matches a regular expression",
|
|
"author.kind.stdout_matches_regex.help": "Useful for randomness or varying output.",
|
|
"author.kind.code_contains": "Code contains",
|
|
"author.kind.code_contains.help": "Checks the use of a notion (e.g. random.choice, while).",
|
|
"author.kind.var_equals": "Variable equals",
|
|
"author.kind.var_equals.help": "Value of a variable after execution.",
|
|
"author.kind.var_type_is": "Variable type",
|
|
"author.kind.var_type_is.help": "Type of a variable after execution (str, int, float…).",
|
|
"author.mission.title": "Mission title",
|
|
"author.mission.goal": "Goal",
|
|
"author.mission.tests.help": "Without tests, the mission is validated with a simple \"I understand\" button (like level 00).",
|
|
"author.mission.reward": "Reward sound",
|
|
"author.remove": "Remove",
|
|
"author.path.step": "Step {n}",
|
|
"author.path.test": "Test {n}",
|
|
"author.path.mission": "Mission",
|
|
"author.severity.error": "Error",
|
|
"author.severity.warning": "Warning",
|
|
"author.severity.info": "Good to know",
|
|
"author.problems.none": "No problem detected.",
|
|
"author.problems.summary": "{errors} error(s), {warnings} warning(s), {infos} note(s).",
|
|
"author.problems.goto": "Go to field",
|
|
"author.check.help": "Runs, with real Python, each exercise's solution (it must pass its tests) and its starter code (it must not pass them).",
|
|
"author.check.run": "Run the exercises",
|
|
"author.check.starting": "Starting Python…",
|
|
"author.check.progress": "Exercise {done} of {total}…",
|
|
"author.check.passed": "All {count} exercise(s) are correct.",
|
|
"author.check.failed": "Some exercises have problems (see the checks).",
|
|
"author.check.fix_structure": "First fix the structure errors reported in the checks.",
|
|
"author.preview.help": "Plays this level in the real learner interface. Progress is not saved.",
|
|
"author.preview.start": "Try this level",
|
|
"author.export.step1": "Download level.yaml (toolbar) and place it in levels/<id>/level.yaml.",
|
|
"author.export.step2": "Add the level to levels/manifest.json (line below).",
|
|
"author.export.step3": "Run make validate-levels.",
|
|
"author.export.step4": "If steps have narration enabled, run make voice and add the audio files.",
|
|
"author.export.step5": "Run make test, then propose your contribution (see CONTRIBUTING.md).",
|
|
"author.export.manifest": "Line to add to levels/manifest.json:",
|
|
"author.export.yaml": "Contents of level.yaml",
|
|
"lint.schema_required": "Required field missing: {field}.",
|
|
"lint.schema_unknown_field": "Unknown field: {field}.",
|
|
"lint.schema_pattern": "Invalid format (two digits, dash, lowercase name).",
|
|
"lint.schema_enum": "Value not allowed here.",
|
|
"lint.schema_type": "Wrong value type.",
|
|
"lint.schema_range": "Value out of range, or list too short.",
|
|
"lint.schema_invalid": "Invalid structure: {detail}",
|
|
"lint.missing_english": "English translation missing.",
|
|
"lint.hint_count_differs": "Hint counts differ: {fr} in French, {en} in English.",
|
|
"lint.id_already_exists": "A level {id} already exists: the file would replace it.",
|
|
"lint.requires_self": "A level cannot be its own prerequisite.",
|
|
"lint.requires_unknown": "Unknown prerequisite: {id}.",
|
|
"lint.solution_missing": "Reference solution missing.",
|
|
"lint.hints_missing": "No hint: providing at least one helps stuck learners.",
|
|
"lint.kind_unsupported": "The \"{kind}\" test is not handled by the engine yet.",
|
|
"lint.test_name_missing": "Variable name missing.",
|
|
"lint.test_value_missing": "Expected value missing.",
|
|
"lint.type_unusual": "Unusual type. Usual types: {allowed}.",
|
|
"lint.regex_invalid": "Invalid regular expression: {detail}",
|
|
"lint.voice_to_generate": "Narration enabled on steps {steps}: run make voice to generate the audio before proposing the level.",
|
|
"lint.solution_error": "The solution crashes: {type} — {message}{line}",
|
|
"lint.solution_fails": "The solution does not pass its tests: {failures}.",
|
|
"lint.starter_passes": "The starter code already passes the tests: the exercise would already be solved.",
|
|
"lint.starter_error": "The starter code does not run: {type} — {message}{line}",
|
|
"author.kind.drawing_segments": "Drawing: number of lines",
|
|
"author.kind.drawing_segments.help": "Number of lines drawn by canvas.line: “4” (exactly) or “4+” (at least).",
|
|
"author.kind.drawing_has_line": "Drawing: a specific line",
|
|
"author.kind.drawing_has_line.help": "A line between two points, either direction: “0,0 100,0” or with a colour “0,0 100,0 red”. Tolerance 0.5.",
|
|
"author.kind.drawing_colors": "Drawing: colours used",
|
|
"author.kind.drawing_colors.help": "Colours that must all appear, comma-separated: “red,blue”.",
|
|
"lint.drawing_value_invalid": "Malformed drawing test value (see the test type help; colours: black, red, green, blue, orange, purple, gray).",
|
|
"author.account.label": "Account",
|
|
"author.account.signed_in": "Signed in: {name}",
|
|
"author.account.logout": "Sign out"
|
|
}
|