Files
deepseek-harness/.agents/notes/implemented/architecture/2026-08-25-electron-desktop-packaging-and-updates.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

47 lines
2.2 KiB
YAML

# Bilingual-pair consistency record for 2026-08-25-electron-desktop-packaging-and-updates.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 .agents/notes/implemented/architecture/2026-08-25-electron-desktop-packaging-and-updates.md
/agent-note-package-and-update-the-electron-desktop-application:
en: eb6e843bc5a11195
zh: b245e9a3615e01f0
/agent-note-package-and-update-the-electron-desktop-application/problem:
en: 5a39322836f06cd9
zh: 7a7ab48fe38a5788
/agent-note-package-and-update-the-electron-desktop-application/decision:
en: bd6d1e19da0d5a87
zh: f194ae90331a27ea
/agent-note-package-and-update-the-electron-desktop-application/ownership:
en: 50e16f318c5d0e1a
zh: 84b2ba8f1a6932b0
/agent-note-package-and-update-the-electron-desktop-application/filesystem-layout:
en: 4990a8ba137e28f0
zh: b12f68d30a5d18fa
/agent-note-package-and-update-the-electron-desktop-application/installation-and-resolution:
en: 29def175ab33b7d6
zh: 87e55ec28c20c7c1
/agent-note-package-and-update-the-electron-desktop-application/updates-and-recovery:
en: 9c9e8a54a11bec8b
zh: 305cf1f6ed374d0b
/agent-note-package-and-update-the-electron-desktop-application/security-and-release-policy:
en: 4fb110927a3ed7a9
zh: 5a263577f097490a
/agent-note-package-and-update-the-electron-desktop-application/implementation:
en: 041a6d35ed61b149
zh: 617c6b90a6f4fa4d
/agent-note-package-and-update-the-electron-desktop-application/alternatives-considered:
en: 10b1b0a8afe38def
zh: 0a4df988f72b8d11
/agent-note-package-and-update-the-electron-desktop-application/consequences:
en: 44dc044cfcd6ec17
zh: 5e978dec54783b4e
/agent-note-package-and-update-the-electron-desktop-application/review-decisions:
en: 54c4c2a4bcdfa834
zh: c280351bb3bf085f
/agent-note-package-and-update-the-electron-desktop-application/risks:
en: af59c819ae700ee1
zh: 6c0b4b80690fc6a2
/agent-note-package-and-update-the-electron-desktop-application/related-proposals:
en: b6c0cbd39966f1ec
zh: 5c7a919abec643ba