Skip to content

Commit abfec14

Browse files
committed
fix(platform-objects): zh-CN rows for the view form's composite children
Regenerated the metadata-forms catalogs for the newly declared view children and translated every new zh-CN leaf. ja-JP and es-ES carry their own text for the six userFilters.fields row properties (the repeater-row guard refuses an en echo there); their other new leaves are en fills, as the extractor leaves them. Claude-Session: https://claude.ai/code/session_01WGufzjGQVFPCizmQreyKkv Co-authored-by: Claude <noreply@anthropic.com>
1 parent a790887 commit abfec14

6 files changed

Lines changed: 656 additions & 44 deletions

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

Lines changed: 135 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,19 +1154,36 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
11541154
helpText: "Field names available for quick search"
11551155
},
11561156
resizable: {
1157-
label: "Resizable"
1157+
label: "Resizable",
1158+
helpText: "Enable column resizing"
11581159
},
11591160
compactToolbar: {
1160-
label: "Compact Toolbar"
1161+
label: "Compact Toolbar",
1162+
helpText: "Collapse Group/Color/Density/Hide-fields into a single View settings popover"
11611163
},
11621164
rowHeight: {
1163-
label: "Row Height"
1165+
label: "Row Height",
1166+
helpText: "Row height / density setting"
11641167
},
11651168
selection: {
1166-
label: "Selection"
1169+
label: "Selection",
1170+
helpText: "Row selection configuration"
1171+
},
1172+
"selection.type": {
1173+
label: "Type",
1174+
helpText: "Selection mode"
11671175
},
11681176
pagination: {
1169-
label: "Pagination"
1177+
label: "Pagination",
1178+
helpText: "Pagination configuration"
1179+
},
1180+
"pagination.pageSize": {
1181+
label: "Page Size",
1182+
helpText: "Number of records per page. On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and, when the filtered set is larger than it, show a visible truncation signal saying what is on screen is not the whole set"
1183+
},
1184+
"pagination.pageSizeOptions": {
1185+
label: "Page Size Options",
1186+
helpText: "Available page size options"
11701187
},
11711188
kanban: {
11721189
label: "Kanban"
@@ -1190,31 +1207,138 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
11901207
label: "User Filters",
11911208
helpText: "Quick-filter bar: element style (dropdown / tabs / toggle) + exposed fields or tab presets"
11921209
},
1210+
"userFilters.element": {
1211+
label: "Element",
1212+
helpText: "Filter control style on object views: \"dropdown\" (per-field value chips). \"toggle\" is deprecated. \"tabs\" is page-only — use `listViews` for named presets."
1213+
},
1214+
"userFilters.fields": {
1215+
label: "Fields",
1216+
helpText: "Fields exposed as quick filters (dropdown/toggle elements)"
1217+
},
1218+
"userFilters.fields.field": {
1219+
label: "Field"
1220+
},
1221+
"userFilters.fields.label": {
1222+
label: "Label"
1223+
},
1224+
"userFilters.fields.type": {
1225+
label: "Type"
1226+
},
1227+
"userFilters.fields.options": {
1228+
label: "Options"
1229+
},
1230+
"userFilters.fields.showCount": {
1231+
label: "Show Count"
1232+
},
1233+
"userFilters.fields.defaultValues": {
1234+
label: "Default Values"
1235+
},
11931236
appearance: {
11941237
label: "Appearance",
11951238
helpText: "allowedVisualizations: which renderers users may switch between"
11961239
},
1240+
"appearance.showDescription": {
1241+
label: "Show Description",
1242+
helpText: "Show the view description text"
1243+
},
1244+
"appearance.allowedVisualizations": {
1245+
label: "Allowed Visualizations",
1246+
helpText: "Whitelist of visualization types users can switch between (e.g. [\"grid\", \"gallery\", \"kanban\"])"
1247+
},
11971248
userActions: {
11981249
label: "User Actions",
11991250
helpText: "Toolbar toggles: sort / search / filter / row height"
12001251
},
1252+
"userActions.sort": {
1253+
label: "Sort",
1254+
helpText: "Allow users to sort records"
1255+
},
1256+
"userActions.search": {
1257+
label: "Search",
1258+
helpText: "Allow users to search records"
1259+
},
1260+
"userActions.filter": {
1261+
label: "Filter",
1262+
helpText: "Allow users to filter records"
1263+
},
1264+
"userActions.refresh": {
1265+
label: "Refresh",
1266+
helpText: "Allow users to reload the view data from the backend without a full page reload"
1267+
},
1268+
"userActions.rowHeight": {
1269+
label: "Row Height",
1270+
helpText: "Allow users to toggle row height/density"
1271+
},
1272+
"userActions.group": {
1273+
label: "Group",
1274+
helpText: "Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block."
1275+
},
1276+
"userActions.addRecordForm": {
1277+
label: "Add Record Form",
1278+
helpText: "Add records through a form instead of inline"
1279+
},
1280+
"userActions.editInline": {
1281+
label: "Edit Inline",
1282+
helpText: "Allow users to edit records inline. On by default: a user who may update the object edits a cell in place with the field's type-aware widget (the same control the form uses), under the permission gate that already decides whether the object is editable at all. Declare `editInline: false` to make the list read-only in place."
1283+
},
1284+
"userActions.hideFields": {
1285+
label: "Hide Fields",
1286+
helpText: "Allow users to hide/show fields from the toolbar (the affordance behind the view-level `hiddenFields` list). Boolean toggle — distinct from the record-details component's `hideFields`, which is an array of field names to omit. On by default: a reader hides and shows columns for themselves; declare `hideFields: false` to withhold the control."
1287+
},
1288+
"userActions.rowColor": {
1289+
label: "Row Color",
1290+
helpText: "Allow users to configure row colouring from the toolbar. Boolean toggle — the colour rules themselves live in the view-level `rowColor` block. Off by default: row colouring is opt-in."
1291+
},
1292+
"userActions.buttons": {
1293+
label: "Buttons",
1294+
helpText: "Custom action button IDs to show in the toolbar"
1295+
},
12011296
addRecord: {
1202-
label: "Add Record"
1297+
label: "Add Record",
1298+
helpText: "Add record entry point configuration"
12031299
},
12041300
"addRecord.enabled": {
1205-
label: "Enabled"
1301+
label: "Enabled",
1302+
helpText: "Show the add record entry point — REQUIRED: `true` draws the Add button, `false` declares it off"
12061303
},
12071304
"addRecord.position": {
1208-
label: "Position"
1305+
label: "Position",
1306+
helpText: "Position of the add record button: `top` (the toolbar, the default), `bottom` (under the list) or `both`"
12091307
},
12101308
showRecordCount: {
1211-
label: "Show Record Count"
1309+
label: "Show Record Count",
1310+
helpText: "Show record count at the bottom of the list"
12121311
},
12131312
navigation: {
1214-
label: "Navigation"
1313+
label: "Navigation",
1314+
helpText: "Configuration for item click navigation (drawer by default, page, new_window or none)"
1315+
},
1316+
"navigation.mode": {
1317+
label: "Mode"
1318+
},
1319+
"navigation.preventNavigation": {
1320+
label: "Prevent Navigation",
1321+
helpText: "Disable standard navigation entirely"
1322+
},
1323+
"navigation.openNewTab": {
1324+
label: "Open New Tab",
1325+
helpText: "Force open in new tab (applies to page mode)"
1326+
},
1327+
"navigation.size": {
1328+
label: "Size",
1329+
helpText: "Overlay size bucket for the drawer detail: 'auto' (default — renderer derives from field count + viewport; AI writes nothing) or a coarse override sm/md/lg/xl/full. Prefer this over the pixel `width`; page mode ignores it."
1330+
},
1331+
"navigation.width": {
1332+
label: "Width",
1333+
helpText: "[DEPRECATED → size] Pixel/percent width of the drawer (e.g. \"600px\"). A pixel width cannot be chosen at authoring time without knowing the client viewport — use the `size` bucket."
12151334
},
12161335
sharing: {
1217-
label: "Sharing"
1336+
label: "Sharing",
1337+
helpText: "View sharing configuration: who locked the view configuration"
1338+
},
1339+
"sharing.lockedBy": {
1340+
label: "Locked By",
1341+
helpText: "User who locked the view configuration"
12181342
}
12191343
}
12201344
},

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

Lines changed: 135 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,19 +1154,36 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
11541154
helpText: "Nombres de campo disponibles para búsqueda rápida"
11551155
},
11561156
resizable: {
1157-
label: "Redimensionable"
1157+
label: "Redimensionable",
1158+
helpText: "Enable column resizing"
11581159
},
11591160
compactToolbar: {
1160-
label: "Barra compacta"
1161+
label: "Barra compacta",
1162+
helpText: "Collapse Group/Color/Density/Hide-fields into a single View settings popover"
11611163
},
11621164
rowHeight: {
1163-
label: "Altura de fila"
1165+
label: "Altura de fila",
1166+
helpText: "Row height / density setting"
11641167
},
11651168
selection: {
1166-
label: "Selección"
1169+
label: "Selección",
1170+
helpText: "Row selection configuration"
1171+
},
1172+
"selection.type": {
1173+
label: "Type",
1174+
helpText: "Selection mode"
11671175
},
11681176
pagination: {
1169-
label: "Paginación"
1177+
label: "Paginación",
1178+
helpText: "Pagination configuration"
1179+
},
1180+
"pagination.pageSize": {
1181+
label: "Page Size",
1182+
helpText: "Number of records per page. On a view with no pager (kanban, gallery, timeline) it is the fetch ceiling, and the renderer owes two things: bound its fetch at this number, and, when the filtered set is larger than it, show a visible truncation signal saying what is on screen is not the whole set"
1183+
},
1184+
"pagination.pageSizeOptions": {
1185+
label: "Page Size Options",
1186+
helpText: "Available page size options"
11701187
},
11711188
kanban: {
11721189
label: "Configuración Kanban"
@@ -1190,31 +1207,138 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
11901207
label: "Filtros de usuario",
11911208
helpText: "Barra de filtros rápidos: estilo de elemento (dropdown / tabs / toggle) + campos expuestos o preajustes de pestañas"
11921209
},
1210+
"userFilters.element": {
1211+
label: "Element",
1212+
helpText: "Filter control style on object views: \"dropdown\" (per-field value chips). \"toggle\" is deprecated. \"tabs\" is page-only — use `listViews` for named presets."
1213+
},
1214+
"userFilters.fields": {
1215+
label: "Fields",
1216+
helpText: "Fields exposed as quick filters (dropdown/toggle elements)"
1217+
},
1218+
"userFilters.fields.field": {
1219+
label: "Campo"
1220+
},
1221+
"userFilters.fields.label": {
1222+
label: "Etiqueta"
1223+
},
1224+
"userFilters.fields.type": {
1225+
label: "Tipo"
1226+
},
1227+
"userFilters.fields.options": {
1228+
label: "Opciones"
1229+
},
1230+
"userFilters.fields.showCount": {
1231+
label: "Mostrar recuento"
1232+
},
1233+
"userFilters.fields.defaultValues": {
1234+
label: "Valores predeterminados"
1235+
},
11931236
appearance: {
11941237
label: "Apariencia",
11951238
helpText: "allowedVisualizations: qué renderizadores pueden alternar los usuarios"
11961239
},
1240+
"appearance.showDescription": {
1241+
label: "Show Description",
1242+
helpText: "Show the view description text"
1243+
},
1244+
"appearance.allowedVisualizations": {
1245+
label: "Allowed Visualizations",
1246+
helpText: "Whitelist of visualization types users can switch between (e.g. [\"grid\", \"gallery\", \"kanban\"])"
1247+
},
11971248
userActions: {
11981249
label: "Acciones de usuario",
11991250
helpText: "Conmutadores de la barra de herramientas: ordenar / buscar / filtrar / altura de fila"
12001251
},
1252+
"userActions.sort": {
1253+
label: "Sort",
1254+
helpText: "Allow users to sort records"
1255+
},
1256+
"userActions.search": {
1257+
label: "Search",
1258+
helpText: "Allow users to search records"
1259+
},
1260+
"userActions.filter": {
1261+
label: "Filter",
1262+
helpText: "Allow users to filter records"
1263+
},
1264+
"userActions.refresh": {
1265+
label: "Refresh",
1266+
helpText: "Allow users to reload the view data from the backend without a full page reload"
1267+
},
1268+
"userActions.rowHeight": {
1269+
label: "Row Height",
1270+
helpText: "Allow users to toggle row height/density"
1271+
},
1272+
"userActions.group": {
1273+
label: "Group",
1274+
helpText: "Allow users to change record grouping from the toolbar. Toggle only — the grouping itself is configured in the view-level `grouping` block."
1275+
},
1276+
"userActions.addRecordForm": {
1277+
label: "Add Record Form",
1278+
helpText: "Add records through a form instead of inline"
1279+
},
1280+
"userActions.editInline": {
1281+
label: "Edit Inline",
1282+
helpText: "Allow users to edit records inline. On by default: a user who may update the object edits a cell in place with the field's type-aware widget (the same control the form uses), under the permission gate that already decides whether the object is editable at all. Declare `editInline: false` to make the list read-only in place."
1283+
},
1284+
"userActions.hideFields": {
1285+
label: "Hide Fields",
1286+
helpText: "Allow users to hide/show fields from the toolbar (the affordance behind the view-level `hiddenFields` list). Boolean toggle — distinct from the record-details component's `hideFields`, which is an array of field names to omit. On by default: a reader hides and shows columns for themselves; declare `hideFields: false` to withhold the control."
1287+
},
1288+
"userActions.rowColor": {
1289+
label: "Row Color",
1290+
helpText: "Allow users to configure row colouring from the toolbar. Boolean toggle — the colour rules themselves live in the view-level `rowColor` block. Off by default: row colouring is opt-in."
1291+
},
1292+
"userActions.buttons": {
1293+
label: "Buttons",
1294+
helpText: "Custom action button IDs to show in the toolbar"
1295+
},
12011296
addRecord: {
1202-
label: "Agregar registro"
1297+
label: "Agregar registro",
1298+
helpText: "Add record entry point configuration"
12031299
},
12041300
"addRecord.enabled": {
1205-
label: "Habilitado"
1301+
label: "Habilitado",
1302+
helpText: "Show the add record entry point — REQUIRED: `true` draws the Add button, `false` declares it off"
12061303
},
12071304
"addRecord.position": {
1208-
label: "Posición"
1305+
label: "Posición",
1306+
helpText: "Position of the add record button: `top` (the toolbar, the default), `bottom` (under the list) or `both`"
12091307
},
12101308
showRecordCount: {
1211-
label: "Mostrar recuento de registros"
1309+
label: "Mostrar recuento de registros",
1310+
helpText: "Show record count at the bottom of the list"
12121311
},
12131312
navigation: {
1214-
label: "Navegación"
1313+
label: "Navegación",
1314+
helpText: "Configuration for item click navigation (drawer by default, page, new_window or none)"
1315+
},
1316+
"navigation.mode": {
1317+
label: "Mode"
1318+
},
1319+
"navigation.preventNavigation": {
1320+
label: "Prevent Navigation",
1321+
helpText: "Disable standard navigation entirely"
1322+
},
1323+
"navigation.openNewTab": {
1324+
label: "Open New Tab",
1325+
helpText: "Force open in new tab (applies to page mode)"
1326+
},
1327+
"navigation.size": {
1328+
label: "Size",
1329+
helpText: "Overlay size bucket for the drawer detail: 'auto' (default — renderer derives from field count + viewport; AI writes nothing) or a coarse override sm/md/lg/xl/full. Prefer this over the pixel `width`; page mode ignores it."
1330+
},
1331+
"navigation.width": {
1332+
label: "Width",
1333+
helpText: "[DEPRECATED → size] Pixel/percent width of the drawer (e.g. \"600px\"). A pixel width cannot be chosen at authoring time without knowing the client viewport — use the `size` bucket."
12151334
},
12161335
sharing: {
1217-
label: "Compartición"
1336+
label: "Compartición",
1337+
helpText: "View sharing configuration: who locked the view configuration"
1338+
},
1339+
"sharing.lockedBy": {
1340+
label: "Locked By",
1341+
helpText: "User who locked the view configuration"
12181342
}
12191343
}
12201344
},

0 commit comments

Comments
 (0)