Commit Graph
8 Commits
Author SHA1 Message Date
可乐andClaude Opus 5.5 1d24061743 i18n(zh): translate remaining Simplified Chinese messages and commonlib strings
- Add the 18 catalogue entries added since the last zh update.
- Translate 68 zh entries that still held the English text
  (setup, doctor, tweak-mismatch, P2P and replicator dialogues).
- Translate 80 commonlib messages and setting labels which reach the
  LiveSync translator but were not in the catalogue, and add their
  canonical English to en.yaml so other languages keep the English
  fallback and the coverage report can see them.
- Add a space in the zh P2P sync title (Peer-to-Peer 同步).

Regenerated with npm run i18n:bake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 06:00:49 +08:00
vorotamoroz 4876374b7e Merge current main into Simplified Chinese translations 2026-10-13 12:14:03 +00:00
llingting0 c54c716325 i18n(zh): complete Simplified Chinese catalogue
Fill the 408 entries that were missing from the Simplified Chinese
catalogue, bringing coverage of en.json from 72.5% to 100%
(1073 -> 1481 entries; 1480/1480 English keys now translated).

Files updated, per docs/adding_translations.md ("Commit the edited YAML
and all regenerated JSON and TypeScript resources together"):

- src/common/messagesYAML/zh.yaml            - source catalogue
- src/common/messagesJson/zh.json            - npm run i18n:yaml2json
- src/common/messages/combinedMessages.prod.ts
                                             - npm run i18n:bakejson

The TypeScript resource matters: the release workflow runs
`npm run build`, which is only `node esbuild.config.mjs production` and
does NOT re-run `i18n:bake`. Since src/common/translation.ts imports
combinedMessages.prod.ts directly, a catalogue change that omits this
file would not reach the shipped main.js.

Verification

- No existing translation was modified: every key already present in
  zh.json is byte-identical (0 changed, 0 removed).
- Placeholders checked string-for-string against the English source.
  15 new entries contain ${...} or {HERE}; all match.
- combinedMessages.prod.ts regenerated with _tools/bakei18n.ts and
  formatted with the project's Prettier config. The diff against main is
  408 added `zh:` lines plus the expected bookkeeping, and no other
  language changes.
- Terminology follows the existing catalogue (Vault -> 库,
  Passphrase -> 密码短语, Setup URI -> 设置 URI, chunk -> 块).
  Technical identifiers (URL, JWT, CouchDB, S3, TURN, IDB, P2P) are
  intentionally left in English, matching current practice.

Two unrelated upstream issues, not addressed here

1. `dialog.yourLanguageAvailable` defines its placeholder as
   `%{Display language}` while `$msg()` substitutes on `${...}`, so the
   placeholder is never expanded and the literal text is shown in every
   language.
2. The committed YAML catalogues appear stale relative to the JSON ones
   (e.g. `en.yaml` lacks entries that `en.json` already contains, and
   its wrapping differs from current tool output). This affects every
   language and probably deserves a separate change.
2026-10-12 13:59:57 +08:00
ZeedifandClaude Sonnet 5 b88bebcaaf refactor(i18n): replace ambiguous Maintenance lock-dialog keys with source text
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-26 11:58:27 -06:00
vorotamoroz a09c59aaba Merge pull request #1118 from nikhilmaddirala/agent/fix-setup-wizard-existing-device-copy
Fix existing-device setup guidance
2026-09-03 00:38:57 +09:00
vorotamoroz ebaf89f822 Remove obsolete settings wizard 2026-08-24 10:02:32 +00:00
nikhilmaddirala 01c060558a Fix existing-device setup guidance 2026-08-18 10:27:05 -04:00
vorotamoroz 1ef8c88139 Complete Commonlib rc.6 integration and setup workflows 2026-07-21 15:00:28 +00:00