@@ -180,11 +180,11 @@ picklist inherits them), `dashboards`, `datasets`, `reports`, `pages`, `flows`,
180180spine, by ` Book.name ` : ` books.{book}.label ` / ` .description ` , and ` groups.{group_key}.label ` by
181181each group's stable ` key ` , never its position — ` books.crm_manual.groups.getting_started.label ` ;
182182the pages themselves localize through ` doc.translations ` , and the inline ` translations ` map a
183- book once carried stays retired), ` metadataForms ` , ` settingsCommon ` ; ` reports ` , ` positions ` and
183+ book once carried stays retired), ` mappings ` (an import mapping's ` label ` by its ` name ` :
184+ ` mappings.{mapping}.label ` ), ` metadataForms ` , ` settingsCommon ` ; ` reports ` , ` positions ` and
184185` permissions ` hold ` label ` + ` description ` by name, so do ` datasets ` and each dataset member at
185186` datasets.{dataset}.{dimensions,measures}.{member} ` (a member's ` synonyms ` have no key: one
186- authored list carries every language), ` mappings ` holds an import mapping's ` label ` by its ` name `
187- (` mappings.{mapping}.label ` ), and a joined report's block headings sit at
187+ authored list carries every language), and a joined report's block headings sit at
188188` reports.{report}.blocks.{block_name}.{label,description} ` , keyed by the block's required ` name ` .
189189Three keys sit deeper than their group's ` label ` : a ` page:tabs ` item at
190190` pages.{page}.components.{tabs_id}.items.{value}.label ` (by the item's ` value ` ; an item without
@@ -195,14 +195,15 @@ action declares in `texts` and writes through `ctx.text` — `hooks.{hook}.texts
195195` _actions.{action_name}.texts.{key}.message ` (also under ` globalActions ` ) — is picked in the
196196organization's language (the Localization setting if set, else ` i18n.defaultLocale ` ; never the caller's).
197197` os i18n extract --no-objects-only ` scaffolds every group above but ` messages ` and
198- ` settingsCommon ` , all three keys included. The ` inlineTitle ` , report-block and table-column
199- keys, as the shipped ` app-crm ` , ` app-showcase ` and platform bundles spell them for ` zh-CN `
198+ ` settingsCommon ` , all three keys included. The ` inlineTitle ` , report-block, table-column and
199+ mapping keys, as the shipped ` app-crm ` , ` app-showcase ` and platform bundles spell them for ` zh-CN `
200200(` rows ` is the table field's ` path ` , ` error.message ` one column's):
201201
202202``` typescript
203203objects : { crm_opportunity_line_item : { fields : { opportunity : { inlineTitle : ' 产品明细' } } } },
204204reports : { showcase_task_overview : { blocks : { open_block : { label : ' 未完成任务' } } } },
205205objects : { sys_user : { _actions : { import_sso_users : { resultDialog : { columns : { rows : { email : ' 邮箱' , ' error.message' : ' 未添加的原因' } } } } } } },
206+ mappings : { showcase_inquiry_feed : { label : ' 询盘导入(营销 CSV)' } },
206207```
207208
208209` settings ` is ** platform-only** — it is keyed by a settings manifest's namespace and only
@@ -307,8 +308,7 @@ os i18n check --strict --threshold=95 # CI gate: locale parity + minimum covera
307308```
308309
309310It compares registered bundles against source metadata and reports missing keys
310- per locale for every surface the extractor walks — objects and their sub-keys,
311- global actions, apps, dashboards, pages, flow screens. The platform's metadata
311+ per locale for every surface the extractor walks. The platform's metadata
312312forms count only for a stack that ships their translations (` --include-platform `
313313audits them anyway). Gaps in the source locale are errors, ` --strict ` promotes
314314the rest, ` --show-keys ` lists them all; ` os lint --i18n-strict ` folds it in.
0 commit comments