Konova code improvements

* improves rendering of codes as string (short names will be used if existing)
* reduces selectable konova codes to leafs (as discussed with experts)
* automatically resizes the width of modal form fields to w-100
* adds/updates translations
This commit is contained in:
mipel
2021-08-24 14:50:51 +02:00
parent 2469bde7ee
commit 24a6b7fd37
7 changed files with 126 additions and 95 deletions

Binary file not shown.

View File

@@ -3,8 +3,8 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#: compensation/filters.py:71 compensation/forms.py:43 compensation/forms.py:48
#: compensation/forms.py:61 compensation/forms.py:219 compensation/forms.py:289
#: compensation/filters.py:71 compensation/forms.py:46 compensation/forms.py:51
#: compensation/forms.py:65 compensation/forms.py:234 compensation/forms.py:314
#: intervention/filters.py:26 intervention/filters.py:40
#: intervention/filters.py:47 intervention/filters.py:48
#: intervention/forms.py:322 intervention/forms.py:334
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-08-19 14:33+0200\n"
"POT-Creation-Date: 2021-08-24 14:26+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -30,54 +30,54 @@ msgstr ""
msgid "Show only unrecorded"
msgstr "Nur unverzeichnete anzeigen"
#: compensation/forms.py:42 compensation/forms.py:278
#: compensation/forms.py:45 compensation/forms.py:303
#: compensation/templates/compensation/detail/eco_account/includes/withdraws.html:31
#: intervention/templates/intervention/detail/includes/withdraws.html:31
msgid "Amount"
msgstr "Menge"
#: compensation/forms.py:44
msgid "Amount in Euro"
msgstr "Betrag in Euro"
#: compensation/forms.py:47
msgid "in Euro"
msgstr "in Euro"
#: compensation/forms.py:50
#: intervention/templates/intervention/detail/includes/payments.html:31
msgid "Due on"
msgstr "Fällig am"
#: compensation/forms.py:49
#: compensation/forms.py:53
msgid "Due on which date"
msgstr "Zahlung wird an diesem Datum erwartet"
#: compensation/forms.py:62
#: compensation/forms.py:66
msgid "Transfer note"
msgstr "Verwendungszweck"
#: compensation/forms.py:63
#: compensation/forms.py:67
msgid "Note for money transfer"
msgstr "Verwendungszweck für Überweisung"
#: compensation/forms.py:69
#: compensation/forms.py:73
msgid "Payment"
msgstr "Zahlung"
#: compensation/forms.py:70
#: compensation/forms.py:74
msgid "Add a payment for intervention '{}'"
msgstr "Neue Ersatzzahlung zu Eingriff '{}' hinzufügen"
#: compensation/forms.py:82
#: compensation/forms.py:86
msgid "Added payment"
msgstr "Zahlung hinzufügen"
#: compensation/forms.py:99
#: compensation/forms.py:103 compensation/forms.py:115
msgid "Biotope Type"
msgstr "Biotoptyp"
#: compensation/forms.py:102
#: compensation/forms.py:106
msgid "Select the biotope type"
msgstr "Biotoptyp wählen"
#: compensation/forms.py:107
#: compensation/forms.py:122
#: compensation/templates/compensation/detail/compensation/includes/states-after.html:36
#: compensation/templates/compensation/detail/compensation/includes/states-before.html:36
#: compensation/templates/compensation/detail/eco_account/includes/states-after.html:36
@@ -88,35 +88,35 @@ msgstr "Biotoptyp wählen"
msgid "Surface"
msgstr "Fläche"
#: compensation/forms.py:110 intervention/forms.py:476
#: compensation/forms.py:125 intervention/forms.py:476
msgid "in m²"
msgstr ""
#: compensation/forms.py:115
#: compensation/forms.py:130
msgid "New state"
msgstr "Neuer Zustand"
#: compensation/forms.py:116
#: compensation/forms.py:131
msgid "Insert data for the new state"
msgstr "Geben Sie die Daten des neuen Zustandes ein"
#: compensation/forms.py:124
#: compensation/forms.py:139
msgid "Added state"
msgstr "Zustand hinzugefügt"
#: compensation/forms.py:140 konova/forms.py:158
#: compensation/forms.py:155 konova/forms.py:158
msgid "Object removed"
msgstr "Objekt entfernt"
#: compensation/forms.py:191
#: compensation/forms.py:206
msgid "Deadline Type"
msgstr "Fristart"
#: compensation/forms.py:194
#: compensation/forms.py:209
msgid "Select the deadline type"
msgstr "Fristart wählen"
#: compensation/forms.py:203
#: compensation/forms.py:218
#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:31
#: compensation/templates/compensation/detail/eco_account/includes/deadlines.html:31
#: ema/templates/ema/detail/includes/deadlines.html:31
@@ -124,11 +124,11 @@ msgstr "Fristart wählen"
msgid "Date"
msgstr "Datum"
#: compensation/forms.py:206
#: compensation/forms.py:221
msgid "Select date"
msgstr "Datum wählen"
#: compensation/forms.py:218 compensation/forms.py:288
#: compensation/forms.py:233 compensation/forms.py:313
#: compensation/templates/compensation/detail/compensation/includes/actions.html:34
#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:34
#: compensation/templates/compensation/detail/compensation/includes/documents.html:31
@@ -145,52 +145,78 @@ msgstr "Datum wählen"
msgid "Comment"
msgstr "Kommentar"
#: compensation/forms.py:220 compensation/forms.py:290
#: compensation/forms.py:235 compensation/forms.py:315
#: intervention/forms.py:347 konova/forms.py:305
msgid "Additional comment, maximum {} letters"
msgstr "Zusätzlicher Kommentar, maximal {} Zeichen"
#: compensation/forms.py:231
#: compensation/forms.py:246
msgid "New deadline"
msgstr "Neue Frist"
#: compensation/forms.py:232
#: compensation/forms.py:247
msgid "Insert data for the new deadline"
msgstr "Geben Sie die Daten der neuen Frist ein"
#: compensation/forms.py:249
#: compensation/forms.py:264
msgid "Added deadline"
msgstr "Frist/Termin hinzugefügt"
#: compensation/forms.py:260
#: compensation/forms.py:275
msgid "Action Type"
msgstr "Maßnahmentyp"
#: compensation/forms.py:263
#: compensation/forms.py:278
msgid "Select the action type"
msgstr "Maßnahmentyp wählen"
#: compensation/forms.py:266
#: compensation/forms.py:285
#: compensation/templates/compensation/detail/compensation/includes/actions.html:37
#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:37
#: compensation/templates/compensation/detail/compensation/includes/documents.html:34
#: compensation/templates/compensation/detail/compensation/includes/states-after.html:39
#: compensation/templates/compensation/detail/compensation/includes/states-before.html:39
#: compensation/templates/compensation/detail/eco_account/includes/actions.html:37
#: compensation/templates/compensation/detail/eco_account/includes/deadlines.html:37
#: compensation/templates/compensation/detail/eco_account/includes/documents.html:34
#: compensation/templates/compensation/detail/eco_account/includes/states-after.html:39
#: compensation/templates/compensation/detail/eco_account/includes/states-before.html:39
#: compensation/templates/compensation/detail/eco_account/includes/withdraws.html:37
#: ema/templates/ema/detail/includes/actions.html:37
#: ema/templates/ema/detail/includes/deadlines.html:37
#: ema/templates/ema/detail/includes/documents.html:34
#: ema/templates/ema/detail/includes/states-after.html:39
#: ema/templates/ema/detail/includes/states-before.html:39
#: intervention/templates/intervention/detail/includes/compensations.html:36
#: intervention/templates/intervention/detail/includes/documents.html:34
#: intervention/templates/intervention/detail/includes/payments.html:37
#: intervention/templates/intervention/detail/includes/revocation.html:41
#: intervention/templates/intervention/detail/includes/withdraws.html:37
#: templates/log.html:10
msgid "Action"
msgstr "Aktionen"
#: compensation/forms.py:291
msgid "Unit"
msgstr "Einheit"
#: compensation/forms.py:269
#: compensation/forms.py:294
msgid "Select the unit"
msgstr "Einheit wählen"
#: compensation/forms.py:281
#: compensation/forms.py:306
msgid "Insert the amount"
msgstr "Menge eingeben"
#: compensation/forms.py:301
#: compensation/forms.py:326
msgid "New action"
msgstr "Neue Maßnahme"
#: compensation/forms.py:302
#: compensation/forms.py:327
msgid "Insert data for the new action"
msgstr "Geben Sie die Daten der neuen Maßnahme ein"
#: compensation/forms.py:321
#: compensation/forms.py:346
msgid "Added action"
msgstr "Maßnahme hinzugefügt"
@@ -226,7 +252,7 @@ msgstr "Kennung"
#: compensation/tables.py:29 compensation/tables.py:169
#: compensation/templates/compensation/detail/compensation/includes/documents.html:28
#: compensation/templates/compensation/detail/compensation/view.html:24
#: compensation/templates/compensation/detail/compensation/view.html:31
#: compensation/templates/compensation/detail/eco_account/includes/documents.html:28
#: compensation/templates/compensation/detail/eco_account/view.html:31
#: ema/tables.py:33 ema/templates/ema/detail/includes/documents.html:28
@@ -239,14 +265,14 @@ msgid "Title"
msgstr "Bezeichnung"
#: compensation/tables.py:34
#: compensation/templates/compensation/detail/compensation/view.html:36
#: compensation/templates/compensation/detail/compensation/view.html:43
#: intervention/tables.py:33
#: intervention/templates/intervention/detail/view.html:63 user/models.py:48
msgid "Checked"
msgstr "Geprüft"
#: compensation/tables.py:40 compensation/tables.py:179
#: compensation/templates/compensation/detail/compensation/view.html:50
#: compensation/templates/compensation/detail/compensation/view.html:57
#: compensation/templates/compensation/detail/eco_account/view.html:43
#: ema/tables.py:38 ema/templates/ema/detail/view.html:28
#: intervention/tables.py:39
@@ -275,7 +301,7 @@ msgid "Open {}"
msgstr "Öffne {}"
#: compensation/tables.py:83
#: compensation/templates/compensation/detail/compensation/view.html:12
#: compensation/templates/compensation/detail/compensation/view.html:19
#: konova/templates/konova/home.html:49 templates/navbar.html:28
msgid "Compensation"
msgstr "Kompensation"
@@ -289,7 +315,7 @@ msgid "Checked on {} by {}"
msgstr "Am {} von {} geprüft worden"
#: compensation/tables.py:128
#: compensation/templates/compensation/detail/compensation/view.html:53
#: compensation/templates/compensation/detail/compensation/view.html:60
#: compensation/templates/compensation/detail/eco_account/view.html:46
#: ema/tables.py:101 ema/templates/ema/detail/view.html:31
#: intervention/tables.py:135
@@ -360,31 +386,6 @@ msgctxt "Compensation"
msgid "Amount"
msgstr "Menge"
#: compensation/templates/compensation/detail/compensation/includes/actions.html:37
#: compensation/templates/compensation/detail/compensation/includes/deadlines.html:37
#: compensation/templates/compensation/detail/compensation/includes/documents.html:34
#: compensation/templates/compensation/detail/compensation/includes/states-after.html:39
#: compensation/templates/compensation/detail/compensation/includes/states-before.html:39
#: compensation/templates/compensation/detail/eco_account/includes/actions.html:37
#: compensation/templates/compensation/detail/eco_account/includes/deadlines.html:37
#: compensation/templates/compensation/detail/eco_account/includes/documents.html:34
#: compensation/templates/compensation/detail/eco_account/includes/states-after.html:39
#: compensation/templates/compensation/detail/eco_account/includes/states-before.html:39
#: compensation/templates/compensation/detail/eco_account/includes/withdraws.html:37
#: ema/templates/ema/detail/includes/actions.html:37
#: ema/templates/ema/detail/includes/deadlines.html:37
#: ema/templates/ema/detail/includes/documents.html:34
#: ema/templates/ema/detail/includes/states-after.html:39
#: ema/templates/ema/detail/includes/states-before.html:39
#: intervention/templates/intervention/detail/includes/compensations.html:36
#: intervention/templates/intervention/detail/includes/documents.html:34
#: intervention/templates/intervention/detail/includes/payments.html:37
#: intervention/templates/intervention/detail/includes/revocation.html:41
#: intervention/templates/intervention/detail/includes/withdraws.html:37
#: templates/log.html:10
msgid "Action"
msgstr "Aktionen"
#: compensation/templates/compensation/detail/compensation/includes/actions.html:51
#: compensation/templates/compensation/detail/eco_account/includes/actions.html:51
#: ema/templates/ema/detail/includes/actions.html:51
@@ -527,17 +528,17 @@ msgstr "Neuen Ausgangszustand hinzufügen"
msgid "Missing surfaces according to states after: "
msgstr "Fehlende Flächenmengen laut Zielzustand: "
#: compensation/templates/compensation/detail/compensation/view.html:28
#: compensation/templates/compensation/detail/compensation/view.html:35
msgid "compensates intervention"
msgstr "kompensiert Eingriff"
#: compensation/templates/compensation/detail/compensation/view.html:43
#: compensation/templates/compensation/detail/compensation/view.html:50
#: intervention/templates/intervention/detail/view.html:70
msgid "Checked on "
msgstr "Geprüft am "
#: compensation/templates/compensation/detail/compensation/view.html:43
#: compensation/templates/compensation/detail/compensation/view.html:57
#: compensation/templates/compensation/detail/compensation/view.html:50
#: compensation/templates/compensation/detail/compensation/view.html:64
#: compensation/templates/compensation/detail/eco_account/view.html:50
#: ema/templates/ema/detail/view.html:35
#: intervention/templates/intervention/detail/view.html:70
@@ -545,21 +546,21 @@ msgstr "Geprüft am "
msgid "by"
msgstr "von"
#: compensation/templates/compensation/detail/compensation/view.html:57
#: compensation/templates/compensation/detail/compensation/view.html:64
#: compensation/templates/compensation/detail/eco_account/view.html:50
#: ema/templates/ema/detail/view.html:35
#: intervention/templates/intervention/detail/view.html:84
msgid "Recorded on "
msgstr "Verzeichnet am"
#: compensation/templates/compensation/detail/compensation/view.html:64
#: compensation/templates/compensation/detail/compensation/view.html:71
#: compensation/templates/compensation/detail/eco_account/view.html:69
#: ema/templates/ema/detail/view.html:54
#: intervention/templates/intervention/detail/view.html:103
msgid "Last modified"
msgstr "Zuletzt bearbeitet"
#: compensation/templates/compensation/detail/compensation/view.html:72
#: compensation/templates/compensation/detail/compensation/view.html:79
#: compensation/templates/compensation/detail/eco_account/view.html:77
#: ema/templates/ema/detail/view.html:69 intervention/forms.py:255
#: intervention/templates/intervention/detail/view.html:111
@@ -903,7 +904,8 @@ msgid ""
"Eco-account {} is not recorded yet. You can only withdraw from recorded "
"accounts."
msgstr ""
"Ökokonto {} ist noch nicht verzeichnet. Abbuchungen können nur von verzeichneten Ökokonten erfolgen."
"Ökokonto {} ist noch nicht verzeichnet. Abbuchungen können nur von "
"verzeichneten Ökokonten erfolgen."
#: intervention/forms.py:544
msgid ""