decidim-participatory_documents 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/lint.yml +2 -2
  3. data/.github/workflows/test.yml +8 -5
  4. data/.ruby-version +1 -1
  5. data/.simplecov +15 -9
  6. data/Gemfile.lock +186 -184
  7. data/README.md +32 -28
  8. data/app/commands/decidim/participatory_documents/create_suggestion.rb +3 -1
  9. data/app/controllers/concerns/decidim/participatory_documents/needs_pdf_document.rb +8 -1
  10. data/app/controllers/decidim/participatory_documents/admin/documents_controller.rb +5 -3
  11. data/app/controllers/decidim/participatory_documents/admin/suggestions_controller.rb +21 -1
  12. data/app/controllers/decidim/participatory_documents/admin/valuation_assignments_controller.rb +5 -1
  13. data/app/controllers/decidim/participatory_documents/document_suggestions_controller.rb +14 -0
  14. data/app/controllers/decidim/participatory_documents/section_suggestions_controller.rb +4 -0
  15. data/app/forms/decidim/participatory_documents/admin/document_form.rb +2 -1
  16. data/app/jobs/decidim/participatory_documents/export_my_suggestions_job.rb +16 -0
  17. data/app/models/decidim/participatory_documents/suggestion.rb +12 -0
  18. data/app/packs/entrypoints/decidim_participatory_documents.scss +8 -0
  19. data/app/packs/entrypoints/decidim_participatory_documents_editor.js +1 -3
  20. data/app/packs/entrypoints/decidim_participatory_documents_viewer_off.js +6 -0
  21. data/app/packs/images/export_suggestions.svg +1 -0
  22. data/app/packs/src/decidim/participatory_documents/pdf/pdf_modal_manager.js +4 -1
  23. data/app/packs/src/decidim/participatory_documents/pdf/suggestion_form.js +1 -1
  24. data/app/packs/src/decidim/participatory_documents/pdf.js +46 -0
  25. data/app/packs/src/decidim/participatory_documents/pdf_off.js +39 -0
  26. data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_modals.scss +9 -5
  27. data/app/packs/stylesheets/decidim/participatory_documents/pdf/admin_tweaks.scss +0 -21
  28. data/app/packs/stylesheets/decidim/participatory_documents/{decidim_admin_classes.scss → pdf/decidim_admin_styles.scss} +0 -3
  29. data/app/packs/stylesheets/decidim/participatory_documents/pdf/modals.scss +49 -0
  30. data/app/packs/stylesheets/decidim/participatory_documents/pdf/tweaks.scss +76 -7
  31. data/app/permissions/decidim/participatory_documents/admin/permissions.rb +30 -15
  32. data/app/permissions/decidim/participatory_documents/permissions.rb +2 -0
  33. data/app/serializers/decidim/participatory_documents/my_suggestion_serializer.rb +22 -0
  34. data/app/serializers/decidim/participatory_documents/suggestion_serializer.rb +1 -1
  35. data/app/uploaders/decidim/participatory_documents/pdf_document_uploader.rb +4 -0
  36. data/app/views/decidim/participatory_documents/admin/documents/_editor_modal.html.erb +1 -1
  37. data/app/views/decidim/participatory_documents/admin/documents/pdf_viewer.html.erb +1 -1
  38. data/app/views/decidim/participatory_documents/admin/sections/_form.html.erb +0 -3
  39. data/app/views/decidim/participatory_documents/admin/suggestions/_suggestion.html.erb +1 -1
  40. data/app/views/decidim/participatory_documents/documents/_export_modal.html.erb +25 -0
  41. data/app/views/decidim/participatory_documents/documents/_pdfjs_base.html.erb +5 -2
  42. data/app/views/decidim/participatory_documents/documents/pdf_viewer.html.erb +40 -33
  43. data/config/assets.rb +1 -0
  44. data/config/locales/ca.yml +259 -0
  45. data/config/locales/de.yml +259 -0
  46. data/config/locales/en.yml +13 -0
  47. data/config/locales/es.yml +259 -0
  48. data/lib/decidim/participatory_documents/component.rb +6 -4
  49. data/lib/decidim/participatory_documents/engine.rb +5 -1
  50. data/lib/decidim/participatory_documents/version.rb +2 -2
  51. data/lib/decidim/participatory_documents.rb +5 -3
  52. metadata +12 -3
@@ -0,0 +1,259 @@
1
+ ---
2
+ ca:
3
+ activemodel:
4
+ attributes:
5
+ document:
6
+ box_color: Color of the boxes
7
+ box_opacity: Opacity applied at the color of the boxes (%)
8
+ description: Helper description
9
+ file: PDF Document
10
+ title: Helper title
11
+ errors:
12
+ models:
13
+ answer_suggestion:
14
+ attributes:
15
+ state:
16
+ inclusion: It's not possible to publish with status "not answered"
17
+ document:
18
+ has_suggestions: This document cannot be changed or removed because it has suggestions
19
+ suggestion:
20
+ attributes:
21
+ not_blank: 'Validation failed: Please provide a message or upload a file'
22
+ too_long: is too long (over %{max_length} characters)
23
+ too_short: is too short (under %{min_length} characters)
24
+ decidim:
25
+ admin:
26
+ actions:
27
+ export: Export
28
+ exports:
29
+ export_as: "%{name} as %{export_format}"
30
+ filters:
31
+ search_placeholder:
32
+ body_cont: Body Contains
33
+ suggestions:
34
+ body_cont:
35
+ label: Body contains
36
+ dummy_author_ids_has:
37
+ label: Author
38
+ dummy_suggestable_id_has:
39
+ label: Section
40
+ state_eq:
41
+ label: State is
42
+ values:
43
+ accepted: Accepted
44
+ evaluating: Evaluating
45
+ not_answered: Not Answered
46
+ published: Published
47
+ rejected: Rejected
48
+ withdrawn: Withdrawn
49
+ valuator_role_ids_has:
50
+ label: Assigned to valuator
51
+ admin_log:
52
+ annotation:
53
+ create: "%{user_name} ha creat una nova àrea de participació per a %{document_name}"
54
+ delete: "%{user_name} deleted a participatory area for %{document_name}"
55
+ update: "%{user_name} has updated a participatory area for %{document_name}"
56
+ document:
57
+ create: "%{user_name} ha creat un document anomenat %{resource_name} a %{space_name}"
58
+ delete: "%{user_name} ha suprimit un document anomenat %{resource_name} a %{space_name}"
59
+ update: "%{user_name} ha actualitzat un document anomenat %{resource_name} a %{space_name}"
60
+ section:
61
+ create: "%{user_name} has created a new Section named %{resource_name} for %{document_name}"
62
+ delete: "%{user_name} has deleted a section"
63
+ update: "%{user_name} has updated a section in %{document_name}"
64
+ suggestion_note:
65
+ create: "%{user_name} created a new suggestion note %{suggestion}"
66
+ components:
67
+ participatory_documents:
68
+ name: Document participatiu
69
+ settings:
70
+ global:
71
+ max_suggestion_length: Maximum suggestion length (characters)
72
+ min_suggestion_length: Minimum suggestion length (characters)
73
+ suggestion_answering_enabled: Enable suggestion answering from admin
74
+ events:
75
+ participatory_documents:
76
+ suggestion_answered:
77
+ affected_user:
78
+ email_intro: 'A suggestion you submitted on "<a href="%{resource_path}">%{resource_title}</a>" document has been answered by an administrator. You can read the answer in this page:'
79
+ email_outro: You have received this notification because you have submitted a suggestion for "<a href="%{resource_path}">%{resource_title}</a>" document.
80
+ email_subject: A suggestion you have submitted has been answered by an administrator
81
+ notification_title: A suggestion you submitted on "<a href="%{resource_path}">%{resource_title}</a>" document has been answered by an administrator
82
+ forms:
83
+ file_help:
84
+ file:
85
+ pdf_message: Only PDF files are allowed
86
+ participatory_documents:
87
+ actions:
88
+ back: Enrere
89
+ back_edit: Go back to edit participatory sections
90
+ confirm: This action means that you will not be able to edit the document or create new sections, are you sure?
91
+ edit_boxes: Edita les àrees de participació
92
+ edit_document: Edita/actualitza el document
93
+ finish_publishing: Publish participatory sections
94
+ new: Puja un document PDF
95
+ preview_publishing_sections: Preview and publish sections
96
+ title: Accions
97
+ admin:
98
+ documents:
99
+ create:
100
+ invalid: Hi ha hagut un problema en crear el document
101
+ success: El document s'ha creat correctament
102
+ edit:
103
+ title: Edita el document participatiu
104
+ update: Actualitza
105
+ final_publish:
106
+ error: There was an error publishing sections
107
+ success: Sections have been successfully published
108
+ form:
109
+ alert_suggestions_html: "<strong>IMPORTANT:</strong> This document cannot be changed or removed because it already has suggestions attached"
110
+ box_style_preview: 'Box style preview:'
111
+ warning_sections_html: "<strong>Warning:</strong> If you upload a new document, all the participatory areas will be deleted!"
112
+ index:
113
+ start: Pengeu un PDF per començar
114
+ new:
115
+ create: Create participatory document
116
+ title: New participatory document
117
+ sections:
118
+ empty: "(empty)"
119
+ update:
120
+ error: There was a problem updating Document
121
+ success: El document s'ha actualitzat correctament
122
+ exports:
123
+ suggestions: Suggestions
124
+ suggestion_notes:
125
+ create:
126
+ error: There was a problem creating this suggestion note
127
+ success: Suggestion note successfully created
128
+ form:
129
+ note: Note
130
+ submit: Submit
131
+ leave_your_note: Leave your note
132
+ modal:
133
+ body: Body
134
+ title: Edit note
135
+ update: Update
136
+ title: Private notes
137
+ update:
138
+ edited: Edited
139
+ invalid: There was a problem updating this suggestion note
140
+ success: Suggestion note successfully updated
141
+ suggestions:
142
+ answer:
143
+ invalid: There was an error adding the answer
144
+ success: Successfully added the answer
145
+ form:
146
+ answer: Answer
147
+ answer_is_published: Published
148
+ title: Answer Suggestion
149
+ index:
150
+ actions:
151
+ answer: Answer
152
+ assign_to_valuator: Assign to valuator
153
+ assign_to_valuator_button: Assign
154
+ cancel: Cancel
155
+ download: download %{filename}
156
+ publish: Publish
157
+ publish_answers: Publish answers
158
+ title: Actions
159
+ unassign_from_valuator: Unassign from valuator
160
+ unassign_from_valuator_button: Unassign
161
+ author: Author
162
+ created_at: Submitted on
163
+ id: Id
164
+ no_text: "(no text)"
165
+ published_answer: Published Answer
166
+ section: Section
167
+ selected: selected
168
+ state: State
169
+ suggestion: Suggestion
170
+ title: List Suggestions
171
+ publish_answers:
172
+ number_of_suggestions: Answers for %{number} suggestions will be published.
173
+ select_a_suggestion: Please select a suggestion
174
+ success: Suggestion answers successfully published.
175
+ show:
176
+ authors: Authors
177
+ body: Body
178
+ created_at: Creation date
179
+ file: File
180
+ update: Update
181
+ suggestion:
182
+ global: Global
183
+ valuators:
184
+ assigned_valuators: Assigned valuators
185
+ remove_assignment: Remove assignment
186
+ remove_assignment_confirmation: Are you sure you want to remove the valuator from this suggestion?
187
+ valuators: Valuators
188
+ valuation_assignments:
189
+ create:
190
+ invalid: There was an error assigning suggestions to a valuator
191
+ success: Suggestions assigned to a valuator successfully
192
+ delete:
193
+ invalid: There was an error unassigning suggestions from a valuator
194
+ success: Valuator unassigned from suggestions successfully
195
+ document:
196
+ close: Close
197
+ export_my_suggestions: Export my suggestions
198
+ global_suggestions: Global suggestions
199
+ save_changes: Save changes!
200
+ send_suggestion: Send suggestion
201
+ suggestion_answer: Official answer
202
+ upload_file: Attach a document
203
+ document_suggestions:
204
+ export:
205
+ empty: There are no suggestions to export.
206
+ success: "%{count} suggestions have been successfully exported. Please check your email inbox at %{email}."
207
+ documents:
208
+ export_modal:
209
+ description_html: You have %{count} suggestions on this document. If you want to export them, you will receive a ZIP file with and Excel document in it with all your data and any possible answer the admins have given to you. <br><br>You will receive an email at <b>%{email}</b>.
210
+ send: Send me my suggestions
211
+ title: Export my suggestions
212
+ missing: There is no document uploaded yet
213
+ not_supported: This page requires JavaScript to be enabled!
214
+ preview_title: Preview
215
+ publish_description: 'Admin options: you are previewing the participatory sections of the document'
216
+ models:
217
+ document:
218
+ fields:
219
+ document_pages: Número de pàgina
220
+ id: Id
221
+ published: Publicat
222
+ state: Estat
223
+ title: Títol
224
+ section:
225
+ fields:
226
+ artificial_tile: Section %{position}
227
+ suggestion:
228
+ fields:
229
+ valuators: Valuators
230
+ 'no': 'No'
231
+ suggestions:
232
+ answers:
233
+ accepted: Accepted
234
+ evaluating: Evaluating
235
+ not_answered: Not Answered
236
+ published: Published
237
+ rejected: Rejected
238
+ withdrawn: Withdrawn
239
+ modal:
240
+ exit_full_screen: Exit fullscreen
241
+ full_screen: Fullscreen
242
+ ui_messages:
243
+ allSaved: All the areas have been saved successfully
244
+ confirmExit: Are you sure you want to exit?
245
+ created: The area has been created
246
+ errorsSaving: Some errors have occurred while saving the areas
247
+ group: Group
248
+ modalTitle: Section %{section}, area %{box}
249
+ move: Move
250
+ needsSaving: You have to save the areas before editing them
251
+ operationFailed: The operation has failed
252
+ removeBoxConfirm: Are you sure you want to delete this area? This cannot be undone.
253
+ removed: The area has been removed
254
+ startEditing: Start creating areas for participation by clicking and dragging. Once created, boxes can be resized, moved, or grouped.
255
+ startSuggesting: Click on a marked area to participate!
256
+ suggestion_form:
257
+ blank: There was an error creating the suggestion. Upload the valid file or add a text message with the suggestion.
258
+ title: Write your suggestion or upload a file with your suggestions
259
+ 'yes': 'Sí'
@@ -0,0 +1,259 @@
1
+ ---
2
+ de:
3
+ activemodel:
4
+ attributes:
5
+ document:
6
+ box_color: Farbe der Felder
7
+ box_opacity: Deckkraft angewendet auf die Farbe der Boxen (%)
8
+ description: Beschreibung
9
+ file: PDF Dokument
10
+ title: Titel
11
+ errors:
12
+ models:
13
+ answer_suggestion:
14
+ attributes:
15
+ state:
16
+ inclusion: Ändere den Status, um die Antwort zu veröffentlichen
17
+ document:
18
+ has_suggestions: Das Dokument kann nicht geändert oder gelöscht werden, da es bereits Bemerkungen enthält
19
+ suggestion:
20
+ attributes:
21
+ not_blank: 'Bitte gib eine Nachricht ein oder lade eine Datei hoch'
22
+ too_long: Ist zu lang (max. %{max_length} Zeichen)
23
+ too_short: Ist zu kurz (min. %{min_length} Zeichen)
24
+ decidim:
25
+ admin:
26
+ actions:
27
+ export: Exportieren
28
+ exports:
29
+ export_as: "%{name} als %{export_format}"
30
+ filters:
31
+ search_placeholder:
32
+ body_cont: Beschreibung enthält
33
+ suggestions:
34
+ body_cont:
35
+ label: Beschreibung enthält
36
+ dummy_author_ids_has:
37
+ label: Verfasser/in
38
+ dummy_suggestable_id_has:
39
+ label: Abschnitt
40
+ state_eq:
41
+ label: Status
42
+ values:
43
+ accepted: Angenommen
44
+ evaluating: in Bewertung
45
+ not_answered: Unbeantwortet
46
+ published: Erhalten
47
+ rejected: Abgelehnt
48
+ withdrawn: Zurückgezogen
49
+ valuator_role_ids_has:
50
+ label: Zugewiesene Experten
51
+ admin_log:
52
+ annotation:
53
+ create: "%{user_name} hat einen neuen partizipativen Abschnitt für %{document_name} erstellt"
54
+ delete: "%{user_name} hat einen partizipativen Abschnitt aus %{document_name} gelöscht"
55
+ update: "%{user_name} hat einen partizipativen Abschnitt für %{document_name} aktualisiert"
56
+ document:
57
+ create: "%{user_name} hat ein Dokument namens %{resource_name} in %{space_name} erstellt"
58
+ delete: "%{user_name} hat ein Dokument namens %{resource_name} in %{space_name} gelöscht"
59
+ update: "%{user_name} hat ein Dokument namens %{resource_name} in %{space_name} aktualisiert"
60
+ section:
61
+ create: "%{user_name} hat einen neuen Abschnitt namens %{resource_name} für %{document_name} erstellt,"
62
+ delete: "%{user_name} hat einen Abschnitt gelöscht"
63
+ update: "%{user_name} hat einen Abschnitt in %{document_name} aktualisiert"
64
+ suggestion_note:
65
+ create: "%{user_name} hat eine Notiz zur Bemerkung %{suggestion} hinterlassen"
66
+ components:
67
+ participatory_documents:
68
+ name: Bemerkungen zu PDF's
69
+ settings:
70
+ global:
71
+ max_suggestion_length: Maximale Länge der Bemerkungen (Zeichen)
72
+ min_suggestion_length: Minimale Länge der Bemerkungen (Zeichen)
73
+ suggestion_answering_enabled: Antworten zu Bemerkungen durch Admins ermöglichen
74
+ events:
75
+ participatory_documents:
76
+ suggestion_answered:
77
+ affected_user:
78
+ email_intro: 'Eine Bemerkung, die du im Dokument "<a href="%{resource_path}">%{resource_title}</a>" eingebracht hast, wurde kommentiert. Die Antwort ist auf dieser Seite einsehbar:'
79
+ email_outro: Du hast diese Benachrichtigung erhalten, weil du eine Bemerkung für das Dokument "<a href="%{resource_path}">%{resource_title}</a>" eingebracht hast.
80
+ email_subject: Eine Bemerkung, die du eingebracht hast, wurde kommentiert
81
+ notification_title: Eine Bemerkung, die du im Dokument "<a href="%{resource_path}">%{resource_title}</a>" eingebracht hast, wurde kommentiert
82
+ forms:
83
+ file_help:
84
+ file:
85
+ pdf_message: Nur PDF-Dateien sind erlaubt
86
+ participatory_documents:
87
+ actions:
88
+ back: Zurück
89
+ back_edit: Zurück zum Bearbeiten der partizipativen Abschnitte
90
+ confirm: 'Wichtiger Hinweis: Das Dokument und die Abschnitte werden danach nicht mehr bearbeitbar sein. Bist du sicher?'
91
+ edit_boxes: Partizipative Abschnitte bearbeiten
92
+ edit_document: Dokument bearbeiten / hochladen
93
+ finish_publishing: PDF und Abschnitte definitiv publizieren
94
+ new: PDF-Dokument hochladen
95
+ preview_publishing_sections: Vorschau und Veröffentlichung
96
+ title: Aktivitäten
97
+ admin:
98
+ documents:
99
+ create:
100
+ invalid: Beim Erstellen des Dokuments ist ein Fehler aufgetreten
101
+ success: Das Dokument wurde erfolgreich angelegt
102
+ edit:
103
+ title: Dokument/Abschnitte bearbeiten
104
+ update: Aktualisieren
105
+ final_publish:
106
+ error: Beim Veröffentlichen der Abschnitte ist ein Fehler aufgetreten
107
+ success: Das PDF mit den partizipativen Abschnitten wurden erfolgreich veröffentlicht
108
+ form:
109
+ alert_suggestions_html: "<strong>WICHTIG:</strong> Dieses Dokument kann nicht geändert oder entfernt werden, da es bereits Bemerkungen enthält"
110
+ box_style_preview: 'Vorschau für den Stil der Felder:'
111
+ warning_sections_html: "<strong>Warnung:</strong> Wenn du ein neues Dokument hochlädst, werden alle bisher erfassten Abschnitte gelöscht!"
112
+ index:
113
+ start: Bitte lade ein PDF hoch, um zu beginnen
114
+ new:
115
+ create: Dokument aufbereiten
116
+ title: Neues Dokument
117
+ sections:
118
+ empty: "(leer)"
119
+ update:
120
+ error: Beim Hochladen des Dokuments ist ein Fehler aufgetreten
121
+ success: Das Dokument wurde erfolgreich aktualisiert
122
+ exports:
123
+ suggestions: Bemerkungen
124
+ suggestion_notes:
125
+ create:
126
+ error: Beim Erstellen dieser Notiz ist ein Problem aufgetreten
127
+ success: Notiz erfolgreich erstellt
128
+ form:
129
+ note: Notiz
130
+ submit: Notiz speichern
131
+ leave_your_note: Notiz hinterlassen
132
+ modal:
133
+ body: Inhalt
134
+ title: Notiz bearbeiten
135
+ update: Aktualisieren
136
+ title: (interne) Notizen
137
+ update:
138
+ edited: Bearbeitet
139
+ invalid: Es gab ein Problem beim Aktualisieren der Notiz
140
+ success: Notiz erfolgreich erstellt
141
+ suggestions:
142
+ answer:
143
+ invalid: Es gab einen Fehler beim Hinzufügen der Antwort
144
+ success: Antwort erfolgreich hinzugefügt
145
+ form:
146
+ answer: Antwort
147
+ answer_is_published: Veröffentlicht
148
+ title: Antwort zur Bemerkung
149
+ index:
150
+ actions:
151
+ answer: Antworten
152
+ assign_to_valuator: Einem Experten zuweisen
153
+ assign_to_valuator_button: Zuweisen
154
+ cancel: Abbrechen
155
+ download: lade %{filename} herunter
156
+ publish: Veröffentlichen
157
+ publish_answers: Antworten senden
158
+ title: Aktivitäten
159
+ unassign_from_valuator: Zuweisung des Experten aufheben
160
+ unassign_from_valuator_button: Aufheben
161
+ author: Verfasser/in
162
+ created_at: Eingereicht am
163
+ id: id
164
+ no_text: "(kein Text)"
165
+ published_answer: Veröffentlichte Antwort
166
+ section: Abschnitt
167
+ selected: ausgewählt
168
+ state: Status
169
+ suggestion: Bemerkung
170
+ title: Titel
171
+ publish_answers:
172
+ number_of_suggestions: Die Antworten zu %{number} Bemerkungen werden veröffentlicht.
173
+ select_a_suggestion: Bitte wähle eine Bemerkung aus
174
+ success: Die Antworten zu den Bemerkungen wurden erfolgreich versendet.
175
+ show:
176
+ authors: Verfasser/in
177
+ body: Bemerkung
178
+ created_at: Erstellungsdatum
179
+ file: Datei
180
+ update: Aktualisieren
181
+ suggestion:
182
+ global: Allgemeine Bemerkung
183
+ valuators:
184
+ assigned_valuators: Zugewiesene Experten
185
+ remove_assignment: Zuweisung entfernen
186
+ remove_assignment_confirmation: Bist du sicher, dass du die Zuweisung dieses Experten entfernen möchtest?
187
+ valuators: Expert/innen
188
+ valuation_assignments:
189
+ create:
190
+ invalid: Bei der Zuordnung der Bemerkung zu einem Experten ist ein Fehler aufgetreten
191
+ success: Die Bemerkungen wurden erfolgreich einem Experten zugeordnet
192
+ delete:
193
+ invalid: Beim Zurückziehen der Zuweisung von Bemerkungen an einen Experten ist ein Fehler aufgetreten
194
+ success: Die Zuordnung eines Experten zu Bemerkungen wurde erfolgreich aufgehoben
195
+ document:
196
+ close: Schliessen
197
+ export_my_suggestions: Meine Bemerkungen herunterladen
198
+ global_suggestions: Allgemeine Bemerkungen
199
+ save_changes: Änderungen speichern!
200
+ send_suggestion: Bemerkung absenden
201
+ suggestion_answer: Offizielle Antwort
202
+ upload_file: Ein Dokument anhängen
203
+ document_suggestions:
204
+ export:
205
+ empty: Es gibt keine zu exportierenden Bemerkungen.
206
+ success: "Deine %{count} Bemerkungen wurden erfolgreich exportiert. Bitte überprüfe deinen E-Mail-Posteingang unter %{email}."
207
+ documents:
208
+ export_modal:
209
+ description_html: 'Du hast in diesem Dokument %{count} Bemerkungen eingebracht. Um diese übersichtlich für dich ablegen zu können, schicken wir dir ein E-Mail mit einem Anhang in Form einer ZIP-Datei mit darin enthaltenem Excel-Dokument. <br><br>Du erhälst die ZIP-Datei auf die folgende E-Mail Adresse: <b>%{email}</b>.'
210
+ send: Meine Bemerkungen als Excel-Export erhalten
211
+ title: Meine Bemerkungen herunterladen
212
+ missing: Es gibt noch kein hochgeladenes Dokument
213
+ not_supported: Du brauchst JavaScript um diese Seite korrekt anzeigen zu lassen!
214
+ preview_title: Vorschau
215
+ publish_description: 'Admin-Ansicht: Du siehst die partizipativen Abschnitte des Dokuments als Vorschau'
216
+ models:
217
+ document:
218
+ fields:
219
+ document_pages: Seitennummern
220
+ id: id
221
+ published: Veröffentlicht
222
+ state: Status
223
+ title: Titel
224
+ section:
225
+ fields:
226
+ artificial_tile: Abschnitt %{position}
227
+ suggestion:
228
+ fields:
229
+ valuators: Expert/innen
230
+ 'no': 'Keines'
231
+ suggestions:
232
+ answers:
233
+ accepted: Angenommen
234
+ evaluating: in Bewertung
235
+ not_answered: Unbeantwortet
236
+ published: Veröffentlicht
237
+ rejected: Abgelehnt
238
+ withdrawn: Zurückgezogen
239
+ modal:
240
+ exit_full_screen: Vollbildmodus verlassen
241
+ full_screen: Vollbildmodus
242
+ ui_messages:
243
+ allSaved: Alle Abschnitte wurden erfolgreich gespeichert
244
+ confirmExit: Bist du sicher, dass du beenden möchtest?
245
+ created: Der Abschnitt wurde erstellt
246
+ errorsSaving: Beim Speichern der Abschnitte sind Fehler aufgetreten
247
+ group: Gruppe
248
+ modalTitle: Abschnitt %{section}, Bereich %{box}
249
+ move: Verschieben
250
+ needsSaving: Du musst die Bereiche speichern, bevor du sie bearbeitest
251
+ operationFailed: Vorgang fehlgeschlagen
252
+ removeBoxConfirm: Bist du sicher, dass du diesen Bereich löschen möchtest? Dies kann nicht rückgängig gemacht werden.
253
+ removed: Der Bereich wurde entfernt
254
+ startEditing: Durch klicken und ziehen kannst du Bereiche für die Eingabe von Bemerkungen definieren. Einmal erstellt, können die Abschnitte verändert, verschoben oder gruppiert werden.
255
+ startSuggesting: Klicke auf einen markierten Bereich, um eine Bemerkung einzubringen! Deine Bemerkungen sind nicht durch Drittpersonen einsehbar.
256
+ suggestion_form:
257
+ blank: Beim Speichern der Bemerkung ist ein Fehler aufgetreten. Lade eine gültige Datei hoch oder schreibe eine Bemerkung.
258
+ title: Schreib eine Bemerkung oder lade eine Datei hoch
259
+ 'yes': 'Ja'
@@ -206,12 +206,25 @@ en:
206
206
  success: Valuator unassigned from suggestions successfully
207
207
  document:
208
208
  close: Close
209
+ export_my_suggestions: Export my suggestions
209
210
  global_suggestions: Global suggestions
210
211
  save_changes: Save changes!
211
212
  send_suggestion: Send suggestion
212
213
  suggestion_answer: Official answer
213
214
  upload_file: Attach a document
215
+ document_suggestions:
216
+ export:
217
+ empty: There are no suggestions to export.
218
+ success: "%{count} suggestions have been successfully exported. Please check
219
+ your email inbox at %{email}."
214
220
  documents:
221
+ export_modal:
222
+ description_html: You have %{count} suggestions on this document. If you
223
+ want to export them, you will receive a ZIP file with and Excel document
224
+ in it with all your data and any possible answer the admins have given
225
+ to you. <br><br>You will receive an email at <b>%{email}</b>.
226
+ send: Send me my suggestions
227
+ title: Export my suggestions
215
228
  missing: There is no document uploaded yet
216
229
  not_supported: This page requires JavaScript to be enabled!
217
230
  preview_title: Preview