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]>
28 lines
1.8 KiB
JSON
28 lines
1.8 KiB
JSON
{
|
|
"_meta": {
|
|
"locale": "zh-CN",
|
|
"area": "predict",
|
|
"translation": "machine-assisted: to be reviewed by a fluent reader before it is advertised"
|
|
},
|
|
"predict.keyed": "计数以经典比特为键,最高位在前。",
|
|
"predict.keyed_width": "计数以经典比特为键,最高位在前:共 {width} 位。",
|
|
"predict.not_bits": "结果是由 0 和 1 组成的字符串,最高位在前。",
|
|
"predict.wrong_width_one": "这个程序有 {width} 个经典比特;而你给出的结果有 {length} 位。",
|
|
"predict.wrong_width_other": "这个程序有 {width} 个经典比特;而你给出的结果有 {length} 位。",
|
|
"predict.bad_share": "占比是采样次数的百分比,取值为 0 到 100。",
|
|
"predict.before": "运行之前",
|
|
"predict.question": "你预计哪个结果出现得最多?它会占采样次数的多少?",
|
|
"predict.outcome_label": "最可能的结果",
|
|
"predict.share_label": "它的占比,%",
|
|
"predict.run": "运行",
|
|
"predict.skip": "不预测,直接运行",
|
|
"predict.yours": "你的预测",
|
|
"predict.no_counts": "这次运行没有给出可供对照的计数:请为作业设置采样次数。",
|
|
"predict.right": "你说的结果出现得最多;你给出的占比相差 {points} 个百分点。",
|
|
"predict.wrong": "出现得最多的是另一个结果:{top},占采样次数的 {share}。",
|
|
"predict.you_said": "你说的",
|
|
"predict.bits_in": "{bits} 占 {share}",
|
|
"predict.the_run": "运行结果",
|
|
"predict.first": "这是这台设备上保存的你的第一次预测;之后的每一次都会累计到这里的统计中。",
|
|
"predict.tally": "在这台设备上保存的 {n} 次预测中:你说中出现最多的结果 {right} 次,你给出的占比平均相差 {points} 个百分点。"
|
|
}
|