Skip to content

Commit 525ae46

Browse files
committed
chore(spec): regenerate the authorable surface and translation reference after merging main
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzf4dTFmjsttVz7Pm8j
1 parent d99a631 commit 525ae46

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎content/docs/references/system/translation.mdx‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Translation data for a single field
128128
| **description** | `string` | optional | Translated action description — the explanatory line under the title in the action's param dialog |
129129
| **confirmText** | `string` | optional | Translated confirmation prompt |
130130
| **successMessage** | `string` | optional | Translated success toast/message |
131+
| **disabledReason** | `string` | optional | Translated reason for a greyed action, for its hover title and accessible description while its `disabled` predicate is TRUE (no renderer shows it yet) |
131132
| **outcomeMessages** | `Record<string, string>` | optional | Translated success copy per handler outcome, keyed by the snake_case outcome name the action's `outcomeMessages` declares |
132133
| **params** | `Record<string, { label?: string; helpText?: string; placeholder?: string; options?: Record<string, string> }>` | optional | Action parameter translations keyed by parameter name |
133134
| **resultDialog** | `{ title?: string; description?: string; acknowledge?: string; fields?: Record<string, string> }` | optional | Translations for the action result dialog |
@@ -228,6 +229,7 @@ Translation data for a single object
228229
| **description** | `string` | optional | Translated action description — the explanatory line under the title in the action's param dialog |
229230
| **confirmText** | `string` | optional | Translated confirmation prompt |
230231
| **successMessage** | `string` | optional | Translated success toast/message |
232+
| **disabledReason** | `string` | optional | Translated reason for a greyed action, for its hover title and accessible description while its `disabled` predicate is TRUE (no renderer shows it yet) |
231233
| **outcomeMessages** | `Record<string, string>` | optional | Translated success copy per handler outcome, keyed by the snake_case outcome name the action's `outcomeMessages` declares |
232234
| **params** | `Record<string, { label?: string; helpText?: string; placeholder?: string; options?: Record<string, string> }>` | optional | Action parameter translations keyed by parameter name |
233235
| **resultDialog** | `{ title?: string; description?: string; acknowledge?: string; fields?: Record<string, string> }` | optional | Translations for the action result dialog |
@@ -394,6 +396,7 @@ Translation data for a single object
394396
| **description** | `string` | optional | Translated action description — the explanatory line under the title in the action's param dialog |
395397
| **confirmText** | `string` | optional | Translated confirmation prompt |
396398
| **successMessage** | `string` | optional | Translated success toast/message |
399+
| **disabledReason** | `string` | optional | Translated reason for a greyed action, for its hover title and accessible description while its `disabled` predicate is TRUE (no renderer shows it yet) |
397400
| **outcomeMessages** | `Record<string, string>` | optional | Translated success copy per handler outcome, keyed by the snake_case outcome name the action's `outcomeMessages` declares |
398401
| **params** | `Record<string, { label?: string; helpText?: string; placeholder?: string; options?: Record<string, string> }>` | optional | Action parameter translations keyed by parameter name |
399402
| **resultDialog** | `{ title?: string; description?: string; acknowledge?: string; fields?: Record<string, string> }` | optional | Translations for the action result dialog |
@@ -622,6 +625,7 @@ Translation data for a single object
622625
| **description** | `string` | optional | Translated action description — the explanatory line under the title in the action's param dialog |
623626
| **confirmText** | `string` | optional | Translated confirmation prompt |
624627
| **successMessage** | `string` | optional | Translated success toast/message |
628+
| **disabledReason** | `string` | optional | Translated reason for a greyed action, for its hover title and accessible description while its `disabled` predicate is TRUE (no renderer shows it yet) |
625629
| **outcomeMessages** | `Record<string, string>` | optional | Translated success copy per handler outcome, keyed by the snake_case outcome name the action's `outcomeMessages` declares |
626630
| **params** | `Record<string, { label?: string; helpText?: string; placeholder?: string; options?: Record<string, string> }>` | optional | Action parameter translations keyed by parameter name |
627631
| **resultDialog** | `{ title?: string; description?: string; acknowledge?: string; fields?: Record<string, string> }` | optional | Translations for the action result dialog |
@@ -770,7 +774,7 @@ One locale of translations — the `translation` metadata type
770774
| **metadataForms** | `Record<string, { label?: string; description?: string; sections?: Record<string, object>; fields?: Record<string, object> }>` | optional | Translations for metadata-type configuration forms keyed by metadata type |
771775
| **settingsCommon** | `{ sourceLabels?: object }` | optional | Cross-namespace Settings UI strings |
772776
| **locale** | `string` | ✅ | BCP-47 locale this item translates (e.g. "zh-CN") |
773-
| **name** | `string` | optional | Item name — conventionally the locale code (`zh-CN`); the runtime sync falls back to it when `locale` is absent |
777+
| **name** | `string` | optional | Item name — snake_case like every metadata item (e.g. `zh_cn`); the BCP-47 tag goes in `locale` |
774778
| **label** | `string` | optional | Human-readable label shown in metadata lists |
775779
| **_lock** | `Enum<'none' \| 'no-overlay' \| 'no-delete' \| 'full'>` | optional | Item-level lock — controls overlay & delete (ADR-0010). |
776780
| **_lockReason** | `string` | optional | Human-readable reason shown when a write is refused by _lock. |
@@ -819,6 +823,7 @@ Translation data for a single object
819823
| **description** | `string` | optional | Translated action description — the explanatory line under the title in the action's param dialog |
820824
| **confirmText** | `string` | optional | Translated confirmation prompt |
821825
| **successMessage** | `string` | optional | Translated success toast/message |
826+
| **disabledReason** | `string` | optional | Translated reason for a greyed action, for its hover title and accessible description while its `disabled` predicate is TRUE (no renderer shows it yet) |
822827
| **outcomeMessages** | `Record<string, string>` | optional | Translated success copy per handler outcome, keyed by the snake_case outcome name the action's `outcomeMessages` declares |
823828
| **params** | `Record<string, { label?: string; helpText?: string; placeholder?: string; options?: Record<string, string> }>` | optional | Action parameter translations keyed by parameter name |
824829
| **resultDialog** | `{ title?: string; description?: string; acknowledge?: string; fields?: Record<string, string> }` | optional | Translations for the action result dialog |

‎packages/spec/authorable-surface/system.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@
294294
"system/DeleteObjectOperation:objectName",
295295
"system/DeleteObjectOperation:type",
296296
"system/DemoStaff:email",
297+
"system/DemoStaff:manager",
297298
"system/DemoStaff:name",
298299
"system/DemoStaff:permissionSets",
299300
"system/DemoStaff:position",

0 commit comments

Comments
 (0)