Skip to content

Commit

Permalink
fix: incorrect order for geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikmv committed Feb 6, 2025
1 parent 6ecbc90 commit 9465a9c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2025-01-24T15:26:19.128Z\n"
"PO-Revision-Date: 2025-01-24T15:26:19.128Z\n"
"POT-Creation-Date: 2025-02-06T15:05:36.774Z\n"
"PO-Revision-Date: 2025-02-06T15:05:36.774Z\n"

msgid "Choose one or more dates..."
msgstr "Choose one or more dates..."
Expand Down Expand Up @@ -1276,6 +1276,12 @@ msgstr "Go to “Schedule” tab to reschedule this event"
msgid "Scheduled date cannot be changed for {{ eventStatus }} events"
msgstr "Scheduled date cannot be changed for {{ eventStatus }} events"

msgid "Geometry (Area)"
msgstr "Geometry (Area)"

msgid "Geometry (Coordinate)"
msgstr "Geometry (Coordinate)"

msgid "Event completed"
msgstr "Event completed"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const EventChangelogWrapper = ({ formFoundation, eventId, eventData, ...p
const additionalFields = formFoundation.featureType !== 'None' ? {
geometry: {
id: 'geometry',
name: formFoundation.featureType === 'Polygon' ? i18n.t('Area') : i18n.t('Coordinate'),
name: formFoundation.featureType === 'Polygon' ? i18n.t('Geometry (Area)') : i18n.t('Geometry (Coordinate)'),
type: formFoundation.featureType === 'Polygon' ?
dataElementTypes.POLYGON : dataElementTypes.COORDINATE,
},
Expand Down

0 comments on commit 9465a9c

Please sign in to comment.