Skip to content

Commit cde5e5f

Browse files
authored
Directories: Improves description for map configuration
Replaces word `coordinate` with `map` to explain what really happens. TYPE: Feature LINK: ogc-2883
1 parent 872c942 commit cde5e5f

File tree

5 files changed

+45
-33
lines changed

5 files changed

+45
-33
lines changed

src/onegov/org/forms/directory.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,20 +98,20 @@ class DirectoryBaseForm(Form):
9898
render_kw={'rows': 32, 'data-editor': 'form'})
9999

100100
enable_map = RadioField(
101-
label=_('Coordinates'),
101+
label=_('Map'),
102102
fieldset=_('General'),
103103
choices=[
104104
(
105105
'no',
106-
_('Entries have no coordinates')
106+
_('Do not show map')
107107
),
108108
(
109109
'entry',
110-
_('Coordinates are shown on each entry')
110+
_('Show map only on entries')
111111
),
112112
(
113113
'everywhere',
114-
_('Coordinates are shown on the directory and on each entry')
114+
_('Show map in directory overview and on entries')
115115
),
116116
],
117117
default='everywhere')

src/onegov/org/locale/de_CH/LC_MESSAGES/onegov.org.po

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: PACKAGE 1.0\n"
5-
"POT-Creation-Date: 2026-01-27 10:35+0100\n"
5+
"POT-Creation-Date: 2026-02-10 14:27+0100\n"
66
"PO-Revision-Date: 2022-03-15 10:21+0100\n"
77
"Last-Translator: Marc Sommerhalder <marc.sommerhalder@seantis.ch>\n"
88
"Language-Team: German\n"
@@ -542,17 +542,17 @@ msgstr "Unterhalb der Einträge"
542542
msgid "Definition"
543543
msgstr "Definition"
544544

545-
msgid "Coordinates"
546-
msgstr "Koordinaten"
545+
msgid "Map"
546+
msgstr "Karte"
547547

548-
msgid "Entries have no coordinates"
549-
msgstr "Einträge haben keine Koordinaten"
548+
msgid "Do not show map"
549+
msgstr "Keine Karte anzeigen"
550550

551-
msgid "Coordinates are shown on each entry"
552-
msgstr "Koordinaten werden auf den Einträgen angezeigt"
551+
msgid "Show map only on entries"
552+
msgstr "Karte nur auf den Einträgen anzeigen"
553553

554-
msgid "Coordinates are shown on the directory and on each entry"
555-
msgstr "Koordinaten werden im Verzeichnis und auf den Einträgen angezeigt"
554+
msgid "Show map in directory overview and on entries"
555+
msgstr "Karte in der Verzeichnisübersicht und den Einträgen anzeigen"
556556

557557
msgid "Title-Format"
558558
msgstr "Titel-Format"
@@ -962,6 +962,9 @@ msgstr "Externe Event-URL"
962962
msgid "Event Registration URL"
963963
msgstr "Event Anmeldung URL"
964964

965+
msgid "Coordinates"
966+
msgstr "Koordinaten"
967+
965968
msgid "The marker can be moved by dragging it with the mouse"
966969
msgstr "Der Marker kann mit der Maus verschoben werden"
967970

src/onegov/org/locale/fr_CH/LC_MESSAGES/onegov.org.po

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: PACKAGE 1.0\n"
5-
"POT-Creation-Date: 2026-01-27 10:35+0100\n"
5+
"POT-Creation-Date: 2026-02-10 14:27+0100\n"
66
"PO-Revision-Date: 2022-03-15 10:50+0100\n"
77
"Last-Translator: Marc Sommerhalder <marc.sommerhalder@seantis.ch>\n"
88
"Language-Team: French\n"
@@ -540,17 +540,17 @@ msgstr "Sous les entrées"
540540
msgid "Definition"
541541
msgstr "Définition"
542542

543-
msgid "Coordinates"
544-
msgstr "Coordonnées"
543+
msgid "Map"
544+
msgstr "Carte"
545545

546-
msgid "Entries have no coordinates"
547-
msgstr "Les entrées ne possèdent pas de coordonnées"
546+
msgid "Do not show map"
547+
msgstr "Ne pas afficher la carte"
548548

549-
msgid "Coordinates are shown on each entry"
550-
msgstr "Les coordonnées sont affichées sur chaque entrée"
549+
msgid "Show map only on entries"
550+
msgstr "Afficher la carte uniquement sur les entrées"
551551

552-
msgid "Coordinates are shown on the directory and on each entry"
553-
msgstr "Les coordonnées sont affichées sur le répertoire et sur chaque entrée"
552+
msgid "Show map in directory overview and on entries"
553+
msgstr "Afficher la carte dans la vue d'ensemble du dossier et sur les entrées"
554554

555555
msgid "Title-Format"
556556
msgstr "Format Titre"
@@ -963,6 +963,9 @@ msgstr "URL de l'événement externe"
963963
msgid "Event Registration URL"
964964
msgstr "URL de l'inscription à l'événement"
965965

966+
msgid "Coordinates"
967+
msgstr "Coordonnées"
968+
966969
msgid "The marker can be moved by dragging it with the mouse"
967970
msgstr "Le curseur peut être déplacé avec la souris"
968971

src/onegov/org/locale/it_CH/LC_MESSAGES/onegov.org.po

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: \n"
5-
"POT-Creation-Date: 2026-01-27 10:35+0100\n"
5+
"POT-Creation-Date: 2026-02-10 14:27+0100\n"
66
"PO-Revision-Date: 2022-03-15 10:52+0100\n"
77
"Last-Translator: \n"
88
"Language-Team: \n"
@@ -542,19 +542,17 @@ msgstr "Sotto le entrate"
542542
msgid "Definition"
543543
msgstr "Definizione"
544544

545-
msgid "Coordinates"
546-
msgstr "Coordinate"
545+
msgid "Map"
546+
msgstr "Mappa"
547547

548-
msgid "Entries have no coordinates"
549-
msgstr "Gli elementi non hanno coordinate"
548+
msgid "Do not show map"
549+
msgstr "Non mostrare la mappa"
550550

551-
msgid "Coordinates are shown on each entry"
552-
msgstr "Le coordinate sono mostrate in corrispondenza di ogni elemento"
551+
msgid "Show map only on entries"
552+
msgstr "Mostra la mappa solo sulle voci"
553553

554-
msgid "Coordinates are shown on the directory and on each entry"
555-
msgstr ""
556-
"Le coordinate sono mostrate sulla rubrica e in corrispondenza di ogni "
557-
"elemento"
554+
msgid "Show map in directory overview and on entries"
555+
msgstr "Mostra la mappa nella panoramica della directory e sulle voci"
558556

559557
msgid "Title-Format"
560558
msgstr "Formato del titolo"
@@ -966,6 +964,9 @@ msgstr "URL evento esterno"
966964
msgid "Event Registration URL"
967965
msgstr "URL di registrazione all'evento"
968966

967+
msgid "Coordinates"
968+
msgstr "Coordinate"
969+
969970
msgid "The marker can be moved by dragging it with the mouse"
970971
msgstr "L'indicatore può essere spostato trascinandolo con il mouse"
971972

src/onegov/town6/theme/styles/forms.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ form {
7070
}
7171

7272
label {
73+
margin-top: .5rem;
7374

7475
&.error, .upload-widget.error {
7576
color: $alert-color;
@@ -92,6 +93,10 @@ form {
9293
}
9394
}
9495

96+
.group-label {
97+
margin-top: .5rem;
98+
}
99+
95100
.duration-widget label {
96101
display: inline-block;
97102
white-space: nowrap;

0 commit comments

Comments
 (0)