|
| 1 | +--- |
| 2 | +'@objectstack/platform-objects': patch |
| 3 | +--- |
| 4 | + |
| 5 | +fix(platform-objects): the ja-JP and es-ES platform-object bundles no longer ship English labels, options and help as copies of the source (#20493) |
| 6 | + |
| 7 | +Clause-②: no |
| 8 | + |
| 9 | +A ja-JP or es-ES console showed English on Setup surfaces: the Invite user |
| 10 | +dialog listed the membership roles with **Delegated Admin** among the |
| 11 | +translated ones. The keys were present in `ja-JP.objects.generated.ts` and |
| 12 | +`es-ES.objects.generated.ts`, but their values were byte copies of the English |
| 13 | +source that `os i18n extract --fill=default` seeds. |
| 14 | + |
| 15 | +- ja-JP: 340 of the 383 string leaves that equalled their `en` source are now |
| 16 | + translated: labels, plural labels, select options, help, descriptions and |
| 17 | + empty states. `delegated_admin` reads 委任管理者 on both `sys_member` and |
| 18 | + `sys_invitation`, the word the console already uses for that role. |
| 19 | +- es-ES: 338 of the 392 are now translated the same way. `delegated_admin` |
| 20 | + reads Administrador delegado on both objects, again the console's word. |
| 21 | +- The rest stay as written by design, each recorded with its reason in a |
| 22 | + per-locale ledger (`objects-ja-jp-echo-decisions.test.ts`, |
| 23 | + `objects-es-es-echo-decisions.test.ts`). ja-JP keeps 43: sign-in provider |
| 24 | + brands, the bare `ID` initialism, protocol names (JWKS, IdP SSO URL, |
| 25 | + Message-ID, UI / API), the `Web` client type as the bundle already renders it, |
| 26 | + the Cc / Bcc header abbreviations, and placeholders that show a value the |
| 27 | + admin types. es-ES keeps 54: the same brands, `ID`, JWKS, Message-ID, |
| 28 | + UI / API, `Web` and placeholders, plus words Spanish spells as English (Error, |
| 29 | + Actor, Global, Variables), the loanwords the bundle already uses (Token, |
| 30 | + Checksum, Slug) and Cc. |
| 31 | + |
| 32 | +`ja-JP.source-hashes.generated.ts` and `es-ES.source-hashes.generated.ts` were |
| 33 | +regenerated by `pnpm i18n:extract`: each records a leaf only while the leaf is |
| 34 | +a copy of its source, so they now list exactly those 43 and 54. zh-CN is |
| 35 | +unchanged. |
0 commit comments