decidim-elections 0.25.1 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/elections/election_m_cell.rb +1 -1
  3. data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +12 -0
  4. data/app/cells/decidim/votings/content_blocks/landing_page/description_cell.rb +1 -1
  5. data/app/cells/decidim/votings/voting_m_cell.rb +1 -1
  6. data/app/commands/decidim/elections/admin/add_user_as_trustee.rb +1 -1
  7. data/app/commands/decidim/elections/admin/report_missing_trustee.rb +68 -0
  8. data/app/commands/decidim/elections/admin/setup_election.rb +1 -1
  9. data/app/commands/decidim/elections/admin/start_tally.rb +1 -1
  10. data/app/commands/decidim/votings/admin/create_ballot_style.rb +8 -5
  11. data/app/commands/decidim/votings/admin/destroy_ballot_style.rb +11 -3
  12. data/app/commands/decidim/votings/admin/update_ballot_style.rb +6 -1
  13. data/app/commands/decidim/votings/census/admin/create_dataset.rb +13 -5
  14. data/app/controllers/concerns/decidim/monitoring_committee_polling_station_closures/admin/filterable.rb +1 -1
  15. data/app/controllers/concerns/decidim/polling_stations/admin/filterable.rb +1 -1
  16. data/app/controllers/decidim/elections/admin/steps_controller.rb +26 -7
  17. data/app/controllers/decidim/votings/admin/ballot_styles_controller.rb +1 -1
  18. data/app/forms/decidim/elections/admin/action_form.rb +4 -0
  19. data/app/forms/decidim/elections/admin/report_missing_trustee_form.rb +22 -0
  20. data/app/forms/decidim/elections/admin/setup_form.rb +4 -0
  21. data/app/models/decidim/elections/action.rb +1 -1
  22. data/app/models/decidim/elections/trustee.rb +4 -0
  23. data/app/models/decidim/votings/ballot_style.rb +6 -0
  24. data/app/models/decidim/votings/census/dataset.rb +2 -0
  25. data/app/models/decidim/votings/monitoring_committee_member.rb +6 -0
  26. data/app/models/decidim/votings/polling_officer.rb +5 -0
  27. data/app/models/decidim/votings/polling_station.rb +6 -0
  28. data/app/packs/entrypoints/decidim_elections_admin_trustees_process.js +1 -0
  29. data/app/packs/src/decidim/elections/admin/pending_action.js +1 -1
  30. data/app/packs/src/decidim/elections/admin/trustees_process.js +125 -0
  31. data/app/packs/src/decidim/elections/election_log.js +89 -73
  32. data/app/packs/src/decidim/elections/trustee/key_ceremony.js +3 -3
  33. data/app/packs/src/decidim/elections/trustee/tally.js +3 -3
  34. data/app/packs/src/decidim/elections/trustee/trustee_zone.js +29 -18
  35. data/app/packs/src/decidim/elections/voter/casting-vote.js +1 -1
  36. data/app/packs/src/decidim/elections/voter/setup-vote.js +5 -5
  37. data/app/packs/src/decidim/elections/voter/verify-vote.js +1 -1
  38. data/app/packs/src/decidim/votings/in-person-vote.js +1 -1
  39. data/app/presenters/decidim/elections/admin_log/election_presenter.rb +34 -9
  40. data/app/presenters/decidim/elections/admin_log/trustee_presenter.rb +50 -0
  41. data/app/presenters/decidim/elections/trustee_presenter.rb +5 -1
  42. data/app/presenters/decidim/votings/admin_log/ballot_style_presenter.rb +35 -0
  43. data/app/presenters/decidim/votings/admin_log/monitoring_committee_member_presenter.rb +50 -0
  44. data/app/presenters/decidim/votings/admin_log/polling_officer_presenter.rb +50 -0
  45. data/app/presenters/decidim/votings/admin_log/polling_station_presenter.rb +29 -0
  46. data/app/presenters/decidim/votings/admin_log/voting_presenter.rb +1 -1
  47. data/app/presenters/decidim/votings/census/admin_log/dataset_presenter.rb +7 -6
  48. data/app/services/decidim/votings/voting_search.rb +2 -2
  49. data/app/views/decidim/elections/admin/steps/_create_election.html.erb +3 -3
  50. data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +44 -9
  51. data/app/views/decidim/elections/admin/steps/_tally.html.erb +60 -10
  52. data/app/views/decidim/elections/admin/steps/index.html.erb +17 -15
  53. data/app/views/decidim/elections/elections/_filters_small_view.html.erb +3 -3
  54. data/app/views/decidim/elections/elections/election_log.html.erb +1 -1
  55. data/app/views/decidim/elections/elections/show.html.erb +1 -1
  56. data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +1 -1
  57. data/app/views/decidim/elections/trustee_zone/trustees/show.html.erb +1 -1
  58. data/app/views/decidim/elections/votes/_onboarding_modal.html.erb +1 -1
  59. data/app/views/decidim/elections/votes/_show_casted.html.erb +1 -1
  60. data/app/views/decidim/elections/votes/_show_casting.html.erb +1 -1
  61. data/app/views/decidim/elections/votes/new.html.erb +3 -3
  62. data/app/views/decidim/elections/votes/verify.html.erb +1 -1
  63. data/app/views/decidim/votings/admin/votings/index.html.erb +1 -1
  64. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_count_error.html.erb +3 -2
  65. data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_results_count_error.html.erb +3 -2
  66. data/app/views/decidim/votings/polling_officer_zone/closures/_sign_form.html.erb +4 -3
  67. data/app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb +1 -1
  68. data/app/views/decidim/votings/polling_officer_zone/closures/new.html.erb +1 -1
  69. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +1 -1
  70. data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +1 -1
  71. data/app/views/decidim/votings/votings/_filters_small_view.html.erb +3 -3
  72. data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
  73. data/config/assets.rb +1 -0
  74. data/config/locales/ar.yml +12 -0
  75. data/config/locales/ca.yml +45 -11
  76. data/config/locales/cs.yml +41 -11
  77. data/config/locales/de.yml +0 -13
  78. data/config/locales/en.yml +41 -11
  79. data/config/locales/es-MX.yml +45 -11
  80. data/config/locales/es-PY.yml +45 -11
  81. data/config/locales/es.yml +45 -11
  82. data/config/locales/eu.yml +23 -11
  83. data/config/locales/fi-plain.yml +41 -11
  84. data/config/locales/fi.yml +41 -11
  85. data/config/locales/fr-CA.yml +408 -11
  86. data/config/locales/fr.yml +457 -60
  87. data/config/locales/ga-IE.yml +0 -4
  88. data/config/locales/gl.yml +19 -3
  89. data/config/locales/hu.yml +108 -0
  90. data/config/locales/it.yml +33 -11
  91. data/config/locales/ja.yml +381 -17
  92. data/config/locales/lb-LU.yml +24 -0
  93. data/config/locales/nl.yml +232 -7
  94. data/config/locales/no.yml +498 -1
  95. data/config/locales/pl.yml +6 -11
  96. data/config/locales/pt-BR.yml +1 -14
  97. data/config/locales/pt.yml +40 -9
  98. data/config/locales/ro-RO.yml +57 -12
  99. data/config/locales/sv.yml +104 -6
  100. data/config/locales/tr-TR.yml +4 -9
  101. data/config/locales/val-ES.yml +1 -0
  102. data/config/locales/zh-CN.yml +0 -5
  103. data/lib/decidim/elections/component.rb +2 -1
  104. data/lib/decidim/elections/test/factories.rb +2 -2
  105. data/lib/decidim/elections/version.rb +1 -1
  106. metadata +32 -22
@@ -57,15 +57,11 @@ ga:
57
57
  steps:
58
58
  created:
59
59
  trustees: Iontaobhaithe
60
- key_ceremony:
61
- trustees: Iontaobhaithe
62
60
  results_published:
63
61
  answer: Freagra
64
62
  question: Ceist
65
63
  result: Toradh
66
64
  submit: Deimhnigh
67
- tally:
68
- trustees: Iontaobhaithe
69
65
  tally_ended:
70
66
  answer: Freagra
71
67
  question: Ceist
@@ -103,6 +103,8 @@ gl:
103
103
  errors:
104
104
  minimum_answers: As preguntas teñen de ter <strong>polo menos dúas respostas</strong>.
105
105
  not_used_trustee: "(non usada)"
106
+ key_ceremony:
107
+ continue: Continuar
106
108
  results_published:
107
109
  answer: Resposta
108
110
  not_selected: Non seleccionado
@@ -110,6 +112,14 @@ gl:
110
112
  result: Resultado
111
113
  selected: Seleccionado
112
114
  submit: Enviar
115
+ tally:
116
+ continue: Continuar
117
+ invalid: Produciuse un problema ao denunciar o comisario ausente
118
+ mark_as_missing: Marcar coma ausente
119
+ mark_as_missing_description: Todos os comisarios teñen que participar neste proceso, mais se un comisario non pode tomar parte pode ser sinalado como ausente.
120
+ success: O informe sobre o comisario ausente foi enviado con éxito ao Bulletin Board
121
+ tally_completion: O proceso completarase cando todos os comisarios estean activos ou marcados coma ausentes. Son necesarios polo menos %{quorum} comisarios para completar o proceso.
122
+ undo_mark_as_missing: Un comisario sinalado como ausente poderá participar antes de se completar o proceso. Poderá proceder como é usual e a marca de ausencia será ignorada.
113
123
  tally_ended:
114
124
  answer: Resposta
115
125
  not_selected: Non seleccionado
@@ -122,7 +132,14 @@ gl:
122
132
  text: Rematou a votación. Podes comezar o reconto agora.
123
133
  admin_log:
124
134
  election:
125
- publish_results: "%{user_name} publicou os resultados da elección %{resource_name} no Bulletin Board"
135
+ create: "%{user_name} creou a elección %{resource_name} para %{space_name}"
136
+ delete: "%{user_name} eliminou a elección %{resource_name} para %{space_name}"
137
+ end_vote: "%{user_name} terminou o período de votación para a elección %{resource_name} de %{space_name} no Bulletin Board"
138
+ publish: "%{user_name} publicou a elección %{resource_name} para %{space_name}"
139
+ publish_results: "%{user_name} publicou os resultados da elección %{resource_name} para %{space_name} no Bulletin Board"
140
+ setup: "%{user_name} creou a elección %{resource_name} para %{space_name} no Bulletin Board"
141
+ trustee:
142
+ create: "%{user_name} atribuíu ao usuario %{trustee_user} como comisario"
126
143
  election_m:
127
144
  badge_name:
128
145
  finished: Finalizada
@@ -159,7 +176,6 @@ gl:
159
176
  all: Todas
160
177
  finished: Finalizada
161
178
  search: Procurar
162
- state: Estado
163
179
  upcoming: Vindeiras
164
180
  filters_small_view:
165
181
  close_modal: Pechar modal
@@ -391,7 +407,7 @@ gl:
391
407
  admin:
392
408
  census:
393
409
  create:
394
- invalid_csv_header: A cabeceira do CSV non posúe o número correcto de campos - por favor, le as instrucións con atención
410
+ invalid_csv_header: Faltan as cabeceiras CSV ou non son correctas - por favor, le as instrucións con cuidado
395
411
  creating_data:
396
412
  info_message: "<strong>Agarda</strong>, procesadas %{processed_count} de %{raw_count} filas do ficheiro %{file}."
397
413
  delete:
@@ -1,7 +1,103 @@
1
1
  hu:
2
+ activemodel:
3
+ attributes:
4
+ answer:
5
+ description: Leírás
6
+ image: Kép
7
+ proposals: Kapcsolódó javaslatok
8
+ title: Cím
9
+ election:
10
+ description: Leírás
11
+ end_time: Szavazás véget ér
12
+ start_time: Szavazás indul
13
+ title: Cím
14
+ question:
15
+ description: Leírás
16
+ max_selections: Kiválasztások maximális száma
17
+ min_selections: Egyik opció sem a fentiek közül
18
+ title: Cím
19
+ voting:
20
+ end_time: Szavazás vége
21
+ start_time: Szavazás kezdete
22
+ errors:
23
+ models:
24
+ answer:
25
+ attributes:
26
+ attachment:
27
+ needs_to_be_reattached: Ismételt csatolásra van szükség
28
+ election:
29
+ attributes:
30
+ attachment:
31
+ needs_to_be_reattached: Ismételt csatolásra van szükség
32
+ trustee:
33
+ attributes:
34
+ name:
35
+ cant_be_changed: nem módosítható
36
+ public_key:
37
+ cant_be_changed: nem módosítható
38
+ activerecord:
39
+ models:
40
+ decidim/elections/answer:
41
+ one: Válasz
42
+ other: Válaszok
43
+ decidim/elections/election:
44
+ one: Választás
45
+ other: Választások
46
+ decidim/elections/question:
47
+ one: Kérdés
48
+ other: Kérdések
49
+ decidim/votings/census/dataset:
50
+ one: Adatkészlet
51
+ other: Adatkészletek
52
+ decidim/votings/census/datum:
53
+ one: Dátum
54
+ other: Adatok
55
+ decidim/votings/polling_officer:
56
+ one: Szavazóbiztos
57
+ other: Szavazóbiztosok
58
+ decidim/votings/polling_station:
59
+ one: Szavazóhely
60
+ other: Szavazóhelyek
61
+ decidim/votings/voting:
62
+ one: Szavazás
63
+ other: Szavazások
2
64
  decidim:
65
+ admin:
66
+ filters:
67
+ officers_assigned_eq:
68
+ label: Biztosok
69
+ values:
70
+ assigned: Hozzárendelt
71
+ unassigned: Nem hozzárendelt
72
+ role_eq:
73
+ label: Szerepkör
74
+ values:
75
+ manager: Ügyvezető
76
+ president: Elnök
77
+ unassigned: Nem hozzárendelt
78
+ signed_eq:
79
+ label: Aláírt
80
+ values:
81
+ 'false': Aláírt
82
+ validated_eq:
83
+ label: Érvényesített
84
+ values:
85
+ 'false': Érvényesített
86
+ 'true': Nem érvényesített
87
+ components:
88
+ elections:
89
+ actions:
90
+ vote: Szavazás
91
+ name: Választások
92
+ settings:
93
+ global:
94
+ announcement: Közlemény
95
+ step:
96
+ announcement: Közlemény
3
97
  elections:
4
98
  actions:
99
+ confirm_destroy: Biztos vagy benne?
100
+ destroy: Töröl
5
101
  publish: Közzétesz
6
102
  unpublish: Közzététel visszavonása
7
103
  admin:
@@ -10,6 +106,18 @@ hu:
10
106
  success: A választás sikeresen publikálásra került.
11
107
  unpublish:
12
108
  success: A választás publikálását sikeresen visszavonta.
109
+ models:
110
+ answer:
111
+ name: Válasz
112
+ election:
113
+ name: Választás
114
+ question:
115
+ name: Kérdés
116
+ trustee:
117
+ name: Felügyelő
118
+ steps:
119
+ key_ceremony:
120
+ continue: Folytatás
13
121
  elections:
14
122
  results:
15
123
  votes:
@@ -253,8 +253,8 @@ it:
253
253
  title: Elezione creata
254
254
  trustees: Garanti
255
255
  key_ceremony:
256
+ continue: Continua
256
257
  title: Cerimonia chiave
257
- trustees: Garanti
258
258
  key_ceremony_ended:
259
259
  errors:
260
260
  time_before: La votazione sta per cominciare. Devi aspettare fino a %{hours} ore prima dell'ora di inizio (%{start_time}) per poter votare.
@@ -275,7 +275,6 @@ it:
275
275
  title: Risultati pubblicati
276
276
  tally:
277
277
  title: Conteggio
278
- trustees: Garanti
279
278
  tally_ended:
280
279
  answer: Risposta
281
280
  not_selected: Non selezionato
@@ -328,14 +327,19 @@ it:
328
327
  success: Garante %{trustee} aggiornato con successo
329
328
  admin_log:
330
329
  election:
331
- end_vote: "%{user_name} ha terminato il periodo di votazione per l'elezione di %{resource_name} sul Bulletin Board"
332
- publish: "%{user_name} ha pubblicato l'elezione %{resource_name}"
333
- publish_results: "%{user_name} ha pubblicato i risultati per l'elezione %{resource_name} sul Bulletin Board"
334
- setup: "%{user_name} ha creato l'elezione %{resource_name} sul Bulletin Board"
335
- start_key_ceremony: "%{user_name} ha iniziato la cerimonia delle chiavi per l'elezione di %{resource_name} sul Bulletin Board"
336
- start_tally: "%{user_name} ha terminato il conteggio dell'elezione %{resource_name} sul Bulletin Board"
337
- start_vote: "%{user_name} ha terminato il periodo di votazione per l'elezione %{resource_name} sul Bulletin Board"
338
- unpublish: "%{user_name} ha rimosso l'elezione %{resource_name}"
330
+ create: "%{user_name} ha creato l'elezione %{resource_name} di %{space_name}"
331
+ delete: "%{user_name} ha eliminato l'elezione %{resource_name} di %{space_name}"
332
+ end_vote: "%{user_name} ha terminato il periodo di votazione per l'elezione %{resource_name} di %{space_name} sul Bollettino"
333
+ publish: "%{user_name} ha pubblicato l'elezione %{resource_name} di %{space_name}"
334
+ publish_results: "%{user_name} ha pubblicato i risultati per l'elezione %{resource_name} di %{space_name} sul Bollettino"
335
+ setup: "%{user_name} ha creato l'elezione %{resource_name} di %{space_name} sul Bollettino"
336
+ start_key_ceremony: "%{user_name} ha iniziato la cerimonia chiave per l'elezione %{resource_name} di %{space_name} sul Bollettino"
337
+ start_tally: "%{user_name} ha iniziato lo spoglio per l'elezione %{resource_name} di %{space_name} sul Bollettino"
338
+ start_vote: "%{user_name} ha iniziato il periodo di votazione per l'elezione %{resource_name} di %{space_name} sul Bollettino"
339
+ unpublish: "%{user_name} ha annullato la %{resource_name} di %{space_name} elezione"
340
+ update: "%{user_name} ha aggiornato l'elezione %{resource_name} di %{space_name}"
341
+ trustee:
342
+ create: "%{user_name} ha assegnato l'utente %{trustee_user} come fiduciario"
339
343
  election_m:
340
344
  badge_name:
341
345
  finished: Completata
@@ -988,6 +992,24 @@ it:
988
992
  invalid: Si è verificato un errore durante l'aggiornamento di questa votazione
989
993
  success: Votazione aggiornata con successo
990
994
  admin_log:
995
+ ballot_style:
996
+ create: "%{user_name} ha creato uno stile di voto con il codice %{ballot_style_code} nello spazio %{space_name}"
997
+ delete: "%{user_name} ha eliminato lo stile di voto con il codice %{ballot_style_code} nello spazio %{space_name}"
998
+ update: "%{user_name} ha aggiornato lo stile dello scrutinio con il codice %{ballot_style_code} nello spazio %{space_name}"
999
+ census:
1000
+ create: "%{user_name} ha creato il censimento per lo spazio %{space_name}"
1001
+ delete: "%{user_name} ha eliminato il censimento per lo spazio %{space_name}"
1002
+ update: "%{user_name} ha aggiornato il censimento per lo spazio %{space_name}"
1003
+ monitoring_committee_member:
1004
+ create: "%{user_name} ha assegnato l'utente %{monitoring_committee_member_user} come membro del comitato di monitoraggio nello spazio %{space_name}"
1005
+ delete: "%{user_name} non ha assegnato l'utente %{monitoring_committee_member_user} come membro del comitato di monitoraggio nello spazio %{space_name}"
1006
+ polling_officer:
1007
+ create: "%{user_name} ha assegnato l'utente %{polling_officer_user} come funzionario di sondaggio nello spazio %{space_name}"
1008
+ delete: "%{user_name} non ha assegnato l'utente %{polling_officer_user} come funzionario di sondaggio nello spazio %{space_name}"
1009
+ polling_station:
1010
+ create: "%{user_name} ha creato il seggio elettorale %{resource_name} nello spazio %{space_name}"
1011
+ delete: "%{user_name} ha eliminato il seggio elettorale %{resource_name} nello spazio %{space_name}"
1012
+ update: "%{user_name} ha aggiornato il seggio elettorale %{resource_name} nello spazio %{space_name}"
991
1013
  voting:
992
1014
  create: "%{user_name} ha creato la votazione %{resource_name}"
993
1015
  publish: "%{user_name} ha pubblicato la votazione %{resource_name}"
@@ -997,7 +1019,7 @@ it:
997
1019
  census:
998
1020
  create:
999
1021
  invalid: Si è verificato un errore durante il caricamento del censimento, riprova più tardi.
1000
- invalid_csv_header: L'intestazione CSV non ha il numero corretto di campi - si prega di leggere attentamente le istruzioni
1022
+ invalid_csv_header: Le intestazioni CSV sono mancanti o non corrette - si prega di leggere attentamente le istruzioni
1001
1023
  creating_data:
1002
1024
  info_message: "<strong>Attendere</strong>, elaborato %{processed_count} di %{raw_count} righe dal file %{file}."
1003
1025
  delete: