You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4f490d8
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): the i18n skill names fields.{field}.inlineTitle and a joined report's block headings
The objectstack-i18n group table did not name two keys the 18.2 bundle
accepts and the runtime serves: a master-detail field's `inlineTitle`
(addressed on the child object that owns the field; untranslated it keeps
its authored text, no fallback to the child's plural label) and a joined
report's `blocks.{block_name}.{label,description}` (keyed by the block's
required `name`). Both are now in the table, with one example row each
spelled as the shipped app-crm and app-showcase bundles spell them, and
the hand-written author page under content/docs/ui gains the same two
rows. The eval file gains one prompt for both keys; its ratchet row is
pinned at the measurement after the duplicate `--no-objects-only` pin was
cut, under the standing ruling.
Claude-Session: https://claude.ai/code/session_01ADHkmPqouEb6yELnSqBwRY
Co-authored-by: Claude <noreply@anthropic.com>
docs(skills): the i18n skill's group table names `fields.{field}.inlineTitle` and `reports.{report}.blocks.{block}.{label,description}`
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
`skills/objectstack-i18n/SKILL.md` did not name two keys the 18.2 translation bundle already accepts and the runtime already serves, so an AI author writing a bundle from the skill left a master-detail field's inline child-grid heading and a joined report's block headings in the authoring language. The `fields.{field_name}` row now names `inlineTitle` (addressed on the child object that owns the field; untranslated it keeps its authored text, with no fallback to the child's plural label), the `reports` sentence names `reports.{report}.blocks.{block_name}.{label,description}` (keyed by the block's required `name`), and one example row each, spelled as the shipped `app-crm` and `app-showcase` bundles spell them, follows the group table. The eval file gains one prompt covering both keys.
| Field labels, help text, placeholders |`objects.<name>.fields.<field>.label` / `help` / `placeholder`|
72
+
| Inline child-grid heading of a master-detail field (drawn on the parent's form) |`objects.<child>.fields.<field>.inlineTitle` — keyed on the child object that owns the field; untranslated it keeps its authored text, with no fallback to the child's plural label |
| View titles, descriptions, empty states |`objects.<name>._views.<view>`|
74
75
| Bulk-action copy on a list view (button, confirm prompt, dialog fields) |`objects.<name>._views.<view>.bulkActions.<def>.label` / `.confirmText` / `.confirmLabel` / `.params.<param>.label` / `.help` / `.placeholder` — a bulk param's hint is `help`, not `helpText`|
@@ -82,7 +83,7 @@ export default defineStack({
82
83
| Dashboard global-filter label and static option labels |`dashboards.<name>.globalFilters.<filterName>.label` / `.options.<value>` — the key is the filter's `name`, or its `field` when it authors no `name`; an option is keyed by its `value` spelled as a string |
| Dataset dimension and measure labels |`datasets.<name>.dimensions.<dimension>.label` / `datasets.<name>.measures.<measure>.label`|
85
-
| Report label / description |`reports.<name>.label` / `description` — keyed by the report's `name`; overlaid on every served report, which is what the console's report index lists and the report page is headed by. A label or description an org re-authored on a packaged report is served as edited |
86
+
| Report label / description |`reports.<name>.label` / `description` — keyed by the report's `name`; overlaid on every served report, which is what the console's report index lists and the report page is headed by. A label or description an org re-authored on a packaged report is served as edited; a joined report's block headings are `reports.<name>.blocks.<block>.label` / `description`, keyed by the block's required `name`|
86
87
| Page labels and `page:header` copy |`pages.<name>.label` / `description` / `title` / `subtitle` — on a `kind: 'slotted'` page the header under `slots.header` is the page's header |
87
88
| Page component copy, by component id |`pages.<name>.components.<id>.title` / `description` / `label` / `placeholder` / `emptyText` — reached under `regions[].components[]` and `slots.<slot>`, through `properties.children` and a `page:tabs` / `page:accordion` panel's `items[].children`|
88
89
| Page tab labels (`page:tabs` items) |`pages.<name>.components.<tabsId>.items.<value>.label` — keyed by the tabs component's `id` and the item's `value`; an item without a `value` has no key (localize it with an inline locale map), and `page:accordion` panels have none |
|`fields.{field_name}`|`label`, `help`, `placeholder`, `options` (option value → label) per field |
162
+
|`fields.{field_name}`|`label`, `help`, `placeholder`, `options` (option value → label), `inlineTitle` (the heading of the inline child grid a `master_detail` field draws on its parent's form — the field lives on the child object, so the key is the child's; untranslated it keeps its authored text, never the child's plural label) per field |
163
163
|`_views.{view_name}`|`label`, `description`, `title` (a form view's own heading — only a form that authors one is translated; a list view has none), `emptyState.title` / `emptyState.message`, `bulkActions.{def_name}` (`label`, `confirmText`, `confirmLabel`, `params`) |
164
164
|`_actions.{action_name}`|`label`, `description`, `confirmText`, `successMessage`, `params.{param_name}` (and `.options.{value}` beneath it — an option's stored `value` in that param's inline `options`), `outcomeMessages.{outcome}` (an outcome the action's own `outcomeMessages` declares), `resultDialog.title` / `.description` / `.acknowledge` (only under an action that declares a `resultDialog`), `resultDialog.fields.{path}` (the literal `path` of a field in `resultDialog.fields[]`, dots included — `client.secret` is one key); the same keys hold under `globalActions.{action_name}`|
165
165
|`_sections.{section_name}`| Form section `label`, `description`; `fields.{field_name}` — the `label`, `placeholder`, `helpText` an entry overrides for that form alone (`helpText` here, `help` under `fields.{field_name}` above: each spells what its source does) |
@@ -172,12 +172,20 @@ an **error** whose message names the `objects.{owner}._actions.{action_name}` ke
172
172
instead), `picklists` (`label`, `options` by stored value — every field referencing the
Copy file name to clipboardExpand all lines: skills/objectstack-i18n/evals/bundles-locales-coverage.json
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -54,10 +54,10 @@
54
54
{
55
55
"id": 6,
56
56
"prompt": "Add zh-CN for the `pipeline_by_stage` report, the `sales_manager` permission set, the `regional_lead` position and the `deal_stage` picklist's option labels.",
57
-
"expected_output": "Top-level groups keyed by name: `reports.pipeline_by_stage` and `positions.regional_lead` (`label`, `description`), `permissions.sales_manager` (the same, spelled as the stack's `permissions[]`, never `permissionSets`), `picklists.deal_stage.options` by stored value, inherited by every field referencing the picklist. `os i18n extract --no-objects-only` scaffolds all four.",
57
+
"expected_output": "Top-level groups keyed by name: `reports.pipeline_by_stage` and `positions.regional_lead` (`label`, `description`), `permissions.sales_manager` (the same, spelled as the stack's `permissions[]`, never `permissionSets`), `picklists.deal_stage.options` by stored value, inherited by every field referencing the picklist.",
"prompt": "In zh-CN the `Products` grid heading on the `crm_opportunity` form and the `Open Tasks` block heading of the joined `showcase_task_overview` report are still English.",
77
+
"expected_output": "`objects.crm_opportunity_line_item.fields.opportunity.inlineTitle` — the field lives on the child object, so the key is the child's, and an untranslated `inlineTitle` keeps its authored text (no fallback to the child's plural label); `reports.showcase_task_overview.blocks.open_block.label`, keyed by the block's required `name`. Neither is a `pages.*.components` key.",
0 commit comments