@open-mercato/core 0.6.6-develop.6529.1.e1de4b3f27 → 0.6.6-develop.6531.1.87e9d31db6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/dist/modules/dictionaries/fields/dictionary.js +56 -41
- package/dist/modules/dictionaries/fields/dictionary.js.map +2 -2
- package/dist/modules/entities/backend/entities/system/[entityId]/page.meta.js +1 -0
- package/dist/modules/entities/backend/entities/system/[entityId]/page.meta.js.map +2 -2
- package/dist/modules/entities/backend/entities/user/[entityId]/page.js +49 -49
- package/dist/modules/entities/backend/entities/user/[entityId]/page.js.map +2 -2
- package/dist/modules/entities/backend/entities/user/[entityId]/page.meta.js +1 -0
- package/dist/modules/entities/backend/entities/user/[entityId]/page.meta.js.map +2 -2
- package/dist/modules/sales/components/documents/AddressesSection.js +6 -2
- package/dist/modules/sales/components/documents/AddressesSection.js.map +2 -2
- package/dist/modules/sales/components/documents/SalesDocumentForm.js +44 -0
- package/dist/modules/sales/components/documents/SalesDocumentForm.js.map +2 -2
- package/dist/modules/sales/components/documents/ShipmentDialog.js +59 -38
- package/dist/modules/sales/components/documents/ShipmentDialog.js.map +2 -2
- package/package.json +7 -7
- package/src/modules/dictionaries/fields/dictionary.tsx +55 -32
- package/src/modules/dictionaries/i18n/de.json +2 -0
- package/src/modules/dictionaries/i18n/en.json +2 -0
- package/src/modules/dictionaries/i18n/es.json +2 -0
- package/src/modules/dictionaries/i18n/pl.json +2 -0
- package/src/modules/entities/backend/entities/system/[entityId]/page.meta.ts +1 -0
- package/src/modules/entities/backend/entities/user/[entityId]/page.meta.ts +1 -0
- package/src/modules/entities/backend/entities/user/[entityId]/page.tsx +51 -49
- package/src/modules/entities/i18n/de.json +34 -0
- package/src/modules/entities/i18n/en.json +34 -0
- package/src/modules/entities/i18n/es.json +34 -0
- package/src/modules/entities/i18n/pl.json +34 -0
- package/src/modules/sales/components/documents/AddressesSection.tsx +6 -2
- package/src/modules/sales/components/documents/SalesDocumentForm.tsx +46 -0
- package/src/modules/sales/components/documents/ShipmentDialog.tsx +65 -40
|
@@ -90,9 +90,12 @@ function DictionaryFieldDefEditor({ def, onChange }: { def: { configJson?: Dicti
|
|
|
90
90
|
const [error, setError] = React.useState<string | null>(null)
|
|
91
91
|
const multiId = React.useId()
|
|
92
92
|
const inlineCreateId = React.useId()
|
|
93
|
+
const inlineCreateHintId = React.useId()
|
|
94
|
+
const defaultValueHintId = React.useId()
|
|
93
95
|
const selectedId = typeof def?.configJson?.dictionaryId === 'string' ? def?.configJson?.dictionaryId : ''
|
|
94
96
|
const inlineCreate = def?.configJson?.dictionaryInlineCreate !== false
|
|
95
97
|
const isMulti = def?.configJson?.multi === true
|
|
98
|
+
const inlineCreateDisabled = !selectedId || isMulti
|
|
96
99
|
const errorLoadLabel = t('dictionaries.customFields.errorLoad', 'Failed to load dictionaries.')
|
|
97
100
|
|
|
98
101
|
React.useEffect(() => {
|
|
@@ -181,45 +184,65 @@ function DictionaryFieldDefEditor({ def, onChange }: { def: { configJson?: Dicti
|
|
|
181
184
|
</a>
|
|
182
185
|
</div>
|
|
183
186
|
) : null}
|
|
184
|
-
<div className="
|
|
185
|
-
<
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
<
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
187
|
+
<div className="space-y-2">
|
|
188
|
+
<div className="flex flex-col gap-2 sm:flex-row sm:flex-wrap sm:items-center sm:gap-x-4">
|
|
189
|
+
<div className="inline-flex items-center gap-2 text-xs">
|
|
190
|
+
<Checkbox
|
|
191
|
+
id={multiId}
|
|
192
|
+
checked={isMulti}
|
|
193
|
+
onCheckedChange={(checked) => {
|
|
194
|
+
const enabled = checked === true
|
|
195
|
+
onChange({ multi: enabled, defaultValue: enabled ? undefined : def?.configJson?.defaultValue })
|
|
196
|
+
}}
|
|
197
|
+
disabled={!selectedId}
|
|
198
|
+
/>
|
|
199
|
+
<label
|
|
200
|
+
htmlFor={multiId}
|
|
201
|
+
className={selectedId ? 'cursor-pointer select-none' : 'cursor-not-allowed opacity-60'}
|
|
202
|
+
>
|
|
203
|
+
{t('dictionaries.customFields.allowMultiple', 'Allow selecting multiple entries')}
|
|
204
|
+
</label>
|
|
205
|
+
</div>
|
|
206
|
+
<div className="inline-flex items-center gap-2 text-xs">
|
|
207
|
+
<Checkbox
|
|
208
|
+
id={inlineCreateId}
|
|
209
|
+
checked={!isMulti && inlineCreate}
|
|
210
|
+
onCheckedChange={(checked) => onChange({ dictionaryInlineCreate: checked === true })}
|
|
211
|
+
disabled={inlineCreateDisabled}
|
|
212
|
+
aria-describedby={isMulti ? inlineCreateHintId : undefined}
|
|
213
|
+
/>
|
|
214
|
+
<label
|
|
215
|
+
htmlFor={inlineCreateId}
|
|
216
|
+
className={!inlineCreateDisabled ? 'cursor-pointer select-none' : 'cursor-not-allowed opacity-60'}
|
|
217
|
+
>
|
|
218
|
+
{t('dictionaries.customFields.allowInlineCreate', 'Allow inline creation inside forms')}
|
|
219
|
+
</label>
|
|
220
|
+
</div>
|
|
215
221
|
</div>
|
|
216
|
-
|
|
222
|
+
{isMulti ? (
|
|
223
|
+
<p id={inlineCreateHintId} className="text-xs text-muted-foreground">
|
|
224
|
+
{t(
|
|
225
|
+
'dictionaries.customFields.inlineCreateSingleOnly',
|
|
226
|
+
'Inline creation is available for single-entry dictionary fields only.',
|
|
227
|
+
)}
|
|
228
|
+
</p>
|
|
229
|
+
) : null}
|
|
230
|
+
</div>
|
|
217
231
|
{selectedId && !isMulti ? (
|
|
218
232
|
<DictionaryDefaultSelector
|
|
219
233
|
dictionaryId={selectedId}
|
|
220
234
|
defaultValue={typeof def?.configJson?.defaultValue === 'string' ? def.configJson.defaultValue : ''}
|
|
221
235
|
onChange={(value) => onChange({ defaultValue: value || undefined })}
|
|
222
236
|
/>
|
|
237
|
+
) : selectedId && isMulti ? (
|
|
238
|
+
<div className="inline-flex items-center gap-2 text-xs">
|
|
239
|
+
<p id={defaultValueHintId} className="text-xs text-muted-foreground">
|
|
240
|
+
{t(
|
|
241
|
+
'dictionaries.customFields.defaultValueMultiUnavailable',
|
|
242
|
+
'Default values are not available for multi-select dictionary fields.',
|
|
243
|
+
)}
|
|
244
|
+
</p>
|
|
245
|
+
</div>
|
|
223
246
|
) : null}
|
|
224
247
|
</div>
|
|
225
248
|
)
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"dictionaries.customFields.allowInlineCreate": "Inline-Erstellung in Formularen erlauben",
|
|
83
83
|
"dictionaries.customFields.allowMultiple": "Mehrere Einträge auswählen erlauben",
|
|
84
84
|
"dictionaries.customFields.defaultValue": "Standardwert",
|
|
85
|
+
"dictionaries.customFields.defaultValueMultiUnavailable": "Standardwerte sind für Wörterbuchfelder mit Mehrfachauswahl nicht verfügbar.",
|
|
85
86
|
"dictionaries.customFields.defaultValueNone": "Kein Standardwert",
|
|
86
87
|
"dictionaries.customFields.defaultValueStale": "Standardeintrag nicht gefunden — er wurde möglicherweise gelöscht oder umbenannt.",
|
|
87
88
|
"dictionaries.customFields.dictionaryLabel": "Quelle des Wörterbuchs",
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
"dictionaries.customFields.empty": "Noch keine Wörterbücher verfügbar. Erstellen Sie zuerst eines.",
|
|
90
91
|
"dictionaries.customFields.errorLoad": "Wörterbücher konnten nicht geladen werden.",
|
|
91
92
|
"dictionaries.customFields.inactive": "inaktiv",
|
|
93
|
+
"dictionaries.customFields.inlineCreateSingleOnly": "Inline-Erstellung ist nur für Wörterbuchfelder mit Einzelauswahl verfügbar.",
|
|
92
94
|
"dictionaries.customFields.loading": "Wörterbücher werden geladen…",
|
|
93
95
|
"dictionaries.customFields.manageLink": "Wörterbücher verwalten",
|
|
94
96
|
"dictionaries.customFields.selectedHint": "Einträge aus diesem Wörterbuch füllen das Feld.",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"dictionaries.customFields.allowInlineCreate": "Allow inline creation inside forms",
|
|
83
83
|
"dictionaries.customFields.allowMultiple": "Allow selecting multiple entries",
|
|
84
84
|
"dictionaries.customFields.defaultValue": "Default value",
|
|
85
|
+
"dictionaries.customFields.defaultValueMultiUnavailable": "Default values are not available for multi-select dictionary fields.",
|
|
85
86
|
"dictionaries.customFields.defaultValueNone": "No default",
|
|
86
87
|
"dictionaries.customFields.defaultValueStale": "Default entry not found — it may have been deleted or renamed.",
|
|
87
88
|
"dictionaries.customFields.dictionaryLabel": "Dictionary source",
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
"dictionaries.customFields.empty": "No dictionaries available yet. Create one first.",
|
|
90
91
|
"dictionaries.customFields.errorLoad": "Failed to load dictionaries.",
|
|
91
92
|
"dictionaries.customFields.inactive": "inactive",
|
|
93
|
+
"dictionaries.customFields.inlineCreateSingleOnly": "Inline creation is available for single-entry dictionary fields only.",
|
|
92
94
|
"dictionaries.customFields.loading": "Loading dictionaries…",
|
|
93
95
|
"dictionaries.customFields.manageLink": "Manage dictionaries",
|
|
94
96
|
"dictionaries.customFields.selectedHint": "Entries from this dictionary populate the field.",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"dictionaries.customFields.allowInlineCreate": "Permitir creación en línea dentro de los formularios",
|
|
83
83
|
"dictionaries.customFields.allowMultiple": "Permitir seleccionar varias entradas",
|
|
84
84
|
"dictionaries.customFields.defaultValue": "Valor predeterminado",
|
|
85
|
+
"dictionaries.customFields.defaultValueMultiUnavailable": "Los valores predeterminados no están disponibles para campos de diccionario con selección múltiple.",
|
|
85
86
|
"dictionaries.customFields.defaultValueNone": "Sin valor predeterminado",
|
|
86
87
|
"dictionaries.customFields.defaultValueStale": "No se encontró la entrada predeterminada; puede haber sido eliminada o renombrada.",
|
|
87
88
|
"dictionaries.customFields.dictionaryLabel": "Fuente del diccionario",
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
"dictionaries.customFields.empty": "Aún no hay diccionarios disponibles. Crea uno primero.",
|
|
90
91
|
"dictionaries.customFields.errorLoad": "No se pudieron cargar los diccionarios.",
|
|
91
92
|
"dictionaries.customFields.inactive": "inactivo",
|
|
93
|
+
"dictionaries.customFields.inlineCreateSingleOnly": "La creación en línea solo está disponible para campos de diccionario de una sola entrada.",
|
|
92
94
|
"dictionaries.customFields.loading": "Cargando diccionarios…",
|
|
93
95
|
"dictionaries.customFields.manageLink": "Administrar diccionarios",
|
|
94
96
|
"dictionaries.customFields.selectedHint": "Las entradas de este diccionario rellenarán el campo.",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"dictionaries.customFields.allowInlineCreate": "Zezwól na tworzenie w formularzach",
|
|
83
83
|
"dictionaries.customFields.allowMultiple": "Zezwól na wybór wielu wpisów",
|
|
84
84
|
"dictionaries.customFields.defaultValue": "Wartość domyślna",
|
|
85
|
+
"dictionaries.customFields.defaultValueMultiUnavailable": "Wartości domyślne nie są dostępne dla wielokrotnego wyboru wpisów słownika.",
|
|
85
86
|
"dictionaries.customFields.defaultValueNone": "Brak wartości domyślnej",
|
|
86
87
|
"dictionaries.customFields.defaultValueStale": "Nie znaleziono domyślnego wpisu — mógł zostać usunięty albo przemianowany.",
|
|
87
88
|
"dictionaries.customFields.dictionaryLabel": "Źródło słownika",
|
|
@@ -89,6 +90,7 @@
|
|
|
89
90
|
"dictionaries.customFields.empty": "Brak dostępnych słowników. Najpierw utwórz jeden.",
|
|
90
91
|
"dictionaries.customFields.errorLoad": "Nie udało się wczytać słowników.",
|
|
91
92
|
"dictionaries.customFields.inactive": "nieaktywne",
|
|
93
|
+
"dictionaries.customFields.inlineCreateSingleOnly": "Tworzenie wpisów w formularzu jest dostępne tylko dla pól z pojedynczym wyborem.",
|
|
92
94
|
"dictionaries.customFields.loading": "Ładowanie słowników…",
|
|
93
95
|
"dictionaries.customFields.manageLink": "Zarządzaj słownikami",
|
|
94
96
|
"dictionaries.customFields.selectedHint": "Wpisy z tego słownika uzupełnią pole.",
|
|
@@ -167,7 +167,7 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
167
167
|
const entJson = await readApiResultOrThrow<EntitiesListResponse>(
|
|
168
168
|
'/api/entities/entities',
|
|
169
169
|
undefined,
|
|
170
|
-
{ errorMessage: 'Failed to load entity metadata', fallback: { items: [] } },
|
|
170
|
+
{ errorMessage: t('entities.userEntities.edit.errors.loadMetadataFailed', 'Failed to load entity metadata'), fallback: { items: [] } },
|
|
171
171
|
)
|
|
172
172
|
const ent = (entJson.items || []).find((x: any) => x.entityId === entityId)
|
|
173
173
|
if (mounted) {
|
|
@@ -197,7 +197,7 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
197
197
|
const json = await readApiResultOrThrow<DefinitionsManageResponse>(
|
|
198
198
|
`/api/entities/definitions.manage?entityId=${encodeURIComponent(entityId)}`,
|
|
199
199
|
undefined,
|
|
200
|
-
{ errorMessage: 'Failed to load entity definitions', fallback: { items: [], deletedKeys: [] } },
|
|
200
|
+
{ errorMessage: t('entities.userEntities.edit.errors.loadDefinitionsFailed', 'Failed to load entity definitions'), fallback: { items: [], deletedKeys: [] } },
|
|
201
201
|
)
|
|
202
202
|
if (mounted) {
|
|
203
203
|
const loaded: Def[] = (json.items || []).map((d: any) => ({ key: d.key, kind: d.kind, configJson: d.configJson || {}, isActive: d.isActive !== false }))
|
|
@@ -220,14 +220,14 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
220
220
|
setSingleFieldsetPerRecord(json.settings?.singleFieldsetPerRecord !== false)
|
|
221
221
|
}
|
|
222
222
|
} catch (e: any) {
|
|
223
|
-
if (mounted) setError(e.message || 'Failed to load')
|
|
223
|
+
if (mounted) setError(e.message || t('entities.userEntities.edit.errors.loadFailed', 'Failed to load'))
|
|
224
224
|
} finally {
|
|
225
225
|
if (mounted) setLoading(false)
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
if (entityId) load()
|
|
229
229
|
return () => { mounted = false }
|
|
230
|
-
}, [entityId])
|
|
230
|
+
}, [entityId, t])
|
|
231
231
|
|
|
232
232
|
function addField() {
|
|
233
233
|
setDefs((arr) => [
|
|
@@ -249,13 +249,13 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
249
249
|
body: JSON.stringify({ entityId, key }),
|
|
250
250
|
})
|
|
251
251
|
if (!call.ok) {
|
|
252
|
-
await raiseCrudError(call.response, 'Failed to restore field')
|
|
252
|
+
await raiseCrudError(call.response, t('entities.userEntities.edit.errors.restoreFieldFailed', 'Failed to restore field'))
|
|
253
253
|
}
|
|
254
254
|
// Reload definitions & deleted keys
|
|
255
255
|
const j2 = await readApiResultOrThrow<DefinitionsManageResponse>(
|
|
256
256
|
`/api/entities/definitions.manage?entityId=${encodeURIComponent(entityId)}`,
|
|
257
257
|
undefined,
|
|
258
|
-
{ errorMessage: 'Failed to reload field definitions', fallback: { items: [], deletedKeys: [] } },
|
|
258
|
+
{ errorMessage: t('entities.userEntities.edit.errors.reloadDefinitionsFailed', 'Failed to reload field definitions'), fallback: { items: [], deletedKeys: [] } },
|
|
259
259
|
)
|
|
260
260
|
const loaded: Def[] = (j2.items || []).map((d: any) => ({ key: d.key, kind: d.kind, configJson: d.configJson || {}, isActive: d.isActive !== false }))
|
|
261
261
|
loaded.sort(
|
|
@@ -264,10 +264,10 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
264
264
|
setDefs(loaded)
|
|
265
265
|
setDefsVersion(readVersionToken(j2.version))
|
|
266
266
|
setDeletedKeys(Array.isArray(j2.deletedKeys) ? j2.deletedKeys : [])
|
|
267
|
-
flash(
|
|
267
|
+
flash(t('entities.userEntities.edit.flash.restoredField', 'Restored {{key}}', { key }), 'success')
|
|
268
268
|
await invalidateCustomFieldDefs(queryClient, entityId)
|
|
269
269
|
} catch (e: any) {
|
|
270
|
-
flash(e?.message || 'Failed to restore field', 'error')
|
|
270
|
+
flash(e?.message || t('entities.userEntities.edit.errors.restoreFieldFailed', 'Failed to restore field'), 'error')
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
|
|
@@ -276,8 +276,8 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
276
276
|
setError(null)
|
|
277
277
|
try {
|
|
278
278
|
if (!validateAll()) {
|
|
279
|
-
flash('Please fix validation errors in field definitions', 'error')
|
|
280
|
-
throw new Error('Validation failed')
|
|
279
|
+
flash(t('entities.customFields.errors.validation', 'Please fix validation errors in field definitions.'), 'error')
|
|
280
|
+
throw new Error(t('entities.userEntities.edit.errors.validationFailed', 'Validation failed'))
|
|
281
281
|
}
|
|
282
282
|
const payload = {
|
|
283
283
|
entityId,
|
|
@@ -298,13 +298,13 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
298
298
|
)
|
|
299
299
|
if (!call.ok) {
|
|
300
300
|
if (surfaceRecordConflict({ status: call.status, body: call.result }, t)) return
|
|
301
|
-
await raiseCrudError(call.response, 'Failed to save definitions')
|
|
301
|
+
await raiseCrudError(call.response, t('entities.customFields.errors.saveFailed', 'Failed to save field definitions.'))
|
|
302
302
|
}
|
|
303
303
|
setDefsVersion(readVersionToken(call.result?.version))
|
|
304
304
|
await invalidateCustomFieldDefs(queryClient, entityId)
|
|
305
|
-
router.push(`/backend/entities/user?flash
|
|
305
|
+
router.push(`/backend/entities/user?flash=${encodeURIComponent(t('entities.customFields.flash.saved', 'Definitions saved'))}&type=success`)
|
|
306
306
|
} catch (e: any) {
|
|
307
|
-
setError(e.message || 'Failed to save')
|
|
307
|
+
setError(e.message || t('entities.customFields.errors.saveFailed', 'Failed to save field definitions.'))
|
|
308
308
|
} finally {
|
|
309
309
|
setSaving(false)
|
|
310
310
|
}
|
|
@@ -321,13 +321,13 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
321
321
|
body: JSON.stringify({ entityId, key: def.key }),
|
|
322
322
|
})
|
|
323
323
|
if (!call.ok) {
|
|
324
|
-
await raiseCrudError(call.response, 'Failed to delete field')
|
|
324
|
+
await raiseCrudError(call.response, t('entities.customFields.errors.deleteFailed', 'Failed to delete field.'))
|
|
325
325
|
}
|
|
326
326
|
// Keep the optimistic-lock token in sync after an out-of-band delete so a
|
|
327
327
|
// later Save does not falsely 409 against our own change (issue #3152).
|
|
328
328
|
setDefsVersion(readVersionToken(call.result?.version))
|
|
329
329
|
} catch (error) {
|
|
330
|
-
const message = error instanceof Error ? error.message : 'Failed to delete field'
|
|
330
|
+
const message = error instanceof Error ? error.message : t('entities.customFields.errors.deleteFailed', 'Failed to delete field.')
|
|
331
331
|
flash(message, 'error')
|
|
332
332
|
return
|
|
333
333
|
}
|
|
@@ -372,7 +372,7 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
372
372
|
setOrderSaving(true)
|
|
373
373
|
try {
|
|
374
374
|
// Do not save order when there are invalid keys/kinds
|
|
375
|
-
if (!validateAll()) throw new Error('Validation failed')
|
|
375
|
+
if (!validateAll()) throw new Error(t('entities.userEntities.edit.errors.validationFailed', 'Validation failed'))
|
|
376
376
|
const payload = {
|
|
377
377
|
entityId,
|
|
378
378
|
definitions: defs.filter(d => !!d.key).map((d) => ({
|
|
@@ -396,14 +396,14 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
396
396
|
setOrderDirty(false)
|
|
397
397
|
return
|
|
398
398
|
}
|
|
399
|
-
await raiseCrudError(call.response, 'Failed to save order')
|
|
399
|
+
await raiseCrudError(call.response, t('entities.userEntities.edit.errors.saveOrderFailed', 'Failed to save order'))
|
|
400
400
|
}
|
|
401
401
|
setDefsVersion(readVersionToken(call.result?.version))
|
|
402
402
|
setOrderDirty(false)
|
|
403
|
-
flash('Order saved', 'success')
|
|
403
|
+
flash(t('entities.userEntities.edit.flash.orderSaved', 'Order saved'), 'success')
|
|
404
404
|
await invalidateCustomFieldDefs(queryClient, entityId)
|
|
405
405
|
} catch (e: any) {
|
|
406
|
-
flash(e?.message || 'Failed to save order', 'error')
|
|
406
|
+
flash(e?.message || t('entities.userEntities.edit.errors.saveOrderFailed', 'Failed to save order'), 'error')
|
|
407
407
|
} finally {
|
|
408
408
|
setOrderSaving(false)
|
|
409
409
|
}
|
|
@@ -423,21 +423,21 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
423
423
|
|
|
424
424
|
const metadataFieldsReadOnly = entitySource === 'code'
|
|
425
425
|
const fields: CrudField[] = [
|
|
426
|
-
{ id: 'label', label: 'Label', type: 'text', required: true, readOnly: metadataFieldsReadOnly },
|
|
427
|
-
{ id: 'description', label: 'Description', type: 'textarea', readOnly: metadataFieldsReadOnly },
|
|
426
|
+
{ id: 'label', label: t('entities.userEntities.form.label.label', 'Label'), type: 'text', required: true, readOnly: metadataFieldsReadOnly },
|
|
427
|
+
{ id: 'description', label: t('entities.userEntities.form.description.label', 'Description'), type: 'textarea', readOnly: metadataFieldsReadOnly },
|
|
428
428
|
{
|
|
429
429
|
id: 'defaultEditor',
|
|
430
|
-
label: 'Default Editor (multiline)',
|
|
430
|
+
label: t('entities.userEntities.form.defaultEditor.label', 'Default Editor (multiline)'),
|
|
431
431
|
type: 'select',
|
|
432
432
|
readOnly: metadataFieldsReadOnly,
|
|
433
433
|
options: [
|
|
434
|
-
{ value: '', label: 'Default (Markdown)' },
|
|
435
|
-
{ value: 'markdown', label: 'Markdown (UIW)' },
|
|
436
|
-
{ value: 'simpleMarkdown', label: 'Simple Markdown' },
|
|
437
|
-
{ value: 'htmlRichText', label: 'HTML Rich Text' },
|
|
434
|
+
{ value: '', label: t('entities.userEntities.form.defaultEditor.options.default', 'Default (Markdown)') },
|
|
435
|
+
{ value: 'markdown', label: t('entities.userEntities.form.defaultEditor.options.markdown', 'Markdown (UIW)') },
|
|
436
|
+
{ value: 'simpleMarkdown', label: t('entities.userEntities.form.defaultEditor.options.simpleMarkdown', 'Simple Markdown') },
|
|
437
|
+
{ value: 'htmlRichText', label: t('entities.userEntities.form.defaultEditor.options.htmlRichText', 'HTML Rich Text') },
|
|
438
438
|
],
|
|
439
439
|
} as any,
|
|
440
|
-
...(entitySource === 'custom' ? [{ id: 'showInSidebar', label: 'Show in sidebar', type: 'checkbox' }] : []),
|
|
440
|
+
...(entitySource === 'custom' ? [{ id: 'showInSidebar', label: t('entities.userEntities.form.showInSidebar.label', 'Show in sidebar'), type: 'checkbox' }] : []),
|
|
441
441
|
]
|
|
442
442
|
const renderFieldDefinitions = React.useCallback(() => (
|
|
443
443
|
<FieldDefinitionsEditor
|
|
@@ -474,7 +474,7 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
474
474
|
})
|
|
475
475
|
setOrderDirty(true)
|
|
476
476
|
}}
|
|
477
|
-
orderNotice={orderDirty ? { dirty: true, saving: orderSaving, message: 'Reordered
|
|
477
|
+
orderNotice={orderDirty ? { dirty: true, saving: orderSaving, message: t('entities.userEntities.edit.orderNotice', 'Reordered - will auto-save on blur') } : undefined}
|
|
478
478
|
addButtonLabel={t('entities.customFields.editor.addField', 'Add Field')}
|
|
479
479
|
translate={t}
|
|
480
480
|
listRef={listRef}
|
|
@@ -491,22 +491,22 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
491
491
|
}}
|
|
492
492
|
/>
|
|
493
493
|
),
|
|
494
|
-
[defs, defErrors, deletedKeys, fieldsets, activeFieldset, singleFieldsetPerRecord, orderDirty, orderSaving, addField, removeField, restoreField, saveOrderIfDirty])
|
|
494
|
+
[defs, defErrors, deletedKeys, fieldsets, activeFieldset, singleFieldsetPerRecord, orderDirty, orderSaving, addField, removeField, restoreField, saveOrderIfDirty, t])
|
|
495
495
|
|
|
496
|
-
const definitionsGroup: CrudFormGroup = { id: 'definitions', title: 'Field Definitions', column: 1, component: renderFieldDefinitions }
|
|
496
|
+
const definitionsGroup: CrudFormGroup = { id: 'definitions', title: t('entities.userEntities.edit.groups.definitions', 'Field Definitions'), column: 1, component: renderFieldDefinitions }
|
|
497
497
|
|
|
498
498
|
const groups: CrudFormGroup[] = [
|
|
499
|
-
{ id: 'settings', title: 'Entity Settings', column: 1, fields: entitySource === 'custom' ? ['label','description','defaultEditor','showInSidebar'] : ['label','description','defaultEditor'] },
|
|
499
|
+
{ id: 'settings', title: t('entities.userEntities.edit.groups.settings', 'Entity Settings'), column: 1, fields: entitySource === 'custom' ? ['label','description','defaultEditor','showInSidebar'] : ['label','description','defaultEditor'] },
|
|
500
500
|
definitionsGroup,
|
|
501
501
|
]
|
|
502
502
|
|
|
503
503
|
const handleCrudFormSubmit = React.useCallback(async (vals: Record<string, unknown>) => {
|
|
504
504
|
if (!entityId) {
|
|
505
|
-
throw createCrudFormError('Invalid entity ID')
|
|
505
|
+
throw createCrudFormError(t('entities.userEntities.edit.errors.invalidEntityId', 'Invalid entity ID'))
|
|
506
506
|
}
|
|
507
507
|
if (!validateAll()) {
|
|
508
|
-
flash('Please fix validation errors in field definitions', 'error')
|
|
509
|
-
throw createCrudFormError('Please fix validation errors in field definitions')
|
|
508
|
+
flash(t('entities.customFields.errors.validation', 'Please fix validation errors in field definitions.'), 'error')
|
|
509
|
+
throw createCrudFormError(t('entities.customFields.errors.validation', 'Please fix validation errors in field definitions.'))
|
|
510
510
|
}
|
|
511
511
|
// Code-declared system entities are not registered as custom entities — their
|
|
512
512
|
// metadata is owned by code and `POST /api/entities/entities` is fail-closed for
|
|
@@ -514,14 +514,14 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
514
514
|
// skip the registration call and persist definitions below.
|
|
515
515
|
if (shouldRegisterEntityMetadata(entitySource)) {
|
|
516
516
|
const entityPayload = buildEntityMetadataPayload(entitySource, vals)
|
|
517
|
-
if (!entityPayload) throw createCrudFormError('Validation failed')
|
|
517
|
+
if (!entityPayload) throw createCrudFormError(t('entities.userEntities.edit.errors.validationFailed', 'Validation failed'))
|
|
518
518
|
const callEntity = await apiCall('/api/entities/entities', {
|
|
519
519
|
method: 'POST',
|
|
520
520
|
headers: { 'content-type': 'application/json' },
|
|
521
521
|
body: JSON.stringify({ entityId, ...entityPayload }),
|
|
522
522
|
})
|
|
523
523
|
if (!callEntity.ok) {
|
|
524
|
-
await raiseCrudError(callEntity.response, 'Failed to save entity')
|
|
524
|
+
await raiseCrudError(callEntity.response, t('entities.userEntities.edit.errors.saveEntityFailed', 'Failed to save entity'))
|
|
525
525
|
}
|
|
526
526
|
try { window.dispatchEvent(new Event('om:refresh-sidebar')) } catch {}
|
|
527
527
|
}
|
|
@@ -543,13 +543,13 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
543
543
|
}),
|
|
544
544
|
)
|
|
545
545
|
if (!callDefs.ok) {
|
|
546
|
-
await raiseCrudError(callDefs.response, 'Failed to save definitions')
|
|
546
|
+
await raiseCrudError(callDefs.response, t('entities.customFields.errors.saveFailed', 'Failed to save field definitions.'))
|
|
547
547
|
}
|
|
548
548
|
setDefsVersion(readVersionToken(callDefs.result?.version))
|
|
549
549
|
try { window.dispatchEvent(new Event('om:refresh-sidebar')) } catch {}
|
|
550
550
|
await invalidateCustomFieldDefs(queryClient, entityId)
|
|
551
|
-
flash('Definitions saved', 'success')
|
|
552
|
-
}, [buildFieldsetPayload, defs, defsVersion, entityId, entitySource, queryClient, singleFieldsetPerRecord, validateAll])
|
|
551
|
+
flash(t('entities.customFields.flash.saved', 'Definitions saved'), 'success')
|
|
552
|
+
}, [buildFieldsetPayload, defs, defsVersion, entityId, entitySource, queryClient, singleFieldsetPerRecord, t, validateAll])
|
|
553
553
|
|
|
554
554
|
if (!entityId) {
|
|
555
555
|
return (
|
|
@@ -557,8 +557,8 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
557
557
|
<PageBody>
|
|
558
558
|
<div className="p-6">
|
|
559
559
|
<Alert variant="destructive">
|
|
560
|
-
<AlertTitle>Invalid entity</AlertTitle>
|
|
561
|
-
<AlertDescription>The requested entity ID is missing or invalid
|
|
560
|
+
<AlertTitle>{t('entities.userEntities.edit.errors.invalidEntityTitle', 'Invalid entity')}</AlertTitle>
|
|
561
|
+
<AlertDescription>{t('entities.userEntities.edit.errors.invalidEntityDescription', 'The requested entity ID is missing or invalid.')}</AlertDescription>
|
|
562
562
|
</Alert>
|
|
563
563
|
</div>
|
|
564
564
|
</PageBody>
|
|
@@ -571,12 +571,12 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
571
571
|
<div className="p-4">
|
|
572
572
|
<CrudForm
|
|
573
573
|
schema={entityFormSchema}
|
|
574
|
-
title={
|
|
574
|
+
title={t('entities.userEntities.edit.fieldsetTitle', 'Edit fieldset: {{name}}', { name: requestedFieldset ?? entityId })}
|
|
575
575
|
fields={[]}
|
|
576
576
|
groups={[definitionsGroup]}
|
|
577
577
|
initialValues={entityInitial as any}
|
|
578
578
|
isLoading={entityFormLoading || loading}
|
|
579
|
-
submitLabel=
|
|
579
|
+
submitLabel={t('entities.userEntities.records.form.submitSave', 'Save')}
|
|
580
580
|
deleteVisible={false}
|
|
581
581
|
backHref={undefined}
|
|
582
582
|
cancelHref={undefined}
|
|
@@ -592,30 +592,32 @@ export default function EditDefinitionsPage({ params }: { params?: { entityId?:
|
|
|
592
592
|
<PageBody>
|
|
593
593
|
<CrudForm
|
|
594
594
|
schema={entityFormSchema}
|
|
595
|
-
title={
|
|
595
|
+
title={t('entities.userEntities.edit.title', 'Edit Entity: {{entityId}}', { entityId })}
|
|
596
596
|
backHref={entitySource === 'code' ? "/backend/entities/system" : "/backend/entities/user"}
|
|
597
597
|
fields={fields}
|
|
598
598
|
groups={groups}
|
|
599
599
|
initialValues={entityInitial as any}
|
|
600
600
|
isLoading={entityFormLoading || loading}
|
|
601
|
-
submitLabel=
|
|
601
|
+
submitLabel={t('entities.userEntities.records.form.submitSave', 'Save')}
|
|
602
602
|
deleteVisible={entitySource === 'custom'}
|
|
603
603
|
extraActions={entitySource === 'custom' ? (
|
|
604
604
|
<Button variant="outline" asChild>
|
|
605
605
|
<Link href={`/backend/entities/user/${encodeURIComponent(entityId)}/records`}>
|
|
606
|
-
Show Records
|
|
606
|
+
{t('entities.userEntities.edit.showRecords', 'Show Records')}
|
|
607
607
|
</Link>
|
|
608
608
|
</Button>
|
|
609
609
|
) : null}
|
|
610
610
|
cancelHref={entitySource === 'code' ? "/backend/entities/system" : "/backend/entities/user"}
|
|
611
|
-
successRedirect={entitySource === 'code'
|
|
611
|
+
successRedirect={entitySource === 'code'
|
|
612
|
+
? `/backend/entities/system?flash=${encodeURIComponent(t('entities.customFields.flash.saved', 'Definitions saved'))}&type=success`
|
|
613
|
+
: `/backend/entities/user?flash=${encodeURIComponent(t('entities.customFields.flash.saved', 'Definitions saved'))}&type=success`}
|
|
612
614
|
onSubmit={handleCrudFormSubmit}
|
|
613
615
|
onDelete={entitySource === 'custom' ? async () => {
|
|
614
616
|
const callDelete = await apiCall('/api/entities/entities', { method: 'DELETE', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ entityId }) })
|
|
615
617
|
if (!callDelete.ok) {
|
|
616
|
-
await raiseCrudError(callDelete.response, 'Failed to delete entity')
|
|
618
|
+
await raiseCrudError(callDelete.response, t('entities.userEntities.edit.errors.deleteEntityFailed', 'Failed to delete entity'))
|
|
617
619
|
}
|
|
618
|
-
flash('Entity deleted', 'success')
|
|
620
|
+
flash(t('entities.userEntities.edit.flash.entityDeleted', 'Entity deleted'), 'success')
|
|
619
621
|
try { window.dispatchEvent(new Event('om:refresh-sidebar')) } catch {}
|
|
620
622
|
} : undefined}
|
|
621
623
|
/>
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"entities.customFields.editor.noFieldsets": "Noch keine Feldgruppen definiert. Mit Feldgruppen lassen sich benutzerdefinierte Felder für verschiedene Varianten derselben Entität gruppieren (z. B. Mode- vs. Sportprodukte).",
|
|
94
94
|
"entities.customFields.editor.noGroup": "Keine Gruppe",
|
|
95
95
|
"entities.customFields.editor.noOptionsDefined": "Keine Optionen definiert.",
|
|
96
|
+
"entities.customFields.editor.noParameterPlaceholder": "-",
|
|
96
97
|
"entities.customFields.editor.noValidationRules": "Keine Validierungsregeln definiert.",
|
|
97
98
|
"entities.customFields.editor.optionLabelPlaceholder": "Für Benutzer sichtbare Beschriftung (optional)",
|
|
98
99
|
"entities.customFields.editor.options": "Optionen",
|
|
@@ -118,6 +119,17 @@
|
|
|
118
119
|
"entities.customFields.editor.unassignedFields": "Nicht zugewiesene Felder",
|
|
119
120
|
"entities.customFields.editor.unitsOptional": "Einheiten (optional)",
|
|
120
121
|
"entities.customFields.editor.unitsPlaceholder": "kg, cm usw.",
|
|
122
|
+
"entities.customFields.editor.validation.date": "Datum",
|
|
123
|
+
"entities.customFields.editor.validation.eq": "gleich",
|
|
124
|
+
"entities.customFields.editor.validation.float": "Gleitkommazahl",
|
|
125
|
+
"entities.customFields.editor.validation.gt": "größer als",
|
|
126
|
+
"entities.customFields.editor.validation.gte": "größer oder gleich",
|
|
127
|
+
"entities.customFields.editor.validation.integer": "Ganzzahl",
|
|
128
|
+
"entities.customFields.editor.validation.lt": "kleiner als",
|
|
129
|
+
"entities.customFields.editor.validation.lte": "kleiner oder gleich",
|
|
130
|
+
"entities.customFields.editor.validation.ne": "ungleich",
|
|
131
|
+
"entities.customFields.editor.validation.regex": "Regex",
|
|
132
|
+
"entities.customFields.editor.validation.required": "erforderlich",
|
|
121
133
|
"entities.customFields.editor.validationRules": "Validierungsregeln",
|
|
122
134
|
"entities.customFields.editor.value": "Wert",
|
|
123
135
|
"entities.customFields.editor.valueRequired": "Der Wert ist erforderlich",
|
|
@@ -183,6 +195,28 @@
|
|
|
183
195
|
"entities.nav.systemEntities": "Systementitäten",
|
|
184
196
|
"entities.nav.userEntities": "Benutzerentitäten",
|
|
185
197
|
"entities.nav.userEntities.create": "Entität erstellen",
|
|
198
|
+
"entities.userEntities.edit.errors.deleteEntityFailed": "Entität konnte nicht gelöscht werden",
|
|
199
|
+
"entities.userEntities.edit.errors.invalidEntityDescription": "Die angeforderte Entitäts-ID fehlt oder ist ungültig.",
|
|
200
|
+
"entities.userEntities.edit.errors.invalidEntityId": "Ungültige Entitäts-ID",
|
|
201
|
+
"entities.userEntities.edit.errors.invalidEntityTitle": "Ungültige Entität",
|
|
202
|
+
"entities.userEntities.edit.errors.loadDefinitionsFailed": "Entitätsdefinitionen konnten nicht geladen werden",
|
|
203
|
+
"entities.userEntities.edit.errors.loadFailed": "Laden fehlgeschlagen",
|
|
204
|
+
"entities.userEntities.edit.errors.loadMetadataFailed": "Entitätsmetadaten konnten nicht geladen werden",
|
|
205
|
+
"entities.userEntities.edit.errors.reloadDefinitionsFailed": "Felddefinitionen konnten nicht neu geladen werden",
|
|
206
|
+
"entities.userEntities.edit.errors.restoreFieldFailed": "Feld konnte nicht wiederhergestellt werden",
|
|
207
|
+
"entities.userEntities.edit.errors.saveEntityFailed": "Entität konnte nicht gespeichert werden",
|
|
208
|
+
"entities.userEntities.edit.errors.saveOrderFailed": "Reihenfolge konnte nicht gespeichert werden",
|
|
209
|
+
"entities.userEntities.edit.errors.validationFailed": "Validierung fehlgeschlagen",
|
|
210
|
+
"entities.userEntities.edit.fieldsetTitle": "Feldgruppe bearbeiten: {{name}}",
|
|
211
|
+
"entities.userEntities.edit.flash.entityDeleted": "Entität gelöscht",
|
|
212
|
+
"entities.userEntities.edit.flash.orderSaved": "Reihenfolge gespeichert",
|
|
213
|
+
"entities.userEntities.edit.flash.restoredField": "{{key}} wiederhergestellt",
|
|
214
|
+
"entities.userEntities.edit.groups.definitions": "Felddefinitionen",
|
|
215
|
+
"entities.userEntities.edit.groups.settings": "Entitätseinstellungen",
|
|
216
|
+
"entities.userEntities.edit.orderNotice": "Neu angeordnet - wird beim Verlassen gespeichert",
|
|
217
|
+
"entities.userEntities.edit.pageTitle": "Definitionen bearbeiten",
|
|
218
|
+
"entities.userEntities.edit.showRecords": "Datensätze anzeigen",
|
|
219
|
+
"entities.userEntities.edit.title": "Entität bearbeiten: {{entityId}}",
|
|
186
220
|
"entities.userEntities.errors.entityIdExists": "Entitäts-ID ist bereits vorhanden",
|
|
187
221
|
"entities.userEntities.errors.entityIdRequired": "Entitäts-ID ist erforderlich",
|
|
188
222
|
"entities.userEntities.errors.loadFailed": "Entitäten konnten nicht geladen werden",
|
|
@@ -93,6 +93,7 @@
|
|
|
93
93
|
"entities.customFields.editor.noFieldsets": "No fieldsets defined yet. Fieldsets let you group custom fields for different variants of the same entity (e.g., Fashion vs. Sport products).",
|
|
94
94
|
"entities.customFields.editor.noGroup": "No group",
|
|
95
95
|
"entities.customFields.editor.noOptionsDefined": "No options defined.",
|
|
96
|
+
"entities.customFields.editor.noParameterPlaceholder": "-",
|
|
96
97
|
"entities.customFields.editor.noValidationRules": "No validation rules defined.",
|
|
97
98
|
"entities.customFields.editor.optionLabelPlaceholder": "Label shown to users (optional)",
|
|
98
99
|
"entities.customFields.editor.options": "Options",
|
|
@@ -118,6 +119,17 @@
|
|
|
118
119
|
"entities.customFields.editor.unassignedFields": "Unassigned fields",
|
|
119
120
|
"entities.customFields.editor.unitsOptional": "Units (optional)",
|
|
120
121
|
"entities.customFields.editor.unitsPlaceholder": "kg, cm, etc.",
|
|
122
|
+
"entities.customFields.editor.validation.date": "date",
|
|
123
|
+
"entities.customFields.editor.validation.eq": "eq",
|
|
124
|
+
"entities.customFields.editor.validation.float": "float",
|
|
125
|
+
"entities.customFields.editor.validation.gt": "gt",
|
|
126
|
+
"entities.customFields.editor.validation.gte": "gte",
|
|
127
|
+
"entities.customFields.editor.validation.integer": "integer",
|
|
128
|
+
"entities.customFields.editor.validation.lt": "lt",
|
|
129
|
+
"entities.customFields.editor.validation.lte": "lte",
|
|
130
|
+
"entities.customFields.editor.validation.ne": "ne",
|
|
131
|
+
"entities.customFields.editor.validation.regex": "regex",
|
|
132
|
+
"entities.customFields.editor.validation.required": "required",
|
|
121
133
|
"entities.customFields.editor.validationRules": "Validation rules",
|
|
122
134
|
"entities.customFields.editor.value": "Value",
|
|
123
135
|
"entities.customFields.editor.valueRequired": "Value is required",
|
|
@@ -183,6 +195,28 @@
|
|
|
183
195
|
"entities.nav.systemEntities": "System Entities",
|
|
184
196
|
"entities.nav.userEntities": "User Entities",
|
|
185
197
|
"entities.nav.userEntities.create": "Create Entity",
|
|
198
|
+
"entities.userEntities.edit.errors.deleteEntityFailed": "Failed to delete entity",
|
|
199
|
+
"entities.userEntities.edit.errors.invalidEntityDescription": "The requested entity ID is missing or invalid.",
|
|
200
|
+
"entities.userEntities.edit.errors.invalidEntityId": "Invalid entity ID",
|
|
201
|
+
"entities.userEntities.edit.errors.invalidEntityTitle": "Invalid entity",
|
|
202
|
+
"entities.userEntities.edit.errors.loadDefinitionsFailed": "Failed to load entity definitions",
|
|
203
|
+
"entities.userEntities.edit.errors.loadFailed": "Failed to load",
|
|
204
|
+
"entities.userEntities.edit.errors.loadMetadataFailed": "Failed to load entity metadata",
|
|
205
|
+
"entities.userEntities.edit.errors.reloadDefinitionsFailed": "Failed to reload field definitions",
|
|
206
|
+
"entities.userEntities.edit.errors.restoreFieldFailed": "Failed to restore field",
|
|
207
|
+
"entities.userEntities.edit.errors.saveEntityFailed": "Failed to save entity",
|
|
208
|
+
"entities.userEntities.edit.errors.saveOrderFailed": "Failed to save order",
|
|
209
|
+
"entities.userEntities.edit.errors.validationFailed": "Validation failed",
|
|
210
|
+
"entities.userEntities.edit.fieldsetTitle": "Edit fieldset: {{name}}",
|
|
211
|
+
"entities.userEntities.edit.flash.entityDeleted": "Entity deleted",
|
|
212
|
+
"entities.userEntities.edit.flash.orderSaved": "Order saved",
|
|
213
|
+
"entities.userEntities.edit.flash.restoredField": "Restored {{key}}",
|
|
214
|
+
"entities.userEntities.edit.groups.definitions": "Field Definitions",
|
|
215
|
+
"entities.userEntities.edit.groups.settings": "Entity Settings",
|
|
216
|
+
"entities.userEntities.edit.orderNotice": "Reordered - will auto-save on blur",
|
|
217
|
+
"entities.userEntities.edit.pageTitle": "Edit definitions",
|
|
218
|
+
"entities.userEntities.edit.showRecords": "Show Records",
|
|
219
|
+
"entities.userEntities.edit.title": "Edit Entity: {{entityId}}",
|
|
186
220
|
"entities.userEntities.errors.entityIdExists": "Entity ID already exists",
|
|
187
221
|
"entities.userEntities.errors.entityIdRequired": "Entity ID is required",
|
|
188
222
|
"entities.userEntities.errors.loadFailed": "Failed to load entities",
|