Skip to content

fix(i18n): bring zh-CN in line with the current English catalogue - #1677

Merged
MBombeck merged 3 commits into
release/v1.50.0from
fix/150-zhcn-key-drift
Nov 28, 2026
Merged

MBombeck merged 3 commits into
release/v1.50.0from
fix/150-zhcn-key-drift

Conversation

@MBombeck

@MBombeck MBombeck commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

The zh-CN locale and the medication detail and tile comparison changes merged in parallel, each green against its own base. Together they left zh-CN 54 keys short and 32 keys over, which turns i18n-locale-integrity, glossary-guard and i18n-count-plural-guard red on the release branch.

This carries #1676 (the contributor's medication detail translations, 52 keys) as a merge, so its wording wins for every key both sides added and its commit keeps its author. On top of it:

  • Add dashboard.tileComparison.above / .below and name both for zh-CN in the glossary.
  • Drop the 32 keys the medication detail rework retired from every other locale (none is a rename, nothing references them).
  • Keep the link expiry options in catalogue order.

#1676 alone stays red on the two tile comparison keys; once this lands, its head is on the release branch.

No other value in the locale changes.

Remedy233 and others added 2 commits November 28, 2026 23:10
eat/150-medication-detail (#1628) landed on `release/v1.50.0` after the
bundle was synced, so 52 English keys have no Chinese counterpart. `release`
is red on the plural guard because of it:

    i18n-count-plural-guard > zh-CN has a plural block
    migrations.detail.settingsTab.intakeCount: count

These are those 52, inside `medications.detail.*`, `medications.efficacy.*`,
`medications.leaflet.*` and `serverText.efficacyResult.*` — the new
medication detail screen, its intake log, its plan section and the efficacy
sentence the server writes.

Chinese has one plural form, so each block carries `other` only, which is what
the guard asks for. The measure-word rule from the typography change holds here
too: `{days}天`, `{count}次`, `{minutes}分钟`, never a space.

The bundle is now key for key with English again: 0 missing. 32 keys remain in
zh-CN that English no longer has — they are strays from the release renames, not
references from code, and they are left alone here so this change stays a
catch-up rather than a clean-up.

Verified: the plural guard and the rest of the i18n family (drift, reverse
coverage, English leak, typography and glyphs, title case, dose vocabulary,
glossary) are green, 327 cases.
Their wording wins for every key both sides added. On top: the two tile
comparison lines, the 32 retired keys removed, and the link expiry options
back in catalogue order.
@MBombeck
MBombeck merged commit 78218d6 into release/v1.50.0 Nov 28, 2026
40 checks passed
@MBombeck
MBombeck deleted the fix/150-zhcn-key-drift branch December 1, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants