Skip to content

docs: translate mixed Core-concepts subheadings to Chinese (zh) - #190

Merged
KraHsu merged 1 commit into
mainfrom
hotfix/concepts-zh-headings
May 29, 2026
Merged

KraHsu merged 1 commit into
mainfrom
hotfix/concepts-zh-headings

Conversation

@KraHsu

@KraHsu KraHsu commented May 29, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #189. The 核心概念 / Core concepts (docs/concepts/) section had a subset of zh subheadings still in English/mixed while the rest of the section was Chinese. This translates the RL/concept terms to match, keeping code identifiers and established jargon English (confirmed direction with the maintainer).

Policy

  • Translate common RL/concept nouns → Chinese.
  • Keep English: code identifiers / API names (EnvContext, NoiseCfg, Runnable, Backend, genelab eval …) and jargon (term, manager, MDP, wrapper, actuator) — e.g. Action terms → 动作 term.
  • Subheadings only; table-cell content left as-is.

Changes (zh only)

  • mdp.zh: 动作与命令 / 动作 term / 观测 / 奖励与终止 / 事件、课程、指标、噪声
  • scene.zh: 场景边界 / 实体 / 批渲染的光栅化开关
  • sensors.zh: 相机注意事项
  • eval-and-export.zh: 成功率

Verification

  • en/zh heading count & order unchanged → bilingual parity holds (mdp 7/7, scene 9/9, sensors 6/6, eval-and-export 8/8)
  • ruff / ruff format --check / lint-imports — clean; pyright — 0 errors; pytest — 655 passed (no source touched)
  • mkdocs build --strict — passes

🤖 Generated with Claude Code

The 核心概念 (concepts) section had a subset of zh subheadings still in
English while the rest were Chinese. Translate the RL/concept terms to
match the section's Chinese headings; keep code identifiers / API names
(EnvContext, NoiseCfg, Runnable, Backend, `genelab eval`, ...) and the
established jargon (term, manager, MDP, wrapper, actuator) in English.

- mdp.zh: Actions 与 commands→动作与命令, Action terms→动作 term,
  Observations→观测, Rewards 与 terminations→奖励与终止,
  Events、curricula、metrics、noise→事件、课程、指标、噪声
- scene.zh: Scene 边界→场景边界, Entities→实体,
  批渲染的 rasterizer 开关→批渲染的光栅化开关
- sensors.zh: Camera 注意事项→相机注意事项
- eval-and-export.zh: Success rate→成功率

Heading count/order unchanged, so en/zh parity holds; table-cell content
left as-is. `mkdocs build --strict` passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@KraHsu
KraHsu merged commit 9978b99 into main May 29, 2026
4 checks passed
@KraHsu
KraHsu deleted the hotfix/concepts-zh-headings branch May 29, 2026 18:42
KraHsu added a commit that referenced this pull request Jun 5, 2026
docs: translate mixed Core-concepts subheadings to Chinese (zh)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant