Repository navigation
docs(i18n): zh-Hans for the REST API, security, CLI and environment variables references and Support - #372
Merged
Conversation
…ariables references and Support Translate the remaining large Reference pages and the Resources support page. Code fences byte-identical to English; stamped; zh-Hant regenerated; headings keep the English ids. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QsR2jTxGkQdrLm4E6n23Ub
Contributor
Author
席位核对 · ACCEPT · 2026-10-28T00:53Z ·
|
zhuangjianguo
marked this pull request as ready for review
October 28, 2026 00:54
zhuangjianguo
enabled auto-merge
October 28, 2026 00:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Steedos · project thread
Part of #347
Clause-②: no
Metadata-protocol: none
维护者速读
gen:zh-hant生成。content/docs/reference/与content/docs/resources/下的 zh-Hans/zh-Hant 译文,不碰英文、meta 与apps/docs;回滚即 revert 本 PR,页面回落英文。content/docs/reference/cli.zh-Hans.mdx(本批最长的一页,命令代码块多);content/docs/reference/security.zh-Hans.mdx(供应链与加固清单)。/zh-Hans/docs/reference/security#supply-chain,应直接落到「供应链」并看到按摘要固定的说明;打开/zh-Hant/docs/reference/environment-variables,标题应为繁体、无报错。What changes
Batch 10 of the zh-Hans translation pass (
docs/TRANSLATION.md). Branch reset tomainafter #371 merged; this PR carries only batch 10.reference/{rest-api,security,cli,environment-variables}.zh-Hans.mdxresources/support.zh-Hans.mdx*.zh-Hant.mdx(5)pnpm --filter @objectos/docs gen:zh-hantAgainst the current English.
reference/securitywas first translated before #358 and #361. Its Supply chain section now matches the current English: where the Community and Enterprise images come from, pin by digest, and a rebuild re-pushesX.Y.Zonto new bytes. The hardening checklist line matches too. It is stamped against today's sha.Terms. On these pages 操作 means "operation" or a generic act. Examples:
cli"Operate on records from the terminal";environment-variables"the same operation as an upgrade";rest-api"any other operation is refused at the REST layer";securitysystem-context operations and "every CRUD operation". No ObjectStack action is rendered as 操作.Heading ids. Each translated heading carries the English page's id in Fumadocs' custom-id syntax. A script writes them from the English headings in order.
Tests
Translation-only diff; no code or test files change.
Acceptance notes
Verification
All gates ran at
c52b226, exit codes captured before any pipe.Gates (ci.yml steps)
node apps/docs/scripts/gen-zh-hant.mjs --checknode .github/scripts/check-doc-samples.mjspnpm turbo run type-check --continue+pnpm turbo run build(NEXT_PRIVATE_STANDALONE=true)pnpm turbo run testcheck-locale-surface.mjscheck-positioning.mjscheck-search-locales.mjscheck-translations.mjscheck-translation-ownership.mjs --actor objectstack-fleet[bot]check-translation-output.mjs --files(changed files)check-translation-output.mjs --self-testBrowser check (Playwright on `next start` of this build)
/zh-Hans/docs/reference/security#supply-chain/zh-Hans/docs/reference/clilang="zh-Hans", title CLI 参考:每个 os 命令及其参数/zh-Hans/docs/reference/rest-api(390×844)/zh-Hant/docs/reference/environment-variableslang="zh-Hant", title 自託管部署的環境變數No page errors. Screenshots:
pr10-*.pngin the project'sdocs-347/folder.Diff: 10 files, +2055 −0.
🤖 Generated with Claude Code
https://claude.ai/code/session_01QsR2jTxGkQdrLm4E6n23Ub