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]>
46 lines
2.2 KiB
JSON
46 lines
2.2 KiB
JSON
{
|
||
"_meta": {
|
||
"locale": "zh-CN",
|
||
"area": "debugger",
|
||
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
||
},
|
||
"debugger.start": "单步执行",
|
||
"debugger.start_title": "在引擎上单步执行程序,可前进也可后退",
|
||
"debugger.to_start": "回到开头",
|
||
"debugger.back": "后退一步",
|
||
"debugger.forward": "前进一步",
|
||
"debugger.to_end": "跳到结尾",
|
||
"debugger.slider": "显示状态的那一步",
|
||
"debugger.not_started": "未开始",
|
||
"debugger.pick": "要显示约化态的量子比特",
|
||
"debugger.against_noiseless": "与无噪声态对照",
|
||
"debugger.qubits": "量子比特",
|
||
"debugger.amplitudes": "振幅",
|
||
"debugger.reduced": "约化态",
|
||
"debugger.branches": "分支",
|
||
"debugger.title": "单步执行",
|
||
"debugger.empty": "在引擎上单步执行程序:每一步的状态、每个量子比特在其 Bloch 球上的位置,以及其测量的每个分支及其权重。",
|
||
"debugger.refused": "被拒绝",
|
||
"debugger.position": "位置 {position}/{length}",
|
||
"debugger.line": "(第 {line} 行)",
|
||
"debugger.next": "下一步:",
|
||
"debugger.end": "程序结束。",
|
||
"debugger.just_now": " · 刚才:{kind} q{qubit}{line} 读到 {outcome},p {p}({by})",
|
||
"debugger.by_recorded": "所选的分支",
|
||
"debugger.by_likelier": "概率较大者",
|
||
"debugger.by_certain": "确定",
|
||
"debugger.path": "路径:{outcomes} · 权重 {weight} · 比特 {bits}{read}",
|
||
"debugger.outcomes": "结果 {outcomes}",
|
||
"debugger.no_measurement": "尚无测量",
|
||
"debugger.no_bits": "无",
|
||
"debugger.entangled": "跨越 q{cut} | 其余部分的纠缠:{bits} 比特(Schmidt 秩 {rank})。",
|
||
"debugger.negativity": "跨越 q{cut} | 其余部分:对数负性 {value} 比特。",
|
||
"debugger.final": "最终:{final}{more}",
|
||
"debugger.more": ",另有 {n} 个",
|
||
"debugger.reads": "读到 {outcome} · p {p} · 权重 {weight}",
|
||
"debugger.branch_count_one": "{n} 个分支;权重 {weights}。",
|
||
"debugger.branch_count": "{n} 个分支;权重 {weights}。",
|
||
"debugger.tree_label": "程序中途测量处的分支",
|
||
"debugger.one_path": "没有中途测量:只有一条路径;{final}。",
|
||
"debugger.again": "重新开始"
|
||
}
|