diff --git a/.changeset/20666-stale-authored-metadata-form-leaves.md b/.changeset/20666-stale-authored-metadata-form-leaves.md new file mode 100644 index 00000000000..eecbc92142b --- /dev/null +++ b/.changeset/20666-stale-authored-metadata-form-leaves.md @@ -0,0 +1,32 @@ +--- +'@objectstack/platform-objects': patch +--- + +fix(platform-objects): the ja-JP, es-ES and zh-CN metadata-form descriptions, help texts and labels that contradicted their current English source are re-translated (#20666) + +Clause-②: no + +A translated metadata-form leaf that a translator wrote by hand is kept as +written when its English source changes later, so some leaves went on saying +what the old source said. On a ja-JP or es-ES console the permission-set form's +Tab & Row-Level Security section still offered custom context variables, and +the agent form's Capabilities section still offered tools; `en` dropped both +when the keys were removed. + +Twelve leaves whose meaning contradicted the current English now match it: + +- all three locales: the agent form's Capabilities section (skills and + knowledge sources, no tools), the permission-set form's Tab & Row-Level + Security section (tab visibility and RLS policies: ja-JP and es-ES no longer + offer custom context variables, and zh-CN no longer names the section after + sharing rules), and the report form's `blocks` help (dataset-bound + sub-reports, not a join of several objects); +- ja-JP and es-ES: the email-template form's Identity section (the template is + resolved by its `name` through `IEmailService.sendTemplate`, not by an `id`, + and the section carries no content type); +- zh-CN: the report form's Joined blocks section label, which named the section + after related objects. + +Leaves whose English source only gained detail or was reworded, without +retracting what the translation says, are unchanged. Values only: no key is +added or removed, and no provenance table changes. diff --git a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts index 0b10b1298da..4faaa448e5a 100644 --- a/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts @@ -1853,7 +1853,7 @@ export const esESMetadataForms: NonNullable = }, blocks: { label: "Bloques", - helpText: "Une varios objetos (solo informe joined)" + helpText: "Subinformes vinculados a un conjunto de datos (solo informe joined)" }, "blocks.name": { label: "Nombre" @@ -2148,7 +2148,7 @@ export const esESMetadataForms: NonNullable = sections: { identity: { label: "Identidad", - description: "Identificador y tipo de contenido. El id se referencia con sendTemplate({ template: id, ... })." + description: "Identificador de plantilla que resuelve IEmailService.sendTemplate({ template: name, locale, ... })." }, subject: { label: "Asunto", @@ -2248,7 +2248,7 @@ export const esESMetadataForms: NonNullable = }, tab_and_row_level_security: { label: "Pestaña y seguridad a nivel de fila", - description: "Visibilidad de pestañas, políticas RLS y variables de contexto personalizadas para evaluar predicados." + description: "Visibilidad de pestañas y políticas RLS." } }, fields: { @@ -2344,7 +2344,7 @@ export const esESMetadataForms: NonNullable = }, capabilities: { label: "Capacidades", - description: "Skills, herramientas y fuentes de conocimiento que puede usar el agente." + description: "Skills y fuentes de conocimiento que puede usar el agente." }, access: { label: "Acceso y seguridad", diff --git a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts index 4b165cf354d..1b912e07c27 100644 --- a/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts +++ b/packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts @@ -1853,7 +1853,7 @@ export const jaJPMetadataForms: NonNullable = }, blocks: { label: "ブロック", - helpText: "複数オブジェクトを結合(joined レポートのみ)" + helpText: "データセットにバインドされたサブレポート(joined レポートのみ)" }, "blocks.name": { label: "名前" @@ -2148,7 +2148,7 @@ export const jaJPMetadataForms: NonNullable = sections: { identity: { label: "ID", - description: "識別子とコンテンツ型。id は sendTemplate({ template: id, ... }) で参照される。" + description: "IEmailService.sendTemplate({ template: name, locale, ... }) が解決するテンプレート識別子。" }, subject: { label: "件名", @@ -2248,7 +2248,7 @@ export const jaJPMetadataForms: NonNullable = }, tab_and_row_level_security: { label: "タブと行レベルセキュリティ", - description: "タブ表示、RLS ポリシー、述語評価用カスタムコンテキスト変数。" + description: "タブ表示と RLS ポリシー。" } }, fields: { @@ -2344,7 +2344,7 @@ export const jaJPMetadataForms: NonNullable = }, capabilities: { label: "機能", - description: "エージェントが使用できるスキル、ツール、ナレッジソース。" + description: "エージェントが使用できるスキルとナレッジソース。" }, access: { label: "アクセスとセキュリティ", 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 85143df7894..3a732469987 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 @@ -1798,7 +1798,7 @@ export const zhCNMetadataForms: NonNullable = description: "本报表渲染的语义层数据集。度量与行分别来自该数据集的度量与维度" }, joined_blocks: { - label: "关联对象", + label: "joined 报表分块", description: "叠加进同一张报表的其他数据集分块(仅 joined 报表)" }, filter_and_chart: { @@ -1853,7 +1853,7 @@ export const zhCNMetadataForms: NonNullable = }, blocks: { label: "分块", - helpText: "joined 报表的联合查询块" + helpText: "绑定数据集的子报表(仅 joined 报表)" }, "blocks.name": { label: "名称" @@ -2248,7 +2248,7 @@ export const zhCNMetadataForms: NonNullable = }, tab_and_row_level_security: { label: "标签页与行级安全", - description: "导航可见性与共享规则" + description: "标签页可见性与行级安全策略" } }, fields: { @@ -2344,7 +2344,7 @@ export const zhCNMetadataForms: NonNullable = }, capabilities: { label: "能力配置", - description: "代理可使用的技能、工具与知识来源" + description: "代理可使用的技能与知识来源" }, access: { label: "访问与安全",