decidim-participatory_documents 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +7 -0
- data/Gemfile.lock +90 -88
- data/README.md +11 -1
- data/app/cells/decidim/participatory_documents/suggestion/admin_answer.erb +1 -1
- data/app/commands/decidim/participatory_documents/admin/create_document.rb +6 -2
- data/app/controllers/decidim/participatory_documents/admin/documents_controller.rb +1 -1
- data/app/controllers/decidim/participatory_documents/admin/suggestions_controller.rb +9 -1
- data/app/controllers/decidim/participatory_documents/admin/valuation_assignments_controller.rb +8 -2
- data/app/forms/decidim/participatory_documents/admin/document_form.rb +7 -0
- data/app/models/decidim/participatory_documents/document.rb +11 -0
- data/app/permissions/decidim/participatory_documents/admin/permissions.rb +3 -11
- data/app/views/decidim/participatory_documents/admin/documents/edit_pdf.html.erb +1 -0
- data/app/views/decidim/participatory_documents/admin/suggestions/_add_valuators.html.erb +1 -1
- data/app/views/decidim/participatory_documents/admin/suggestions/_valuators.html.erb +1 -2
- data/app/views/decidim/participatory_documents/documents/index.html.erb +2 -2
- data/config/locales/ca.yml +147 -145
- data/config/locales/de.yml +2 -0
- data/config/locales/en.yml +2 -0
- data/config/locales/es.yml +148 -146
- data/lib/decidim/participatory_documents/version.rb +2 -2
- data/lib/decidim/participatory_documents.rb +4 -0
- metadata +2 -2
data/config/locales/ca.yml
CHANGED
|
@@ -3,96 +3,98 @@ ca:
|
|
|
3
3
|
activemodel:
|
|
4
4
|
attributes:
|
|
5
5
|
document:
|
|
6
|
-
box_color: Color
|
|
7
|
-
box_opacity:
|
|
8
|
-
description:
|
|
9
|
-
file: PDF
|
|
10
|
-
title:
|
|
6
|
+
box_color: Color de les caixes
|
|
7
|
+
box_opacity: Opacitat aplicada al color de les caixes (%)
|
|
8
|
+
description: Descripció d'ajuda
|
|
9
|
+
file: Document PDF
|
|
10
|
+
title: Títol d'ajuda
|
|
11
|
+
suggestion:
|
|
12
|
+
body: Afegeix el teu suggeriment
|
|
11
13
|
errors:
|
|
12
14
|
models:
|
|
13
15
|
answer_suggestion:
|
|
14
16
|
attributes:
|
|
15
17
|
state:
|
|
16
|
-
inclusion:
|
|
18
|
+
inclusion: No és possible publicar amb l'estat "no contestat"
|
|
17
19
|
document:
|
|
18
|
-
has_suggestions:
|
|
20
|
+
has_suggestions: Aquest document no pot ser modificat o eliminat perquè ja té suggeriments
|
|
19
21
|
suggestion:
|
|
20
22
|
attributes:
|
|
21
|
-
not_blank: '
|
|
22
|
-
too_long:
|
|
23
|
-
too_short:
|
|
23
|
+
not_blank: 'Validació fallida: Si us plau, proporciona un missatge o puja un fitxer'
|
|
24
|
+
too_long: és massa llarg (més de %{max_length} caràcters)
|
|
25
|
+
too_short: és massa curt (menys de %{min_length} caràcters)
|
|
24
26
|
decidim:
|
|
25
27
|
admin:
|
|
26
28
|
actions:
|
|
27
|
-
export:
|
|
29
|
+
export: Exporta
|
|
28
30
|
exports:
|
|
29
|
-
export_as: "%{name}
|
|
31
|
+
export_as: "%{name} com a %{export_format}"
|
|
30
32
|
filters:
|
|
31
33
|
search_placeholder:
|
|
32
|
-
body_cont:
|
|
34
|
+
body_cont: El cos conté
|
|
33
35
|
suggestions:
|
|
34
36
|
body_cont:
|
|
35
|
-
label:
|
|
37
|
+
label: El cos conté
|
|
36
38
|
dummy_author_ids_has:
|
|
37
|
-
label:
|
|
39
|
+
label: Autor
|
|
38
40
|
dummy_suggestable_id_has:
|
|
39
|
-
label:
|
|
41
|
+
label: Secció
|
|
40
42
|
state_eq:
|
|
41
|
-
label:
|
|
43
|
+
label: L'estat és
|
|
42
44
|
values:
|
|
43
|
-
accepted:
|
|
44
|
-
evaluating:
|
|
45
|
-
not_answered:
|
|
46
|
-
published:
|
|
47
|
-
rejected:
|
|
48
|
-
withdrawn:
|
|
45
|
+
accepted: Acceptada
|
|
46
|
+
evaluating: En avaluació
|
|
47
|
+
not_answered: No contestat
|
|
48
|
+
published: Publicat
|
|
49
|
+
rejected: Rebutjat
|
|
50
|
+
withdrawn: Retirada
|
|
49
51
|
valuator_role_ids_has:
|
|
50
|
-
label:
|
|
52
|
+
label: Assignada a avaluadora
|
|
51
53
|
admin_log:
|
|
52
54
|
annotation:
|
|
53
55
|
create: "%{user_name} ha creat una nova àrea de participació per a %{document_name}"
|
|
54
|
-
delete: "%{user_name}
|
|
55
|
-
update: "%{user_name}
|
|
56
|
+
delete: "%{user_name} ha suprimit una nova àrea de participació per a %{document_name}"
|
|
57
|
+
update: "%{user_name} ha actualitzat una nova àrea de participació per a %{document_name}"
|
|
56
58
|
document:
|
|
57
59
|
create: "%{user_name} ha creat un document anomenat %{resource_name} a %{space_name}"
|
|
58
60
|
delete: "%{user_name} ha suprimit un document anomenat %{resource_name} a %{space_name}"
|
|
59
61
|
update: "%{user_name} ha actualitzat un document anomenat %{resource_name} a %{space_name}"
|
|
60
62
|
section:
|
|
61
|
-
create: "%{user_name}
|
|
62
|
-
delete: "%{user_name}
|
|
63
|
-
update: "%{user_name}
|
|
63
|
+
create: "%{user_name} ha creat un Grup nou anomenat %{resource_name} per a %{document_name}"
|
|
64
|
+
delete: "%{user_name} ha suprimit un grup"
|
|
65
|
+
update: "%{user_name} ha actualitzat un nou grup de participació per a %{document_name}"
|
|
64
66
|
suggestion_note:
|
|
65
|
-
create: "%{user_name}
|
|
67
|
+
create: "%{user_name} ha creat una nova nota privada a %{suggestion}"
|
|
66
68
|
components:
|
|
67
69
|
participatory_documents:
|
|
68
70
|
name: Document participatiu
|
|
69
71
|
settings:
|
|
70
72
|
global:
|
|
71
|
-
max_suggestion_length:
|
|
72
|
-
min_suggestion_length:
|
|
73
|
-
suggestion_answering_enabled:
|
|
73
|
+
max_suggestion_length: Longitud màxima del suggeriment (caràcters)
|
|
74
|
+
min_suggestion_length: Longitud mínima del suggeriment (caràcters)
|
|
75
|
+
suggestion_answering_enabled: Habilitar la resposta de suggerències des de l'administrador
|
|
74
76
|
events:
|
|
75
77
|
participatory_documents:
|
|
76
78
|
suggestion_answered:
|
|
77
79
|
affected_user:
|
|
78
|
-
email_intro: '
|
|
79
|
-
email_outro:
|
|
80
|
-
email_subject:
|
|
81
|
-
notification_title:
|
|
80
|
+
email_intro: 'El suggeriment que vas enviar pel document "<a href="%{resource_path}">%{resource_title}</a>" a estat respost per una administradora. Pots llegir la respost en aquesta pàgina:'
|
|
81
|
+
email_outro: Has rebut aquesta notificació perquè vas enviar un suggeriment al document "<a href="%{resource_path}">%{resource_title}</a>".
|
|
82
|
+
email_subject: El suggeriment que has enviat s'ha respost per part d'un administrador
|
|
83
|
+
notification_title: El suggeriment que vas enviar en el document "<a href="%{resource_path}">%{resource_title}</a>" ha estat respost per una administradora
|
|
82
84
|
forms:
|
|
83
85
|
file_help:
|
|
84
86
|
file:
|
|
85
|
-
pdf_message:
|
|
87
|
+
pdf_message: Només estan permesos els fitxers PDF
|
|
86
88
|
participatory_documents:
|
|
87
89
|
actions:
|
|
88
90
|
back: Enrere
|
|
89
|
-
back_edit:
|
|
90
|
-
confirm:
|
|
91
|
+
back_edit: Torna enrere per editar els grups de participació
|
|
92
|
+
confirm: Aquesta acció significa que no podràs editar el document ni crear nous grups de participació, n'estàs segur?
|
|
91
93
|
edit_boxes: Edita les àrees de participació
|
|
92
94
|
edit_document: Edita/actualitza el document
|
|
93
|
-
finish_publishing:
|
|
95
|
+
finish_publishing: Publica els grups de participació
|
|
94
96
|
new: Puja un document PDF
|
|
95
|
-
preview_publishing_sections:
|
|
97
|
+
preview_publishing_sections: Previsualitza i publica els grups
|
|
96
98
|
title: Accions
|
|
97
99
|
admin:
|
|
98
100
|
documents:
|
|
@@ -103,116 +105,116 @@ ca:
|
|
|
103
105
|
title: Edita el document participatiu
|
|
104
106
|
update: Actualitza
|
|
105
107
|
final_publish:
|
|
106
|
-
error:
|
|
107
|
-
success:
|
|
108
|
+
error: Hi ha hagut un error en publicar els grups de participació
|
|
109
|
+
success: Els grups s'han publicat correctament
|
|
108
110
|
form:
|
|
109
|
-
alert_suggestions_html: "<strong>IMPORTANT:</strong>
|
|
110
|
-
box_style_preview: '
|
|
111
|
-
warning_sections_html: "<strong>
|
|
111
|
+
alert_suggestions_html: "<strong>IMPORTANT:</strong> Aquest document no es pot canviar ni eliminar perquè ja té suggeriments"
|
|
112
|
+
box_style_preview: 'Previsualització de l''estil de la caixa:'
|
|
113
|
+
warning_sections_html: "<strong>Advertiment:</strong> Si carregues un nou document, totes les àrees (caixes) de participació seran eliminades!"
|
|
112
114
|
index:
|
|
113
115
|
start: Pengeu un PDF per començar
|
|
114
116
|
new:
|
|
115
|
-
create:
|
|
116
|
-
title:
|
|
117
|
+
create: Crea un document participatiu
|
|
118
|
+
title: Nou document participatiu
|
|
117
119
|
sections:
|
|
118
|
-
empty: "(
|
|
120
|
+
empty: "(buit)"
|
|
119
121
|
update:
|
|
120
|
-
error:
|
|
122
|
+
error: Hi ha hagut un problema en actualitzar el document
|
|
121
123
|
success: El document s'ha actualitzat correctament
|
|
122
124
|
exports:
|
|
123
|
-
suggestions:
|
|
125
|
+
suggestions: Suggeriments
|
|
124
126
|
suggestion_notes:
|
|
125
127
|
create:
|
|
126
|
-
error:
|
|
127
|
-
success:
|
|
128
|
+
error: S'ha produït un error en crear la nota privada
|
|
129
|
+
success: La nota privada s'ha creat correctament
|
|
128
130
|
form:
|
|
129
|
-
note:
|
|
130
|
-
submit:
|
|
131
|
-
leave_your_note:
|
|
131
|
+
note: Nota privada
|
|
132
|
+
submit: Enviar
|
|
133
|
+
leave_your_note: Deixa la teva nota
|
|
132
134
|
modal:
|
|
133
|
-
body:
|
|
134
|
-
title:
|
|
135
|
-
update:
|
|
136
|
-
title:
|
|
135
|
+
body: Cos
|
|
136
|
+
title: Edita la nota
|
|
137
|
+
update: Actualitza
|
|
138
|
+
title: Notes privades
|
|
137
139
|
update:
|
|
138
|
-
edited:
|
|
139
|
-
invalid:
|
|
140
|
-
success:
|
|
140
|
+
edited: Editada
|
|
141
|
+
invalid: S'ha produït un error en actualitzar la nota privada
|
|
142
|
+
success: La nota privada s'ha creat correctament
|
|
141
143
|
suggestions:
|
|
142
144
|
answer:
|
|
143
|
-
invalid:
|
|
144
|
-
success:
|
|
145
|
+
invalid: S'ha produït un error en afegir la resposta
|
|
146
|
+
success: La resposta s'ha afegit correctament
|
|
145
147
|
form:
|
|
146
|
-
answer:
|
|
147
|
-
answer_is_published:
|
|
148
|
-
title:
|
|
148
|
+
answer: Resposta
|
|
149
|
+
answer_is_published: Publicar directament
|
|
150
|
+
title: Resposta del suggeriment
|
|
149
151
|
index:
|
|
150
152
|
actions:
|
|
151
|
-
answer:
|
|
152
|
-
assign_to_valuator:
|
|
153
|
-
assign_to_valuator_button:
|
|
154
|
-
cancel: Cancel
|
|
155
|
-
download:
|
|
156
|
-
publish:
|
|
157
|
-
publish_answers:
|
|
158
|
-
title:
|
|
159
|
-
unassign_from_valuator:
|
|
160
|
-
unassign_from_valuator_button:
|
|
161
|
-
author:
|
|
162
|
-
created_at:
|
|
153
|
+
answer: Resposta
|
|
154
|
+
assign_to_valuator: Assignar a avaluadora
|
|
155
|
+
assign_to_valuator_button: Assignar
|
|
156
|
+
cancel: Cancel·lar
|
|
157
|
+
download: descarrega %{filename}
|
|
158
|
+
publish: Publicar
|
|
159
|
+
publish_answers: Respostes publicades
|
|
160
|
+
title: Accions
|
|
161
|
+
unassign_from_valuator: Desfer assignació a avaluadora
|
|
162
|
+
unassign_from_valuator_button: Desassigna
|
|
163
|
+
author: Autor
|
|
164
|
+
created_at: Enviat el
|
|
163
165
|
id: Id
|
|
164
|
-
no_text: "(
|
|
165
|
-
published_answer:
|
|
166
|
-
section:
|
|
167
|
-
selected:
|
|
168
|
-
state:
|
|
169
|
-
suggestion:
|
|
170
|
-
title:
|
|
166
|
+
no_text: "(sense text)"
|
|
167
|
+
published_answer: Resposta publicada
|
|
168
|
+
section: Secció
|
|
169
|
+
selected: seleccionat
|
|
170
|
+
state: Estat
|
|
171
|
+
suggestion: <strong>Atenció:</strong> Si carregues un nou document, totes les àrees (caixes) de participació seran eliminades!
|
|
172
|
+
title: Llista Suggeriments
|
|
171
173
|
publish_answers:
|
|
172
|
-
number_of_suggestions:
|
|
173
|
-
select_a_suggestion:
|
|
174
|
-
success:
|
|
174
|
+
number_of_suggestions: Es publicaran les respostes per a %{number} suggeriments.
|
|
175
|
+
select_a_suggestion: Si us plau, selecciona un suggeriment
|
|
176
|
+
success: Respostes als suggeriments publicats amb èxit.
|
|
175
177
|
show:
|
|
176
|
-
authors:
|
|
177
|
-
body:
|
|
178
|
-
created_at:
|
|
179
|
-
file:
|
|
180
|
-
update:
|
|
178
|
+
authors: Autors
|
|
179
|
+
body: Cos
|
|
180
|
+
created_at: Data de creació
|
|
181
|
+
file: Arxiu
|
|
182
|
+
update: Actualitza
|
|
181
183
|
suggestion:
|
|
182
184
|
global: Global
|
|
183
185
|
valuators:
|
|
184
|
-
assigned_valuators:
|
|
185
|
-
remove_assignment:
|
|
186
|
-
remove_assignment_confirmation:
|
|
187
|
-
valuators:
|
|
186
|
+
assigned_valuators: Avaluadores assignades
|
|
187
|
+
remove_assignment: Desfer assignació
|
|
188
|
+
remove_assignment_confirmation: Segur que vols desfer l'assignació a l'avaluadora d'aquest suggeriment?
|
|
189
|
+
valuators: Avaluadores
|
|
188
190
|
valuation_assignments:
|
|
189
191
|
create:
|
|
190
|
-
invalid:
|
|
191
|
-
success:
|
|
192
|
+
invalid: S'ha produït un error en assignar suggeriments a una avaluadora
|
|
193
|
+
success: Suggeriments assignats a l'avaluadora correctament
|
|
192
194
|
delete:
|
|
193
|
-
invalid:
|
|
194
|
-
success:
|
|
195
|
+
invalid: S'ha produït un error en desassignar suggeriments a una avaluadora
|
|
196
|
+
success: Avaluadora desassignada correctament
|
|
195
197
|
document:
|
|
196
|
-
close:
|
|
197
|
-
export_my_suggestions:
|
|
198
|
-
global_suggestions:
|
|
199
|
-
save_changes:
|
|
200
|
-
send_suggestion:
|
|
201
|
-
suggestion_answer:
|
|
202
|
-
upload_file:
|
|
198
|
+
close: Tancar
|
|
199
|
+
export_my_suggestions: Exporta els meus suggeriments
|
|
200
|
+
global_suggestions: Suggeriment global
|
|
201
|
+
save_changes: Desa els canvis!
|
|
202
|
+
send_suggestion: Enviar suggeriment
|
|
203
|
+
suggestion_answer: Resposta oficial
|
|
204
|
+
upload_file: Adjunta un document
|
|
203
205
|
document_suggestions:
|
|
204
206
|
export:
|
|
205
|
-
empty:
|
|
206
|
-
success: "%{count}
|
|
207
|
+
empty: No hi ha suggeriments per exportar.
|
|
208
|
+
success: "%{count} suggeriments han estat exportats amb èxit. Si us plau, revisa el teu email a %{email}."
|
|
207
209
|
documents:
|
|
208
210
|
export_modal:
|
|
209
|
-
description_html:
|
|
210
|
-
send:
|
|
211
|
-
title:
|
|
212
|
-
missing:
|
|
213
|
-
not_supported:
|
|
214
|
-
preview_title:
|
|
215
|
-
publish_description: '
|
|
211
|
+
description_html: Tens %{count} suggeriments en aquest document. Si vols exportar-los, rebràs un fitxer ZIP amb un document Excel que conté totes les teves dades i les possibles respostes que els administradors t'hagin donat. <br><br>Rebràs un correu electrònic a <b>%{email}</b>.
|
|
212
|
+
send: Envia'm els meus suggeriments
|
|
213
|
+
title: Exporta els meus suggeriments
|
|
214
|
+
missing: No hi ha cap document pujat encara
|
|
215
|
+
not_supported: Aquesta pàgina requereix l'habilitació de JavaScript!
|
|
216
|
+
preview_title: Vista prèvia
|
|
217
|
+
publish_description: 'Opcions de l''administrador: estàs previsualitzant els grups de participació del document'
|
|
216
218
|
models:
|
|
217
219
|
document:
|
|
218
220
|
fields:
|
|
@@ -223,37 +225,37 @@ ca:
|
|
|
223
225
|
title: Títol
|
|
224
226
|
section:
|
|
225
227
|
fields:
|
|
226
|
-
artificial_tile:
|
|
228
|
+
artificial_tile: Grup de participació %{position}
|
|
227
229
|
suggestion:
|
|
228
230
|
fields:
|
|
229
|
-
valuators:
|
|
231
|
+
valuators: Avaluadores
|
|
230
232
|
'no': 'No'
|
|
231
233
|
suggestions:
|
|
232
234
|
answers:
|
|
233
|
-
accepted:
|
|
234
|
-
evaluating:
|
|
235
|
-
not_answered:
|
|
236
|
-
published:
|
|
237
|
-
rejected:
|
|
238
|
-
withdrawn:
|
|
235
|
+
accepted: Acceptada
|
|
236
|
+
evaluating: En avaluació
|
|
237
|
+
not_answered: No contestat
|
|
238
|
+
published: Publicat
|
|
239
|
+
rejected: Rebutjat
|
|
240
|
+
withdrawn: Retirada
|
|
239
241
|
modal:
|
|
240
|
-
exit_full_screen:
|
|
241
|
-
full_screen:
|
|
242
|
+
exit_full_screen: Surt de pantalla completa
|
|
243
|
+
full_screen: Pantalla completa
|
|
242
244
|
ui_messages:
|
|
243
|
-
allSaved:
|
|
244
|
-
confirmExit:
|
|
245
|
-
created:
|
|
246
|
-
errorsSaving:
|
|
247
|
-
group:
|
|
248
|
-
modalTitle:
|
|
249
|
-
move:
|
|
250
|
-
needsSaving:
|
|
251
|
-
operationFailed:
|
|
252
|
-
removeBoxConfirm:
|
|
253
|
-
removed:
|
|
254
|
-
startEditing:
|
|
255
|
-
startSuggesting:
|
|
245
|
+
allSaved: Totes les àrees (caixes) han estat guardades amb èxit
|
|
246
|
+
confirmExit: Estàs segur que vols sortir?
|
|
247
|
+
created: L'àrea ha estat creada
|
|
248
|
+
errorsSaving: Alguns errors han ocorregut mentre es desava les àrees
|
|
249
|
+
group: Grup
|
|
250
|
+
modalTitle: Grup %{section}, àrea %{box}
|
|
251
|
+
move: Mou
|
|
252
|
+
needsSaving: Has de desar les àrees abans de modificar-les
|
|
253
|
+
operationFailed: L'operació ha fallat
|
|
254
|
+
removeBoxConfirm: Esteu segur que voleu suprimir aquesta àrea (caixa)? Aquesta acció no es pot desfer.
|
|
255
|
+
removed: L'àrea ha estat eliminada
|
|
256
|
+
startEditing: Comença a crear àrees de participació (caixes) fent clic i arrossegant. Un cop creats, les caixes es poden redimensionar, moure o agrupar.
|
|
257
|
+
startSuggesting: Clica a l'àrea marcada per participar!
|
|
256
258
|
suggestion_form:
|
|
257
|
-
blank:
|
|
258
|
-
title:
|
|
259
|
+
blank: S'ha produït un error en crear el suggeriment. Pujar un fitxer vàlid o afegeix un missatge de text amb el suggeriment.
|
|
260
|
+
title: Escriu el teu suggeriment o puja un fitxer amb els teus suggeriments
|
|
259
261
|
'yes': 'Sí'
|
data/config/locales/de.yml
CHANGED