|
| 1 | +--- |
| 2 | +'@objectstack/platform-objects': patch |
| 3 | +--- |
| 4 | + |
| 5 | +fix(platform-objects): the zh-CN platform-object bundle no longer ships English labels, options and help as copies of the source (#20462) |
| 6 | + |
| 7 | +Clause-②: no |
| 8 | + |
| 9 | +A zh-CN console showed English on Setup surfaces: the Invite user dialog listed |
| 10 | +the membership roles as 所有者 / 管理员 / Delegated Admin / 成员, and a team record |
| 11 | +read MEMBER COUNT. The keys were present in `zh-CN.objects.generated.ts`, but |
| 12 | +their values were byte copies of the English source that `os i18n extract |
| 13 | +--fill=default` seeds. |
| 14 | + |
| 15 | +- 320 of the 362 zh-CN string leaves that equalled their `en` source are now |
| 16 | + translated: labels, plural labels, select options, help, descriptions, |
| 17 | + placeholders and empty states. `delegated_admin` reads 受托管理员 on both |
| 18 | + `sys_member` and `sys_invitation`, the word the console already uses for that |
| 19 | + role. |
| 20 | +- The other 42 stay English by design, and each is recorded with its reason in |
| 21 | + `objects-zh-cn-echo-decisions.test.ts`: sign-in provider brands (Google, GitHub, |
| 22 | + …), the bare `ID` initialism, protocol names (JWKS, IdP SSO URL, Message-ID, |
| 23 | + UI / API), the OAuth credential names in the create-application result dialog, |
| 24 | + and placeholders that show a value the admin types. |
| 25 | + |
| 26 | +`zh-CN.source-hashes.generated.ts` was regenerated by `pnpm i18n:extract`: it |
| 27 | +records a leaf only while the leaf is a copy of its source, so it now lists |
| 28 | +exactly those 42. `ja-JP` and `es-ES` are unchanged. |
0 commit comments