Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .changeset/zh-cn-dashboard-gap-source-parity.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
},
gap: {
label: "间距",
helpText: "栅格间距(Tailwind 单位)"
helpText: "组件之间的间距,每级 0.25rem(4 = 1rem)"
},
refreshInterval: {
label: "刷新间隔",
Expand Down
Loading