Skip to content

Commit f54d139

Browse files
committed
fix(platform-objects): the es-ES and ja-JP dashboard gap help text says what its source now says
`metadataForms.dashboard.fields.gap.helpText` read `Separación de cuadrícula (unidades Tailwind)` in es-ES and 「グリッド間隔(Tailwind 単位)」 in ja-JP — faithful translations of `Grid gap (Tailwind units)`, a source sentence that no longer exists. The source now reads `Space between widgets, in steps of 0.25rem (4 = 1rem)`: it drops the CSS framework unit an app author never chose, and adds the magnitude the author needs to size a dashboard. Bundle merge fills gaps only, so a present-but-stale leaf is never corrected by re-extraction. Both leaves are rewritten by hand against the current English. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
1 parent 4e090ec commit f54d139

3 files changed

Lines changed: 27 additions & 2 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
"@objectstack/platform-objects": patch
3+
---
4+
5+
fix(platform-objects): the es-ES and ja-JP `dashboard.gap` help text says what its source now says
6+
7+
`metadataForms.dashboard.fields.gap.helpText` read `Separación de cuadrícula (unidades
8+
Tailwind)` in es-ES and 「グリッド間隔(Tailwind 単位)」 in ja-JP. Both were faithful
9+
translations of the source they were extracted against, `Grid gap (Tailwind units)` — but
10+
that source has since been rewritten to `Space between widgets, in steps of 0.25rem
11+
(4 = 1rem)`, which deliberately drops the CSS framework unit an app author never chose and
12+
cannot act on, and adds the magnitude the author can size a dashboard with.
13+
14+
Both leaves kept the retired vocabulary and never gained the magnitude, because bundle
15+
merge fills gaps only: a present-but-stale leaf is not a gap, so no amount of
16+
re-extraction corrects it. They now read `Espacio entre widgets, en incrementos de 0.25rem
17+
(4 = 1rem)` and 「ウィジェット間の間隔、0.25rem 刻み(4 = 1rem)」 — the grid framing is gone
18+
exactly as it is upstream, `widgets` / 「ウィジェット」 is the word each bundle already uses
19+
for dashboard widgets, and the conversion is carried so a Spanish- or Japanese-reading
20+
author can size `gap` without reading the English.
21+
22+
Two leaves. `columns` is unchanged upstream, so `Columnas de cuadrícula (predeterminado
23+
12)` and 「グリッド列(既定 12)」 stay accurate, and the other 13 source-derived prose leaves
24+
of this subtree (5 section descriptions plus 8 further field help texts) were read against
25+
the current English and are accurate in both locales.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
940940
},
941941
gap: {
942942
label: "Separación",
943-
helpText: "Separación de cuadrícula (unidades Tailwind)"
943+
helpText: "Espacio entre widgets, en incrementos de 0.25rem (4 = 1rem)"
944944
},
945945
refreshIntervalSeconds: {
946946
label: "Intervalo de actualización",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
940940
},
941941
gap: {
942942
label: "間隔",
943-
helpText: "グリッド間隔(Tailwind 単位)"
943+
helpText: "ウィジェット間の間隔、0.25rem 刻み(4 = 1rem)"
944944
},
945945
refreshIntervalSeconds: {
946946
label: "更新間隔",

0 commit comments

Comments
 (0)