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]>
101 lines
6.7 KiB
JSON
101 lines
6.7 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "zh-CN",
|
||
"area": "workbench",
|
||
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
||
},
|
||
"workbench.measure_depth": "深度",
|
||
"workbench.measure_two_qubit": "双量子比特门",
|
||
"workbench.measure_t_count": "T 门",
|
||
"workbench.measure_gates": "门",
|
||
"workbench.measure_two_qubit_depth": "双量子比特门深度",
|
||
"workbench.measure_one_qubit": "单量子比特门",
|
||
"workbench.measure_three_qubit": "三量子比特门",
|
||
"workbench.measure_non_clifford": "非 Clifford 门",
|
||
"workbench.measure_qubits": "量子比特",
|
||
"workbench.sizes_name_each": "请为每个输入写出名称:{list}",
|
||
"workbench.sizes_no_input": "程序没有输入 {name};它的输入是 {names}",
|
||
"workbench.sizes_whole": "{name}:须为 0 或更大的整数,例如 {name} = 3, 5, 8",
|
||
"workbench.sizes_missing": "请给出 {names} 的取值",
|
||
"workbench.cost_needs_weight": "请至少为代价中的一项度量设置大于 0 的权重",
|
||
"workbench.map_label": "存档:按{x}和{y}划分的 {n} 个单元",
|
||
"workbench.point_label": "{id},由 {proposer} 提出:代价 {cost},{x} 和 {y}",
|
||
"workbench.point_title": "{id}({proposer}):代价 {cost}",
|
||
"workbench.outcome_duplicate": "{who}:之前已见过,不再重复评估",
|
||
"workbench.outcome_not_verified": "{who}:未通过验证:{failure}",
|
||
"workbench.outcome_did_not_read": "无法读取",
|
||
"workbench.outcome_improvement": "{who}:已保留为 {id},比此前的每个生成器都更便宜(代价 {cost})",
|
||
"workbench.outcome_kept": "{who}:已保留为 {id},是其单元中最好的(代价 {cost})",
|
||
"workbench.outcome_verified": "{who}:已验证(代价 {cost}),但它的单元中已有一个同样便宜的",
|
||
"workbench.start": "开始",
|
||
"workbench.start_title": "新建一个存档,以编辑器中的程序作为参照",
|
||
"workbench.task_label": "每个成员必须做到什么",
|
||
"workbench.task_prepares": "从 |0…0⟩ 制备出相同的态",
|
||
"workbench.task_equivalent": "是同一条线路(酉矩阵相同)",
|
||
"workbench.sizes_label": "要检查的规模",
|
||
"workbench.gates_any": "任意",
|
||
"workbench.gates_label": "建议可以使用的门",
|
||
"workbench.conn_label": "门可以连接哪些量子比特",
|
||
"workbench.conn_all": "任意一对",
|
||
"workbench.conn_line": "一条直线上的相邻量子比特",
|
||
"workbench.weight_label": "代价中{measure}的权重",
|
||
"workbench.axis_first": "图的第一个轴",
|
||
"workbench.axis_second": "图的第二个轴",
|
||
"workbench.spec": "规格",
|
||
"workbench.each_member_must": "每个成员必须",
|
||
"workbench.checked_at": "检查的规模",
|
||
"workbench.using": "使用的门",
|
||
"workbench.on": "连接方式",
|
||
"workbench.cost_summed": "代价(对各规模求和):",
|
||
"workbench.map": "图",
|
||
"workbench.against": "对",
|
||
"workbench.search": "搜索 ×100",
|
||
"workbench.search_title": "内置的盲搜索:对存档中最好的生成器做一百次带种子的编辑,每次都由引擎检查",
|
||
"workbench.ask": "询问模型 ×3",
|
||
"workbench.ask_title": "以存档中最好的生成器为起点,由模型给出三个生成器;引擎逐一判定",
|
||
"workbench.submit": "提交编辑器中的程序",
|
||
"workbench.submit_title": "判定编辑器中的程序,若它是其单元中最好的则保留",
|
||
"workbench.download": "下载",
|
||
"workbench.download_title": "规格及其存档,每个保留的生成器都附有带封签的判定,供 wai-quantum discover verify 使用",
|
||
"workbench.intro": "在编辑器中写一个生成器(一个带有 input uint n; 的程序),说明其族中每个成员必须做到什么、代价如何,然后开始。没有输入的程序也可以:一条线路,一个规模。",
|
||
"workbench.title": "工作台",
|
||
"workbench.stats_energy": ",{joules} J",
|
||
"workbench.improvement_one": "{n} 次改进",
|
||
"workbench.improvement_many": "{n} 次改进",
|
||
"workbench.stats": "已评估 {evaluations} 个,已验证 {verified} 个,保留 {kept} 个,{improvements}{energy}。",
|
||
"workbench.stats_best": "最好的是 {id}:代价 {cost},参照的代价为 {reference};由 {proposer} 提出,以 {strength} 检查。",
|
||
"workbench.open": "在编辑器中打开",
|
||
"workbench.entry_title": "{id} · 代价 {cost} · {x_measure} {x_value},{y_measure} {y_value}",
|
||
"workbench.checked_by": "以 {strength} 检查{sealed}",
|
||
"workbench.sealed": ",已封签",
|
||
"workbench.lineage": "它的来历",
|
||
"workbench.its_generator": "它的生成器",
|
||
"workbench.checking_reference": "引擎正在每个规模上检查参照…",
|
||
"workbench.started": "已开始:参照是 {id},代价 {cost}。",
|
||
"workbench.loosened": "规格现在{change}。这个存档是在旧规则下建立的;要按新规则搜索,请新建一个存档。",
|
||
"workbench.loosened_allows": "允许使用 {gate}",
|
||
"workbench.loosened_any_pair": "允许门连接任意一对量子比特",
|
||
"workbench.novelty_said": "{id}:{text}。",
|
||
"workbench.aberration_uses": "它使用了 {gate}",
|
||
"workbench.aberration_joins": "它连接了不相邻的量子比特",
|
||
"workbench.aberration_breaks": "它违反了一条规则",
|
||
"workbench.aberration_why": "它只违反了一条规则({rule});若没有这条规则,它会以代价 {cost} 通过验证({strength}),{x_measure} {x_value},{y_measure} {y_value}。",
|
||
"workbench.try_without": "去掉这条规则再试",
|
||
"workbench.aberration_said": "{who}:一个异常。{why}这条规则也许值得修改。",
|
||
"workbench.search_progress": "盲搜索:{total} 次编辑中已判定 {done} 次…",
|
||
"workbench.search_done": "盲搜索:判定了 {total} 次编辑,保留 {kept} 个。",
|
||
"workbench.search_find_said": "{id}(盲搜索):{text}。",
|
||
"workbench.search_find_title": "{id}(盲搜索):{text}",
|
||
"workbench.search_stopped": "搜索已停止:{error}",
|
||
"workbench.paused": "你正在独自探索:模型会等到你在“版本”下结束独自探索。",
|
||
"workbench.needs_model": "“询问模型”需要一个模型:请在“助手”的“模型…”下连接一个。",
|
||
"workbench.model_proposing": "模型正在提出建议;引擎将逐一判定…",
|
||
"workbench.model_wrote_none": "模型没有在 ```qasm 代码块中写出任何生成器。",
|
||
"workbench.an_idea": "一个想法",
|
||
"workbench.model_failed": "模型没有回答:{error}",
|
||
"workbench.your_program": "你的程序",
|
||
"workbench.not_judged": "无法判定:{error}",
|
||
"workbench.saved": "已保存 {path} 及其存档;wai-quantum discover verify {stem}.json 会检查每个封签。",
|
||
"workbench.not_saved": "无法保存:{error}",
|
||
"workbench.resumed": "已接续:迄今已评估 {n} 个。"
|
||
}
|