Skip to content

Commit 6aba08e

Browse files
committed
chore(i18n): 重生成 platform-objects 的四个翻译 bundle (#5271)
PM 返工第 2 轮。`api` 进 metadata type registry 后,platform-objects 的 metadata-forms bundle 键集多出该类型的 label/description,四个 locale 漂移。 `node scripts/check-i18n-bundles.mjs --write`(merge 模式:不覆盖任何既有翻译, 新键以源文填充)。delta 纯属本单 —— 四个 bundle 各 +4 行,只有 `api` 一个键: api: { label: "API Endpoint", description: "Declarative HTTP endpoint — …" } 非英文 bundle 里这两条暂为英文源文,这是 merge 模式的既定产物("they still need translating");`check:i18n-coverage` 的冻结基线未被突破,故两门皆绿。 手改 `.generated.ts` 不是这条链的修法。 ⚠️ 这是我第三次漏门(liveness → docs → i18n),根因是我一直按"改了哪个包就跑 哪个包的门"收工,而这三道都是**仓根**的、由被改内容触发而非由被改目录触发。 已改为按 `.github/workflows` 的 job 清单逐条过:本次 push 前跑完 44 道 CI 必跑 门(lint.yml 25 道 + spec-liveness-check.yml 4 道 + spec 生成物 13 道 + validate-deps.yml 2 道),全绿。 注:i18n 两门必须在 **full build 之后**跑 —— 抽取器经 extract config 读 `@objectstack/spec` 的 dist、并跑构建后的 CLI。未构建时它报的是九个包 "extract failed — no output",很容易被误读成配置坏了而不是缺构建。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ErbEDVAg1No9gdg1pgDAGB
1 parent a4f4a8b commit 6aba08e

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,10 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
13511351
external_catalog: {
13521352
label: "External Catalog"
13531353
},
1354+
api: {
1355+
label: "API Endpoint",
1356+
description: "Declarative HTTP endpoint — a stable URL and policy layer over an existing pipeline (ADR-0121)"
1357+
},
13541358
translation: {
13551359
label: "Translation"
13561360
},

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,10 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
13511351
external_catalog: {
13521352
label: "Catálogo externo"
13531353
},
1354+
api: {
1355+
label: "API Endpoint",
1356+
description: "Declarative HTTP endpoint — a stable URL and policy layer over an existing pipeline (ADR-0121)"
1357+
},
13541358
translation: {
13551359
label: "Traducción"
13561360
},

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,10 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
13511351
external_catalog: {
13521352
label: "外部カタログ"
13531353
},
1354+
api: {
1355+
label: "API Endpoint",
1356+
description: "Declarative HTTP endpoint — a stable URL and policy layer over an existing pipeline (ADR-0121)"
1357+
},
13541358
translation: {
13551359
label: "翻訳"
13561360
},

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,10 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
13511351
external_catalog: {
13521352
label: "外部目录"
13531353
},
1354+
api: {
1355+
label: "API Endpoint",
1356+
description: "Declarative HTTP endpoint — a stable URL and policy layer over an existing pipeline (ADR-0121)"
1357+
},
13541358
translation: {
13551359
label: "翻译"
13561360
},

0 commit comments

Comments
 (0)