Documents removing

* adds document removing button
* adds translation
* adds Document admin
This commit is contained in:
mipel
2021-07-23 16:04:58 +02:00
parent 6cbf88fb1d
commit df8b62de22
7 changed files with 142 additions and 96 deletions

Binary file not shown.

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:73
#: intervention/filters.py:38 intervention/filters.py:39 konova/forms.py:71
#: user/forms.py:38
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-22 16:04+0200\n"
"POT-Creation-Date: 2021-07-23 16:00+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,14 +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:162
#: intervention/templates/intervention/detail-view.html:174
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:165
#: intervention/templates/intervention/detail-view.html:177
#: intervention/templates/intervention/detail-view.html:276
msgid "Title"
msgstr "Bezeichnung"
@@ -43,7 +44,7 @@ msgid "Actions"
msgstr "Aktionen"
#: compensation/tables.py:44
#: intervention/templates/intervention/detail-view.html:142
#: intervention/templates/intervention/detail-view.html:154
msgid "Compensations"
msgstr "Kompensationen"
@@ -100,14 +101,16 @@ msgid "Which intervention type is this"
msgstr "Welcher Eingriffstyp"
#: intervention/forms.py:44
#: intervention/templates/intervention/detail-view.html:65
msgid "Law"
msgstr "Recht"
msgstr "Gesetz"
#: intervention/forms.py:47
msgid "Based on which law"
msgstr "Basiert auf welchem Recht"
#: intervention/forms.py:50
#: intervention/templates/intervention/detail-view.html:85
msgid "Intervention handler"
msgstr "Eingriffsverursacher"
@@ -156,12 +159,12 @@ msgid "Edit intervention"
msgstr "Eingriff bearbeiten"
#: intervention/tables.py:33
#: intervention/templates/intervention/detail-view.html:77
#: intervention/templates/intervention/detail-view.html:89
msgid "Checked"
msgstr "Geprüft"
#: intervention/tables.py:39
#: intervention/templates/intervention/detail-view.html:91
#: intervention/templates/intervention/detail-view.html:103
msgid "Recorded"
msgstr "Verzeichnet"
@@ -237,61 +240,85 @@ msgid "Delete"
msgstr "Löschen"
#: intervention/templates/intervention/detail-view.html:61
msgid "Process type"
msgstr "Verfahrenstyp"
#: intervention/templates/intervention/detail-view.html:69
msgid "Registration office"
msgstr "Zulassungsbehörde"
#: intervention/templates/intervention/detail-view.html:65
#: intervention/templates/intervention/detail-view.html:73
msgid "Registration office file number"
msgstr "Aktenzeichen Zulassungsbehörde"
#: intervention/templates/intervention/detail-view.html:69
#: intervention/templates/intervention/detail-view.html:77
msgid "Conservation office"
msgstr "Naturschutzbehörde"
#: intervention/templates/intervention/detail-view.html:73
#: intervention/templates/intervention/detail-view.html:81
msgid "Conversation office file number"
msgstr "Aktenzeichen Naturschutzbehörde"
#: intervention/templates/intervention/detail-view.html:105
#: intervention/templates/intervention/detail-view.html:117
msgid "Registration date"
msgstr "Datum Zulassung bzw. Satzungsbeschluss"
#: intervention/templates/intervention/detail-view.html:109
#: intervention/templates/intervention/detail-view.html:121
msgid "Binding on"
msgstr "Datum Bestandskraft"
#: intervention/templates/intervention/detail-view.html:113
#: intervention/templates/intervention/detail-view.html:125
msgid "Last modified"
msgstr "Zuletzt bearbeitet"
#: intervention/templates/intervention/detail-view.html:117
#: intervention/templates/intervention/detail-view.html:129
msgid "by"
msgstr "von"
#: intervention/templates/intervention/detail-view.html:126
#: intervention/templates/intervention/detail-view.html:138
msgid "No geometry added, yet."
msgstr "Keine Geometrie vorhanden"
#: intervention/templates/intervention/detail-view.html:147
#: intervention/templates/intervention/detail-view.html:159
msgid "Add new compensation"
msgstr "Neue Kompensation hinzufügen"
#: intervention/templates/intervention/detail-view.html:192
#: intervention/templates/intervention/detail-view.html:204
msgid "Payments"
msgstr "Ersatzzahlungen"
#: intervention/templates/intervention/detail-view.html:197
#: intervention/templates/intervention/detail-view.html:209
msgid "Add new payment"
msgstr "Neue Zahlung hinzufügen"
#: intervention/templates/intervention/detail-view.html:212
#: intervention/templates/intervention/detail-view.html:224
msgid "Amount"
msgstr "Betrag"
#: intervention/templates/intervention/detail-view.html:215
#: intervention/templates/intervention/detail-view.html:227
msgid "Transfer comment"
msgstr "Verwendungszweck"
#: intervention/templates/intervention/detail-view.html:256
msgid "Documents"
msgstr "Dokumente"
#: intervention/templates/intervention/detail-view.html:261
msgid "Add new document"
msgstr "Neues Dokument hinzufügen"
#: intervention/templates/intervention/detail-view.html:279
msgid "Comment"
msgstr "Kommentar"
#: intervention/templates/intervention/detail-view.html:282
msgid "Action"
msgstr "Aktionen"
#: intervention/templates/intervention/detail-view.html:297
msgid "Remove document"
msgstr "Dokument löschen"
#: intervention/views.py:62
msgid "Intervention {} added"
msgstr "Eingriff {} hinzugefügt"
@@ -326,19 +353,19 @@ 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:46
#: konova/forms.py:44
msgid "Not editable"
msgstr "Nicht editierbar"
#: konova/forms.py:72
#: konova/forms.py:70
msgid "Confirm"
msgstr "Bestätigen"
#: konova/forms.py:84
#: konova/forms.py:82
msgid "Remove"
msgstr "Entferne"
#: konova/forms.py:86
#: konova/forms.py:84
msgid "You are about to remove {} {}"
msgstr "Sie sind dabei {} {} zu löschen"
@@ -394,6 +421,12 @@ msgstr "Ökokonto"
msgid "Withdraw"
msgstr "Abbuchen"
#: konova/views.py:118
#, fuzzy
#| msgid "Document identifier"
msgid "Document '{}' deleted"
msgstr "Aktenzeichen"
#: news/templates/news/dashboard-news.html:12 news/templates/news/index.html:19
msgid "Published on"
msgstr "Veröffentlicht am"
@@ -1922,9 +1955,6 @@ msgstr ""
#~ msgid "Intervention identifier"
#~ msgstr "Eingriffskennung"
#~ msgid "Processes"
#~ msgstr "Vorgänge"
#~ msgid ""
#~ "A process is based on an intervention. Please fill in the missing data "
#~ "for this intervention"
@@ -1962,9 +1992,6 @@ msgstr ""
#~ msgid "Registration office document identifier"
#~ msgstr "Aktenzeichen Eintragungsstelle"
#~ msgid "Document identifier"
#~ msgstr "Aktenzeichen"
#~ msgid "Date"
#~ msgstr "Datum"