Repository navigation
fix(i18n): bring zh-CN in line with the current English catalogue - #1677
Merged
Merged
Conversation
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.
This was referenced Nov 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-guardandi18n-count-plural-guardred 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:
dashboard.tileComparison.above/.belowand name both for zh-CN in the glossary.#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.