diff --git a/app/src/modules/settings/routes/data-model/field-detail/field-detail-simple/field-configuration.vue b/app/src/modules/settings/routes/data-model/field-detail/field-detail-simple/field-configuration.vue index bc07c798b4b1a..8d21b2af13327 100644 --- a/app/src/modules/settings/routes/data-model/field-detail/field-detail-simple/field-configuration.vue +++ b/app/src/modules/settings/routes/data-model/field-detail/field-detail-simple/field-configuration.vue @@ -33,7 +33,7 @@ const typeOptions = computed(() => { if (!chosenInterfaceConfig.value) return []; return chosenInterfaceConfig.value.types.map((type) => ({ - text: t(type), + text: t(type === 'geometry' ? 'geometry.All' : type), value: type, })); }); diff --git a/app/src/modules/settings/routes/data-model/fields/components/field-select.vue b/app/src/modules/settings/routes/data-model/fields/components/field-select.vue index eb4feb043bdb5..9942880d443b1 100644 --- a/app/src/modules/settings/routes/data-model/fields/components/field-select.vue +++ b/app/src/modules/settings/routes/data-model/fields/components/field-select.vue @@ -159,6 +159,8 @@ async function onGroupSortChange(fields: Field[]) { emit('setNestedSort', updates); } + +const tFieldType = (type: string) => t(type === 'geometry' ? 'geometry.All' : type);