Files
deepseek-harness/docs/development.i18n.yaml
T
Turtle e7def469e1 feat(i18n): key translation pairing records by heading section (#5036)
* feat(i18n): key translation pairing records by heading section

Replace the whole-file blob hashes in *.i18n.yaml with one entry per
heading section that still holds language-specific content, keyed by the
English heading-slug path. Blocks identical across the pair (generated
table rows, code blocks, shared regions) stay out of the hash, so edits to
different sections and identical regenerations merge with Git's default
text merge, including on GitHub.

Remove the dsh-translation-pairing merge driver, its resolver command and
installer wiring; gen-translation-brief recovers last-confirmed text from
commit history. Migrate all active records, archive the superseded Agent
Note, and record the replayed conflict reduction in the new one.

* test(i18n): refresh translation prompt snapshot for the terminology note

* feat(i18n): exclude only code blocks and generated regions from pairing records

Replace byte-equality masking with an explicit rule: a record hash skips
fenced code blocks and BEGIN/END GENERATED regions, the two kinds of
content the pairing gate already requires to be identical on both sides.

Move generated data into regions written into both pages:
gen-config-catalog renders both languages and the record with per-package
regions labelled by code identifiers; gen-module-graph keeps its table in a
region; gen-doc-graphs splices the event matrix regions into the Chinese
page. Add a generic region splice beside the region grammar.
2026-09-23 22:32:06 +08:00

50 lines
1.8 KiB
YAML

# Bilingual-pair consistency record for development.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/development.md
/development-guide:
en: dd46df776b6c0a69
zh: 1a46cfc92cca2266
/development-guide/setup-tutorial:
en: 5207d17725c07a27
zh: 258884c4300ac63a
/development-guide/setup-tutorial/prerequisites:
en: 6078798f0fda1347
zh: ea73704c4ec4f2a9
/development-guide/setup-tutorial/windows-and-wsl-2:
en: e86be579be6f1813
zh: 14f6a220337d0861
/development-guide/setup-tutorial/first-time-setup:
en: f82b635837db9627
zh: ca23888533b0ffc1
/development-guide/contributor-reference:
en: 3221d1076554001f
zh: 29f166be6a5c04d9
/development-guide/contributor-reference/typescript-project-layout:
en: 37441690bae1ebf4
zh: 498777f8f25b6940
/development-guide/contributor-reference/environment-variables:
en: dba2c72ee6ffa930
zh: b65c27fbb9129ec8
/development-guide/contributor-reference/git-integrations:
en: dc98eda4f4021feb
zh: b08766708803cf10
/development-guide/contributor-reference/ci-gates:
en: 731fcaffe9210a72
zh: d682e221a71b0ef6
/development-guide/contributor-reference/daily-commands:
en: 08aa6ec1cdabfeb7
zh: dcce5ae9d3c829d0
/development-guide/contributor-reference/profile-runs:
en: 7ce6264a6a06dc4a
zh: e12b684f2bef942b
/development-guide/contributor-reference/application-commands:
en: 28a029c8768f0880
zh: 67c17256e046624e
/development-guide/contributor-reference/todo-markers:
en: 85b38f78d87fc88f
zh: 00d5eb625e7dfb61
/development-guide/contributor-reference/documenting-types-verbatim-ts-type-equiv:
en: 9d578b6797be921b
zh: 823cbfcfd9a75c17