Files
deepseek-harness/packages/experimental/ptc-runtime-python/README.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

62 lines
2.6 KiB
YAML

# Bilingual-pair consistency record for README.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 packages/experimental/ptc-runtime-python/README.md
/:
en: 21d67ee6d4caef1e
zh: 815c36a37b8a2c3e
/deepseek-ai-dsh-experimental-ptc-runtime-python:
en: 98894607ad9de9bf
zh: 068899d3766c2628
/deepseek-ai-dsh-experimental-ptc-runtime-python/summary:
en: a7dc02100b3d90ba
zh: 5f80610b0bf84d84
/deepseek-ai-dsh-experimental-ptc-runtime-python/table-of-contents:
en: d152484eb41ac6b4
zh: 09388d293f9be9cb
/deepseek-ai-dsh-experimental-ptc-runtime-python/use-this-package:
en: d8db36ca3f32afeb
zh: fec311dea315aac4
/deepseek-ai-dsh-experimental-ptc-runtime-python/use-this-package/what-you-get:
en: ca7b9cc958069c7f
zh: 8a4ac72d02ad76eb
/deepseek-ai-dsh-experimental-ptc-runtime-python/use-this-package/the-wire:
en: e690628dc6197c3b
zh: 2b9cdad8b41dcde5
/deepseek-ai-dsh-experimental-ptc-runtime-python/use-this-package/what-can-go-wrong:
en: d43927c607a9855f
zh: e1dd1643bebfd647
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation:
en: 7824816505e2b844
zh: 3603d1c332c2ed5d
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation/design-concept:
en: 9339b0800d70be48
zh: 71a9a3d3eea86050
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation/wire-contract:
en: 586d320cd7ef9974
zh: ccf4e4f9fb230eb8
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation/lossless-json-crossing:
en: 6252e86fa10e9dd0
zh: 9b95b033ea0b5463
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation/mirror-alignment:
en: 167a08a71870f227
zh: 43f671b45104849f
/deepseek-ai-dsh-experimental-ptc-runtime-python/understand-the-implementation/source-map:
en: 254759d380b5a58a
zh: 471f21e1c06c324d
/deepseek-ai-dsh-experimental-ptc-runtime-python/further-exploration:
en: ab4a08f301de599d
zh: e698b35ccf3ce665
/deepseek-ai-dsh-experimental-ptc-runtime-python/model-experience:
en: 42064c81cda8f059
zh: fa68d1acac16e263
/deepseek-ai-dsh-experimental-ptc-runtime-python/model-experience/kv-cache-effect:
en: 40294c1c31b74824
zh: d805c6bd7270505e
/deepseek-ai-dsh-experimental-ptc-runtime-python/known-limitations-and-deferred-work:
en: 9177182ef230c99e
zh: 2a15994203ad325c
/deepseek-ai-dsh-experimental-ptc-runtime-python/known-limitations-and-deferred-work/dev-note:
en: e67f633dc6fe7773
zh: 3bb0c20c93f16f98