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]>
21 lines
999 B
JSON
21 lines
999 B
JSON
{
|
|
"_meta": {
|
|
"locale": "en",
|
|
"area": "rules",
|
|
"translation": "source"
|
|
},
|
|
"rules.title": "Rules for proposals",
|
|
"rules.hold": "Hold the selected lines",
|
|
"rules.hold_title": "Mark them with {lock} and {unlock}: no proposal may change them",
|
|
"rules.region": "Keep the next proposal to the selected lines",
|
|
"rules.gates": "Gates a proposal may add",
|
|
"rules.gates_any": "any",
|
|
"rules.avoid_gates": "Gates to avoid",
|
|
"rules.none": "none",
|
|
"rules.avoid_text": "Text to avoid",
|
|
"rules.avoid_text_placeholder": "none, or text, one per comma",
|
|
"rules.qubits": "Hold the qubit declarations",
|
|
"rules.note": "The engine checks every proposal against these, change by change: the assistant's, an alternative, a fix, an agent's. A change that breaks one cannot be taken. Lines between {lock} and {unlock} are held. What you type is yours to change.",
|
|
"rules.only_lines": "Only lines {first} to {last}, for the next proposal ",
|
|
"rules.clear_region": "Keep to no lines"
|
|
}
|