The Course pane lists the 21 lessons, shows a lesson's text and exercise, loads its starter, and checks the program in the editor with the engine (engine_course_check in the page, the same commands in the desktop app): each case's verdict, each rule, What went wrong? from the diagnostics, the verdict and the critique, the hints one at a time with the engine's pointer, and a hint from the assistant when a model is connected, any program in its answer held back. Progress is kept only in this browser and says so. The interface's words are data, locales/<locale>/<area>.json for every part, English the source and Simplified Chinese marked machine-assisted; the Studio follows the browser's language until the reader picks one with the switch. test/locales.test.mjs holds every locale to every key and placeholder. The e2e checks the course in English and in Chinese. wai-web's engine tests pin 23 native and 16 wasm32, a course check the same bytes in both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
24 lines
1.2 KiB
JSON
24 lines
1.2 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "en",
|
||
"area": "rewrite_view",
|
||
"translation": "source"
|
||
},
|
||
"rewrite_view.rule_cancel": "cancel",
|
||
"rewrite_view.rule_merge": "merge",
|
||
"rewrite_view.rule_through": "carry",
|
||
"rewrite_view.rule_conjugate": "conjugate",
|
||
"rewrite_view.rule_drop": "drop",
|
||
"rewrite_view.rule_move": "move",
|
||
"rewrite_view.rewrites": "Rewrites",
|
||
"rewrite_view.rewrites_title": "Every rewrite that keeps the program’s meaning, each checked by the engine",
|
||
"rewrite_view.heading": "Rewrites",
|
||
"rewrite_view.take": "Take",
|
||
"rewrite_view.offer_note": "A rewrite, checked by the engine: {why}.",
|
||
"rewrite_view.lines_one": "line {lines}",
|
||
"rewrite_view.lines_other": "lines {lines}",
|
||
"rewrite_view.checking": "The engine is checking each rewrite…",
|
||
"rewrite_view.unread": "The engine cannot read the program: {error}",
|
||
"rewrite_view.none": "No rewrite applies: no gates cancel, merge or conjugate, and no two that commute sit side by side.",
|
||
"rewrite_view.note": "Each keeps the circuit’s meaning: the engine checks the gates a rewrite takes against the gates it puts, on the qubits they touch. Take one at a time; the review shows the change."
|
||
}
|