From a268039d07a75cacb4bbfe8724b375d96c7a74f5 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 05:05:25 +0000 Subject: [PATCH 1/2] =?UTF-8?q?fix(i18n):=20help=20text=20that=20names=20S?= =?UTF-8?q?tudio=20reads=20App=20Studio,=20and=20=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=90=AD=E5=BB=BA=20in=20Chinese?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_01FEkQ5nVXvVvyPPzdih9DTy Co-Authored-By: Claude --- .../src/apps/translations/zh-CN.metadata-forms.generated.ts | 6 +++--- .../src/apps/translations/zh-CN.objects.generated.ts | 4 ++-- .../apps/translations/zh-Hant.metadata-forms.generated.ts | 6 +++--- .../src/apps/translations/zh-Hant.objects.generated.ts | 4 ++-- .../platform-objects/src/audit/sys-email-template.object.ts | 4 ++-- packages/spec/src/ai/tool.metadata-form.ts | 2 +- packages/spec/src/data/object.metadata-form.ts | 2 +- packages/spec/src/security/capabilities.ts | 2 +- packages/spec/src/system/email-template.metadata-form.ts | 2 +- 9 files changed, 16 insertions(+), 16 deletions(-) diff --git a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts index 406711b3d84..2c819d343d7 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts @@ -78,7 +78,7 @@ export const zhCNMetadataForms: NonNullable = }, relatedLists: { label: "记录页页签", - helpText: "记录页在概览之后显示的页签,按顺序排列。每一项是子对象名称(例如 task);当该子对象与本对象有多个关系时写 object.field;也可以是内置页签(sys_attachment、sys_approval_request、sys_activity),或带自己标题和列的一项(在 Studio 的对象设置里设置)。一旦列出任何一项,没有列出的相关列表就不显示页签(其他包添加的列表也一样),直到本对象列出它;附件只有列出时才显示。为空时,所有列表按默认顺序显示。不对应任何指向本对象的关系的名称,在保存对象时会被拒绝。" + helpText: "记录页在概览之后显示的页签,按顺序排列。每一项是子对象名称(例如 task);当该子对象与本对象有多个关系时写 object.field;也可以是内置页签(sys_attachment、sys_approval_request、sys_activity),或带自己标题和列的一项(在应用搭建的对象设置里设置)。一旦列出任何一项,没有列出的相关列表就不显示页签(其他包添加的列表也一样),直到本对象列出它;附件只有列出时才显示。为空时,所有列表按默认顺序显示。不对应任何指向本对象的关系的名称,在保存对象时会被拒绝。" }, searchableFields: { label: "可搜索字段", @@ -2995,7 +2995,7 @@ export const zhCNMetadataForms: NonNullable = }, variables: { label: "变量", - description: "声明的变量。Studio 会将其渲染为提示,并在必填时由 sendTemplate() 校验。" + description: "声明的变量。应用搭建会将其渲染为提示,并在必填时由 sendTemplate() 校验。" }, delivery_overrides: { label: "发送覆盖项", @@ -3361,7 +3361,7 @@ export const zhCNMetadataForms: NonNullable = }, label: { label: "显示名称", - helpText: "Studio 中展示的名称" + helpText: "在应用搭建中显示的名称" }, description: { label: "描述", diff --git a/packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts b/packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts index c0ba7faba9a..5162d94f5d1 100644 --- a/packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-CN.objects.generated.ts @@ -3367,7 +3367,7 @@ export const zhCNObjects: NonNullable = { }, label: { label: "标签", - help: "在 Studio 中显示的人类可读名称" + help: "在应用搭建中显示的人类可读名称" }, category: { label: "分类", @@ -3420,7 +3420,7 @@ export const zhCNObjects: NonNullable = { }, managed_by: { label: "管理方", - help: "记录来源:platform = 框架内置 / package = 应用或包声明(启动时根据声明的 email_template 元数据写入)/ admin = 在 Studio 中创建。", + help: "记录来源:platform = 框架内置 / package = 应用或包声明(启动时根据声明的 email_template 元数据写入)/ admin = 在应用搭建中创建。", options: { platform: "平台", package: "包", diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts index 0e56ba2a608..3ce8c1442ec 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.metadata-forms.generated.ts @@ -78,7 +78,7 @@ export const zhHantMetadataForms: NonNullable }, relatedLists: { label: "記錄頁頁籤", - helpText: "記錄頁在概覽之後顯示的頁籤,依順序排列。每一項是子物件名稱(例如 task);當該子物件與本物件有多個關係時寫 object.field;也可以是內建頁籤(sys_attachment、sys_approval_request、sys_activity),或帶自己標題和欄位的一項(在 Studio 的物件設定裡設定)。一旦列出任何一項,未列出的相關清單就不顯示頁籤(其他套件新增的清單也一樣),直到本物件列出它;附件只有列出時才顯示。為空時,所有清單依預設順序顯示。不對應任何指向本物件之關係的名稱,在儲存物件時會被拒絕。" + helpText: "記錄頁在概覽之後顯示的頁籤,依順序排列。每一項是子物件名稱(例如 task);當該子物件與本物件有多個關係時寫 object.field;也可以是內建頁籤(sys_attachment、sys_approval_request、sys_activity),或帶自己標題和欄位的一項(在應用搭建的物件設定裡設定)。一旦列出任何一項,未列出的相關清單就不顯示頁籤(其他套件新增的清單也一樣),直到本物件列出它;附件只有列出時才顯示。為空時,所有清單依預設順序顯示。不對應任何指向本物件之關係的名稱,在儲存物件時會被拒絕。" }, searchableFields: { label: "可搜尋欄位", @@ -2995,7 +2995,7 @@ export const zhHantMetadataForms: NonNullable }, variables: { label: "變數", - description: "宣告的變數。Studio 會將其呈現為提示,並在必填時由 sendTemplate() 驗證。" + description: "宣告的變數。應用搭建會將其呈現為提示,並在必填時由 sendTemplate() 驗證。" }, delivery_overrides: { label: "傳送覆寫項目", @@ -3361,7 +3361,7 @@ export const zhHantMetadataForms: NonNullable }, label: { label: "顯示名稱", - helpText: "Studio 中顯示的名稱" + helpText: "在應用搭建中顯示的名稱" }, description: { label: "描述", diff --git a/packages/platform-objects/src/apps/translations/zh-Hant.objects.generated.ts b/packages/platform-objects/src/apps/translations/zh-Hant.objects.generated.ts index b531bc48b54..60eacb8e85f 100644 --- a/packages/platform-objects/src/apps/translations/zh-Hant.objects.generated.ts +++ b/packages/platform-objects/src/apps/translations/zh-Hant.objects.generated.ts @@ -3367,7 +3367,7 @@ export const zhHantObjects: NonNullable = { }, label: { label: "標籤", - help: "在 Studio 中顯示的人類可讀名稱" + help: "在應用搭建中顯示的人類可讀名稱" }, category: { label: "分類", @@ -3420,7 +3420,7 @@ export const zhHantObjects: NonNullable = { }, managed_by: { label: "管理方", - help: "記錄來源:platform = 框架內建 / package = 應用程式或套件宣告(啟動時根據宣告的 email_template 中繼資料寫入)/ admin = 在 Studio 中建立。", + help: "記錄來源:platform = 框架內建 / package = 應用程式或套件宣告(啟動時根據宣告的 email_template 中繼資料寫入)/ admin = 在應用搭建中建立。", options: { platform: "平台", package: "套件", diff --git a/packages/platform-objects/src/audit/sys-email-template.object.ts b/packages/platform-objects/src/audit/sys-email-template.object.ts index d145c6c3d84..49afc2afa64 100644 --- a/packages/platform-objects/src/audit/sys-email-template.object.ts +++ b/packages/platform-objects/src/audit/sys-email-template.object.ts @@ -73,7 +73,7 @@ export const SysEmailTemplate = ObjectSchema.create({ label: 'Label', required: true, maxLength: 200, - description: 'Human-readable name shown in Studio', + description: 'Human-readable name shown in App Studio', group: 'Identity', }), category: Field.select( @@ -188,7 +188,7 @@ export const SysEmailTemplate = ObjectSchema.create({ defaultValue: 'admin', description: 'Record provenance: platform = framework built-in / package = app/package-declared ' + - '(boot-seeded from declared email_template metadata) / admin = created in Studio.', + '(boot-seeded from declared email_template metadata) / admin = created in App Studio.', group: 'System', }, ), diff --git a/packages/spec/src/ai/tool.metadata-form.ts b/packages/spec/src/ai/tool.metadata-form.ts index 54c3a861da2..d92bb9d70ac 100644 --- a/packages/spec/src/ai/tool.metadata-form.ts +++ b/packages/spec/src/ai/tool.metadata-form.ts @@ -25,7 +25,7 @@ export const toolForm = defineMetadataForm({ columns: 2, fields: [ { field: 'name', required: true, colSpan: 1, helpText: 'Unique identifier (snake_case)' }, - { field: 'label', required: true, colSpan: 1, helpText: 'Display name for Studio UI' }, + { field: 'label', required: true, colSpan: 1, helpText: 'Display name shown in App Studio' }, { field: 'description', required: true, widget: 'textarea', colSpan: 2, helpText: 'Tell AI when to use this tool — be specific!' }, { field: 'objectName', widget: 'ref:object', colSpan: 1, helpText: 'Related object (if this tool operates on a specific object)' }, ], diff --git a/packages/spec/src/data/object.metadata-form.ts b/packages/spec/src/data/object.metadata-form.ts index 950350f6892..dcc3a9f2ad7 100644 --- a/packages/spec/src/data/object.metadata-form.ts +++ b/packages/spec/src/data/object.metadata-form.ts @@ -80,7 +80,7 @@ export const objectForm = defineMetadataForm({ // set) cannot render as a chip there (#35923 review M1). A dangling name // is refused at the publish door (`related-list-ref-unknown`, `error`, // judged against the registry's children) and by `os validate` / `os build`. - { field: 'relatedLists', widget: 'related-list-entries', colSpan: 2, helpText: 'The record page tabs after the overview, in order. Each entry is a child object name (e.g. task), object.field when that child has more than one relationship to this object, a built-in tab (sys_attachment, sys_approval_request, sys_activity), or an entry with its own title and columns, set in Studio\'s object settings. Once anything is listed, a related list no entry names shows no tab, a list another package adds included, until this object names it; attachments show only when listed. Empty: every list shows in the default order. A name that matches no relationship pointing at this object is refused when the object is saved.' }, + { field: 'relatedLists', widget: 'related-list-entries', colSpan: 2, helpText: 'The record page tabs after the overview, in order. Each entry is a child object name (e.g. task), object.field when that child has more than one relationship to this object, a built-in tab (sys_attachment, sys_approval_request, sys_activity), or an entry with its own title and columns, set in App Studio\'s object settings. Once anything is listed, a related list no entry names shows no tab, a list another package adds included, until this object names it; attachments show only when listed. Empty: every list shows in the default order. A name that matches no relationship pointing at this object is refused when the object is saved.' }, { field: 'searchableFields', widget: 'string-tags', colSpan: 2, helpText: 'Field names the $search query matches (ADR-0061): the default for the record picker, list quick-search and global search; a view may narrow it. Unset, search uses the name/title field plus short-text fields. Each entry must name a stored field of this object — an unknown name or a virtual formula field is refused at publish.' }, // #19332 (flight G2a of ruling record 5861442317) — the object's field // groups, the ADR-0085 layout role beside `nameField` / `highlightFields`. diff --git a/packages/spec/src/security/capabilities.ts b/packages/spec/src/security/capabilities.ts index 1d469a17ed6..1011ffb5187 100644 --- a/packages/spec/src/security/capabilities.ts +++ b/packages/spec/src/security/capabilities.ts @@ -52,7 +52,7 @@ export const PLATFORM_CAPABILITIES: readonly PlatformCapability[] = [ // flags). Previously referenced by settings manifests but never declared or // granted — which was harmless only while settings writes went ungated. { name: 'setup.write', label: 'Write Settings', description: 'Save changes to tenant/Setup settings pages.', scope: 'org' }, - { name: 'studio.access', label: 'Studio Access', description: 'Enter the Studio metadata-design surfaces.', scope: 'platform' }, + { name: 'studio.access', label: 'App Studio Access', description: 'Enter the App Studio metadata-design surfaces.', scope: 'platform' }, // [ADR-0111 D9] Sharing administration right-sized below full platform admin: // gates the sharing-rule surface (define / delete / evaluate — an org-wide // grant generator) and, in the DEPTH extension, the non-owner path to diff --git a/packages/spec/src/system/email-template.metadata-form.ts b/packages/spec/src/system/email-template.metadata-form.ts index 20d103927cd..6596d627cb5 100644 --- a/packages/spec/src/system/email-template.metadata-form.ts +++ b/packages/spec/src/system/email-template.metadata-form.ts @@ -57,7 +57,7 @@ export const emailTemplateForm = defineMetadataForm({ }, { label: 'Variables', - description: 'Declared variables. Rendered as hints in Studio and validated by sendTemplate() when required.', + description: 'Declared variables. Rendered as hints in App Studio and validated by sendTemplate() when required.', columns: 1, fields: [ { field: 'variables', widget: 'json', helpText: '[{ "name": "user.name", "type": "string", "required": true, "description": "..." }]' }, From d5181f0c2ed736747d65870db942271efbc6b80e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 29 Nov 2026 05:13:03 +0000 Subject: [PATCH 2/2] chore(i18n): regenerate the en bundles from the edited sources Claude-Session: https://claude.ai/code/session_01FEkQ5nVXvVvyPPzdih9DTy Co-Authored-By: Claude --- .changeset/38340-studio-help-strings.md | 11 +++++++++++ .../apps/translations/en.metadata-forms.generated.ts | 6 +++--- .../src/apps/translations/en.objects.generated.ts | 4 ++-- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 .changeset/38340-studio-help-strings.md diff --git a/.changeset/38340-studio-help-strings.md b/.changeset/38340-studio-help-strings.md new file mode 100644 index 00000000000..3121a6b995d --- /dev/null +++ b/.changeset/38340-studio-help-strings.md @@ -0,0 +1,11 @@ +--- +'@objectstack/spec': patch +'@objectstack/platform-objects': patch +--- + +fix(i18n): help text that names Studio reads App Studio, and 应用搭建 in Chinese + +Clause-②: no +Metadata-protocol: none + +Five help texts in App Studio's own forms still named the surface "Studio": the object form's Related Lists help, the tool form's Label help, the email template form's Variables help, and the email template object's Label and Managed By help. They now say "App Studio" in English and 应用搭建 in the Chinese bundles (zh-CN, and 應用搭建 in zh-Hant), the name ADR-0084's 2026-11-26 amendment gives the surface. The capability registry's `studio.access` row now carries the label "App Studio Access" and says "App Studio" in its description, the same label the Console's own language packs already show. Only display text changes: the `studio.access` name, the `/studio` address and every identifier stay as they were. Other locales keep their current text. diff --git a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts index 6b2ba24ed42..a763af9ea39 100644 --- a/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts @@ -78,7 +78,7 @@ export const enMetadataForms: NonNullable = { }, relatedLists: { label: "Related Lists", - helpText: "The record page tabs after the overview, in order. Each entry is a child object name (e.g. task), object.field when that child has more than one relationship to this object, a built-in tab (sys_attachment, sys_approval_request, sys_activity), or an entry with its own title and columns, set in Studio's object settings. Once anything is listed, a related list no entry names shows no tab, a list another package adds included, until this object names it; attachments show only when listed. Empty: every list shows in the default order. A name that matches no relationship pointing at this object is refused when the object is saved." + helpText: "The record page tabs after the overview, in order. Each entry is a child object name (e.g. task), object.field when that child has more than one relationship to this object, a built-in tab (sys_attachment, sys_approval_request, sys_activity), or an entry with its own title and columns, set in App Studio's object settings. Once anything is listed, a related list no entry names shows no tab, a list another package adds included, until this object names it; attachments show only when listed. Empty: every list shows in the default order. A name that matches no relationship pointing at this object is refused when the object is saved." }, searchableFields: { label: "Searchable Fields", @@ -2995,7 +2995,7 @@ export const enMetadataForms: NonNullable = { }, variables: { label: "Variables", - description: "Declared variables. Rendered as hints in Studio and validated by sendTemplate() when required." + description: "Declared variables. Rendered as hints in App Studio and validated by sendTemplate() when required." }, delivery_overrides: { label: "Delivery overrides", @@ -3361,7 +3361,7 @@ export const enMetadataForms: NonNullable = { }, label: { label: "Label", - helpText: "Display name for Studio UI" + helpText: "Display name shown in App Studio" }, description: { label: "Description", diff --git a/packages/platform-objects/src/apps/translations/en.objects.generated.ts b/packages/platform-objects/src/apps/translations/en.objects.generated.ts index 26f422b604c..70150ee9a33 100644 --- a/packages/platform-objects/src/apps/translations/en.objects.generated.ts +++ b/packages/platform-objects/src/apps/translations/en.objects.generated.ts @@ -3367,7 +3367,7 @@ export const enObjects: NonNullable = { }, label: { label: "Label", - help: "Human-readable name shown in Studio" + help: "Human-readable name shown in App Studio" }, category: { label: "Category", @@ -3420,7 +3420,7 @@ export const enObjects: NonNullable = { }, managed_by: { label: "Managed By", - help: "Record provenance: platform = framework built-in / package = app/package-declared (boot-seeded from declared email_template metadata) / admin = created in Studio.", + help: "Record provenance: platform = framework built-in / package = app/package-declared (boot-seeded from declared email_template metadata) / admin = created in App Studio.", options: { platform: "platform", package: "package",