From b7ff3efc619858974df6ea230e15abbb78cc5741 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 6 Sep 2026 03:16:20 +0000 Subject: [PATCH 1/2] fix(platform-objects): re-translate the zh-CN dashboard `gap` helpText its source moved out from under MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `metadataForms.dashboard.fields.gap.helpText` read 「栅格间距(Tailwind 单位)」 — a faithful translation of `Grid gap (Tailwind units)`, which the source no longer says. `packages/spec/src/ui/dashboard.form.ts:25` now reads `Space between widgets, in steps of 0.25rem (4 = 1rem)`: it dropped the framework unit an app author cannot act on and gained a magnitude the author can compute with. The leaf kept the retired vocabulary and never gained the magnitude, because bundle merge fills gaps only — a present-but-stale leaf is not a gap. Now 「组件之间的间距,每级 0.25rem(4 = 1rem)」: `widgets` is 「组件」 as everywhere else in this bundle, the grid framing is gone as it is upstream, and the conversion is carried so a zh author can size `gap` without reading the English. One leaf. `columns` is deliberately unchanged upstream, so 「栅格列数(默认 12)」 stays accurate, and the rest of the subtree was corrected on 2026-09-03. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ --- .../src/apps/translations/zh-CN.metadata-forms.generated.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a39c5c8863..3e6434ba73 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 @@ -940,7 +940,7 @@ export const zhCNMetadataForms: NonNullable = }, gap: { label: "间距", - helpText: "栅格间距(Tailwind 单位)" + helpText: "组件之间的间距,每级 0.25rem(4 = 1rem)" }, refreshInterval: { label: "刷新间隔", From c93760200cf67c64ba5d89eee3b2725782b46989 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 6 Sep 2026 03:34:38 +0000 Subject: [PATCH 2/2] chore(changeset): patch note for the zh-CN dashboard gap help text Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ --- .../zh-cn-dashboard-gap-source-parity.md | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .changeset/zh-cn-dashboard-gap-source-parity.md diff --git a/.changeset/zh-cn-dashboard-gap-source-parity.md b/.changeset/zh-cn-dashboard-gap-source-parity.md new file mode 100644 index 0000000000..366fcd963c --- /dev/null +++ b/.changeset/zh-cn-dashboard-gap-source-parity.md @@ -0,0 +1,22 @@ +--- +"@objectstack/platform-objects": patch +--- + +fix(platform-objects): the zh-CN `dashboard.gap` help text says what its source now says + +`metadataForms.dashboard.fields.gap.helpText` in `zh-CN.metadata-forms.generated.ts` +read 「栅格间距(Tailwind 单位)」. That was a faithful translation of the source it was +extracted against, `Grid gap (Tailwind units)` — but the source has since been rewritten +to `Space between widgets, in steps of 0.25rem (4 = 1rem)`, which deliberately drops the +CSS framework unit an app author never chose and cannot act on, and adds the magnitude +the author can size a dashboard with. + +The leaf kept the retired vocabulary and never gained the magnitude, because bundle merge +fills gaps only: a present-but-stale leaf is not a gap, so no amount of re-extraction +corrects it. It now reads 「组件之间的间距,每级 0.25rem(4 = 1rem)」 — `widgets` is +「组件」 as it is everywhere else in this bundle, the grid framing is gone exactly as it is +upstream, and the conversion is carried so a zh author can size `gap` without reading the +English. + +One leaf. `columns` is unchanged upstream, so 「栅格列数(默认 12)」 stays accurate, and +the other five leaves of this subtree were corrected separately.