decidim-elections 0.31.0.rc2 → 0.31.1

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.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/app/commands/decidim/elections/admin/update_election.rb +3 -3
  3. data/app/controllers/concerns/decidim/elections/uses_votes_booth.rb +8 -2
  4. data/app/controllers/decidim/elections/per_question_votes_controller.rb +28 -1
  5. data/app/forms/decidim/elections/admin/election_form.rb +10 -0
  6. data/app/forms/decidim/elections/censuses/internal_users_form.rb +7 -13
  7. data/app/helpers/decidim/elections/application_helper.rb +12 -0
  8. data/app/models/decidim/elections/election.rb +4 -8
  9. data/app/packs/entrypoints/decidim_elections.js +1 -0
  10. data/app/packs/src/decidim/elections/live_results_update.js +22 -0
  11. data/app/packs/src/decidim/elections/question_status_checker.js +42 -0
  12. data/app/packs/stylesheets/decidim/elections/elections.scss +4 -0
  13. data/app/permissions/decidim/elections/admin/permissions.rb +3 -5
  14. data/app/presenters/decidim/elections/election_presenter.rb +8 -3
  15. data/app/views/decidim/elections/admin/census/edit.html.erb +15 -13
  16. data/app/views/decidim/elections/admin/dashboard/_questions.html.erb +1 -0
  17. data/app/views/decidim/elections/admin/dashboard/_questions_with_results.html.erb +6 -0
  18. data/app/views/decidim/elections/admin/elections/_election-tr.html.erb +1 -1
  19. data/app/views/decidim/elections/admin/elections/_form.html.erb +3 -3
  20. data/app/views/decidim/elections/admin/elections/dashboard.html.erb +4 -4
  21. data/app/views/decidim/elections/admin/elections/new.html.erb +1 -1
  22. data/app/views/decidim/elections/admin/questions/_form.html.erb +1 -30
  23. data/app/views/decidim/elections/admin/questions/edit_questions.html.erb +2 -2
  24. data/app/views/decidim/elections/censuses/_internal_users_form.html.erb +15 -0
  25. data/app/views/decidim/elections/elections/_election_aside.html.erb +2 -1
  26. data/app/views/decidim/elections/elections/_vote_results_question.html.erb +4 -0
  27. data/app/views/decidim/elections/per_question_votes/show.html.erb +6 -1
  28. data/app/views/decidim/elections/votes/receipt.html.erb +18 -1
  29. data/app/views/decidim/elections/votes/show.html.erb +4 -1
  30. data/config/locales/ca-IT.yml +7 -4
  31. data/config/locales/ca.yml +7 -4
  32. data/config/locales/cs.yml +28 -0
  33. data/config/locales/de.yml +4 -0
  34. data/config/locales/en.yml +8 -5
  35. data/config/locales/es-MX.yml +7 -4
  36. data/config/locales/es-PY.yml +7 -4
  37. data/config/locales/es.yml +7 -4
  38. data/config/locales/eu.yml +9 -6
  39. data/config/locales/fi-plain.yml +7 -4
  40. data/config/locales/fi.yml +7 -4
  41. data/config/locales/fr-CA.yml +16 -4
  42. data/config/locales/fr.yml +16 -4
  43. data/config/locales/ja.yml +6 -4
  44. data/config/locales/pt-BR.yml +194 -0
  45. data/config/locales/sv.yml +10 -4
  46. data/lib/decidim/elections/admin_engine.rb +4 -4
  47. data/lib/decidim/elections/engine.rb +6 -0
  48. data/lib/decidim/elections/test/per_question_vote_examples.rb +114 -3
  49. data/lib/decidim/elections/test/vote_examples.rb +7 -3
  50. data/lib/decidim/elections/version.rb +1 -1
  51. metadata +15 -14
@@ -1,5 +1,9 @@
1
+ <div class="voting-booth" data-question-status-url="<%= url_for(action: :show, id: question, format: :json) %>">
1
2
  <%= form_with url: url_for(action: :show, id: question), method: :patch, local: true do %>
2
- <%= question_title(question, :h1, class: "h4 mb-8") %>
3
+ <%= question_title(question, :h1, class: "vote_booth-question_title") %>
4
+ <div class="editor-content">
5
+ <%= render_question_description(question) %>
6
+ </div>
3
7
 
4
8
  <div class="question__response-options mt-4 flex flex-col gap-4">
5
9
  <% question.response_options.each do |option| %>
@@ -25,3 +29,4 @@
25
29
  </div>
26
30
  </div>
27
31
  <% end %>
32
+ </div>
@@ -4,5 +4,22 @@
4
4
  <h2 class="h2 text-center mb-6"><%= t(".title") %></h2>
5
5
  <p class="text-center"><%= t(".description") %></p>
6
6
  </div>
7
- <%= link_to t(".exit_button"), exit_path, class: "button button__secondary button__lg w-full mt-12" %>
7
+
8
+ <% editable_question = election.per_question? ? election.questions.enabled.unpublished_results.last : nil %>
9
+ <% exit_button_path = election.per_question? ? url_for(action: :receipt, exit: true) : exit_path %>
10
+ <% if editable_question.present? %>
11
+ <div class="vote-navigation w-full flex justify-between mt-8">
12
+ <%= link_to election_per_question_vote_path(election_id: election, id: editable_question),
13
+ class: "button button__lg button__transparent-secondary" do %>
14
+ <%= icon "edit-line", class: "fill-current mr-2" %>
15
+ <%= t(".edit_vote") %>
16
+ <% end %>
17
+
18
+ <div class="ml-auto">
19
+ <%= link_to t(".exit_button"), exit_button_path, class: "button button__lg button__secondary" %>
20
+ </div>
21
+ </div>
22
+ <% else %>
23
+ <%= link_to t(".exit_button"), exit_button_path, class: "button button__secondary button__lg w-full mt-12" %>
24
+ <% end %>
8
25
  </div>
@@ -1,5 +1,8 @@
1
1
  <%= form_with url: url_for(action: :show, id: question), method: :patch, local: true do %>
2
- <%= question_title(question, :h1, class: "h4 mb-8") %>
2
+ <%= question_title(question, :h1, class: "vote_booth-question_title") %>
3
+ <div class="editor-content">
4
+ <%= render_question_description(question) %>
5
+ </div>
3
6
 
4
7
  <div class="question__response-options mt-4 flex flex-col gap-4">
5
8
  <% question.response_options.each do |option| %>
@@ -45,7 +45,6 @@ ca-IT:
45
45
  choose_census: Tria el tipus de cens que vols vincular a aquesta elecció
46
46
  created_at: Creada el
47
47
  identifier: Identificador d'usuària
48
- title: Tipus de cens
49
48
  preview:
50
49
  title:
51
50
  one: La vista prèvia de la llista està limitada a %{count} registre.
@@ -81,6 +80,7 @@ ca-IT:
81
80
  questions_table:
82
81
  answer: Respostes
83
82
  percentage: Percentatge
83
+ total: Total
84
84
  votes: Vots
85
85
  votes_count:
86
86
  one: 1 vot
@@ -200,9 +200,6 @@ ca-IT:
200
200
  authorization_options_invalid: Malauradament, tot i que tens totes les autoritzacions necessàries, algunes no són vàlides per a aquestes eleccions.
201
201
  exit_button: Sortir de la cabina de votació
202
202
  invalid: No tens autorització per votar en aquestes eleccions.
203
- missing: El vostre compte d'usuària no disposa d'algunes de les autoritzacions necessàries. Revisa la informació i torna-ho a provar.
204
- not_authorized: 'L''autorització de "%{adapter}" no coincideix amb les condicions necessàries.'
205
- not_granted: 'L''autorització de "%{adapter}" no està concedida.'
206
203
  resume_with_method: Reprendre la verificació amb %{name}
207
204
  verify_with_method: Verificar amb %{name}
208
205
  token_csv:
@@ -247,6 +244,7 @@ ca-IT:
247
244
  title: Preguntes de l'elecció
248
245
  show:
249
246
  active_voting_until: 'Votació activa fins: %{end_date}'
247
+ edit_vote_button: Edita el vot
250
248
  vote_button: Votar
251
249
  voted: Ja has votat. Pots tornar a votar, això esborrarà el teu vot anterior i, només s'explicarà la teva última votació.
252
250
  votes_count:
@@ -259,6 +257,10 @@ ca-IT:
259
257
  per_question: Els resultats estan disponibles per pregunta. Pots veure els resultats de cada pregunta una vegada que s'habiliti la votació i es publiquin els resultats.
260
258
  real_time: Els resultats estan disponibles a temps real. Podeu veure els resultats mentre la votació està en curs.
261
259
  title: Resultats
260
+ total: 'TOTAL:'
261
+ total_votes:
262
+ one: 1 vot
263
+ other: "%{count} vots"
262
264
  models:
263
265
  election:
264
266
  fields:
@@ -304,6 +306,7 @@ ca-IT:
304
306
  next: Següent
305
307
  receipt:
306
308
  description: Pots tornar a votar en qualsevol moment mentre el període de votació estigui obert. El teu vot anterior serà substituït pel nou.
309
+ edit_vote: Edita el teu vot
307
310
  exit_button: Sortir de la cabina de votació
308
311
  title: El teu vot s'ha emès correctament
309
312
  metadata:
@@ -45,7 +45,6 @@ ca:
45
45
  choose_census: Tria el tipus de cens que vols vincular a aquesta elecció
46
46
  created_at: Creada el
47
47
  identifier: Identificador d'usuària
48
- title: Tipus de cens
49
48
  preview:
50
49
  title:
51
50
  one: La vista prèvia de la llista està limitada a %{count} registre.
@@ -81,6 +80,7 @@ ca:
81
80
  questions_table:
82
81
  answer: Respostes
83
82
  percentage: Percentatge
83
+ total: Total
84
84
  votes: Vots
85
85
  votes_count:
86
86
  one: 1 vot
@@ -200,9 +200,6 @@ ca:
200
200
  authorization_options_invalid: Malauradament, tot i que tens totes les autoritzacions necessàries, algunes no són vàlides per a aquestes eleccions.
201
201
  exit_button: Sortir de la cabina de votació
202
202
  invalid: No tens autorització per votar en aquestes eleccions.
203
- missing: El vostre compte d'usuària no disposa d'algunes de les autoritzacions necessàries. Revisa la informació i torna-ho a provar.
204
- not_authorized: 'L''autorització de "%{adapter}" no coincideix amb les condicions necessàries.'
205
- not_granted: 'L''autorització de "%{adapter}" no està concedida.'
206
203
  resume_with_method: Reprendre la verificació amb %{name}
207
204
  verify_with_method: Verificar amb %{name}
208
205
  token_csv:
@@ -247,6 +244,7 @@ ca:
247
244
  title: Preguntes de l'elecció
248
245
  show:
249
246
  active_voting_until: 'Votació activa fins: %{end_date}'
247
+ edit_vote_button: Edita el vot
250
248
  vote_button: Votar
251
249
  voted: Ja has votat. Pots tornar a votar, això esborrarà el teu vot anterior i, només s'explicarà la teva última votació.
252
250
  votes_count:
@@ -259,6 +257,10 @@ ca:
259
257
  per_question: Els resultats estan disponibles per pregunta. Pots veure els resultats de cada pregunta una vegada que s'habiliti la votació i es publiquin els resultats.
260
258
  real_time: Els resultats estan disponibles a temps real. Podeu veure els resultats mentre la votació està en curs.
261
259
  title: Resultats
260
+ total: 'TOTAL:'
261
+ total_votes:
262
+ one: 1 vot
263
+ other: "%{count} vots"
262
264
  models:
263
265
  election:
264
266
  fields:
@@ -304,6 +306,7 @@ ca:
304
306
  next: Següent
305
307
  receipt:
306
308
  description: Pots tornar a votar en qualsevol moment mentre el període de votació estigui obert. El teu vot anterior serà substituït pel nou.
309
+ edit_vote: Edita el teu vot
307
310
  exit_button: Sortir de la cabina de votació
308
311
  title: El teu vot s'ha emès correctament
309
312
  metadata:
@@ -37,6 +37,7 @@ cs:
37
37
  census:
38
38
  edit:
39
39
  created_at: Vytvořeno v
40
+ identifier: Identifikátor uživatele
40
41
  dashboard:
41
42
  calendar:
42
43
  end_at: 'Čas ukončení:'
@@ -72,6 +73,8 @@ cs:
72
73
  start_question_button: Povolit hlasování
73
74
  title: Výsledky
74
75
  status:
76
+ results_availability:
77
+ real_time: Výsledky jsou dostupné v reálném čase
75
78
  title: Stav voleb
76
79
  elections:
77
80
  create:
@@ -114,6 +117,9 @@ cs:
114
117
  edit_questions:
115
118
  new_question: Nová otázka
116
119
  title: Otázky
120
+ form:
121
+ errors:
122
+ at_least_one_question: Je vyžadována alespoň jedna otázka.
117
123
  statuses:
118
124
  publish_results:
119
125
  invalid: Při publikování výsledků došlo k chybě.
@@ -129,7 +135,21 @@ cs:
129
135
  already_have_an_account?: Již máte účet?
130
136
  are_you_new?: Nový účastník?
131
137
  sign_in_description: Přihlaste se k hlasování v těchto volbách
138
+ sign_up_description: Vytvořte účet pro hlasování v této volbě
139
+ internal_users_form:
140
+ authorization_options_invalid: Bohužel, i když máte všechna požadovaná oprávnění, některé z nich pro tyto volby neplatí.
141
+ invalid: V těchto volbách nemáte oprávnění volit.
142
+ resume_with_method: Pokračovat v ověřování pomocí %{name}
143
+ verify_with_method: Ověřit pomocí %{name}
132
144
  token_csv:
145
+ example: |
146
+ e-mail;token
147
+ user@example.org;123456
148
+ user2@example.org;ABCXYZ
149
+ info_html: |
150
+ Musí být soubor ve formátu CSV se dvěma sloupci, jedna s e-mailovou adresou a druhá s hodnotou tokenu, který uživatel bude muset představit, aby mohl hlasovat.
151
+ Musí být oddělena středníkem (;)
152
+ label: Neregistrovaní účastníci s tokeny (fixní)
133
153
  upload_file: Nahrát soubor
134
154
  upload_new_census: Nahrát CSV soubor
135
155
  token_csv_form:
@@ -147,6 +167,7 @@ cs:
147
167
  other: "%{count} voleb"
148
168
  elections:
149
169
  empty: Nejsou k dispozici žádné volby.
170
+ empty_filters: Neexistují žádné volby, které by odpovídaly vašim filtrům.
150
171
  filters:
151
172
  all: Vše
152
173
  state: Stav
@@ -164,6 +185,8 @@ cs:
164
185
  show:
165
186
  vote_button: Hlasovat
166
187
  vote_results:
188
+ subtitle:
189
+ per_question: Výsledky jsou k dispozici na jednu otázku. Výsledky pro každou otázku můžete vidět po povolení hlasování a po zveřejnění výsledků.
167
190
  title: Výsledky
168
191
  models:
169
192
  election:
@@ -176,11 +199,14 @@ cs:
176
199
  per_question_votes:
177
200
  waiting:
178
201
  edit_vote: Upravte svůj hlas
202
+ exit_button: Odejít z čekací místnosti
203
+ title: Čekání na další otázku
179
204
  status:
180
205
  active: Aktivní
181
206
  finished: Dokončeno
182
207
  not_started: Nezahájeno
183
208
  ongoing: Probíhající
209
+ published_results: Zveřejněné výsledky
184
210
  scheduled: Naplánováno
185
211
  unpublished: Nezveřejněno
186
212
  voting_enabled: Probíhá hlasování
@@ -190,9 +216,11 @@ cs:
190
216
  success: Váš hlas byl úspěšně odeslán.
191
217
  check_census:
192
218
  access: Přístup
219
+ election_not_open: Volby ještě nejsou otevřeny. Zkontrolujte prosím datum a zkuste to znovu.
193
220
  failed: Vaši identitu nelze ověřit. Zkontrolujte zadané informace a zkuste to znovu.
194
221
  form_title: Ověřte svou identitu
195
222
  confirm:
223
+ edit_vote: Upravte svůj hlas
196
224
  not_answered: Na tuto otázku jste neodpověděl.
197
225
  title: Potvrďte svůj hlas
198
226
  not_authorized: V těchto volbách nemáte oprávnění volit.
@@ -42,8 +42,12 @@ de:
42
42
  votes: Stimmen
43
43
  results:
44
44
  publish_button: Resultate veröffentlichen
45
+ results_availability:
46
+ real_time: Ergebnisse werden laufend während der Wahl angezeigt.
47
+ start_question_button: Abstimmung aktivieren
45
48
  title: Resultate
46
49
  status:
50
+ census: 'Erhebung:'
47
51
  title: Wahlstatus
48
52
  elections:
49
53
  edit:
@@ -45,7 +45,6 @@ en:
45
45
  choose_census: Choose the census type you want to use for this election
46
46
  created_at: Created at
47
47
  identifier: User identifier
48
- title: Census type
49
48
  preview:
50
49
  title:
51
50
  one: The preview list is limited to %{count} record.
@@ -81,6 +80,7 @@ en:
81
80
  questions_table:
82
81
  answer: Answers
83
82
  percentage: Percentage
83
+ total: Total
84
84
  votes: Votes
85
85
  votes_count:
86
86
  one: 1 vote
@@ -201,9 +201,6 @@ en:
201
201
  authorization_options_invalid: Unfortunately, although you have all the required authorizations, some of them are not valid for this election.
202
202
  exit_button: Exit the voting booth
203
203
  invalid: You are not authorized to vote in this election.
204
- missing: Your user misses some required authorizations. Please check the information and try again.
205
- not_authorized: '"%{adapter}" authorization does not match the required conditions.'
206
- not_granted: '"%{adapter}" authorization is not granted.'
207
204
  resume_with_method: Resume verification with %{name}
208
205
  verify_with_method: Verify with %{name}
209
206
  token_csv:
@@ -249,6 +246,7 @@ en:
249
246
  title: Election questions
250
247
  show:
251
248
  active_voting_until: 'Active voting until: %{end_date}'
249
+ edit_vote_button: Edit vote
252
250
  vote_button: Vote
253
251
  voted: You have already voted. You can vote again, only your last vote will be counted.
254
252
  votes_count:
@@ -261,6 +259,10 @@ en:
261
259
  per_question: Results are available per question. You can see the results for each question after voting is enabled and results are published.
262
260
  real_time: Results are available in real time. You can see the results while voting is in progress.
263
261
  title: Results
262
+ total: 'TOTAL:'
263
+ total_votes:
264
+ one: 1 vote
265
+ other: "%{count} votes"
264
266
  models:
265
267
  election:
266
268
  fields:
@@ -305,7 +307,8 @@ en:
305
307
  cast_vote: Cast vote
306
308
  next: Next
307
309
  receipt:
308
- description: Yo can vote again at any time while the voting period is open. Your previous vote will be overwritten by the new one.
310
+ description: You can vote again at any time while the voting period is open. Your previous vote will be overwritten by the new one.
311
+ edit_vote: Edit your vote
309
312
  exit_button: Exit the voting booth
310
313
  title: Your votes have been cast successfully
311
314
  metadata:
@@ -45,7 +45,6 @@ es-MX:
45
45
  choose_census: Elige el tipo de censo que quieres vincular esta elección
46
46
  created_at: Creado el
47
47
  identifier: Identificador de usuaria
48
- title: Tipo de censo
49
48
  preview:
50
49
  title:
51
50
  one: La vista previa de la lista está limitada a %{count} registro.
@@ -81,6 +80,7 @@ es-MX:
81
80
  questions_table:
82
81
  answer: Respuestas
83
82
  percentage: Porcentaje
83
+ total: Total
84
84
  votes: Votos
85
85
  votes_count:
86
86
  one: 1 voto
@@ -200,9 +200,6 @@ es-MX:
200
200
  authorization_options_invalid: Lamentablemente, aunque tienes todas las autorizaciones necesarias, algunas de ellas no son válidas para estas elecciones.
201
201
  exit_button: Salir de la cabina de votación
202
202
  invalid: No tienes autorización para votar en estas elecciones.
203
- missing: Tu cuenta de usuaria no dispone de algunas de las autorizaciones necesarias. Por favor, revisa la información e inténtalo de nuevo.
204
- not_authorized: 'La autorización de "%{adapter}" no coincide con las condiciones requeridas.'
205
- not_granted: 'La autorización de "%{adapter}" no está concedida.'
206
203
  resume_with_method: Reanudar la verificación con %{name}
207
204
  verify_with_method: Verificar con %{name}
208
205
  token_csv:
@@ -247,6 +244,7 @@ es-MX:
247
244
  title: Preguntas de la elección
248
245
  show:
249
246
  active_voting_until: 'Votación activa hasta: %{end_date}'
247
+ edit_vote_button: Editar el voto
250
248
  vote_button: Votar
251
249
  voted: Ya has votado. Puedes votar de nuevo, esto borrará tu voto anterior y, solo se contará tu última votación.
252
250
  votes_count:
@@ -259,6 +257,10 @@ es-MX:
259
257
  per_question: Los resultados están disponibles por pregunta. Puedes ver los resultados de cada pregunta una vez que se habilite la votación y se publiquen los resultados.
260
258
  real_time: Los resultados están disponibles en tiempo real. Puedes ver los resultados mientras la votación está en curso.
261
259
  title: Resultados
260
+ total: 'TOTAL:'
261
+ total_votes:
262
+ one: 1 voto
263
+ other: "%{count} votos"
262
264
  models:
263
265
  election:
264
266
  fields:
@@ -304,6 +306,7 @@ es-MX:
304
306
  next: Siguiente
305
307
  receipt:
306
308
  description: Puedes votar de nuevo en cualquier momento mientras el período de votación esté abierto. Tu voto anterior será sustituido por el nuevo.
309
+ edit_vote: Edita tu voto
307
310
  exit_button: Salir de la cabina de votación
308
311
  title: Tu voto se ha emitido correctamente
309
312
  metadata:
@@ -45,7 +45,6 @@ es-PY:
45
45
  choose_census: Elige el tipo de censo que quieres vincular esta elección
46
46
  created_at: Creado el
47
47
  identifier: Identificador de usuaria
48
- title: Tipo de censo
49
48
  preview:
50
49
  title:
51
50
  one: La vista previa de la lista está limitada a %{count} registro.
@@ -81,6 +80,7 @@ es-PY:
81
80
  questions_table:
82
81
  answer: Respuestas
83
82
  percentage: Porcentaje
83
+ total: Total
84
84
  votes: Votos
85
85
  votes_count:
86
86
  one: 1 voto
@@ -200,9 +200,6 @@ es-PY:
200
200
  authorization_options_invalid: Lamentablemente, aunque tienes todas las autorizaciones necesarias, algunas de ellas no son válidas para estas elecciones.
201
201
  exit_button: Salir de la cabina de votación
202
202
  invalid: No tienes autorización para votar en estas elecciones.
203
- missing: Tu cuenta de usuaria no dispone de algunas de las autorizaciones necesarias. Por favor, revisa la información e inténtalo de nuevo.
204
- not_authorized: 'La autorización de "%{adapter}" no coincide con las condiciones requeridas.'
205
- not_granted: 'La autorización de "%{adapter}" no está concedida.'
206
203
  resume_with_method: Reanudar la verificación con %{name}
207
204
  verify_with_method: Verificar con %{name}
208
205
  token_csv:
@@ -247,6 +244,7 @@ es-PY:
247
244
  title: Preguntas de la elección
248
245
  show:
249
246
  active_voting_until: 'Votación activa hasta: %{end_date}'
247
+ edit_vote_button: Editar el voto
250
248
  vote_button: Votar
251
249
  voted: Ya has votado. Puedes votar de nuevo, esto borrará tu voto anterior y, solo se contará tu última votación.
252
250
  votes_count:
@@ -259,6 +257,10 @@ es-PY:
259
257
  per_question: Los resultados están disponibles por pregunta. Puedes ver los resultados de cada pregunta una vez que se habilite la votación y se publiquen los resultados.
260
258
  real_time: Los resultados están disponibles en tiempo real. Puedes ver los resultados mientras la votación está en curso.
261
259
  title: Resultados
260
+ total: 'TOTAL:'
261
+ total_votes:
262
+ one: 1 voto
263
+ other: "%{count} votos"
262
264
  models:
263
265
  election:
264
266
  fields:
@@ -304,6 +306,7 @@ es-PY:
304
306
  next: Siguiente
305
307
  receipt:
306
308
  description: Puedes votar de nuevo en cualquier momento mientras el período de votación esté abierto. Tu voto anterior será sustituido por el nuevo.
309
+ edit_vote: Edita tu voto
307
310
  exit_button: Salir de la cabina de votación
308
311
  title: Tu voto se ha emitido correctamente
309
312
  metadata:
@@ -45,7 +45,6 @@ es:
45
45
  choose_census: Elige el tipo de censo que quieres vincular esta elección
46
46
  created_at: Creado el
47
47
  identifier: Identificador de usuaria
48
- title: Tipo de censo
49
48
  preview:
50
49
  title:
51
50
  one: La vista previa de la lista está limitada a %{count} registro.
@@ -81,6 +80,7 @@ es:
81
80
  questions_table:
82
81
  answer: Respuestas
83
82
  percentage: Porcentaje
83
+ total: Total
84
84
  votes: Votos
85
85
  votes_count:
86
86
  one: 1 voto
@@ -200,9 +200,6 @@ es:
200
200
  authorization_options_invalid: Lamentablemente, aunque tienes todas las autorizaciones necesarias, algunas de ellas no son válidas para estas elecciones.
201
201
  exit_button: Salir de la cabina de votación
202
202
  invalid: No tienes autorización para votar en estas elecciones.
203
- missing: Tu cuenta de usuaria no dispone de algunas de las autorizaciones necesarias. Por favor, revisa la información e inténtalo de nuevo.
204
- not_authorized: 'La autorización de "%{adapter}" no coincide con las condiciones requeridas.'
205
- not_granted: 'La autorización de "%{adapter}" no está concedida.'
206
203
  resume_with_method: Reanudar la verificación con %{name}
207
204
  verify_with_method: Verificar con %{name}
208
205
  token_csv:
@@ -247,6 +244,7 @@ es:
247
244
  title: Preguntas de la elección
248
245
  show:
249
246
  active_voting_until: 'Votación activa hasta: %{end_date}'
247
+ edit_vote_button: Editar el voto
250
248
  vote_button: Votar
251
249
  voted: Ya has votado. Puedes votar de nuevo, esto borrará tu voto anterior y, solo se contará tu última votación.
252
250
  votes_count:
@@ -259,6 +257,10 @@ es:
259
257
  per_question: Los resultados están disponibles por pregunta. Puedes ver los resultados de cada pregunta una vez que se habilite la votación y se publiquen los resultados.
260
258
  real_time: Los resultados están disponibles en tiempo real. Puedes ver los resultados mientras la votación está en curso.
261
259
  title: Resultados
260
+ total: 'TOTAL:'
261
+ total_votes:
262
+ one: 1 voto
263
+ other: "%{count} votos"
262
264
  models:
263
265
  election:
264
266
  fields:
@@ -304,6 +306,7 @@ es:
304
306
  next: Siguiente
305
307
  receipt:
306
308
  description: Puedes votar de nuevo en cualquier momento mientras el período de votación esté abierto. Tu voto anterior será sustituido por el nuevo.
309
+ edit_vote: Edita tu voto
307
310
  exit_button: Salir de la cabina de votación
308
311
  title: Tu voto se ha emitido correctamente
309
312
  metadata:
@@ -45,7 +45,6 @@ eu:
45
45
  choose_census: Hautatu hauteskunde hauetarako erabili nahi duzun errolda-mota
46
46
  created_at: Sortze-data
47
47
  identifier: Parte-hartzailearen identifikatzailea
48
- title: Errolda-mota
49
48
  preview:
50
49
  title:
51
50
  one: Aurrebistaren zerrenda erregistro batera mugatuta dago.
@@ -81,6 +80,7 @@ eu:
81
80
  questions_table:
82
81
  answer: Erantzunak
83
82
  percentage: Ehunekoa
83
+ total: Guztira
84
84
  votes: Babesak
85
85
  votes_count:
86
86
  one: Boto 1
@@ -181,7 +181,7 @@ eu:
181
181
  unpublish: "%{user_name} parte-hartzaileak %{resource_name} hauteskundea despublikatu du %{space_name} espazioan"
182
182
  update: "%{user_name} parte-hartzaileak %{resource_name} hauteskundea eguneratu du %{space_name} espazioan"
183
183
  question:
184
- update: "%{user_name} -k eguneratu ditu %{resource_name} aukerako galderak"
184
+ update: "%{user_name} parte-hartzaileak eguneratu ditu %{resource_name} aukerako galderak"
185
185
  censuses:
186
186
  census_ready_html: Erroldako datuak kargatuta daude eta prest daude % <b>%{election_title}{@eleccion_title}</b> bozketan erabiltzeko.
187
187
  census_size_html:
@@ -201,9 +201,6 @@ eu:
201
201
  authorization_options_invalid: Zoritxarrez, nahiz eta baimen guztiak dituzun, batzuk ez dira baliozkoak hautapen honetarako.
202
202
  exit_button: Irten bozkatzeko kabinatik
203
203
  invalid: Ez duzu baimenik aukeraketa honetan bozkatzeko.
204
- missing: Zure erabiltzaileak ez ditu behar diren baimen batzuk. Mesedez, begiratu informazioa eta saiatu berriro.
205
- not_authorized: '"%{adapter}" baimena ez dator bat eskatutako baldintzekin.'
206
- not_granted: '"%{adapter}" baimena ez dago emanda.'
207
204
  resume_with_method: Egiaztapena berrartu %{name} erabiliz
208
205
  verify_with_method: Egiaztatu %{name} izenaz
209
206
  token_csv:
@@ -249,6 +246,7 @@ eu:
249
246
  title: Aukeraketaren galderak
250
247
  show:
251
248
  active_voting_until: 'Bozketa aktibo %{end_date} arte'
249
+ edit_vote_button: Editatu botoak
252
250
  vote_button: Eman babesa
253
251
  voted: Bozkatu duzu. Berriz bozkatu dezakezu, zure azken botoa baino ez da kontuan hartuko.
254
252
  votes_count:
@@ -261,6 +259,10 @@ eu:
261
259
  per_question: Emaitzak kontsulta daitezke galderaren arabera. Galdera bakoitzaren emaitzak ikus ditzakezu botoa eman eta emaitzak argitaratu ondoren.
262
260
  real_time: Emaitzak denbora errealean daude eskuragarri. Emaitzak ikus ditzakezu bozketa egiten den bitartean.
263
261
  title: Emaitzak
262
+ total: 'GUZTIRA:'
263
+ total_votes:
264
+ one: Bozka 1
265
+ other: "%{count} bozka"
264
266
  models:
265
267
  election:
266
268
  fields:
@@ -305,7 +307,8 @@ eu:
305
307
  cast_vote: Eman botoa
306
308
  next: Hurrengoa
307
309
  receipt:
308
- description: Edozein unetan eman dezakezu botoa berriro, bozkatzeko epea irekita dagoen bitartean. Zure boto berriak aurrekoa gainidatziko du.
310
+ description: Bozkatzeko epea zabalik dagoen bitartean edozein unetan eman daiteke berriro botoa. Zure aurreko botoa berriaz gainidatziko da.
311
+ edit_vote: Zure botoa editau
309
312
  exit_button: Irten bozkatzeko kabinatik
310
313
  title: Zure botoak zuzen eman dira
311
314
  metadata:
@@ -45,7 +45,6 @@ fi-pl:
45
45
  choose_census: Valitse henkilötietorekisterin tyyppi, jota haluat käyttää tälle vaalille
46
46
  created_at: Luonnin ajankohta
47
47
  identifier: Käyttäjän tunniste
48
- title: Henkilötietorekisterin tyyppi
49
48
  preview:
50
49
  title:
51
50
  one: Esikatselulista on rajattu %{count} tietueeseen.
@@ -81,6 +80,7 @@ fi-pl:
81
80
  questions_table:
82
81
  answer: Vastaukset
83
82
  percentage: Prosentti
83
+ total: Yhteensä
84
84
  votes: Äänet
85
85
  votes_count:
86
86
  one: 1 ääni
@@ -201,9 +201,6 @@ fi-pl:
201
201
  authorization_options_invalid: Valitettavasti osa käyttäjätilisi vahvistuksista eivät täsmää näiden vaalien vaatimusten kanssa.
202
202
  exit_button: Poistu äänestyskopista
203
203
  invalid: Tiliäsi ei ole vahvistettu äänestääksesi näissä vaaleissa.
204
- missing: Käyttäjätililtäsi puuttuu osa vaadituista vahvistuksista. Ole hyvä ja tarkasta tiedot, minkä jälkeen voit yrittää uudestaan.
205
- not_authorized: '"%{adapter}" -vahvistus ei täsmää vaatimusten kanssa.'
206
- not_granted: '"%{adapter}" -vahvistusta ei ole myönnetty.'
207
204
  resume_with_method: Jatka vahvistusta %{name}
208
205
  verify_with_method: Vahvista palvelun %{name} avulla
209
206
  token_csv:
@@ -249,6 +246,7 @@ fi-pl:
249
246
  title: Vaaliin liittyvät kysymykset
250
247
  show:
251
248
  active_voting_until: 'Äänestysaika päättyy: %{end_date}'
249
+ edit_vote_button: Muokkaa ääntä
252
250
  vote_button: Äänestä
253
251
  voted: Olet jo äänestänyt. Voit äänestää uudestaan, ainoastaan viimeinen äänesi otetaan huomioon ääntenlaskennassa.
254
252
  votes_count:
@@ -261,6 +259,10 @@ fi-pl:
261
259
  per_question: Tulokset ovat saatavilla kutakin kysymystä kohden. Näet kunkin kysymyksen tulokset, kun äänestys päättyy ja tulokset julkaistaan.
262
260
  real_time: Tulokset näkyvät reaaliaikaisesti. Näet tulokset äänestyksen aikana.
263
261
  title: Tulokset
262
+ total: 'YHTEENSÄ:'
263
+ total_votes:
264
+ one: 1 ääni
265
+ other: "%{count} ääntä"
264
266
  models:
265
267
  election:
266
268
  fields:
@@ -306,6 +308,7 @@ fi-pl:
306
308
  next: Seuraava
307
309
  receipt:
308
310
  description: Voit äänestää uudestaan äänestyksen ollessa auki. Aikaisempi äänesi mitätöidään ja korvataan antamallasi uudella äänellä.
311
+ edit_vote: Muokkaa ääntäsi
309
312
  exit_button: Poistu äänestyskopista
310
313
  title: Äänesi kirjaaminen onnistui
311
314
  metadata:
@@ -45,7 +45,6 @@ fi:
45
45
  choose_census: Valitse henkilötietorekisterin tyyppi, jota haluat käyttää tälle vaalille
46
46
  created_at: Luonnin ajankohta
47
47
  identifier: Käyttäjän tunniste
48
- title: Henkilötietorekisterin tyyppi
49
48
  preview:
50
49
  title:
51
50
  one: Esikatselulista on rajattu %{count} tietueeseen.
@@ -81,6 +80,7 @@ fi:
81
80
  questions_table:
82
81
  answer: Vastaukset
83
82
  percentage: Prosentti
83
+ total: Yhteensä
84
84
  votes: Äänet
85
85
  votes_count:
86
86
  one: 1 ääni
@@ -201,9 +201,6 @@ fi:
201
201
  authorization_options_invalid: Valitettavasti osa käyttäjätilisi vahvistuksista eivät täsmää näiden vaalien vaatimusten kanssa.
202
202
  exit_button: Poistu äänestyskopista
203
203
  invalid: Tiliäsi ei ole vahvistettu äänestääksesi näissä vaaleissa.
204
- missing: Käyttäjätililtäsi puuttuu osa vaadituista vahvistuksista. Ole hyvä ja tarkasta tiedot, minkä jälkeen voit yrittää uudestaan.
205
- not_authorized: '"%{adapter}" -vahvistus ei täsmää vaatimusten kanssa.'
206
- not_granted: '"%{adapter}" -vahvistusta ei ole myönnetty.'
207
204
  resume_with_method: Jatka vahvistusta %{name}
208
205
  verify_with_method: Vahvista palvelun %{name} avulla
209
206
  token_csv:
@@ -249,6 +246,7 @@ fi:
249
246
  title: Vaaliin liittyvät kysymykset
250
247
  show:
251
248
  active_voting_until: 'Äänestysaika päättyy: %{end_date}'
249
+ edit_vote_button: Muokkaa ääntä
252
250
  vote_button: Äänestä
253
251
  voted: Olet jo äänestänyt. Voit äänestää uudestaan, ainoastaan viimeinen äänesi otetaan huomioon ääntenlaskennassa.
254
252
  votes_count:
@@ -261,6 +259,10 @@ fi:
261
259
  per_question: Tulokset ovat saatavilla kutakin kysymystä kohden. Näet kunkin kysymyksen tulokset, kun äänestys päättyy ja tulokset julkaistaan.
262
260
  real_time: Tulokset näkyvät reaaliaikaisesti. Näet tulokset äänestyksen aikana.
263
261
  title: Tulokset
262
+ total: 'YHTEENSÄ:'
263
+ total_votes:
264
+ one: 1 ääni
265
+ other: "%{count} ääntä"
264
266
  models:
265
267
  election:
266
268
  fields:
@@ -306,6 +308,7 @@ fi:
306
308
  next: Seuraava
307
309
  receipt:
308
310
  description: Voit äänestää uudestaan äänestyksen ollessa auki. Aikaisempi äänesi mitätöidään ja korvataan antamallasi uudella äänellä.
311
+ edit_vote: Muokkaa ääntäsi
309
312
  exit_button: Poistu äänestyskopista
310
313
  title: Äänesi kirjaaminen onnistui
311
314
  metadata: