Skip to content

Commit aaee467

Browse files
committed
fix(platform-objects): re-translate the metadata-form leaves that contradict their current en source
Twelve authored ja-JP / es-ES / zh-CN leaves in the metadata-forms bundles said what a superseded English source said: the agent Capabilities section still offered tools, the permission-set Tab & Row-Level Security section still offered custom context variables (zh-CN named it after sharing rules), the report blocks help still described a join of several objects, the email-template Identity section still sent the template by id with a content type, and the zh-CN Joined blocks label named related objects. Values only; no key added or dropped, no en file or provenance table edited. Claude-Session: https://claude.ai/code/session_01DEvba2nBuD4tWzfq8r8NFY Co-authored-by: Claude <noreply@anthropic.com>
1 parent a8acee2 commit aaee467

4 files changed

Lines changed: 44 additions & 12 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
'@objectstack/platform-objects': patch
3+
---
4+
5+
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)
6+
7+
Clause-②: no
8+
9+
A translated metadata-form leaf that a translator wrote by hand is kept as
10+
written when its English source changes later, so some leaves went on saying
11+
what the old source said. On a ja-JP or es-ES console the permission-set form's
12+
Tab & Row-Level Security section still offered custom context variables, and
13+
the agent form's Capabilities section still offered tools; `en` dropped both
14+
when the keys were removed.
15+
16+
Twelve leaves whose meaning contradicted the current English now match it:
17+
18+
- all three locales: the agent form's Capabilities section (skills and
19+
knowledge sources, no tools), the permission-set form's Tab & Row-Level
20+
Security section (tab visibility and RLS policies: ja-JP and es-ES no longer
21+
offer custom context variables, and zh-CN no longer names the section after
22+
sharing rules), and the report form's `blocks` help (dataset-bound
23+
sub-reports, not a join of several objects);
24+
- ja-JP and es-ES: the email-template form's Identity section (the template is
25+
resolved by its `name` through `IEmailService.sendTemplate`, not by an `id`,
26+
and the section carries no content type);
27+
- zh-CN: the report form's Joined blocks section label, which named the section
28+
after related objects.
29+
30+
Leaves whose English source only gained detail or was reworded, without
31+
retracting what the translation says, are unchanged. Values only: no key is
32+
added or removed, and no provenance table changes.

‎packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
18531853
},
18541854
blocks: {
18551855
label: "Bloques",
1856-
helpText: "Une varios objetos (solo informe joined)"
1856+
helpText: "Subinformes vinculados a un conjunto de datos (solo informe joined)"
18571857
},
18581858
"blocks.name": {
18591859
label: "Nombre"
@@ -2148,7 +2148,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
21482148
sections: {
21492149
identity: {
21502150
label: "Identidad",
2151-
description: "Identificador y tipo de contenido. El id se referencia con sendTemplate({ template: id, ... })."
2151+
description: "Identificador de plantilla que resuelve IEmailService.sendTemplate({ template: name, locale, ... })."
21522152
},
21532153
subject: {
21542154
label: "Asunto",
@@ -2248,7 +2248,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
22482248
},
22492249
tab_and_row_level_security: {
22502250
label: "Pestaña y seguridad a nivel de fila",
2251-
description: "Visibilidad de pestañas, políticas RLS y variables de contexto personalizadas para evaluar predicados."
2251+
description: "Visibilidad de pestañas y políticas RLS."
22522252
}
22532253
},
22542254
fields: {
@@ -2344,7 +2344,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
23442344
},
23452345
capabilities: {
23462346
label: "Capacidades",
2347-
description: "Skills, herramientas y fuentes de conocimiento que puede usar el agente."
2347+
description: "Skills y fuentes de conocimiento que puede usar el agente."
23482348
},
23492349
access: {
23502350
label: "Acceso y seguridad",

‎packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1853,7 +1853,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
18531853
},
18541854
blocks: {
18551855
label: "ブロック",
1856-
helpText: "複数オブジェクトを結合(joined レポートのみ)"
1856+
helpText: "データセットにバインドされたサブレポート(joined レポートのみ)"
18571857
},
18581858
"blocks.name": {
18591859
label: "名前"
@@ -2148,7 +2148,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
21482148
sections: {
21492149
identity: {
21502150
label: "ID",
2151-
description: "識別子とコンテンツ型。id は sendTemplate({ template: id, ... }) で参照される。"
2151+
description: "IEmailService.sendTemplate({ template: name, locale, ... }) が解決するテンプレート識別子。"
21522152
},
21532153
subject: {
21542154
label: "件名",
@@ -2248,7 +2248,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
22482248
},
22492249
tab_and_row_level_security: {
22502250
label: "タブと行レベルセキュリティ",
2251-
description: "タブ表示、RLS ポリシー、述語評価用カスタムコンテキスト変数。"
2251+
description: "タブ表示と RLS ポリシー。"
22522252
}
22532253
},
22542254
fields: {
@@ -2344,7 +2344,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
23442344
},
23452345
capabilities: {
23462346
label: "機能",
2347-
description: "エージェントが使用できるスキル、ツール、ナレッジソース。"
2347+
description: "エージェントが使用できるスキルとナレッジソース。"
23482348
},
23492349
access: {
23502350
label: "アクセスとセキュリティ",

‎packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,7 +1798,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
17981798
description: "本报表渲染的语义层数据集。度量与行分别来自该数据集的度量与维度"
17991799
},
18001800
joined_blocks: {
1801-
label: "关联对象",
1801+
label: "joined 报表分块",
18021802
description: "叠加进同一张报表的其他数据集分块(仅 joined 报表)"
18031803
},
18041804
filter_and_chart: {
@@ -1853,7 +1853,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
18531853
},
18541854
blocks: {
18551855
label: "分块",
1856-
helpText: "joined 报表的联合查询块"
1856+
helpText: "绑定数据集的子报表(仅 joined 报表)"
18571857
},
18581858
"blocks.name": {
18591859
label: "名称"
@@ -2248,7 +2248,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
22482248
},
22492249
tab_and_row_level_security: {
22502250
label: "标签页与行级安全",
2251-
description: "导航可见性与共享规则"
2251+
description: "标签页可见性与行级安全策略"
22522252
}
22532253
},
22542254
fields: {
@@ -2344,7 +2344,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
23442344
},
23452345
capabilities: {
23462346
label: "能力配置",
2347-
description: "代理可使用的技能、工具与知识来源"
2347+
description: "代理可使用的技能与知识来源"
23482348
},
23492349
access: {
23502350
label: "访问与安全",

0 commit comments

Comments
 (0)