|
| 1 | +--- |
| 2 | +"@objectstack/platform-objects": patch |
| 3 | +--- |
| 4 | + |
| 5 | +fix(platform-objects): 21 zh-CN metadata-form leaves say what their source says |
| 6 | + |
| 7 | +`zh-CN.metadata-forms.generated.ts` carries 615 leaves that differ from `en` and hold no |
| 8 | +digest in `zh-CN.source-hashes.generated.ts` — LEGACY-TRUSTED values carried in from a |
| 9 | +pre-consolidation hand vocabulary (`e0077ea36` deleted a 746-line |
| 10 | +`src/metadata-translations/zh-CN.ts` and imported its strings) and never reconciled |
| 11 | +against the English the same commit range seeded. A census of all 613 (as the population |
| 12 | +then stood) found 26 that assert something the source does not, or drop a distinct concept |
| 13 | +the source names. Five of the 26 — the whole `dashboard` subtree — landed in `9f57f1e31`. |
| 14 | +These are the remaining 21. |
| 15 | + |
| 16 | +They are not stale fills and no gate can see them: a stale fill is a byte copy of a |
| 17 | +previous source revision, detectable by cross-locale agreement or a recorded digest, and |
| 18 | +these are neither. Nor does re-extraction correct them — bundle merge fills gaps only, and |
| 19 | +a present-but-wrong leaf is not a gap. |
| 20 | + |
| 21 | +Three defect kinds, all decided against this bundle's own usage: |
| 22 | + |
| 23 | +- **Asserts an input that does not exist.** `skill.sections.triggers.description` promised |
| 24 | + 「触发关键词」 for a section holding only `triggerConditions` (`triggerPhrases` was |
| 25 | + removed with the key); `email_template.fields.variables.helpText` promised a per-variable |
| 26 | + 「默认值」 that `EmailTemplateDefinitionVariableSchema` does not declare; |
| 27 | + `action.sections.advanced.description` promised 「批量」 after `bulkEnabled` was removed |
| 28 | + from that section. |
| 29 | +- **Names the wrong technology.** `action.fields.body.helpText` said the body is |
| 30 | + 「JavaScript 代码」; an L1 expression is not JavaScript. It now reads |
| 31 | + 「L1 表达式或 L2 沙箱 JS 体」 — verbatim the sibling `hook.fields.body.helpText`, which |
| 32 | + translates the identical source sentence correctly. |
| 33 | +- **Drops a distinct concept the source names.** `object.fields.isSystem.helpText` dropped |
| 34 | + 「共享默认为公开」; `view.fields.filter.helpText` reduced a sentence about the shared |
| 35 | + visual builder to 「筛选规则」; `permission.sections.identity.description` dropped both |
| 36 | + sentences explaining how permission sets stack on profiles. |
| 37 | + |
| 38 | +zh-CN only: es-ES and ja-JP are untouched here. The 18 looser paraphrases the census |
| 39 | +excluded are also untouched. |
0 commit comments