Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/38340-studio-help-strings.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
},
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",
Expand Down Expand Up @@ -2995,7 +2995,7 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
},
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",
Expand Down Expand Up @@ -3361,7 +3361,7 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
},
label: {
label: "Label",
helpText: "Display name for Studio UI"
helpText: "Display name shown in App Studio"
},
description: {
label: "Description",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3367,7 +3367,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
},
label: {
label: "Label",
help: "Human-readable name shown in Studio"
help: "Human-readable name shown in App Studio"
},
category: {
label: "Category",
Expand Down Expand Up @@ -3420,7 +3420,7 @@ export const enObjects: NonNullable<TranslationData['objects']> = {
},
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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
},
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: "可搜索字段",
Expand Down Expand Up @@ -2995,7 +2995,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
},
variables: {
label: "变量",
description: "声明的变量。Studio 会将其渲染为提示,并在必填时由 sendTemplate() 校验。"
description: "声明的变量。应用搭建会将其渲染为提示,并在必填时由 sendTemplate() 校验。"
},
delivery_overrides: {
label: "发送覆盖项",
Expand Down Expand Up @@ -3361,7 +3361,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
},
label: {
label: "显示名称",
helpText: "Studio 中展示的名称"
helpText: "在应用搭建中显示的名称"
},
description: {
label: "描述",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3367,7 +3367,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
},
label: {
label: "标签",
help: "在 Studio 中显示的人类可读名称"
help: "在应用搭建中显示的人类可读名称"
},
category: {
label: "分类",
Expand Down Expand Up @@ -3420,7 +3420,7 @@ export const zhCNObjects: NonNullable<TranslationData['objects']> = {
},
managed_by: {
label: "管理方",
help: "记录来源:platform = 框架内置 / package = 应用或包声明(启动时根据声明的 email_template 元数据写入)/ admin = 在 Studio 中创建。",
help: "记录来源:platform = 框架内置 / package = 应用或包声明(启动时根据声明的 email_template 元数据写入)/ admin = 在应用搭建中创建。",
options: {
platform: "平台",
package: "包",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const zhHantMetadataForms: NonNullable<TranslationData['metadataForms']>
},
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: "可搜尋欄位",
Expand Down Expand Up @@ -2995,7 +2995,7 @@ export const zhHantMetadataForms: NonNullable<TranslationData['metadataForms']>
},
variables: {
label: "變數",
description: "宣告的變數。Studio 會將其呈現為提示,並在必填時由 sendTemplate() 驗證。"
description: "宣告的變數。應用搭建會將其呈現為提示,並在必填時由 sendTemplate() 驗證。"
},
delivery_overrides: {
label: "傳送覆寫項目",
Expand Down Expand Up @@ -3361,7 +3361,7 @@ export const zhHantMetadataForms: NonNullable<TranslationData['metadataForms']>
},
label: {
label: "顯示名稱",
helpText: "Studio 中顯示的名稱"
helpText: "在應用搭建中顯示的名稱"
},
description: {
label: "描述",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3367,7 +3367,7 @@ export const zhHantObjects: NonNullable<TranslationData['objects']> = {
},
label: {
label: "標籤",
help: "在 Studio 中顯示的人類可讀名稱"
help: "在應用搭建中顯示的人類可讀名稱"
},
category: {
label: "分類",
Expand Down Expand Up @@ -3420,7 +3420,7 @@ export const zhHantObjects: NonNullable<TranslationData['objects']> = {
},
managed_by: {
label: "管理方",
help: "記錄來源:platform = 框架內建 / package = 應用程式或套件宣告(啟動時根據宣告的 email_template 中繼資料寫入)/ admin = 在 Studio 中建立。",
help: "記錄來源:platform = 框架內建 / package = 應用程式或套件宣告(啟動時根據宣告的 email_template 中繼資料寫入)/ admin = 在應用搭建中建立。",
options: {
platform: "平台",
package: "套件",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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',
},
),
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/src/ai/tool.metadata-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)' },
],
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/src/data/object.metadata-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/src/security/capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/src/system/email-template.metadata-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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": "..." }]' },
Expand Down
Loading