decidim-elections 0.22.0 → 0.23.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_elections_manifest.js +2 -0
  3. data/app/assets/javascripts/decidim/elections/vote.js.es6 +170 -0
  4. data/app/assets/stylesheets/decidim/elections/elections.scss +10 -0
  5. data/app/assets/stylesheets/decidim/elections/focus/_evote.scss +279 -0
  6. data/app/assets/stylesheets/decidim/elections/focus/_focus.scss +128 -0
  7. data/app/cells/decidim/elections/election_cell.rb +22 -0
  8. data/app/cells/decidim/elections/election_m/data.erb +19 -0
  9. data/app/cells/decidim/elections/election_m/footer.erb +5 -0
  10. data/app/cells/decidim/elections/election_m_cell.rb +103 -0
  11. data/app/cells/decidim/elections/voting_step_navigation/show.erb +29 -0
  12. data/app/cells/decidim/elections/voting_step_navigation_cell.rb +42 -0
  13. data/app/commands/decidim/elections/admin/create_election.rb +14 -3
  14. data/app/commands/decidim/elections/admin/create_question.rb +2 -1
  15. data/app/commands/decidim/elections/admin/destroy_election.rb +4 -0
  16. data/app/commands/decidim/elections/admin/import_proposals_to_elections.rb +87 -0
  17. data/app/commands/decidim/elections/admin/publish_election.rb +54 -0
  18. data/app/commands/decidim/elections/admin/unpublish_election.rb +43 -0
  19. data/app/commands/decidim/elections/admin/update_election.rb +15 -3
  20. data/app/commands/decidim/elections/admin/update_question.rb +2 -1
  21. data/app/controllers/concerns/decidim/elections/orderable.rb +36 -0
  22. data/app/controllers/decidim/elections/admin/answers_controller.rb +9 -1
  23. data/app/controllers/decidim/elections/admin/elections_controller.rb +26 -0
  24. data/app/controllers/decidim/elections/admin/proposals_imports_controller.rb +53 -0
  25. data/app/controllers/decidim/elections/elections_controller.rb +68 -0
  26. data/app/controllers/decidim/elections/votes_controller.rb +50 -0
  27. data/app/events/decidim/elections/election_published_event.rb +8 -0
  28. data/app/forms/decidim/elections/admin/answer_import_proposals_form.rb +41 -0
  29. data/app/forms/decidim/elections/admin/election_form.rb +15 -2
  30. data/app/forms/decidim/elections/admin/question_form.rb +1 -0
  31. data/app/helpers/decidim/elections/application_helper.rb +12 -0
  32. data/app/helpers/decidim/elections/election_cells_helper.rb +12 -0
  33. data/app/helpers/decidim/elections/votes_helper.rb +21 -0
  34. data/app/models/decidim/elections/answer.rb +5 -1
  35. data/app/models/decidim/elections/election.rb +69 -0
  36. data/app/models/decidim/elections/question.rb +9 -2
  37. data/app/permissions/decidim/elections/admin/permissions.rb +13 -3
  38. data/app/permissions/decidim/elections/permissions.rb +35 -0
  39. data/app/presenters/decidim/elections/admin_log/election_presenter.rb +41 -0
  40. data/app/presenters/decidim/elections/election_presenter.rb +28 -0
  41. data/app/queries/decidim/elections/filtered_elections.rb +37 -0
  42. data/app/services/decidim/elections/election_search.rb +35 -0
  43. data/app/types/decidim/elections/election_question_type.rb +2 -2
  44. data/app/types/decidim/elections/election_type.rb +2 -1
  45. data/app/types/decidim/elections/elections_type.rb +1 -1
  46. data/app/views/decidim/elections/admin/answers/index.html.erb +2 -1
  47. data/app/views/decidim/elections/admin/elections/_form.html.erb +2 -4
  48. data/app/views/decidim/elections/admin/elections/index.html.erb +23 -1
  49. data/app/views/decidim/elections/admin/proposals_imports/new.html.erb +24 -0
  50. data/app/views/decidim/elections/admin/questions/_form.html.erb +4 -0
  51. data/app/views/decidim/elections/admin/questions/index.html.erb +3 -1
  52. data/app/views/decidim/elections/elections/_count.html.erb +1 -0
  53. data/app/views/decidim/elections/elections/_election.html.erb +1 -0
  54. data/app/views/decidim/elections/elections/_elections.html.erb +24 -0
  55. data/app/views/decidim/elections/elections/_filters.html.erb +24 -0
  56. data/app/views/decidim/elections/elections/_filters_small_view.html.erb +18 -0
  57. data/app/views/decidim/elections/elections/index.html.erb +24 -0
  58. data/app/views/decidim/elections/elections/index.js.erb +10 -0
  59. data/app/views/decidim/elections/elections/show.html.erb +64 -0
  60. data/app/views/decidim/elections/votes/_election_votes_confirm.html.erb +53 -0
  61. data/app/views/decidim/elections/votes/_election_votes_confirm_footer.html.erb +24 -0
  62. data/app/views/decidim/elections/votes/_election_votes_confirmed.html.erb +26 -0
  63. data/app/views/decidim/elections/votes/_election_votes_encrypting.html.erb +20 -0
  64. data/app/views/decidim/elections/votes/_election_votes_header.html.erb +8 -0
  65. data/app/views/decidim/elections/votes/_election_votes_modal.html.erb +46 -0
  66. data/app/views/decidim/elections/votes/_election_votes_question.html.erb +49 -0
  67. data/app/views/decidim/elections/votes/_election_votes_steps_header.html.erb +12 -0
  68. data/app/views/decidim/elections/votes/new.html.erb +44 -0
  69. data/app/views/layouts/decidim/_election_votes_header.html.erb +13 -0
  70. data/app/views/layouts/decidim/election_votes.html.erb +24 -0
  71. data/config/locales/am-ET.yml +1 -0
  72. data/config/locales/bg.yml +7 -0
  73. data/config/locales/ca.yml +136 -6
  74. data/config/locales/cs.yml +133 -1
  75. data/config/locales/da.yml +1 -0
  76. data/config/locales/de.yml +134 -4
  77. data/config/locales/el.yml +11 -1
  78. data/config/locales/en.yml +131 -1
  79. data/config/locales/eo.yml +1 -0
  80. data/config/locales/es-MX.yml +131 -1
  81. data/config/locales/es-PY.yml +131 -1
  82. data/config/locales/es.yml +134 -4
  83. data/config/locales/et.yml +1 -0
  84. data/config/locales/fi-plain.yml +131 -1
  85. data/config/locales/fi.yml +131 -1
  86. data/config/locales/fr-CA.yml +131 -1
  87. data/config/locales/fr.yml +131 -1
  88. data/config/locales/gl.yml +111 -0
  89. data/config/locales/hr.yml +1 -0
  90. data/config/locales/hu.yml +18 -0
  91. data/config/locales/is.yml +1 -0
  92. data/config/locales/it.yml +98 -1
  93. data/config/locales/ja-JP.yml +95 -8
  94. data/config/locales/ja.yml +254 -0
  95. data/config/locales/ko-KR.yml +1 -0
  96. data/config/locales/ko.yml +1 -0
  97. data/config/locales/lt.yml +1 -0
  98. data/config/locales/{lv-LV.yml → lv.yml} +11 -1
  99. data/config/locales/mt.yml +1 -0
  100. data/config/locales/nl.yml +92 -1
  101. data/config/locales/no.yml +63 -0
  102. data/config/locales/om-ET.yml +1 -0
  103. data/config/locales/pl.yml +126 -1
  104. data/config/locales/pt.yml +84 -1
  105. data/config/locales/ro-RO.yml +85 -1
  106. data/config/locales/si-LK.yml +1 -0
  107. data/config/locales/so-SO.yml +1 -0
  108. data/config/locales/sv.yml +122 -2
  109. data/config/locales/sw-KE.yml +1 -0
  110. data/config/locales/ti-ER.yml +1 -0
  111. data/config/locales/tr-TR.yml +261 -0
  112. data/config/locales/vi-VN.yml +1 -0
  113. data/config/locales/vi.yml +1 -0
  114. data/config/locales/zh-CN.yml +254 -0
  115. data/config/locales/zh-TW.yml +1 -0
  116. data/db/migrate/20200601141412_add_published_at_to_elections.rb +7 -0
  117. data/db/migrate/20200807125040_remove_subtitle_from_decidim_elections.rb +7 -0
  118. data/db/migrate/20200910103648_add_min_selections_to_decidim_elections_questions.rb +7 -0
  119. data/lib/decidim/elections.rb +5 -0
  120. data/lib/decidim/elections/admin_engine.rb +7 -0
  121. data/lib/decidim/elections/bulletin_board_client.rb +35 -0
  122. data/lib/decidim/elections/component.rb +17 -12
  123. data/lib/decidim/elections/engine.rb +8 -1
  124. data/lib/decidim/elections/test/factories.rb +59 -6
  125. data/lib/decidim/elections/version.rb +1 -1
  126. data/lib/tasks/decidim_elections.rake +16 -0
  127. metadata +84 -16
@@ -10,11 +10,11 @@ cs:
10
10
  description: Popis
11
11
  end_time: Hlasování končí v
12
12
  start_time: Hlasování začíná v
13
- subtitle: Podtitulek
14
13
  title: Název
15
14
  question:
16
15
  description: Popis
17
16
  max_selections: Maximální počet výběrů
17
+ min_selections: Žádná z výše uvedených možností
18
18
  title: Název
19
19
  errors:
20
20
  models:
@@ -22,6 +22,10 @@ cs:
22
22
  attributes:
23
23
  attachment:
24
24
  needs_to_be_reattached: Potřebuje být znovu připojen
25
+ election:
26
+ attributes:
27
+ attachment:
28
+ needs_to_be_reattached: Potřebuje být znovu připojen
25
29
  activerecord:
26
30
  models:
27
31
  decidim/elections/answer:
@@ -42,6 +46,8 @@ cs:
42
46
  decidim:
43
47
  components:
44
48
  elections:
49
+ actions:
50
+ vote: Hlasovat
45
51
  name: Volby
46
52
  settings:
47
53
  global:
@@ -53,9 +59,14 @@ cs:
53
59
  confirm_destroy: Jste si jisti?
54
60
  destroy: Zničit
55
61
  edit: Upravit
62
+ edit_answers: Upravit odpovědi
63
+ edit_questions: Upravit otázky
64
+ import: Importovat návrhy na odpovědi
56
65
  new: Nový %{name}
57
66
  preview: Náhled
67
+ publish: Publikovat
58
68
  title: Akce
69
+ unpublish: Zrušit publikování
59
70
  admin:
60
71
  answers:
61
72
  create:
@@ -68,6 +79,7 @@ cs:
68
79
  title: Upravit odpověď
69
80
  update: Aktualizovat odpověď
70
81
  index:
82
+ invalid_max_selections: Potřebujete ještě %{missing_answers} odpověd/í, aby počet odpovídal maximálnímu počtu výběrů
71
83
  title: Odpovědi
72
84
  new:
73
85
  create: Vytvořit odpověď
@@ -86,10 +98,15 @@ cs:
86
98
  title: Upravit volbu
87
99
  update: Aktualizovat volby
88
100
  index:
101
+ no_bulletin_board: Není nastaven žádný <a href="https://github.com/decidim/decidim-bulletin-board">Bulletin Board server</a>, který je potřebný pro použití tohoto modulu. Tento úkol by měl provést správce systému.
89
102
  title: Volby
90
103
  new:
91
104
  create: Vytvořit volbu
92
105
  title: Nové volby
106
+ publish:
107
+ success: Volba byla úspěšně publikována.
108
+ unpublish:
109
+ success: Volba byla úspěšně odebrána ze zveřejnění.
93
110
  update:
94
111
  invalid: Při aktualizaci těchto voleb došlo k chybě
95
112
  success: Volba byla úspěšně aktualizována
@@ -100,6 +117,14 @@ cs:
100
117
  name: Volby
101
118
  question:
102
119
  name: Otázka
120
+ proposals_imports:
121
+ create:
122
+ invalid: Při importu návrhů do odpovědí došlo k potížím
123
+ success: "%{number} návrhů bylo úspěšně importováno do odpovědí"
124
+ new:
125
+ create: Importovat návrhy na odpovědi
126
+ no_components: V tomto participačním prostoru nejsou žádné další prvky návrhu, které by mohly do odpovědí importovat návrhy.
127
+ select_component: Vyberte komponentu
103
128
  questions:
104
129
  create:
105
130
  invalid: Při vytváření této otázky došlo k chybě
@@ -118,6 +143,51 @@ cs:
118
143
  update:
119
144
  invalid: Při aktualizaci této otázky došlo k chybě
120
145
  success: Otázka byla úspěšně aktualizována
146
+ admin_log:
147
+ election:
148
+ publish: "%{user_name} zveřejnil volby %{resource_name}"
149
+ unpublish: "%{user_name} zrušil zveřejnění volby %{resource_name}"
150
+ election_m:
151
+ badge_name:
152
+ finished: Dokončeno
153
+ ongoing: Aktivní
154
+ upcoming: Nadcházející
155
+ end_date: Končí
156
+ footer:
157
+ view: Zobrazit
158
+ vote: Hlasovat
159
+ label:
160
+ date: Data
161
+ questions: Otázky %{count}
162
+ start_date: Začíná
163
+ unspecified: Nespecifikováno
164
+ elections:
165
+ count:
166
+ elections_count:
167
+ one: "%{count} zvolení"
168
+ few: "%{count} zvolení"
169
+ many: "%{count} zvolení"
170
+ other: "%{count} voleb"
171
+ filters:
172
+ active: Aktivní
173
+ all: Vše
174
+ finished: Dokončeno
175
+ search: Hledat
176
+ state: Stav
177
+ upcoming: Nadcházející
178
+ filters_small_view:
179
+ close_modal: Zavřít okno
180
+ filter: Filtr
181
+ filter_by: Filtrovat podle
182
+ unfold: Rozbalit
183
+ show:
184
+ back: Všechny volby
185
+ preview: Náhled
186
+ vote: Hlasovat
187
+ voting_period_status:
188
+ finished: Hlasování začalo %{start_time} a skončilo %{end_time}
189
+ ongoing: Hlasování končí %{end_time}
190
+ upcoming: Hlasování začíná %{start_time}
121
191
  models:
122
192
  answer:
123
193
  fields:
@@ -133,6 +203,68 @@ cs:
133
203
  answers: Odpovědi
134
204
  max_selections: Max. výběr
135
205
  title: Název
206
+ orders:
207
+ label: Seřadit volby podle
208
+ older: Starší
209
+ recent: Nedávné
210
+ votes:
211
+ confirm:
212
+ answer: Odpověď
213
+ answer_number: odpověď %{number}
214
+ confirm: Potvrdit
215
+ edit: upravit
216
+ header: Potvrďte svůj hlas
217
+ intro: Zde je shrnutí hlasů, které se chystáte odeslat. <br> Prosím potvrďte svůj hlas nebo upravte své odpovědi.
218
+ nota_option: Prázdné
219
+ question: Otázka %{count}
220
+ confirmed:
221
+ back: Zpět k volbám
222
+ experience: Jaká byla vaše zkušenost?
223
+ feedback: Dejte nám zpětnou vazbu
224
+ header: Hlasování potvrzeno
225
+ lead: Váš hlas již byl odeslán!
226
+ text: 'Můžete zkontrolovat, že váš hlas byl úspěšně přidán do volební urny s následujícím identifikátorem: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
227
+ verify_text: Chcete-li jej zkontrolovat, zkopírujte identifikátor a vložte jej na <a href="evote-verify">stránku pro ověření hlasování</a>
228
+ encrypting:
229
+ header: Zakódování hlasů...
230
+ text: Váš hlas je šifrován, abyste ho mohli anonymně posílat.
231
+ header:
232
+ confirm: Potvrďte svůj hlas
233
+ confirmed: Hlasování potvrzeno
234
+ encrypting: Potvrzení hlasování
235
+ messages:
236
+ not_allowed: V tuto chvíli vám není dovoleno hlasovat o těchto volbách.
237
+ modal:
238
+ close: Zavřít
239
+ proposal_header: 'Návrhy:'
240
+ new:
241
+ answer_choices: Můžete vybrat až %{choices} odpovědí
242
+ more_information: Více informací
243
+ nota_option: Prázdná/Nic z výše uvedených
244
+ preview_alert: To je náhled hlasovacího pultu.
245
+ question_steps: Otázka %{current_step} z %{total_steps}
246
+ selections: "%{selected} z %{max_selections}<br> výběrů"
247
+ voting_step:
248
+ back: Zpět
249
+ continue: Další
250
+ warnings:
251
+ no_elections_warning: Žádné volby neodpovídají zadaným kritériím nebo nejsou naplánovány žádné volby.
252
+ no_scheduled_elections_warning: V současné době nejsou žádné plánované volby, ale zde najdete všechny minulé volby na seznamu.
253
+ events:
254
+ elections:
255
+ election_published:
256
+ email_intro: 'Volba %{resource_title} je nyní aktivní pro %{participatory_space_title}. Můžete ji vidět z této stránky:'
257
+ email_outro: Obdrželi jste toto oznámení, protože sledujete %{participatory_space_title}. Můžete přestat přijímat oznámení kliknutím na následující odkaz.
258
+ email_subject: Volba %{resource_title} je nyní aktivní pro %{participatory_space_title}.
259
+ notification_title: Volba <a href="%{resource_path}">%{resource_title}</a> je nyní aktivní pro %{participatory_space_title}.
260
+ pages:
261
+ home:
262
+ statistics:
263
+ elections_count: Volby
136
264
  participatory_processes:
137
265
  statistics:
138
266
  elections_count: Volby
267
+ layouts:
268
+ decidim:
269
+ election_votes_header:
270
+ exit: Ukončit
@@ -0,0 +1 @@
1
+ da:
@@ -10,18 +10,22 @@ de:
10
10
  description: Beschreibung
11
11
  end_time: Die Abstimmung endet um
12
12
  start_time: Die Abstimmung beginnt um
13
- subtitle: Untertitel
14
13
  title: Titel
15
14
  question:
16
15
  description: Beschreibung
17
- max_selections: Maximale Anzahl von Auswahlen
16
+ max_selections: Maximale Anzahl Antworten
17
+ min_selections: Nichts davon
18
18
  title: Titel
19
19
  errors:
20
20
  models:
21
21
  answer:
22
22
  attributes:
23
23
  attachment:
24
- needs_to_be_reattached: Muss erneut angehängt werden
24
+ needs_to_be_reattached: Der Anhang muss erneut angehängt werden
25
+ election:
26
+ attributes:
27
+ attachment:
28
+ needs_to_be_reattached: Der Anhang muss erneut angehängt werden
25
29
  activerecord:
26
30
  models:
27
31
  decidim/elections/answer:
@@ -36,6 +40,8 @@ de:
36
40
  decidim:
37
41
  components:
38
42
  elections:
43
+ actions:
44
+ vote: Abstimmung
39
45
  name: Wahlen
40
46
  settings:
41
47
  global:
@@ -47,9 +53,14 @@ de:
47
53
  confirm_destroy: Sind Sie sicher?
48
54
  destroy: Löschen
49
55
  edit: Bearbeiten
56
+ edit_answers: Antworten bearbeiten
57
+ edit_questions: Fragen bearbeiten
58
+ import: Importieren Sie Vorschläge in Projekte
50
59
  new: Neue(r/s) %{name}
51
60
  preview: Vorschau
61
+ publish: Veröffentlichen
52
62
  title: Aktionen
63
+ unpublish: Veröffentlichung rückgängig machen
53
64
  admin:
54
65
  answers:
55
66
  create:
@@ -62,6 +73,7 @@ de:
62
73
  title: Antwort bearbeiten
63
74
  update: Antwort aktualisieren
64
75
  index:
76
+ invalid_max_selections: Du benötigst %{missing_answers} weitere Antwort/en, um die Auswahl zu erfüllen
65
77
  title: Antworten
66
78
  new:
67
79
  create: Antwort erstellen
@@ -80,10 +92,15 @@ de:
80
92
  title: Wahl bearbeiten
81
93
  update: Wahl aktualisieren
82
94
  index:
95
+ no_bulletin_board: Es ist kein <a href="https://github.com/decidim/decidim-bulletin-board">Bulletin Board Server</a> konfiguriert, das benötigt wird, um dieses Modul zu verwenden. Diese Aufgabe sollte vom Systemadministrator erledigt werden.
83
96
  title: Wahlen
84
97
  new:
85
98
  create: Wahl erstellen
86
99
  title: Neue Wahl
100
+ publish:
101
+ success: Die Wahl wurde erfolgreich veröffentlicht.
102
+ unpublish:
103
+ success: Die Veröffentlichung der Wahl wurde erfolgreich zurückgezogen.
87
104
  update:
88
105
  invalid: Beim Aktualisieren dieser Wahl ist ein Fehler aufgetreten
89
106
  success: Wahl wurde erfolgreich aktualisiert
@@ -94,6 +111,14 @@ de:
94
111
  name: Wahl
95
112
  question:
96
113
  name: Frage
114
+ proposals_imports:
115
+ create:
116
+ invalid: Beim Importieren der Vorschläge in Projekte ist ein Problem aufgetreten
117
+ success: "%{number} Vorschläge wurden erfolgreich in Projekte importiert"
118
+ new:
119
+ create: Importieren Sie Vorschläge in Projekte
120
+ no_components: Es gibt keine weiteren Vorschlagskomponenten in diesem partizipativen Raum, um die Vorschläge in Projekte zu importieren.
121
+ select_component: Bitte wählen Sie ein Objekt
97
122
  questions:
98
123
  create:
99
124
  invalid: Beim Erstellen dieser Frage ist ein Fehler aufgetreten
@@ -112,6 +137,49 @@ de:
112
137
  update:
113
138
  invalid: Beim Aktualisieren dieser Frage ist ein Fehler aufgetreten
114
139
  success: Frage wurde erfolgreich aktualisiert
140
+ admin_log:
141
+ election:
142
+ publish: "%{user_name} hat die %{resource_name} Wahl veröffentlicht"
143
+ unpublish: "%{user_name} hat die %{resource_name} Wahl zurückgezogen"
144
+ election_m:
145
+ badge_name:
146
+ finished: Abgeschlossen
147
+ ongoing: Aktiv
148
+ upcoming: Anstehend
149
+ end_date: Endet am
150
+ footer:
151
+ view: Ansicht
152
+ vote: Abstimmung
153
+ label:
154
+ date: Daten
155
+ questions: Fragen %{count}
156
+ start_date: Startet am
157
+ unspecified: Nicht angegeben
158
+ elections:
159
+ count:
160
+ elections_count:
161
+ one: "%{count} Wahlen"
162
+ other: "%{count} Wahlen"
163
+ filters:
164
+ active: Aktiv
165
+ all: Alle
166
+ finished: Abgeschlossen
167
+ search: Suche
168
+ state: Status
169
+ upcoming: Anstehend
170
+ filters_small_view:
171
+ close_modal: Dialog schließen
172
+ filter: Filter
173
+ filter_by: Filtern nach
174
+ unfold: Aufklappen
175
+ show:
176
+ back: Alle Wahlen
177
+ preview: Vorschau
178
+ vote: Abstimmung
179
+ voting_period_status:
180
+ finished: Die Abstimmung begann am %{start_time} und endete am %{end_time}
181
+ ongoing: Die Abstimmung endet am %{end_time}
182
+ upcoming: Die Abstimmung beginnt am %{start_time}
115
183
  models:
116
184
  answer:
117
185
  fields:
@@ -125,8 +193,70 @@ de:
125
193
  question:
126
194
  fields:
127
195
  answers: Antworten
128
- max_selections: Maximale Auswahl
196
+ max_selections: Max. Antworten
129
197
  title: Titel
198
+ orders:
199
+ label: Wahlen ordnen nach
200
+ older: Chronologisch
201
+ recent: Kürzlich hinzugefügt
202
+ votes:
203
+ confirm:
204
+ answer: Antwort
205
+ answer_number: Antwort %{number}
206
+ confirm: Bestätigen
207
+ edit: bearbeiten
208
+ header: Bestätige deine Stimme
209
+ intro: Hier ist eine Zusammenfassung der Wahl, die Sie abgeben möchten. <br> Bitte bestätigen Sie Ihre Stimme oder bearbeiten Sie Ihre Antworten.
210
+ nota_option: Leer
211
+ question: Frage %{count}
212
+ confirmed:
213
+ back: Zurück zu den Wahlen
214
+ experience: Wie war Ihre Erfahrung mit uns?
215
+ feedback: Gib uns dein Feedback
216
+ header: Abstimmung bestätigt
217
+ lead: Deine Stimme wurde bereits abgegeben!
218
+ text: 'Sie können überprüfen, ob Ihre Stimme erfolgreich zur Wahlurne mit folgendem Identifikator hinzugefügt wurde: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
219
+ verify_text: Um dies zu überprüfen, kopieren Sie die Kennung und fügen Sie sie auf der <a href="evote-verify">Bestätigungsseite</a> ein
220
+ encrypting:
221
+ header: Abstimmung wird verschlüsselt...
222
+ text: Deine Stimme wird verschlüsselt, um sicherzustellen, dass du sie anonym abgeben kannst.
223
+ header:
224
+ confirm: Bestätige deine Stimme
225
+ confirmed: Abstimmung bestätigt
226
+ encrypting: Wahl bestätigen
227
+ messages:
228
+ not_allowed: Sie dürfen zur Zeit nicht an dieser Wahl teilnehmen.
229
+ modal:
230
+ close: Schließen
231
+ proposal_header: 'Vorschläge:'
232
+ new:
233
+ answer_choices: Sie können bis zu %{choices} Antworten auswählen
234
+ more_information: Weitere Informationen
235
+ nota_option: Nichts davon
236
+ preview_alert: Dies ist eine Vorschau des Abstimmungsstandes.
237
+ question_steps: Frage %{current_step} von %{total_steps}
238
+ selections: "%{selected} von %{max_selections}<br> ausgewählt"
239
+ voting_step:
240
+ back: Zurück
241
+ continue: Weiter
242
+ warnings:
243
+ no_elections_warning: Keine Wahlen entsprechen Ihren Suchkriterien oder es ist keine Wahl geplant.
244
+ no_scheduled_elections_warning: Derzeit sind keine Wahlen geplant, aber hier finden Sie alle vergangenen Wahlen aufgelistet.
245
+ events:
246
+ elections:
247
+ election_published:
248
+ email_intro: 'Die Wahl %{resource_title} ist jetzt für %{participatory_space_title} aktiv. Sie können es von dieser Seite sehen:'
249
+ email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{participatory_space_title} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
250
+ email_subject: Die Wahl %{resource_title} ist jetzt aktiv für %{participatory_space_title}.
251
+ notification_title: Die Wahl <a href="%{resource_path}">%{resource_title}</a> ist jetzt aktiv für %{participatory_space_title}.
252
+ pages:
253
+ home:
254
+ statistics:
255
+ elections_count: Wahlen
130
256
  participatory_processes:
131
257
  statistics:
132
258
  elections_count: Wahlen
259
+ layouts:
260
+ decidim:
261
+ election_votes_header:
262
+ exit: Beenden
@@ -10,7 +10,6 @@ el:
10
10
  description: Περιγραφή
11
11
  end_time: Η ψηφοφορία λήγει στις
12
12
  start_time: Η ψηφοφορία ξεκινά στις
13
- subtitle: Υπότιτλος
14
13
  title: Τίτλος
15
14
  question:
16
15
  description: Περιγραφή
@@ -47,6 +46,9 @@ el:
47
46
  confirm_destroy: Είστε βέβαιοι;
48
47
  destroy: Καταστροφή
49
48
  edit: Επεξεργασία
49
+ edit_answers: Επεξεργασία απαντήσεων
50
+ edit_questions: Επεξεργασία ερωτήσεων
51
+ import: Εισαγωγή προτάσεων σε απαντήσεις
50
52
  new: Νέο όνομα %{name}
51
53
  preview: Προεπισκόπηση
52
54
  title: Ενέργειες
@@ -94,6 +96,14 @@ el:
94
96
  name: Εκλογή
95
97
  question:
96
98
  name: Ερώτηση
99
+ proposals_imports:
100
+ create:
101
+ invalid: Υπήρξε ένα πρόβλημα κατά την εισαγωγή των προτάσεων σε απαντήσεις
102
+ success: "%{number} προτάσεις εισήχθηκαν με επιτυχία σε απαντήσεις"
103
+ new:
104
+ create: Εισαγωγή προτάσεων σε απαντήσεις
105
+ no_components: Δεν υπάρχουν άλλα στοιχεία προτάσεων σε αυτόν τον χώρο συμμετοχής για εισαγωγή των προτάσεων σε απαντήσεις.
106
+ select_component: Επιλέξτε ένα στοιχείο
97
107
  questions:
98
108
  create:
99
109
  invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτής της ερώτησης
@@ -11,11 +11,11 @@ en:
11
11
  description: Description
12
12
  end_time: Voting ends at
13
13
  start_time: Voting start at
14
- subtitle: Subtitle
15
14
  title: Title
16
15
  question:
17
16
  description: Description
18
17
  max_selections: Maximum number of selections
18
+ min_selections: None of the above option
19
19
  title: Title
20
20
  errors:
21
21
  models:
@@ -23,6 +23,10 @@ en:
23
23
  attributes:
24
24
  attachment:
25
25
  needs_to_be_reattached: Needs to be reattached
26
+ election:
27
+ attributes:
28
+ attachment:
29
+ needs_to_be_reattached: Needs to be reattached
26
30
  activerecord:
27
31
  models:
28
32
  decidim/elections/answer:
@@ -37,6 +41,8 @@ en:
37
41
  decidim:
38
42
  components:
39
43
  elections:
44
+ actions:
45
+ vote: Vote
40
46
  name: Elections
41
47
  settings:
42
48
  global:
@@ -48,9 +54,14 @@ en:
48
54
  confirm_destroy: Are you sure?
49
55
  destroy: Destroy
50
56
  edit: Edit
57
+ edit_answers: Edit answers
58
+ edit_questions: Edit questions
59
+ import: Import proposals to answers
51
60
  new: New %{name}
52
61
  preview: Preview
62
+ publish: Publish
53
63
  title: Actions
64
+ unpublish: Unpublish
54
65
  admin:
55
66
  answers:
56
67
  create:
@@ -63,6 +74,7 @@ en:
63
74
  title: Edit answer
64
75
  update: Update answer
65
76
  index:
77
+ invalid_max_selections: You need %{missing_answers} more answer/s to match max selections
66
78
  title: Answers
67
79
  new:
68
80
  create: Create answer
@@ -81,10 +93,15 @@ en:
81
93
  title: Edit election
82
94
  update: Update election
83
95
  index:
96
+ no_bulletin_board: There is no <a href="https://github.com/decidim/decidim-bulletin-board">Bulletin Board server</a> configured, which is needed to use this module. This task should be done by the System Administrator.
84
97
  title: Elections
85
98
  new:
86
99
  create: Create election
87
100
  title: New election
101
+ publish:
102
+ success: The election has been successfully published.
103
+ unpublish:
104
+ success: The election has been successfully unpublished.
88
105
  update:
89
106
  invalid: There was a problem updating this election
90
107
  success: Election successfully updated
@@ -95,6 +112,14 @@ en:
95
112
  name: Election
96
113
  question:
97
114
  name: Question
115
+ proposals_imports:
116
+ create:
117
+ invalid: There was a problem importing the proposals into answers
118
+ success: "%{number} proposals successfully imported into answers"
119
+ new:
120
+ create: Import proposals to answers
121
+ no_components: There are no other proposal components in this participatory space to import the proposals into answers.
122
+ select_component: Please select a component
98
123
  questions:
99
124
  create:
100
125
  invalid: There was a problem creating this question
@@ -113,6 +138,49 @@ en:
113
138
  update:
114
139
  invalid: There was a problem updating this question
115
140
  success: Question successfully updated
141
+ admin_log:
142
+ election:
143
+ publish: "%{user_name} published the %{resource_name} election"
144
+ unpublish: "%{user_name} unpublished the %{resource_name} election"
145
+ election_m:
146
+ badge_name:
147
+ finished: Finished
148
+ ongoing: Active
149
+ upcoming: Upcoming
150
+ end_date: Ends
151
+ footer:
152
+ view: View
153
+ vote: Vote
154
+ label:
155
+ date: Dates
156
+ questions: Questions %{count}
157
+ start_date: Starts
158
+ unspecified: Not specified
159
+ elections:
160
+ count:
161
+ elections_count:
162
+ one: "%{count} election"
163
+ other: "%{count} elections"
164
+ filters:
165
+ active: Active
166
+ all: All
167
+ finished: Finished
168
+ search: Search
169
+ state: Status
170
+ upcoming: Upcoming
171
+ filters_small_view:
172
+ close_modal: Close modal
173
+ filter: Filter
174
+ filter_by: Filter by
175
+ unfold: Unfold
176
+ show:
177
+ back: All elections
178
+ preview: Preview
179
+ vote: Vote
180
+ voting_period_status:
181
+ finished: Voting began on %{start_time} and ended on %{end_time}
182
+ ongoing: Voting ends on %{end_time}
183
+ upcoming: Voting begins on %{start_time}
116
184
  models:
117
185
  answer:
118
186
  fields:
@@ -128,6 +196,68 @@ en:
128
196
  answers: Answers
129
197
  max_selections: Max. selections
130
198
  title: Title
199
+ orders:
200
+ label: Order elections by
201
+ older: Older
202
+ recent: Recent
203
+ votes:
204
+ confirm:
205
+ answer: Answer
206
+ answer_number: answer %{number}
207
+ confirm: Confirm
208
+ edit: edit
209
+ header: Confirm your vote
210
+ intro: Here is a summary of the vote you are about to cast. <br> Please confirm your vote or edit your answers.
211
+ nota_option: Blank
212
+ question: Question %{count}
213
+ confirmed:
214
+ back: Back to elections
215
+ experience: How was your experience?
216
+ feedback: Give us some feedback
217
+ header: Vote confirmed
218
+ lead: Your vote has already been cast!
219
+ text: 'You can check that your vote has been successfully added to the ballot box with the following identifier: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
220
+ verify_text: To check it, copy the identifier and paste it on the <a href="evote-verify">vote verification page</a>
221
+ encrypting:
222
+ header: Encoding vote...
223
+ text: Your vote is being encrypted to ensure you can cast it anonymously.
224
+ header:
225
+ confirm: Confirm your vote
226
+ confirmed: Vote confirmed
227
+ encrypting: Confirming vote
228
+ messages:
229
+ not_allowed: You are not allowed to vote on this election at this moment.
230
+ modal:
231
+ close: Close
232
+ proposal_header: 'Proposals:'
233
+ new:
234
+ answer_choices: You can select up to %{choices} answers
235
+ more_information: More information
236
+ nota_option: Blank/ None of the above
237
+ preview_alert: This is a preview of the voting booth.
238
+ question_steps: Question %{current_step} of %{total_steps}
239
+ selections: "%{selected} of %{max_selections}<br> selections"
240
+ voting_step:
241
+ back: Back
242
+ continue: Next
243
+ warnings:
244
+ no_elections_warning: No elections match your search criteria or there isn't any election scheduled.
245
+ no_scheduled_elections_warning: Currently, there are no scheduled elections, but here you can find all the past elections listed.
246
+ events:
247
+ elections:
248
+ election_published:
249
+ email_intro: 'The %{resource_title} election is now active for %{participatory_space_title}. You can see it from this page:'
250
+ email_outro: You have received this notification because you are following %{participatory_space_title}. You can stop receiving notifications following the previous link.
251
+ email_subject: The %{resource_title} election is now active for %{participatory_space_title}.
252
+ notification_title: The <a href="%{resource_path}">%{resource_title}</a> election is now active for %{participatory_space_title}.
253
+ pages:
254
+ home:
255
+ statistics:
256
+ elections_count: Elections
131
257
  participatory_processes:
132
258
  statistics:
133
259
  elections_count: Elections
260
+ layouts:
261
+ decidim:
262
+ election_votes_header:
263
+ exit: Exit