Repository navigation
feat(i18n): carry the medication-detail strings into zh-CN - #1676
Merged
1 commit merged intoNov 28, 2026
Merged
1 commit merged into
1 commit merged into
Conversation
eat/150-medication-detail (MBombeck#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.
MBombeck
added a commit
that referenced
this pull request
Nov 28, 2026
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.
Owner
|
Thanks, these read much better than what I had. #1676 on its own still misses the two |
78218d6
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.
Why
release/v1.50.0is red on the plural guard, and it was red before this series touched anything:feat/150-medication-detail(#1628) landed after #1664 synced the bundle with therelease, so 52 English keys have no Chinese counterpart. A Chinese reader sees the new
medication detail screen — its intake log, plan section and efficacy sentence — in English.
What this does
Adds those 52 strings, inside
medications.detail.*,medications.efficacy.*,medications.leaflet.*andserverText.efficacyResult.*.Two conventions hold:
otheronly. That is what theguard asks for: a block on the same parameter with an
otherbranch.{days}天,{count}次,{minutes}分钟,近{days}天.The vocabulary is the bundle's own: 用药 for medication, 疗程 for course, 已服 / 迟服 / 漏服 /
跳过 for the four dose states, 方案 for the plan, 服药记录 for the intake log.
Parity
32 keys remain in zh-CN that English no longer has — strays from the release renames, referenced
by no code. They are left alone here so this stays a catch-up rather than a clean-up; say the
word and I will remove them in the same PR.
Checks
The plural guard, and the rest of the i18n family with it: drift, reverse coverage, English leak,
typography and glyphs, title sentence case, dose vocabulary, glossary. 327 cases, green.
Stacked on nothing — this is
release/v1.50.0plus one commit, and it does not touch thetypography change (#1673).
Refs #1528, #1628.