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]>
51 lines
3.3 KiB
JSON
51 lines
3.3 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "en",
|
||
"area": "gallery",
|
||
"translation": "source"
|
||
},
|
||
"gallery.atlas_label": "The draft and {n} alternatives by two-qubit gates and depth",
|
||
"gallery.axis_two_qubit": "two-qubit gates →",
|
||
"gallery.axis_depth": "↑ depth",
|
||
"gallery.draft_point": "the draft: {two_qubit} two-qubit gates, depth {depth}",
|
||
"gallery.point_label": "alternative {n}: {two_qubit} two-qubit gates, depth {depth}",
|
||
"gallery.point_title": "{n}. {label}: {two_qubit} two-qubit gates, depth {depth}",
|
||
"gallery.aim_placeholder": "Toward… fewer qubits, another entangler, more symmetry",
|
||
"gallery.aim_label": "What Explore should aim for",
|
||
"gallery.improve": "Improve",
|
||
"gallery.improve_title": "The same circuit, cheaper: each checked equivalent to the draft",
|
||
"gallery.explore": "Explore",
|
||
"gallery.explore_title": "Different circuits toward the aim, from the model, each measured by the engine",
|
||
"gallery.intro": "Improve: the same circuit, cheaper, each checked equivalent. Explore: different circuits toward an aim, from the model, each measured by the engine. Nothing changes until you apply one.",
|
||
"gallery.title": "Alternatives",
|
||
"gallery.how_one": "How: {n} rewrite, each checked",
|
||
"gallery.how_many": "How: {n} rewrites, each checked",
|
||
"gallery.how_reordered": "How: the same gates, in another order",
|
||
"gallery.and_this_one": "and this one reduces to the same by:",
|
||
"gallery.commute": "The two are then the same up to the order of gates that commute.",
|
||
"gallery.does_not_parse": "does not parse: {error}",
|
||
"gallery.by_taste_one": "Ordered by your taste ({profile}, {n} choice).",
|
||
"gallery.by_taste_many": "Ordered by your taste ({profile}, {n} choices).",
|
||
"gallery.from_engine": "the engine",
|
||
"gallery.from_model": "the model",
|
||
"gallery.lines_changed": "{n} lines changed",
|
||
"gallery.same_lines": "the same lines",
|
||
"gallery.program": "Program",
|
||
"gallery.apply": "Apply",
|
||
"gallery.nothing_to_improve": "Nothing to improve that the engine can check: no gates cancel or merge, and the model offered none it could confirm.",
|
||
"gallery.nothing_read": "The model offered nothing the engine could read.",
|
||
"gallery.not_offered": "Not offered: {list}.",
|
||
"gallery.engine_looking": "The engine is looking…",
|
||
"gallery.cannot_read": "The engine cannot read the draft: {error}",
|
||
"gallery.paused_engine_only": "You are exploring on your own: these are the engine’s alone.",
|
||
"gallery.connect_for_rewrites": "Connect a model under “Model…” in the Assistant for its rewrites as well.",
|
||
"gallery.a_rewrite": "a rewrite",
|
||
"gallery.model_failed_engine_only": "The model did not answer ({error}); these are the engine’s alone.",
|
||
"gallery.breaks_rules": "{label}: it breaks your rules: {why}",
|
||
"gallery.not_same": "{label}: not the same circuit ({why})",
|
||
"gallery.paused_explore": "You are exploring on your own: Explore asks the model, so it waits until you end that under Versions. Improve works without it.",
|
||
"gallery.explore_needs_model": "Explore asks a model for ideas, and none is connected. Connect one under “Model…” in the Assistant; Improve works without one.",
|
||
"gallery.model_imagining": "The model is imagining; the engine will measure each idea…",
|
||
"gallery.an_idea": "an idea",
|
||
"gallery.model_failed": "The model did not answer: {error}"
|
||
}
|