Documents removing

* adds generic modal rendering using package django-bootstrap-modal-forms
* adds document file removing from hard drive
* adds translations
This commit is contained in:
mipel
2021-07-23 18:27:53 +02:00
parent df8b62de22
commit 76c7cce9bc
13 changed files with 202 additions and 61 deletions

View File

@@ -4,14 +4,14 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#: intervention/filters.py:25 intervention/filters.py:31
#: intervention/filters.py:38 intervention/filters.py:39 konova/forms.py:71
#: user/forms.py:38
#: intervention/filters.py:38 intervention/filters.py:39 konova/forms.py:73
#: konova/forms.py:137 user/forms.py:38
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-23 16:00+0200\n"
"POT-Creation-Date: 2021-07-23 18: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"
@@ -23,15 +23,15 @@ msgstr ""
#: compensation/tables.py:18 compensation/tables.py:71 intervention/forms.py:26
#: intervention/tables.py:23
#: intervention/templates/intervention/detail-view.html:174
#: intervention/templates/intervention/detail-view.html:179
msgid "Identifier"
msgstr "Kennung"
#: compensation/tables.py:23 compensation/tables.py:76 intervention/forms.py:33
#: intervention/tables.py:28
#: intervention/templates/intervention/detail-view.html:57
#: intervention/templates/intervention/detail-view.html:177
#: intervention/templates/intervention/detail-view.html:276
#: intervention/templates/intervention/detail-view.html:62
#: intervention/templates/intervention/detail-view.html:182
#: intervention/templates/intervention/detail-view.html:281
msgid "Title"
msgstr "Bezeichnung"
@@ -44,7 +44,7 @@ msgid "Actions"
msgstr "Aktionen"
#: compensation/tables.py:44
#: intervention/templates/intervention/detail-view.html:154
#: intervention/templates/intervention/detail-view.html:159
msgid "Compensations"
msgstr "Kompensationen"
@@ -101,7 +101,7 @@ msgid "Which intervention type is this"
msgstr "Welcher Eingriffstyp"
#: intervention/forms.py:44
#: intervention/templates/intervention/detail-view.html:65
#: intervention/templates/intervention/detail-view.html:70
msgid "Law"
msgstr "Gesetz"
@@ -110,7 +110,7 @@ msgid "Based on which law"
msgstr "Basiert auf welchem Recht"
#: intervention/forms.py:50
#: intervention/templates/intervention/detail-view.html:85
#: intervention/templates/intervention/detail-view.html:90
msgid "Intervention handler"
msgstr "Eingriffsverursacher"
@@ -159,12 +159,12 @@ msgid "Edit intervention"
msgstr "Eingriff bearbeiten"
#: intervention/tables.py:33
#: intervention/templates/intervention/detail-view.html:89
#: intervention/templates/intervention/detail-view.html:94
msgid "Checked"
msgstr "Geprüft"
#: intervention/tables.py:39
#: intervention/templates/intervention/detail-view.html:103
#: intervention/templates/intervention/detail-view.html:108
msgid "Recorded"
msgstr "Verzeichnet"
@@ -181,7 +181,7 @@ msgid "Interventions"
msgstr "Eingriffe"
#: intervention/tables.py:92 intervention/tables.py:170
#: intervention/templates/intervention/detail-view.html:7
#: intervention/templates/intervention/detail-view.html:12
#: konova/templates/konova/home.html:11 templates/navbar.html:22
msgid "Intervention"
msgstr "Eingriff"
@@ -210,112 +210,112 @@ msgstr "Für Sie freigegeben - Datensatz kann bearbeitet werden"
msgid "Access not granted"
msgstr "Nicht freigegeben - Datensatz nur lesbar"
#: intervention/templates/intervention/detail-view.html:12
#: intervention/templates/intervention/detail-view.html:17
msgid "Open in LANIS"
msgstr "In LANIS öffnen"
#: intervention/templates/intervention/detail-view.html:17
#: intervention/templates/intervention/detail-view.html:22
msgid "Public report"
msgstr "Öffentlicher Bericht"
#: intervention/templates/intervention/detail-view.html:23
#: intervention/templates/intervention/detail-view.html:28
msgid "Share"
msgstr "Freigabe"
#: intervention/templates/intervention/detail-view.html:28
#: intervention/templates/intervention/detail-view.html:33
msgid "Run check"
msgstr "Prüfung vornehmen"
#: intervention/templates/intervention/detail-view.html:33
#: intervention/templates/intervention/detail-view.html:38
msgid "Record"
msgstr "Verzeichnen"
#: intervention/templates/intervention/detail-view.html:38
#: intervention/templates/intervention/detail-view.html:43
msgid "Edit"
msgstr "Bearbeiten"
#: intervention/templates/intervention/detail-view.html:43
#: intervention/templates/intervention/detail-view.html:48
#: venv/lib/python3.7/site-packages/django/forms/formsets.py:391
msgid "Delete"
msgstr "Löschen"
#: intervention/templates/intervention/detail-view.html:61
#: intervention/templates/intervention/detail-view.html:66
msgid "Process type"
msgstr "Verfahrenstyp"
#: intervention/templates/intervention/detail-view.html:69
#: intervention/templates/intervention/detail-view.html:74
msgid "Registration office"
msgstr "Zulassungsbehörde"
#: intervention/templates/intervention/detail-view.html:73
#: intervention/templates/intervention/detail-view.html:78
msgid "Registration office file number"
msgstr "Aktenzeichen Zulassungsbehörde"
#: intervention/templates/intervention/detail-view.html:77
#: intervention/templates/intervention/detail-view.html:82
msgid "Conservation office"
msgstr "Naturschutzbehörde"
#: intervention/templates/intervention/detail-view.html:81
#: intervention/templates/intervention/detail-view.html:86
msgid "Conversation office file number"
msgstr "Aktenzeichen Naturschutzbehörde"
#: intervention/templates/intervention/detail-view.html:117
#: intervention/templates/intervention/detail-view.html:122
msgid "Registration date"
msgstr "Datum Zulassung bzw. Satzungsbeschluss"
#: intervention/templates/intervention/detail-view.html:121
#: intervention/templates/intervention/detail-view.html:126
msgid "Binding on"
msgstr "Datum Bestandskraft"
#: intervention/templates/intervention/detail-view.html:125
#: intervention/templates/intervention/detail-view.html:130
msgid "Last modified"
msgstr "Zuletzt bearbeitet"
#: intervention/templates/intervention/detail-view.html:129
#: intervention/templates/intervention/detail-view.html:134
msgid "by"
msgstr "von"
#: intervention/templates/intervention/detail-view.html:138
#: intervention/templates/intervention/detail-view.html:143
msgid "No geometry added, yet."
msgstr "Keine Geometrie vorhanden"
#: intervention/templates/intervention/detail-view.html:159
#: intervention/templates/intervention/detail-view.html:164
msgid "Add new compensation"
msgstr "Neue Kompensation hinzufügen"
#: intervention/templates/intervention/detail-view.html:204
#: intervention/templates/intervention/detail-view.html:209
msgid "Payments"
msgstr "Ersatzzahlungen"
#: intervention/templates/intervention/detail-view.html:209
#: intervention/templates/intervention/detail-view.html:214
msgid "Add new payment"
msgstr "Neue Zahlung hinzufügen"
#: intervention/templates/intervention/detail-view.html:224
#: intervention/templates/intervention/detail-view.html:229
msgid "Amount"
msgstr "Betrag"
#: intervention/templates/intervention/detail-view.html:227
#: intervention/templates/intervention/detail-view.html:232
msgid "Transfer comment"
msgstr "Verwendungszweck"
#: intervention/templates/intervention/detail-view.html:256
#: intervention/templates/intervention/detail-view.html:261
msgid "Documents"
msgstr "Dokumente"
#: intervention/templates/intervention/detail-view.html:261
#: intervention/templates/intervention/detail-view.html:266
msgid "Add new document"
msgstr "Neues Dokument hinzufügen"
#: intervention/templates/intervention/detail-view.html:279
#: intervention/templates/intervention/detail-view.html:284
msgid "Comment"
msgstr "Kommentar"
#: intervention/templates/intervention/detail-view.html:282
#: intervention/templates/intervention/detail-view.html:287
msgid "Action"
msgstr "Aktionen"
#: intervention/templates/intervention/detail-view.html:297
#: intervention/templates/intervention/detail-view.html:301 konova/forms.py:145
msgid "Remove document"
msgstr "Dokument löschen"
@@ -353,22 +353,26 @@ msgstr "Hierfür müssen Sie Administrator sein!"
msgid "You need to be part of another user group."
msgstr "Hierfür müssen Sie einer anderen Nutzergruppe angehören!"
#: konova/forms.py:44
#: konova/forms.py:46
msgid "Not editable"
msgstr "Nicht editierbar"
#: konova/forms.py:70
#: konova/forms.py:72 konova/forms.py:136
msgid "Confirm"
msgstr "Bestätigen"
msgstr "Bestätige"
#: konova/forms.py:82
#: konova/forms.py:84
msgid "Remove"
msgstr "Entferne"
#: konova/forms.py:84
#: konova/forms.py:86
msgid "You are about to remove {} {}"
msgstr "Sie sind dabei {} {} zu löschen"
#: konova/forms.py:146
msgid "This will remove '{}'. Are you sure?"
msgstr "Hiermit wird '{}' gelöscht. Sind Sie sicher?"
#: konova/management/commands/setup_data.py:42
msgid "On new related data"
msgstr "Wenn neue Daten für mich angelegt werden"
@@ -421,11 +425,13 @@ msgstr "Ökokonto"
msgid "Withdraw"
msgstr "Abbuchen"
#: konova/views.py:118
#, fuzzy
#| msgid "Document identifier"
#: konova/views.py:133
msgid "Document '{}' deleted"
msgstr "Aktenzeichen"
msgstr "Dokument '{}' gelöscht"
#: konova/views.py:139
msgid "There was an error on this form."
msgstr "Es gab einen Fehler im Formular."
#: news/templates/news/dashboard-news.html:12 news/templates/news/index.html:19
msgid "Published on"
@@ -467,6 +473,10 @@ msgstr "Abbrechen"
msgid "Save"
msgstr "Speichern"
#: templates/modal/modal_form.html:30
msgid "Continue"
msgstr "Weiter"
#: templates/navbar.html:4
msgid "Kompensationsverzeichnis Service Portal"
msgstr ""