From 5f5c5c84f7c0909a4dd454cea07163fdf4f36ec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Tue, 4 Jun 2024 16:26:12 +0200 Subject: [PATCH] Change geometry labels to location --- .../compose/src/components/Admin/Module/FieldRowEdit.vue | 2 +- locale/en/corteza-webapp-compose/block.yaml | 8 ++++---- locale/en/corteza-webapp-compose/field.yaml | 2 +- locale/en/corteza-webapp-compose/general.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue b/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue index 2da4cf45e..d9d2bd4ee 100644 --- a/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue +++ b/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue @@ -194,7 +194,7 @@ export default { // for now this field is hidden, since it's implementation is mia. .map(kind => { return { kind, label: this.$t('fieldKinds.' + kind + '.label') } - }).sort((a, b) => a.label.localeCompare(b.text)) + }).sort((a, b) => a.label.localeCompare(b.label)) }, exists () { diff --git a/locale/en/corteza-webapp-compose/block.yaml b/locale/en/corteza-webapp-compose/block.yaml index 57a9dfc91..0d11f09da 100644 --- a/locale/en/corteza-webapp-compose/block.yaml +++ b/locale/en/corteza-webapp-compose/block.yaml @@ -760,8 +760,8 @@ nylas: mailbox: Mailbox geometry: - label: Geometry - viewLabel: Geometry + label: Map + viewLabel: Map feedLabel: Configure Sources source: label: Source @@ -779,10 +779,10 @@ geometry: optionLabel: Records prefilterLabel: Prefilter sources colorLabel: Marker color - geometryFieldLabel: Geometry field* + geometryFieldLabel: Location field* titleLabel: Title titlePlaceholder: Title - geometryFieldPlaceholder: Geometry field + geometryFieldPlaceholder: Location field displayMarker: Display marker displayPolygon: Display polygon centerLabel: Center diff --git a/locale/en/corteza-webapp-compose/field.yaml b/locale/en/corteza-webapp-compose/field.yaml index 8a986060f..28db06183 100644 --- a/locale/en/corteza-webapp-compose/field.yaml +++ b/locale/en/corteza-webapp-compose/field.yaml @@ -157,7 +157,7 @@ kind: label: User roles placeholder: Filter by user roles geometry: - label: Geometry + label: Location latitude: Latitude longitude: Longitude clickToPlaceMarker: Click to place/remove a marker diff --git a/locale/en/corteza-webapp-compose/general.yaml b/locale/en/corteza-webapp-compose/general.yaml index 4dadf9069..005e37b3d 100644 --- a/locale/en/corteza-webapp-compose/general.yaml +++ b/locale/en/corteza-webapp-compose/general.yaml @@ -146,7 +146,7 @@ fieldKinds: User: label: User selector Geometry: - label: Geometry + label: Location field: selectAll: Select all tooltip: