Skip to content

fix(i18n): correct stale page-type help text in metadata-form bundles - #1846

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/i18n-page-type-helptext
Jun 14, 2026
Merged

fix(i18n): correct stale page-type help text in metadata-form bundles#1846
xuyushun441-sys merged 1 commit into
mainfrom
fix/i18n-page-type-helptext

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

The last of the panel-audit follow-ups. The page type field's help text in the metadata-form translation bundles still read "page type (record, home, app, dashboard, etc.)" — listing dashboard (and implying grid/kanban/calendar) as page types. That's wrong after the ADR-0047 page-type cleanup: those are visualizations configured under Interface, not page kinds.

Changes

packages/platform-objects/src/apps/translations/*.metadata-forms.generated.ts (hand-edited; the generator's --merge preserves these):

  • page.type.helpText in en / zh-CN / ja-JP / es-ES → "page kind — list / record / home / app / utility; how a list page looks (grid / kanban / calendar) is a visualization set under Interface, not a page type".
  • Stale zh-CN page.kind.helpText ("页面种类分组(如 record / list / detail)") → matches the English ("record-page override mode: full or slotted").

These bundles override the spec's inline helpText at runtime, so editing page.form.ts alone would not have fixed the displayed Chinese/Japanese/Spanish text.

Verification

  • pnpm --filter @objectstack/spec build (with dts) then tsc --noEmit on @objectstack/platform-objects0 errors from these files (only an unrelated cached-dep dts artifact).
  • Edited strings contain no embedded quotes/escapes; verified single-match replacement per locale.

🤖 Generated with Claude Code

The page `type` field help text listed `dashboard` (and implied grid/kanban/
calendar) as page types — wrong after the ADR-0047 page-type cleanup, where
those are visualizations under Interface, not page kinds. Updated en/zh-CN/
ja-JP/es-ES to "page kind — list/record/home/app/utility; visualizations live
under Interface", and fixed the stale zh-CN `kind` help text (record-page
override mode, not "record/list/detail").
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercelBot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
specReadyReadyPreview, CommentJun 14, 2026 8:59am

Request Review

@github-actionsgithub-actionsBot added documentation Improvements or additions to documentation tooling size/s labels Jun 14, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 5be7102 into mainJun 14, 2026
13 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the fix/i18n-page-type-helptext branch June 14, 2026 09:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentationImprovements or additions to documentationsize/stooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@xuyushun441-sys@os-zhuang