Skip to content

Commit b625ac4

Browse files
committed
chore(platform-objects): regenerate metadata-forms translations for the plain type descriptions
Claude-Session: https://claude.ai/code/session_014SHyy7c7ipsMkzJ3J9mdL9 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 30b4153 commit b625ac4

5 files changed

Lines changed: 34 additions & 16 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@objectstack/spec': patch
3+
'@objectstack/platform-objects': patch
4+
---
5+
6+
Clause-②: no
7+
8+
The `description` of four metadata types in `DEFAULT_METADATA_TYPE_REGISTRY`, which Setup shows under the
9+
type's title, is now one plain sentence for an administrator instead of ADR vocabulary:
10+
11+
- `api`: "A stable HTTP URL that other systems call to reach flows, scripts and data in the app"
12+
- `doc`: "A help page written in Markdown that a package ships for its users to read"
13+
- `book`: "A table of contents that groups the help pages of a package into ordered sections"
14+
- `capability`: "A permission a package defines; you grant it through permission sets"
15+
16+
The ADR references (ADR-0121, ADR-0046, ADR-0046 §6, ADR-0066 D1) moved to the comments beside the
17+
registry rows. The generated metadata-forms translations carry the new sentences in en, zh-CN, ja-JP
18+
and es-ES. No key, type or accept/refuse result changes.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
22022202
},
22032203
api: {
22042204
label: "API Endpoint",
2205-
description: "Declarative HTTP endpoint — a stable URL and policy layer over an existing pipeline (ADR-0121)"
2205+
description: "A stable HTTP URL that other systems call to reach flows, scripts and data in the app"
22062206
},
22072207
translation: {
22082208
label: "Translation"
@@ -2282,11 +2282,11 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
22822282
},
22832283
doc: {
22842284
label: "Documentation",
2285-
description: "Package documentation — flat Markdown items (ADR-0046)"
2285+
description: "A help page written in Markdown that a package ships for its users to read"
22862286
},
22872287
book: {
22882288
label: "Documentation Book",
2289-
description: "Documentation navigation spine — ordered groups with derived membership (ADR-0046 §6)"
2289+
description: "A table of contents that groups the help pages of a package into ordered sections"
22902290
},
22912291
permission: {
22922292
label: "Permission Set",
@@ -2390,7 +2390,7 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
23902390
},
23912391
capability: {
23922392
label: "Capability",
2393-
description: "Package-declared authorization capability — the DEFINITION side of ADR-0066 D1 (grants live on permission sets; requirements on resources)"
2393+
description: "A permission a package defines; you grant it through permission sets"
23942394
},
23952395
agent: {
23962396
label: "AI Agent",

‎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
@@ -2202,7 +2202,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
22022202
},
22032203
api: {
22042204
label: "Endpoint API",
2205-
description: "Endpoint HTTP declarativo — una URL estable y una capa de política sobre un pipeline existente (ADR-0121)"
2205+
description: "URL HTTP estable a la que llaman otros sistemas para acceder a los flujos, scripts y datos de la aplicación"
22062206
},
22072207
translation: {
22082208
label: "Traducción"
@@ -2282,11 +2282,11 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
22822282
},
22832283
doc: {
22842284
label: "Documentación",
2285-
description: "Documentación del paquete — elementos Markdown planos (ADR-0046)"
2285+
description: "Página de ayuda en Markdown que un paquete incluye para que la lean sus usuarios"
22862286
},
22872287
book: {
22882288
label: "Libro de documentación",
2289-
description: "Columna vertebral de navegación de la documentación — grupos ordenados con pertenencia derivada (ADR-0046 §6)"
2289+
description: "Índice que organiza las páginas de ayuda de un paquete en secciones ordenadas"
22902290
},
22912291
permission: {
22922292
label: "Conjunto de permisos",
@@ -2390,7 +2390,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
23902390
},
23912391
capability: {
23922392
label: "Capacidad",
2393-
description: "Capacidad de autorización declarada por el paquete — el lado de la DEFINICIÓN de ADR-0066 D1 (las concesiones residen en los conjuntos de permisos; los requisitos, en los recursos)"
2393+
description: "Permiso que define un paquete; se concede mediante conjuntos de permisos"
23942394
},
23952395
agent: {
23962396
label: "Agente de IA",

‎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
@@ -2202,7 +2202,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
22022202
},
22032203
api: {
22042204
label: "API エンドポイント",
2205-
description: "宣言的な HTTP エンドポイント — 既存のパイプラインの上に安定した URL とポリシー層を提供(ADR-0121)"
2205+
description: "他のシステムがアプリのフロー、スクリプト、データにアクセスするために呼び出す固定の HTTP URL"
22062206
},
22072207
translation: {
22082208
label: "翻訳"
@@ -2282,11 +2282,11 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
22822282
},
22832283
doc: {
22842284
label: "ドキュメント",
2285-
description: "パッケージのドキュメント — フラットな Markdown 項目(ADR-0046)"
2285+
description: "パッケージに同梱される、ユーザー向けの Markdown ヘルプページ"
22862286
},
22872287
book: {
22882288
label: "ドキュメントブック",
2289-
description: "ドキュメントナビゲーションの骨格 — 順序付きグループと派生されたメンバーシップ(ADR-0046 §6)"
2289+
description: "パッケージのヘルプページを順序付きのセクションにまとめた目次"
22902290
},
22912291
permission: {
22922292
label: "権限セット",
@@ -2390,7 +2390,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
23902390
},
23912391
capability: {
23922392
label: "ケイパビリティ",
2393-
description: "パッケージが宣言する認可ケイパビリティ — ADR-0066 D1 の定義側(付与は権限セットに、要件はリソースに)"
2393+
description: "パッケージが定義する権限。権限セットを通じて付与します"
23942394
},
23952395
agent: {
23962396
label: "AI エージェント",

‎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
@@ -2202,7 +2202,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
22022202
},
22032203
api: {
22042204
label: "API 端点",
2205-
description: "声明式 HTTP 端点——在既有管道之上提供稳定的 URL 与策略层(ADR-0121)"
2205+
description: "其他系统调用的稳定 HTTP URL,用于访问应用的流程、脚本和数据"
22062206
},
22072207
translation: {
22082208
label: "翻译"
@@ -2282,11 +2282,11 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
22822282
},
22832283
doc: {
22842284
label: "文档",
2285-
description: "软件包文档——扁平的 Markdown 文档项(ADR-0046)"
2285+
description: "软件包随附的 Markdown 帮助页面,供用户阅读"
22862286
},
22872287
book: {
22882288
label: "文档手册",
2289-
description: "文档导航主干——有序分组,成员由派生确定(ADR-0046 §6)"
2289+
description: "将软件包的帮助页面按顺序分节组织的目录"
22902290
},
22912291
permission: {
22922292
label: "权限集",
@@ -2390,7 +2390,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
23902390
},
23912391
capability: {
23922392
label: "能力",
2393-
description: "软件包声明的授权能力——ADR-0066 D1 的定义侧(授予在权限集上;要求在资源上)"
2393+
description: "软件包定义的一项权限;通过权限集授予"
23942394
},
23952395
agent: {
23962396
label: "AI 代理",

0 commit comments

Comments
 (0)