decidim-consultations 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_consultations_manifest.css +0 -1
  3. data/app/assets/config/decidim_consultations_manifest.js +1 -1
  4. data/app/assets/javascripts/decidim/consultations/utils_multiple.js +21 -0
  5. data/app/assets/javascripts/decidim/consultations/vote_dialog.js +13 -0
  6. data/app/cells/decidim/consultations/consultation_m/data.erb +2 -2
  7. data/app/cells/decidim/consultations/content_blocks/highlighted_consultations_cell.rb +1 -0
  8. data/app/commands/decidim/consultations/admin/create_consultation.rb +2 -0
  9. data/app/commands/decidim/consultations/admin/create_question.rb +2 -0
  10. data/app/commands/decidim/consultations/admin/create_response.rb +1 -0
  11. data/app/commands/decidim/consultations/admin/update_consultation.rb +1 -0
  12. data/app/commands/decidim/consultations/admin/update_question.rb +1 -0
  13. data/app/commands/decidim/consultations/admin/update_question_configuration.rb +55 -0
  14. data/app/commands/decidim/consultations/admin/update_response.rb +1 -0
  15. data/app/commands/decidim/consultations/multiple_vote_question.rb +47 -0
  16. data/app/controllers/concerns/decidim/consultations/admin/question_admin.rb +1 -0
  17. data/app/controllers/concerns/decidim/consultations/needs_question.rb +24 -2
  18. data/app/controllers/concerns/decidim/consultations/orderable.rb +1 -21
  19. data/app/controllers/decidim/consultations/admin/consultations_controller.rb +7 -1
  20. data/app/controllers/decidim/consultations/admin/question_configuration_controller.rb +54 -0
  21. data/app/controllers/decidim/consultations/admin/question_permissions_controller.rb +36 -0
  22. data/app/controllers/decidim/consultations/admin/questions_controller.rb +1 -0
  23. data/app/controllers/decidim/consultations/authorization_vote_modals_controller.rb +26 -0
  24. data/app/controllers/decidim/consultations/consultations_controller.rb +1 -1
  25. data/app/controllers/decidim/consultations/question_multiple_votes_controller.rb +39 -0
  26. data/app/controllers/decidim/consultations/question_votes_controller.rb +1 -1
  27. data/app/forms/decidim/consultations/admin/question_configuration_form.rb +27 -0
  28. data/app/forms/decidim/consultations/multi_vote_form.rb +41 -0
  29. data/app/forms/decidim/consultations/vote_form.rb +1 -0
  30. data/app/helpers/decidim/consultations/questions_helper.rb +25 -4
  31. data/app/models/decidim/consultation.rb +9 -7
  32. data/app/models/decidim/consultations/question.rb +26 -7
  33. data/app/models/decidim/consultations/vote.rb +11 -1
  34. data/app/permissions/decidim/consultations/admin/permissions.rb +1 -1
  35. data/app/permissions/decidim/consultations/permissions.rb +10 -0
  36. data/app/views/decidim/consultations/admin/consultations/edit.html.erb +4 -1
  37. data/app/views/decidim/consultations/admin/consultations/index.html.erb +2 -2
  38. data/app/views/decidim/consultations/admin/consultations/results.html.erb +42 -0
  39. data/app/views/decidim/consultations/admin/question_configuration/_form.html.erb +19 -0
  40. data/app/views/decidim/consultations/admin/question_configuration/edit.html.erb +12 -0
  41. data/app/views/decidim/consultations/admin/questions/edit.html.erb +1 -0
  42. data/app/views/decidim/consultations/admin/questions/index.html.erb +6 -2
  43. data/app/views/decidim/consultations/consultations/_consultations.html.erb +1 -1
  44. data/app/views/decidim/consultations/consultations/_highlighted_questions.html.erb +7 -5
  45. data/app/views/decidim/consultations/question_multiple_votes/_form.html.erb +14 -0
  46. data/app/views/decidim/consultations/question_multiple_votes/_results_rules.html.erb +14 -0
  47. data/app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb +29 -0
  48. data/app/views/decidim/consultations/question_multiple_votes/show.html.erb +36 -0
  49. data/app/views/decidim/consultations/question_votes/update_vote_button.js.erb +9 -0
  50. data/app/views/decidim/consultations/questions/_results.html.erb +4 -0
  51. data/app/views/decidim/consultations/questions/_vote_button.html.erb +29 -4
  52. data/app/views/decidim/consultations/questions/_vote_modal_confirm.html.erb +1 -0
  53. data/app/views/decidim/consultations/questions/show.html.erb +1 -1
  54. data/app/views/layouts/decidim/_question_header.html.erb +2 -14
  55. data/app/views/layouts/decidim/_question_header_buttons.html.erb +11 -0
  56. data/app/views/layouts/decidim/admin/consultation.html.erb +4 -0
  57. data/app/views/layouts/decidim/admin/question.html.erb +66 -44
  58. data/app/views/layouts/decidim/question.html.erb +3 -3
  59. data/app/views/layouts/decidim/question_multivote.html.erb +9 -0
  60. data/config/locales/ar.yml +8 -0
  61. data/config/locales/ca.yml +51 -0
  62. data/config/locales/cs.yml +51 -0
  63. data/config/locales/en.yml +51 -0
  64. data/config/locales/es-MX.yml +13 -0
  65. data/config/locales/es-PY.yml +13 -0
  66. data/config/locales/es.yml +51 -0
  67. data/config/locales/fi-plain.yml +51 -0
  68. data/config/locales/fi.yml +51 -0
  69. data/config/locales/fr.yml +50 -0
  70. data/config/locales/hu.yml +51 -0
  71. data/config/locales/it.yml +15 -0
  72. data/config/locales/nl.yml +52 -1
  73. data/config/locales/sv.yml +9 -0
  74. data/config/locales/tr-TR.yml +5 -0
  75. data/db/migrate/20190702162755_add_options_to_decidim_consultations_questions.rb +8 -0
  76. data/db/migrate/20190710121122_add_free_instructions_field_to_consultations_questions.rb +7 -0
  77. data/lib/decidim/consultations/admin_engine.rb +3 -0
  78. data/lib/decidim/consultations/engine.rb +4 -0
  79. data/lib/decidim/consultations/participatory_space.rb +5 -0
  80. data/lib/decidim/consultations/test/factories.rb +5 -0
  81. data/lib/decidim/consultations/version.rb +1 -1
  82. metadata +29 -11
  83. data/app/assets/javascripts/decidim/consultations/social_share.js +0 -2
  84. data/app/assets/stylesheets/decidim/consultations/social_share.css.scss +0 -18
@@ -1,6 +1,9 @@
1
1
  <%= render "layouts/decidim/application" do %>
2
2
  <div class="wrapper">
3
3
  <%= render partial: "layouts/decidim/question_header", locals: { question: current_participatory_space } %>
4
+ <%= render partial: "layouts/decidim/question_header_buttons", locals: { question: current_participatory_space } %>
5
+ <%= render partial: "layouts/decidim/question_components", locals: { question: current_participatory_space } %>
6
+
4
7
  <%= yield %>
5
8
  </div>
6
9
  <% if content_for? :expanded %>
@@ -12,7 +15,4 @@
12
15
  </div>
13
16
  </div>
14
17
  <% end %>
15
-
16
- <%= javascript_include_tag "decidim/consultations/social_share" %>
17
- <%= stylesheet_link_tag "decidim/consultations/social_share" %>
18
18
  <% end %>
@@ -0,0 +1,9 @@
1
+ <%= render "layouts/decidim/application" do %>
2
+ <div class="wrapper">
3
+ <%= render partial: "layouts/decidim/question_header", locals: { question: current_participatory_space } %>
4
+
5
+ <%= yield %>
6
+
7
+ </div>
8
+
9
+ <% end %>
@@ -111,6 +111,7 @@ ar:
111
111
  consultations_submenu:
112
112
  info: معلومات
113
113
  questions: الأسئلة
114
+ results: النتائج
114
115
  questions_submenu:
115
116
  components: المكونات
116
117
  consultation: تشاور
@@ -199,6 +200,7 @@ ar:
199
200
  consultations: المشاورات
200
201
  questions: الأسئلة
201
202
  responses: استجابات
203
+ results: النتائج
202
204
  consultations:
203
205
  admin:
204
206
  content_blocks:
@@ -270,6 +272,7 @@ ar:
270
272
  question_votes:
271
273
  create:
272
274
  error: كانت هناك مشكلة في التصويت على السؤال
275
+ title_error: خطأ في التصويت!
273
276
  regular_questions:
274
277
  title: أسئلة لهذا التشاور
275
278
  show:
@@ -314,6 +317,7 @@ ar:
314
317
  already_voted: صوت بالفعل
315
318
  already_voted_hover: إلغاء التصويت
316
319
  starting_from: بدءا من %{date}
320
+ verification_required: تحقق من حسابك قبل التصويت
317
321
  vote: تصويت
318
322
  vote_modal:
319
323
  contextual_help: من فضلك ، حدد خيار.
@@ -323,6 +327,10 @@ ar:
323
327
  confirm: تؤكد
324
328
  contextual_help: يرجى تأكيد الخيار المحدد.
325
329
  title: 'التشاور: تأكيد التصويت'
330
+ resources:
331
+ consultations:
332
+ actions:
333
+ vote: صوِّت
326
334
  layouts:
327
335
  decidim:
328
336
  admin:
@@ -19,6 +19,9 @@ ca:
19
19
  hashtag: Hashtag
20
20
  hero_image: Imatge de la pàgina d'inici
21
21
  i_frame_url: URL del sistema de votació externa
22
+ instructions: Instruccions addicionals per la votació
23
+ max_votes: Número màxim de vots
24
+ min_votes: Número mínim de vots
22
25
  origin_scope: Àmbit
23
26
  origin_title: Origen
24
27
  origin_url: URL d'origen
@@ -33,10 +36,21 @@ ca:
33
36
  vote: Sistema de votació extern
34
37
  what_is_decided: Què es decideix
35
38
  errors:
39
+ models:
40
+ question:
41
+ attributes:
42
+ max_votes:
43
+ lower_than_min: El número de vots ha de ser més gran o igual que el mínim.
36
44
  vote:
37
45
  decidim_consultations_response_id:
38
46
  not_found: La resposta no trobada.
39
47
  activerecord:
48
+ errors:
49
+ models:
50
+ decidim/consultations/vote:
51
+ attributes:
52
+ question:
53
+ invalid_num_votes: El número de vots és invàlid
40
54
  models:
41
55
  decidim/consultation:
42
56
  one: Consulta
@@ -87,6 +101,10 @@ ca:
87
101
  new:
88
102
  create: Crear
89
103
  title: Nova consulta
104
+ results:
105
+ not_visible: Els resultats estaran disponibles quan la consulta hagi acabat
106
+ participants: "%{count} participants"
107
+ total_votes: 'Total: %{count} vots'
90
108
  update:
91
109
  error: S'ha produït un error en actualitzar aquesta consulta.
92
110
  success: La consulta s'ha actualitzat correctament.
@@ -95,8 +113,10 @@ ca:
95
113
  consultations_submenu:
96
114
  info: Informació
97
115
  questions: Preguntes
116
+ results: Resultats
98
117
  questions_submenu:
99
118
  components: Components
119
+ configuration: Configuració
100
120
  consultation: Consulta
101
121
  info: Informació
102
122
  responses: Respostes
@@ -124,6 +144,11 @@ ca:
124
144
  name:
125
145
  one: Resposta
126
146
  other: Respostes
147
+ question_configuration:
148
+ disable_external_voting: Si us plau, deshabilita la votació externa per la configuració avançada
149
+ form:
150
+ help: Configura preguntes amb opcions de resposta múltiples augmentant el nombre màxim de respostes que pot triar un participant. El valor màxim per defecte és 1, el que significa que només es pot seleccionar una resposta.
151
+ title: Configuració avançada
127
152
  question_publications:
128
153
  create:
129
154
  error: S'ha produït un error en publicar aquesta pregunta.
@@ -171,6 +196,7 @@ ca:
171
196
  consultations: Consultes
172
197
  questions: Preguntes
173
198
  responses: Respostes
199
+ results: Resultats
174
200
  consultations:
175
201
  admin:
176
202
  content_blocks:
@@ -227,9 +253,28 @@ ca:
227
253
  votes_out_of:
228
254
  one: vot d'un total de
229
255
  other: vots d'un total de
256
+ question_multiple_votes:
257
+ results_rules:
258
+ minimum_votes_per_user:
259
+ description: Les participants poden distribuir un mínim de %{votes} suports entre les diferents opcions.
260
+ title: En aquesta pregunta, es permeten múltiples respostes
261
+ total_participants: Un total de %{count} persones han participat a la consulta.
262
+ vote_limit:
263
+ description: Les participants poden votar fins a %{limit} opcions.
264
+ voting_rules:
265
+ minimum_votes_per_user:
266
+ description: Has de repartir un mínim de %{votes} vots entre les diferents opcions.
267
+ title: 'La votació es regeix per la normativa següent:'
268
+ vote_limit:
269
+ description: Pots votar fins a %{limit} opcions.
270
+ left: Restant
271
+ votes: Vots
230
272
  question_votes:
231
273
  create:
232
274
  error: Hi ha hagut errors en votar la pregunta
275
+ success: Pots canviar-lo fins a la finalització de la consulta. Només l'última vot serà acceptat.
276
+ title_error: S'ha produit un error al votar
277
+ title_success: Vot enregistrat correctament
233
278
  regular_questions:
234
279
  title: Preguntes per a aquesta consulta
235
280
  show:
@@ -274,6 +319,7 @@ ca:
274
319
  already_voted: Ja votat
275
320
  already_voted_hover: Revocar el vot
276
321
  starting_from: A partir de %{date}
322
+ verification_required: Verifica el teu compte per votar
277
323
  vote: Votació
278
324
  vote_modal:
279
325
  contextual_help: Si us plau, selecciona una opció.
@@ -283,6 +329,10 @@ ca:
283
329
  confirm: Confirma
284
330
  contextual_help: Si us plau, confirma l'opció seleccionada.
285
331
  title: 'Consulta: confirma el vot'
332
+ resources:
333
+ consultations:
334
+ actions:
335
+ vote: Vota
286
336
  layouts:
287
337
  decidim:
288
338
  admin:
@@ -296,3 +346,4 @@ ca:
296
346
  unfold: Desplegar
297
347
  question_header:
298
348
  back_to_consultation: Veure totes les consultes
349
+ back_to_question: Tornar a la pregunta
@@ -19,6 +19,9 @@ cs:
19
19
  hashtag: Hashtag
20
20
  hero_image: Domácí obrázek
21
21
  i_frame_url: Adresa URL externího hlasování
22
+ instructions: Další pokyny pro hlasování
23
+ max_votes: Maximální počet hlasů
24
+ min_votes: Minimální počet hlasů
22
25
  origin_scope: Rozsah
23
26
  origin_title: Původ
24
27
  origin_url: Původní URL
@@ -33,10 +36,21 @@ cs:
33
36
  vote: Externí hlasovací systém
34
37
  what_is_decided: Co se rozhodlo
35
38
  errors:
39
+ models:
40
+ question:
41
+ attributes:
42
+ max_votes:
43
+ lower_than_min: Maximální počet hlasů by měl být vyšší nebo stejný než minimum.
36
44
  vote:
37
45
  decidim_consultations_response_id:
38
46
  not_found: Odpověď nebyla nalezena.
39
47
  activerecord:
48
+ errors:
49
+ models:
50
+ decidim/consultations/vote:
51
+ attributes:
52
+ question:
53
+ invalid_num_votes: Počet hlasů je neplatný
40
54
  models:
41
55
  decidim/consultation:
42
56
  one: Konzultace
@@ -95,6 +109,10 @@ cs:
95
109
  new:
96
110
  create: Vytvořit
97
111
  title: Nová konzultace
112
+ results:
113
+ not_visible: Výsledky budou k dispozici při uzavírání konzultací
114
+ participants: "%{count} účastníků"
115
+ total_votes: 'Celkem: %{count} hlasů'
98
116
  update:
99
117
  error: Při aktualizaci této konzultace došlo k chybě.
100
118
  success: Konzultace byla úspěšně aktualizována.
@@ -103,8 +121,10 @@ cs:
103
121
  consultations_submenu:
104
122
  info: Informace
105
123
  questions: Otázky
124
+ results: Výsledky
106
125
  questions_submenu:
107
126
  components: Komponenty
127
+ configuration: Nastavení
108
128
  consultation: Konzultace
109
129
  info: Informace
110
130
  responses: Odpovědi
@@ -138,6 +158,11 @@ cs:
138
158
  few: Odpovědi
139
159
  many: Odpovědi
140
160
  other: Odpovědi
161
+ question_configuration:
162
+ disable_external_voting: Prosím, zakažte externí hlasování pro pokročilé konfigurace
163
+ form:
164
+ help: Nastavení mnoha otázek při výběru maximálním počtem reakcí, které si může účastník vybrat, je 1, což znamená, že lze hlasovat pouze o jedné odpovědi.
165
+ title: Pokročilé nastavení
141
166
  question_publications:
142
167
  create:
143
168
  error: Při publikování této otázky došlo k chybě.
@@ -185,6 +210,7 @@ cs:
185
210
  consultations: Konzultace
186
211
  questions: Otázky
187
212
  responses: Odpovědi
213
+ results: Výsledky
188
214
  consultations:
189
215
  admin:
190
216
  content_blocks:
@@ -247,9 +273,28 @@ cs:
247
273
  few: hlasy z
248
274
  many: hlasy z
249
275
  other: hlasy z
276
+ question_multiple_votes:
277
+ results_rules:
278
+ minimum_votes_per_user:
279
+ description: Účastníci by mohli mezi různými možnostmi rozdělit minimum %{votes} hlasů.
280
+ title: V této otázce je povoleno několik možností
281
+ total_participants: Účastnilo se hlasování celkem %{count} lidí.
282
+ vote_limit:
283
+ description: Účastníci by mohli hlasovat podle %{limit} opcí.
284
+ voting_rules:
285
+ minimum_votes_per_user:
286
+ description: Musíte rozdělit minimálně %{votes} hlasů mezi různé návrhy.
287
+ title: 'Hlasování podléhá těmto pravidlům:'
288
+ vote_limit:
289
+ description: Můžete hlasovat až pro %{limit} návrhů.
290
+ left: Zbývá
291
+ votes: Hlasů
250
292
  question_votes:
251
293
  create:
252
294
  error: Během hlasování se vyskytly chyby
295
+ success: Můžete to změnit až do konce konzultace, pouze poslední hlasování bude přijato.
296
+ title_error: Chyba hlasování!
297
+ title_success: Hlas úspěšně zapsán
253
298
  regular_questions:
254
299
  title: Otázky pro tuto konzultaci
255
300
  show:
@@ -294,6 +339,7 @@ cs:
294
339
  already_voted: Již bylo hlasováno
295
340
  already_voted_hover: Odvolání podpory
296
341
  starting_from: Počínaje %{date}
342
+ verification_required: Potvrdit svůj účet pro hlasování
297
343
  vote: Hlasování
298
344
  vote_modal:
299
345
  contextual_help: Prosím vyberte možnost.
@@ -303,6 +349,10 @@ cs:
303
349
  confirm: Potvrdit
304
350
  contextual_help: Potvrďte vybranou možnost.
305
351
  title: 'Konzultace: potvrďte podporu'
352
+ resources:
353
+ consultations:
354
+ actions:
355
+ vote: Hlasovat
306
356
  layouts:
307
357
  decidim:
308
358
  admin:
@@ -316,3 +366,4 @@ cs:
316
366
  unfold: Rozvinout
317
367
  question_header:
318
368
  back_to_consultation: Podívejte se na všechny konzultace
369
+ back_to_question: Zpět k otázce
@@ -20,6 +20,9 @@ en:
20
20
  hashtag: Hashtag
21
21
  hero_image: Home image
22
22
  i_frame_url: External voting system URL
23
+ instructions: Additional instructions for voting
24
+ max_votes: Maximum number of votes
25
+ min_votes: Minimum number of votes
23
26
  origin_scope: Scope
24
27
  origin_title: Origin
25
28
  origin_url: Origin URL
@@ -34,10 +37,21 @@ en:
34
37
  vote: External voting system
35
38
  what_is_decided: What is decided
36
39
  errors:
40
+ models:
41
+ question:
42
+ attributes:
43
+ max_votes:
44
+ lower_than_min: Maximum number of votes should be higher or equal than the minimum.
37
45
  vote:
38
46
  decidim_consultations_response_id:
39
47
  not_found: Response not found.
40
48
  activerecord:
49
+ errors:
50
+ models:
51
+ decidim/consultations/vote:
52
+ attributes:
53
+ question:
54
+ invalid_num_votes: Number of votes is invalid
41
55
  models:
42
56
  decidim/consultation:
43
57
  one: Consultation
@@ -88,6 +102,10 @@ en:
88
102
  new:
89
103
  create: Create
90
104
  title: New consultation
105
+ results:
106
+ not_visible: Results will be available when consultation closes
107
+ participants: "%{count} participants"
108
+ total_votes: 'Total: %{count} votes'
91
109
  update:
92
110
  error: There was a problem updating this consultation.
93
111
  success: Consultation updated successfully.
@@ -96,8 +114,10 @@ en:
96
114
  consultations_submenu:
97
115
  info: Information
98
116
  questions: Questions
117
+ results: Results
99
118
  questions_submenu:
100
119
  components: Components
120
+ configuration: Configuration
101
121
  consultation: Consultation
102
122
  info: Information
103
123
  responses: Responses
@@ -125,6 +145,11 @@ en:
125
145
  name:
126
146
  one: Response
127
147
  other: Responses
148
+ question_configuration:
149
+ disable_external_voting: Please disable external voting for advanced configurations
150
+ form:
151
+ help: Set up multiple choices questions by increasing the maximum number of responses a participant can choose. Default maximum value is 1, meaning that only one response can be voted.
152
+ title: Advanced configuration
128
153
  question_publications:
129
154
  create:
130
155
  error: There was a problem publishing this question.
@@ -172,6 +197,7 @@ en:
172
197
  consultations: Consultations
173
198
  questions: Questions
174
199
  responses: Responses
200
+ results: Results
175
201
  consultations:
176
202
  admin:
177
203
  content_blocks:
@@ -228,9 +254,28 @@ en:
228
254
  votes_out_of:
229
255
  one: vote out of
230
256
  other: votes out of
257
+ question_multiple_votes:
258
+ results_rules:
259
+ minimum_votes_per_user:
260
+ description: Participants could distribute a minimum of %{votes} votes among different options.
261
+ title: In this question multiple choices where allowed
262
+ total_participants: A total of %{count} people participated in the vote.
263
+ vote_limit:
264
+ description: Participants could vote up to %{limit} options.
265
+ voting_rules:
266
+ minimum_votes_per_user:
267
+ description: You must distribute a minimum of %{votes} votes among different options.
268
+ title: 'Votes are subject to the following rules:'
269
+ vote_limit:
270
+ description: You can vote up to %{limit} options.
271
+ left: Remaining
272
+ votes: Votes
231
273
  question_votes:
232
274
  create:
233
275
  error: There was a problem voting the question
276
+ success: You can change it until the end of the consultation. Only the last vote will be accepted.
277
+ title_error: Vote error!
278
+ title_success: Vote successfully registered
234
279
  regular_questions:
235
280
  title: Questions for this consultation
236
281
  show:
@@ -275,6 +320,7 @@ en:
275
320
  already_voted: Already voted
276
321
  already_voted_hover: Revoke vote
277
322
  starting_from: Starting from %{date}
323
+ verification_required: Verify your account to vote
278
324
  vote: Vote
279
325
  vote_modal:
280
326
  contextual_help: Please, select an option.
@@ -284,6 +330,10 @@ en:
284
330
  confirm: Confirm
285
331
  contextual_help: Please confirm the selected option.
286
332
  title: 'Consultation: confirm vote'
333
+ resources:
334
+ consultations:
335
+ actions:
336
+ vote: Vote
287
337
  layouts:
288
338
  decidim:
289
339
  admin:
@@ -297,3 +347,4 @@ en:
297
347
  unfold: Unfold
298
348
  question_header:
299
349
  back_to_consultation: See all consultations
350
+ back_to_question: Back to the question
@@ -87,6 +87,9 @@ es-MX:
87
87
  new:
88
88
  create: Crear
89
89
  title: Nueva consulta
90
+ results:
91
+ not_visible: Los resultados estarán disponibles cuando la consulta cierre
92
+ total_votes: 'Total: %{count} votos'
90
93
  update:
91
94
  error: Hubo un error al actualizar esta consulta.
92
95
  success: Consulta actualizada con éxito
@@ -95,6 +98,7 @@ es-MX:
95
98
  consultations_submenu:
96
99
  info: Información
97
100
  questions: Preguntas
101
+ results: Resultados
98
102
  questions_submenu:
99
103
  components: Componentes
100
104
  consultation: Consulta
@@ -171,6 +175,7 @@ es-MX:
171
175
  consultations: Consultas
172
176
  questions: Preguntas
173
177
  responses: Respuestas
178
+ results: Resultados
174
179
  consultations:
175
180
  admin:
176
181
  content_blocks:
@@ -230,6 +235,9 @@ es-MX:
230
235
  question_votes:
231
236
  create:
232
237
  error: Ha habido errores al votar la pregunta
238
+ success: Puedes cambiarlo hasta el final de la consulta. Sólo se aceptará el último voto.
239
+ title_error: '¡Error de voto!'
240
+ title_success: Voto registrado correctamente
233
241
  regular_questions:
234
242
  title: Preguntas para esta consulta
235
243
  show:
@@ -274,6 +282,7 @@ es-MX:
274
282
  already_voted: Ya votado
275
283
  already_voted_hover: Revocar apoyo
276
284
  starting_from: A partir de %{date}
285
+ verification_required: Verifica tu cuenta para votar
277
286
  vote: Votar
278
287
  vote_modal:
279
288
  contextual_help: Por favor, selecciona una opción.
@@ -283,6 +292,10 @@ es-MX:
283
292
  confirm: Confirmar
284
293
  contextual_help: Por favor confirma la opción seleccionada.
285
294
  title: 'Consulta: confirma el apoyo'
295
+ resources:
296
+ consultations:
297
+ actions:
298
+ vote: Votar
286
299
  layouts:
287
300
  decidim:
288
301
  admin: