decidim-elections 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cells/decidim/elections/election_m_cell.rb +1 -1
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +12 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/description_cell.rb +1 -1
- data/app/cells/decidim/votings/voting_m_cell.rb +1 -1
- data/app/commands/decidim/elections/admin/add_user_as_trustee.rb +1 -1
- data/app/commands/decidim/elections/admin/report_missing_trustee.rb +68 -0
- data/app/commands/decidim/elections/admin/setup_election.rb +1 -1
- data/app/commands/decidim/elections/admin/start_tally.rb +1 -1
- data/app/commands/decidim/votings/admin/create_ballot_style.rb +8 -5
- data/app/commands/decidim/votings/admin/destroy_ballot_style.rb +11 -3
- data/app/commands/decidim/votings/admin/update_ballot_style.rb +6 -1
- data/app/commands/decidim/votings/census/admin/create_dataset.rb +13 -5
- data/app/controllers/concerns/decidim/monitoring_committee_polling_station_closures/admin/filterable.rb +1 -1
- data/app/controllers/concerns/decidim/polling_stations/admin/filterable.rb +1 -1
- data/app/controllers/decidim/elections/admin/steps_controller.rb +26 -7
- data/app/controllers/decidim/votings/admin/ballot_styles_controller.rb +1 -1
- data/app/forms/decidim/elections/admin/action_form.rb +4 -0
- data/app/forms/decidim/elections/admin/report_missing_trustee_form.rb +22 -0
- data/app/forms/decidim/elections/admin/setup_form.rb +4 -0
- data/app/models/decidim/elections/action.rb +1 -1
- data/app/models/decidim/elections/trustee.rb +4 -0
- data/app/models/decidim/votings/ballot_style.rb +6 -0
- data/app/models/decidim/votings/census/dataset.rb +2 -0
- data/app/models/decidim/votings/monitoring_committee_member.rb +6 -0
- data/app/models/decidim/votings/polling_officer.rb +5 -0
- data/app/models/decidim/votings/polling_station.rb +6 -0
- data/app/packs/entrypoints/decidim_elections_admin_trustees_process.js +1 -0
- data/app/packs/src/decidim/elections/admin/pending_action.js +1 -1
- data/app/packs/src/decidim/elections/admin/trustees_process.js +125 -0
- data/app/packs/src/decidim/elections/election_log.js +89 -73
- data/app/packs/src/decidim/elections/trustee/key_ceremony.js +3 -3
- data/app/packs/src/decidim/elections/trustee/tally.js +3 -3
- data/app/packs/src/decidim/elections/trustee/trustee_zone.js +29 -18
- data/app/packs/src/decidim/elections/voter/casting-vote.js +1 -1
- data/app/packs/src/decidim/elections/voter/setup-vote.js +5 -5
- data/app/packs/src/decidim/elections/voter/verify-vote.js +1 -1
- data/app/packs/src/decidim/votings/in-person-vote.js +1 -1
- data/app/presenters/decidim/elections/admin_log/election_presenter.rb +34 -9
- data/app/presenters/decidim/elections/admin_log/trustee_presenter.rb +50 -0
- data/app/presenters/decidim/elections/trustee_presenter.rb +5 -1
- data/app/presenters/decidim/votings/admin_log/ballot_style_presenter.rb +35 -0
- data/app/presenters/decidim/votings/admin_log/monitoring_committee_member_presenter.rb +50 -0
- data/app/presenters/decidim/votings/admin_log/polling_officer_presenter.rb +50 -0
- data/app/presenters/decidim/votings/admin_log/polling_station_presenter.rb +29 -0
- data/app/presenters/decidim/votings/admin_log/voting_presenter.rb +1 -1
- data/app/presenters/decidim/votings/census/admin_log/dataset_presenter.rb +7 -6
- data/app/services/decidim/votings/voting_search.rb +2 -2
- data/app/views/decidim/elections/admin/steps/_create_election.html.erb +3 -3
- data/app/views/decidim/elections/admin/steps/_key_ceremony.html.erb +44 -9
- data/app/views/decidim/elections/admin/steps/_tally.html.erb +60 -10
- data/app/views/decidim/elections/admin/steps/index.html.erb +17 -15
- data/app/views/decidim/elections/elections/_filters_small_view.html.erb +3 -3
- data/app/views/decidim/elections/elections/election_log.html.erb +1 -1
- data/app/views/decidim/elections/elections/show.html.erb +1 -1
- data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +1 -1
- data/app/views/decidim/elections/trustee_zone/trustees/show.html.erb +1 -1
- data/app/views/decidim/elections/votes/_onboarding_modal.html.erb +1 -1
- data/app/views/decidim/elections/votes/_show_casted.html.erb +1 -1
- data/app/views/decidim/elections/votes/_show_casting.html.erb +1 -1
- data/app/views/decidim/elections/votes/new.html.erb +3 -3
- data/app/views/decidim/elections/votes/verify.html.erb +1 -1
- data/app/views/decidim/votings/admin/votings/index.html.erb +1 -1
- data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_count_error.html.erb +3 -2
- data/app/views/decidim/votings/polling_officer_zone/closures/_modal_ballots_results_count_error.html.erb +3 -2
- data/app/views/decidim/votings/polling_officer_zone/closures/_sign_form.html.erb +4 -3
- data/app/views/decidim/votings/polling_officer_zone/closures/edit.html.erb +1 -1
- data/app/views/decidim/votings/polling_officer_zone/closures/new.html.erb +1 -1
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +1 -1
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +1 -1
- data/app/views/decidim/votings/votings/_filters_small_view.html.erb +3 -3
- data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
- data/config/assets.rb +1 -0
- data/config/locales/ar.yml +12 -0
- data/config/locales/ca.yml +45 -11
- data/config/locales/cs.yml +41 -11
- data/config/locales/de.yml +0 -13
- data/config/locales/en.yml +41 -11
- data/config/locales/es-MX.yml +45 -11
- data/config/locales/es-PY.yml +45 -11
- data/config/locales/es.yml +45 -11
- data/config/locales/eu.yml +23 -11
- data/config/locales/fi-plain.yml +41 -11
- data/config/locales/fi.yml +41 -11
- data/config/locales/fr-CA.yml +408 -11
- data/config/locales/fr.yml +457 -60
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +19 -3
- data/config/locales/hu.yml +108 -0
- data/config/locales/it.yml +33 -11
- data/config/locales/ja.yml +381 -17
- data/config/locales/lb-LU.yml +24 -0
- data/config/locales/nl.yml +232 -7
- data/config/locales/no.yml +498 -1
- data/config/locales/pl.yml +6 -11
- data/config/locales/pt-BR.yml +1 -14
- data/config/locales/pt.yml +40 -9
- data/config/locales/ro-RO.yml +57 -12
- data/config/locales/sv.yml +104 -6
- data/config/locales/tr-TR.yml +4 -9
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/zh-CN.yml +0 -5
- data/lib/decidim/elections/component.rb +2 -1
- data/lib/decidim/elections/test/factories.rb +2 -2
- data/lib/decidim/elections/version.rb +1 -1
- metadata +32 -22
data/config/locales/pt.yml
CHANGED
@@ -253,8 +253,8 @@ pt:
|
|
253
253
|
title: Eleição criada
|
254
254
|
trustees: Curadores
|
255
255
|
key_ceremony:
|
256
|
+
continue: Continuar
|
256
257
|
title: Cerimónia-chave
|
257
|
-
trustees: Curadores
|
258
258
|
key_ceremony_ended:
|
259
259
|
errors:
|
260
260
|
time_before: A eleição está pronta para começar. Tem de esperar até %{hours} horas antes da hora de início (%{start_time}) para abrir o período de votação.
|
@@ -274,8 +274,14 @@ pt:
|
|
274
274
|
submit: Enviar
|
275
275
|
title: Resultados publicados
|
276
276
|
tally:
|
277
|
+
continue: Continuar
|
278
|
+
invalid: Ouve um problema ao denunciar o curador ausente
|
279
|
+
mark_as_missing: Assinalar como ausente
|
280
|
+
mark_as_missing_description: Todos os curadores devem participar neste processo, mas se um curador não pode tomar parte no processo pode ser assinalado como ausente.
|
281
|
+
success: O curador ausente foi denunciado com êxito e enviado para o Quadro Informativo
|
282
|
+
tally_completion: O processo será completo quando todos os curadores estiverem activos ou assinalados como ausentes. São necessários pelo menos %{quorum} curadores para completar o processo.
|
277
283
|
title: Processo de contagem
|
278
|
-
|
284
|
+
undo_mark_as_missing: Um curador assinalado como ausente poderá participar antes do processo estar completo. Pode proceder como usualmente e o assinalar da ausência será ignorado.
|
279
285
|
tally_ended:
|
280
286
|
answer: Resposta
|
281
287
|
not_selected: Não seleccionado
|
@@ -328,13 +334,19 @@ pt:
|
|
328
334
|
success: Curador %{trustee} actualizado com êxito
|
329
335
|
admin_log:
|
330
336
|
election:
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
337
|
+
create: "%{user_name} criou a eleição %{resource_name} para o/a %{space_name}"
|
338
|
+
delete: "%{user_name} apagou a eleição %{resource_name} para o/a %{space_name}"
|
339
|
+
end_vote: "%{user_name} terminou o período de votação para a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
340
|
+
publish: "%{user_name} publicou a eleição %{resource_name} para a/o %{space_name}"
|
341
|
+
publish_results: "%{user_name} publicou os resultados para a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
342
|
+
setup: "%{user_name} criou a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
343
|
+
start_key_ceremony: "%{user_name} iniciou a cerimónia chave para a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
344
|
+
start_tally: "%{user_name} começou a contagem para a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
345
|
+
start_vote: "%{user_name} abriu o período de votação para a eleição %{resource_name} de %{space_name} no Quadro Informativo"
|
346
|
+
unpublish: "%{user_name} removeu a publicação de %{resource_name} de %{space_name}"
|
347
|
+
update: "%{user_name} actualizou a eleição %{resource_name} de %{space_name}"
|
348
|
+
trustee:
|
349
|
+
create: "%{user_name} atribuiu ao utente %{trustee_user} como curador"
|
338
350
|
election_m:
|
339
351
|
badge_name:
|
340
352
|
finished: Terminado
|
@@ -987,6 +999,24 @@ pt:
|
|
987
999
|
invalid: Houve um problema ao actualizar esta votação
|
988
1000
|
success: Votação actualizada com êxito
|
989
1001
|
admin_log:
|
1002
|
+
ballot_style:
|
1003
|
+
create: "%{user_name} criou um estilo de boletim de voto com o código %{ballot_style_code} no espaço %{space_name}"
|
1004
|
+
delete: "%{user_name} eliminou um estilo de boletim de voto com o código %{ballot_style_code} no espaço %{space_name}"
|
1005
|
+
update: "%{user_name} actualizou um estilo de boletim de voto com o código %{ballot_style_code} no espaço %{space_name}"
|
1006
|
+
census:
|
1007
|
+
create: "%{user_name} criou o recenseamento para o espaço %{space_name}"
|
1008
|
+
delete: "%{user_name} eliminou o recenseamento para o espaço %{space_name}"
|
1009
|
+
update: "%{user_name} actualizou o recenseamento para o espaço %{space_name}"
|
1010
|
+
monitoring_committee_member:
|
1011
|
+
create: "%{user_name} designou o utilizador %{monitoring_committee_member_user} como membro da comissão de controlo no espaço %{space_name}"
|
1012
|
+
delete: "%{user_name} exonerou o utilizador %{monitoring_committee_member_user} de membro da comissão de controlo no espaço %{space_name}"
|
1013
|
+
polling_officer:
|
1014
|
+
create: "%{user_name} designou o utilizador %{polling_officer_user} como oficial de votação no espaço %{space_name}"
|
1015
|
+
delete: "%{user_name} exonerou o utilizador %{polling_officer_user} de Oficial de Votação de controlo no espaço %{space_name}"
|
1016
|
+
polling_station:
|
1017
|
+
create: "%{user_name} criou a secção de voto %{resource_name} no espaço %{space_name}"
|
1018
|
+
delete: "%{user_name} eliminou a secção de voto %{resource_name} no espaço %{space_name}"
|
1019
|
+
update: "%{user_name} actualizou a secção de voto %{resource_name} no espaço %{space_name}"
|
990
1020
|
voting:
|
991
1021
|
create: "%{user_name} publicou a votação%{resource_name}"
|
992
1022
|
publish: "%{user_name} publicou a votação%{resource_name}"
|
@@ -996,6 +1026,7 @@ pt:
|
|
996
1026
|
census:
|
997
1027
|
create:
|
998
1028
|
invalid: Ocorreu um erro ao enviar o recenseamento, por favor tente de novo.
|
1029
|
+
invalid_csv_header: Os cabeçalhos CSV não estão presentes ou estão incorrectos - por favor leia as instruções com cuidado
|
999
1030
|
creating_data:
|
1000
1031
|
info_message: "<strong>Por favor</strong>, processadas %{processed_count} de %{raw_count} do ficheiro %{file}"
|
1001
1032
|
delete:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -236,6 +236,8 @@ ro:
|
|
236
236
|
'false': nu are <strong>o cheie publică</strong>
|
237
237
|
'true': are o <strong>cheie publică</strong>
|
238
238
|
requirements:
|
239
|
+
max_selections: Toate întrebările au o valoare corectă pentru <strong>maximum de răspunsuri</strong>.
|
240
|
+
minimum_answers: Fiecare întrebare are <strong>cel puţin 2 răspunsuri</strong>.
|
239
241
|
trustees_number: Spațiul participativ are <strong>cel puțin %{number} împuterniciți cu chei publice</strong>.
|
240
242
|
submit: Configurează alegerile
|
241
243
|
success: Alegerile au fost trimise cu succes către Panoul de afișare
|
@@ -245,10 +247,25 @@ ro:
|
|
245
247
|
title: Alegeri create
|
246
248
|
trustees: Împuterniciți
|
247
249
|
key_ceremony:
|
248
|
-
|
250
|
+
continue: Continuă
|
251
|
+
processing: Se procesează...
|
252
|
+
results_published:
|
253
|
+
answer: Răspuns
|
254
|
+
not_selected: Nu este selectat
|
255
|
+
question: Întrebare
|
256
|
+
result: Rezultat
|
257
|
+
selected: Selectat
|
258
|
+
submit: Trimite
|
259
|
+
title: Rezultate publicate
|
249
260
|
tally:
|
261
|
+
continue: Continuă
|
262
|
+
invalid: A apărut o problemă la raportarea împuternicitului care lipsește
|
263
|
+
mark_as_missing: Marcheză drept absent
|
264
|
+
mark_as_missing_description: Toți imputerniciții trebuie să ia parte la proces, dar dacă un împuternicit nu poate participa îl poți marca drept absent.
|
265
|
+
success: Raportul privind împuternicitul absent a fost trimis cu succes către Panoul de afișare
|
266
|
+
tally_completion: Procesul va fi finalizat cânt toți împuternicții sunt activi sau marcați drept absenți. Pentru a finaliza procesul sunt necesari cel puțin %{quorum} împuterniciți.
|
250
267
|
title: Procesul de numărare al voturilor
|
251
|
-
|
268
|
+
undo_mark_as_missing: Un împuternicit marcat din greșeală drept absent va putea participa înainte de finalizarea procesului. Acesta poate proceda ca de obicei, iar marcarea drept absent va fi ingnorată.
|
252
269
|
tally_ended:
|
253
270
|
answer: Răspuns
|
254
271
|
not_selected: Neselectate
|
@@ -301,14 +318,20 @@ ro:
|
|
301
318
|
success: Împuternicitul %{trustee} a fost actualizat cu succes
|
302
319
|
admin_log:
|
303
320
|
election:
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
321
|
+
create: "%{user_name} a creat algerile %{resource_name} în %{space_name}"
|
322
|
+
delete: "%{user_name} a șters algerile %{resource_name} în %{space_name}"
|
323
|
+
end_vote: "%{user_name} a încheiat în Panoul de votare perioada pentru algerilor pentru %{resource_name} din %{space_name}"
|
324
|
+
publish: "%{user_name} a publicat algerile %{resource_name} în %{space_name}"
|
325
|
+
publish_results: "%{user_name} a publicat în Panoul de afișare rezultatele alegerilor %{resource_name} din %{space_name}"
|
326
|
+
report_missing_trustee: "%{user_name} a raportat în Panoul de afișare pe %{trustee_name} drept împuternicit absent în timpul numărătorii voturilor pentru alegerile %{resource_name} din spațiul participativ %{space_name}"
|
327
|
+
setup: "%{user_name} a creat în Panoul de afișare alegerile %{resource_name} din %{space_name}"
|
328
|
+
start_key_ceremony: "%{user_name} a început în Panoul de afișare ceremonia cheie pentru alegerile %{resource_name} din %{space_name}"
|
329
|
+
start_tally: "%{user_name} a început numărarea voturilor în Panoul de afișare pentru alegerile %{resource_name} din %{space_name}"
|
330
|
+
start_vote: "%{user_name} a început în Panoul de afișare perioada de votare pentru alegerile %{resource_name} din %{space_name}"
|
331
|
+
unpublish: "%{user_name} a anulat publicarea alegerilor %{resource_name} din %{space_name}"
|
332
|
+
update: "%{user_name} a actualizat algerile %{resource_name} din %{space_name}"
|
333
|
+
trustee:
|
334
|
+
create: "%{user_name} a desemnat utilizatorul %{trustee_user} drept imputericit"
|
312
335
|
election_m:
|
313
336
|
badge_name:
|
314
337
|
finished: Terminat
|
@@ -372,12 +395,12 @@ ro:
|
|
372
395
|
how_to_verify: 'Odată ce ai descărcat fișierul și te-ai asigurat că este în regulă, poți continua pornind verificatorul universal. Clonează <a href=''https://github.com/decidim/decidim-bulletin-board''>acestă arhivă</a> și, din dosarul rădăcină, rulează comanda următoare:'
|
373
396
|
title: Verifică rezultatele alegerilor
|
374
397
|
verify: Verifică alegerile
|
398
|
+
vote_title: Procesul de votare
|
375
399
|
filters:
|
376
400
|
active: Activ
|
377
401
|
all: Toate
|
378
402
|
finished: Finalizat
|
379
403
|
search: Caută
|
380
|
-
state: Stare
|
381
404
|
upcoming: Urmează
|
382
405
|
filters_small_view:
|
383
406
|
close_modal: Închidere
|
@@ -390,6 +413,7 @@ ro:
|
|
390
413
|
title: Întrebări aferente alegerilor
|
391
414
|
results:
|
392
415
|
description: 'Acestea sunt rezultatele votului, pentru fiecare întrebare:'
|
416
|
+
selected: Selectate
|
393
417
|
title: Rezultatele alegerilor
|
394
418
|
votes:
|
395
419
|
one: "%{count} vot"
|
@@ -416,11 +440,13 @@ ro:
|
|
416
440
|
feedback:
|
417
441
|
answer:
|
418
442
|
invalid: A apărut o problemă la trimiterea feedback-ului tău.
|
443
|
+
success: Feedback trimis cu succes.
|
419
444
|
models:
|
420
445
|
answer:
|
421
446
|
fields:
|
422
447
|
proposals: Propuneri
|
423
448
|
title: Titlu
|
449
|
+
votes: Voturi
|
424
450
|
election:
|
425
451
|
fields:
|
426
452
|
bb_status: Stadiul panoului de afișare
|
@@ -432,10 +458,18 @@ ro:
|
|
432
458
|
answers: Răspunsuri
|
433
459
|
max_selections: Selecții maxime
|
434
460
|
title: Titlu
|
461
|
+
trustees_participatory_space:
|
462
|
+
fields:
|
463
|
+
email: E-mail
|
464
|
+
name: Nume
|
435
465
|
orders:
|
436
466
|
label: Ordonează alegerile după
|
467
|
+
older: Mai vechi
|
468
|
+
recent: Recente
|
437
469
|
trustee_zone:
|
438
470
|
elections:
|
471
|
+
backup_modal:
|
472
|
+
title: Copie de rezervă chei pentru %{election}
|
439
473
|
key_ceremony_steps:
|
440
474
|
title: Crează chei electorale pentru %{election}
|
441
475
|
tally_steps:
|
@@ -590,10 +624,19 @@ ro:
|
|
590
624
|
name: Atașamente și dosare aferente votării
|
591
625
|
elections:
|
592
626
|
name: Alegeri cu votare
|
627
|
+
index:
|
628
|
+
not_published: Anulează publicarea
|
629
|
+
published: Publicate
|
630
|
+
landing_page:
|
631
|
+
edit:
|
632
|
+
active_content_blocks: Blocuri de conținut active
|
633
|
+
inactive_content_blocks: Blocuri de conținut inactive
|
593
634
|
menu:
|
594
635
|
votings_submenu:
|
595
636
|
attachment_collections: Dosare
|
637
|
+
attachment_files: Fișiere
|
596
638
|
components: Componente
|
639
|
+
landing_page: Pagina principală
|
597
640
|
monitoring_committee: Comitetul de monitorizare
|
598
641
|
monitoring_committee_members: Membri
|
599
642
|
monitoring_committee_verify_elections: Verifică alegerile
|
@@ -608,6 +651,9 @@ ro:
|
|
608
651
|
new:
|
609
652
|
create: Creează
|
610
653
|
title: Creează un membru al comitetului de monitorizare
|
654
|
+
monitoring_committee_polling_station_closures:
|
655
|
+
actions:
|
656
|
+
title: Acțiuni
|
611
657
|
monitoring_committee_verify_elections:
|
612
658
|
index:
|
613
659
|
how_to_run_verifier: 'Odată ce ai descărcat fișierul și te-ai asigurat că este în regulă, poți continua pornind verificatorul universal. Clonează <a href=''https://github.com/decidim/decidim-bulletin-board''>acestă arhivă</a> și, din dosarul rădăcină, rulează comanda următoare:'
|
@@ -636,7 +682,6 @@ ro:
|
|
636
682
|
census:
|
637
683
|
create:
|
638
684
|
invalid: S-a produs o eroare la încărcarea recensământului, vă rugăm să încercați din nou mai târziu.
|
639
|
-
invalid_csv_header: Antetul CSV nu are numărul corect de câmpuri - te rugăm citește instrucţiunile cu atenţie
|
640
685
|
delete:
|
641
686
|
confirm: Ştergerea recensământului nu poate fi anulată. Sigur dorești să continui?
|
642
687
|
destroy:
|
data/config/locales/sv.yml
CHANGED
@@ -32,6 +32,8 @@ sv:
|
|
32
32
|
attributes:
|
33
33
|
name:
|
34
34
|
cant_be_changed: kan inte ändras
|
35
|
+
public_key:
|
36
|
+
cant_be_changed: kan inte ändras
|
35
37
|
activerecord:
|
36
38
|
models:
|
37
39
|
decidim/elections/answer:
|
@@ -43,9 +45,15 @@ sv:
|
|
43
45
|
decidim/elections/question:
|
44
46
|
one: Fråga
|
45
47
|
other: Frågor
|
48
|
+
decidim/votings/census/dataset:
|
49
|
+
one: Datamängd
|
50
|
+
other: Datamängder
|
46
51
|
decidim/votings/census/datum:
|
47
52
|
one: Datum
|
48
53
|
other: Datum
|
54
|
+
decidim/votings/polling_station:
|
55
|
+
one: Vallokal
|
56
|
+
other: Vallokaler
|
49
57
|
decidim/votings/voting:
|
50
58
|
one: Omröstning
|
51
59
|
other: Omröstningar
|
@@ -68,6 +76,10 @@ sv:
|
|
68
76
|
values:
|
69
77
|
'false': Signerat
|
70
78
|
'true': Inte signerat
|
79
|
+
validated_eq:
|
80
|
+
label: Bekräftad
|
81
|
+
values:
|
82
|
+
'false': Bekräftad
|
71
83
|
components:
|
72
84
|
elections:
|
73
85
|
actions:
|
@@ -84,6 +96,7 @@ sv:
|
|
84
96
|
destroy: Förstör
|
85
97
|
edit: Redigera
|
86
98
|
import: Importera förslag till svar
|
99
|
+
manage_questions: Hantera frågor
|
87
100
|
manage_steps: Hanterade steg
|
88
101
|
new: Ny %{name}
|
89
102
|
preview: Förhandsgranska
|
@@ -135,6 +148,8 @@ sv:
|
|
135
148
|
success: Val har uppdaterats
|
136
149
|
exports:
|
137
150
|
elections: Val
|
151
|
+
menu:
|
152
|
+
trustees: Förvaltare
|
138
153
|
models:
|
139
154
|
answer:
|
140
155
|
name: Svar
|
@@ -152,6 +167,7 @@ sv:
|
|
152
167
|
create: Importera förslag till svar
|
153
168
|
no_components: Det finns inga andra förslagskomponenter i det här deltagarutrymmet för att importera förslagen till svar.
|
154
169
|
select_component: Välj en komponent
|
170
|
+
title: Importera förslag
|
155
171
|
questions:
|
156
172
|
create:
|
157
173
|
invalid: Det gick inte att skapa denna fråga
|
@@ -174,9 +190,11 @@ sv:
|
|
174
190
|
create_election:
|
175
191
|
not_used_trustee: "(används inte)"
|
176
192
|
created:
|
193
|
+
title: Omröstningen skapades
|
177
194
|
trustees: Förvaltare
|
178
195
|
key_ceremony:
|
179
|
-
|
196
|
+
continue: Fortsätt
|
197
|
+
title: Nyckelceremoni
|
180
198
|
processing: Bearbetar...
|
181
199
|
results_published:
|
182
200
|
answer: Svar
|
@@ -186,7 +204,8 @@ sv:
|
|
186
204
|
selected: Valda
|
187
205
|
submit: Skicka in
|
188
206
|
tally:
|
189
|
-
|
207
|
+
continue: Fortsätt
|
208
|
+
mark_as_missing: Markera som saknad
|
190
209
|
tally_ended:
|
191
210
|
answer: Svar
|
192
211
|
not_selected: Inte vald
|
@@ -209,10 +228,8 @@ sv:
|
|
209
228
|
select_user: Välj användare
|
210
229
|
index:
|
211
230
|
title: Förvaltare
|
212
|
-
|
213
|
-
|
214
|
-
publish: "%{user_name} publicerade valet %{resource_name}"
|
215
|
-
unpublish: "%{user_name} avpublicerade valet %{resource_name}"
|
231
|
+
new:
|
232
|
+
title: Ny förvaltare
|
216
233
|
election_m:
|
217
234
|
badge_name:
|
218
235
|
finished: Avslutad
|
@@ -233,8 +250,18 @@ sv:
|
|
233
250
|
one: "%{count} val"
|
234
251
|
other: "%{count} val"
|
235
252
|
election_log:
|
253
|
+
complete: Fullständigt
|
254
|
+
creation_title: Omröstningen skapades
|
255
|
+
download: Ladda ner
|
256
|
+
key_ceremony_title: Nyckelceremoni
|
236
257
|
not_created: Inte skapat
|
258
|
+
not_published: Ej publicerat
|
259
|
+
not_ready: Inte klart
|
237
260
|
not_started: Inte påbörjad
|
261
|
+
published: Publicerat
|
262
|
+
results_title: Resultat
|
263
|
+
started: Startad
|
264
|
+
title: Omröstningslogg
|
238
265
|
filters:
|
239
266
|
active: Aktiv
|
240
267
|
all: Allt
|
@@ -248,11 +275,15 @@ sv:
|
|
248
275
|
filter_by: Filtrera efter
|
249
276
|
unfold: Veckla ut
|
250
277
|
results:
|
278
|
+
percentage: "%{count}%"
|
251
279
|
selected: Valda
|
280
|
+
title: Omröstningsresultat
|
252
281
|
show:
|
253
282
|
action_button:
|
283
|
+
change_vote: Ändra din röst
|
254
284
|
vote: Starta omröstningen
|
255
285
|
vote_again: Rösta om
|
286
|
+
election_log: Omröstningslogg
|
256
287
|
preview: Förhandsgranska
|
257
288
|
voting_period_status:
|
258
289
|
finished: Omröstningen började den %{start_time} och slutade den %{end_time}
|
@@ -318,6 +349,7 @@ sv:
|
|
318
349
|
list:
|
319
350
|
action_required:
|
320
351
|
'false': 'Nej'
|
352
|
+
name: Åtgärd krävs?
|
321
353
|
bb_status: Status
|
322
354
|
election: Val
|
323
355
|
voting_period: Röstningsperiod
|
@@ -350,8 +382,10 @@ sv:
|
|
350
382
|
try_again: Försök igen
|
351
383
|
header:
|
352
384
|
ballot_decision: Lägg eller granska din röst
|
385
|
+
casting: Rösta
|
353
386
|
confirm: Bekräfta din röst
|
354
387
|
confirmed: Rösta bekräftad
|
388
|
+
failed: Omröstningen misslyckades
|
355
389
|
messages:
|
356
390
|
not_allowed: Ni får inte rösta om detta val just nu.
|
357
391
|
modal:
|
@@ -366,9 +400,13 @@ sv:
|
|
366
400
|
close: Stäng fönstret
|
367
401
|
no_account: Nej tack.
|
368
402
|
verify:
|
403
|
+
content:
|
404
|
+
heading: Verifiera din röst
|
369
405
|
form:
|
370
406
|
back: Tillbaka till Decidim
|
371
407
|
submit: Kontrollera
|
408
|
+
header:
|
409
|
+
title: Verifiera din röst
|
372
410
|
voting_step:
|
373
411
|
back: Tillbaka
|
374
412
|
continue: Nästa
|
@@ -392,11 +430,15 @@ sv:
|
|
392
430
|
ballot_styles:
|
393
431
|
edit:
|
394
432
|
update: Uppdatera
|
433
|
+
form:
|
434
|
+
election: Omröstning
|
395
435
|
index:
|
396
436
|
actions:
|
437
|
+
confirm_destroy: Är du säker?
|
397
438
|
destroy: Radera
|
398
439
|
edit: Redigera
|
399
440
|
new: Ny
|
441
|
+
title: Åtgärder
|
400
442
|
new:
|
401
443
|
create: Skapa
|
402
444
|
index:
|
@@ -417,6 +459,9 @@ sv:
|
|
417
459
|
info: Information
|
418
460
|
landing_page: Landningssida
|
419
461
|
monitoring_committee_members: Medlemmar
|
462
|
+
monitoring_committee_verify_elections: Verifiera omröstningar
|
463
|
+
polling_officers: Röstmottagare
|
464
|
+
polling_stations: Vallokaler
|
420
465
|
models:
|
421
466
|
ballot_style:
|
422
467
|
fields:
|
@@ -444,26 +489,48 @@ sv:
|
|
444
489
|
title: Titel
|
445
490
|
monitoring_committee_election_results:
|
446
491
|
actions:
|
492
|
+
title: Åtgärder
|
447
493
|
view: Visa
|
448
494
|
results:
|
495
|
+
selected: Valda
|
449
496
|
totals: Totalt
|
497
|
+
show:
|
498
|
+
change_election: Ändra omröstning
|
499
|
+
publish_results: Publicera resultat
|
450
500
|
monitoring_committee_members:
|
501
|
+
form:
|
502
|
+
user_type: Typ av deltagare
|
451
503
|
new:
|
452
504
|
create: Skapa
|
453
505
|
monitoring_committee_polling_station_closures:
|
454
506
|
actions:
|
507
|
+
title: Åtgärder
|
508
|
+
validate: Validera
|
455
509
|
view: Visa
|
456
510
|
closures:
|
511
|
+
change_election: Ändra omröstning
|
512
|
+
signed: Signerat?
|
457
513
|
validated: Bekräftad?
|
514
|
+
edit:
|
515
|
+
monitoring_committee_notes: Anmärkningar
|
516
|
+
monitoring_committee_verify_elections:
|
517
|
+
index:
|
518
|
+
download: Ladda ner
|
519
|
+
title: Omröstningar
|
458
520
|
polling_officers:
|
521
|
+
form:
|
522
|
+
user_type: Typ av deltagare
|
459
523
|
index:
|
460
524
|
role_manager: chef
|
461
525
|
role_president: ordförande
|
526
|
+
title: Röstmottagare
|
462
527
|
new:
|
463
528
|
create: Skapa
|
464
529
|
polling_officers_picker:
|
465
530
|
close: Stäng
|
466
531
|
polling_stations:
|
532
|
+
index:
|
533
|
+
title: Vallokaler
|
467
534
|
new:
|
468
535
|
create: Skapa
|
469
536
|
titles:
|
@@ -472,6 +539,7 @@ sv:
|
|
472
539
|
actions:
|
473
540
|
confirm_destroy: Är du säker?
|
474
541
|
destroy: Ta bort
|
542
|
+
new_voting: Ny omröstningsutrymme
|
475
543
|
publish: Publicera
|
476
544
|
unpublish: Avpublicera
|
477
545
|
edit:
|
@@ -493,6 +561,10 @@ sv:
|
|
493
561
|
document_types:
|
494
562
|
dni: ID-kort
|
495
563
|
nie: Personnummer
|
564
|
+
passport: Pass
|
565
|
+
export_mailer:
|
566
|
+
access_codes_export:
|
567
|
+
download: Ladda ner
|
496
568
|
content_blocks:
|
497
569
|
landing_page:
|
498
570
|
description:
|
@@ -500,10 +572,13 @@ sv:
|
|
500
572
|
show_more: Läs mer
|
501
573
|
metrics:
|
502
574
|
heading: Metrik
|
575
|
+
polling_stations:
|
576
|
+
heading: Vallokaler
|
503
577
|
timeline:
|
504
578
|
heading: Tidslinje
|
505
579
|
monitoring_committee_members:
|
506
580
|
actions:
|
581
|
+
confirm_destroy: Är du säker?
|
507
582
|
destroy: Radera
|
508
583
|
new: Ny medlem
|
509
584
|
title: Åtgärder
|
@@ -518,30 +593,45 @@ sv:
|
|
518
593
|
edit:
|
519
594
|
modal_ballots_results_count_error:
|
520
595
|
close_modal: Stäng
|
596
|
+
save_recount: Spara omräkning
|
521
597
|
new:
|
598
|
+
election: 'Omröstning:'
|
599
|
+
heading: Omräkning
|
522
600
|
modal_ballots_count_error:
|
523
601
|
close_modal: Stäng
|
602
|
+
polling_station: 'Vallokal:'
|
603
|
+
show:
|
604
|
+
heading: Omräkning
|
524
605
|
sign:
|
525
606
|
cancel: Avbryta
|
526
607
|
close_modal: Stäng
|
608
|
+
confirm: Fortsätt
|
527
609
|
in_person_votes:
|
528
610
|
in_person_form:
|
529
611
|
day: Dag
|
530
612
|
day_placeholder: DD
|
613
|
+
document_number: Dokumentnummer
|
614
|
+
document_number_placeholder: ID-nummer
|
531
615
|
month: Månad
|
532
616
|
month_placeholder: MM
|
533
617
|
year: År
|
534
618
|
year_placeholder: ÅÅÅÅ
|
535
619
|
verify_document:
|
536
620
|
name: Namn
|
621
|
+
verify_document: Verifiera dokument
|
537
622
|
polling_officers:
|
538
623
|
index:
|
539
624
|
polling_station:
|
625
|
+
address: Adress
|
626
|
+
count_votes: Räkna röster
|
627
|
+
election: Omröstning
|
540
628
|
name: Namn
|
541
629
|
role: Din roll
|
630
|
+
title: Vallokaler
|
542
631
|
voting: Omröstning
|
543
632
|
polling_officers:
|
544
633
|
actions:
|
634
|
+
confirm_destroy: Är du säker?
|
545
635
|
destroy: Radera
|
546
636
|
new: Ny
|
547
637
|
title: Åtgärder
|
@@ -563,13 +653,19 @@ sv:
|
|
563
653
|
check_status: Kontrollera status
|
564
654
|
title: Kan jag rösta?
|
565
655
|
check_fields:
|
656
|
+
date_of_birth: Födelsedatum
|
566
657
|
day: Dag
|
567
658
|
day_placeholder: DD
|
659
|
+
document_number: Dokumentnummer
|
660
|
+
document_number_placeholder: ID-nummer
|
568
661
|
month: Månad
|
569
662
|
month_placeholder: MM
|
570
663
|
postal_code: Postnummer
|
571
664
|
year: År
|
572
665
|
year_placeholder: ÅÅÅÅ
|
666
|
+
elections_log:
|
667
|
+
election_log: Omröstningslogg
|
668
|
+
title: Omröstningslogg
|
573
669
|
filters:
|
574
670
|
active: Aktiva
|
575
671
|
all: Alla
|
@@ -589,6 +685,7 @@ sv:
|
|
589
685
|
access_code_placeholder: Behörighetskod
|
590
686
|
start_voting: Starta omröstningen
|
591
687
|
orders:
|
688
|
+
label: 'Sortera omröstningar efter:'
|
592
689
|
random: Slumpmässig
|
593
690
|
recent: Senaste
|
594
691
|
show:
|
@@ -614,6 +711,7 @@ sv:
|
|
614
711
|
exit: Avsluta
|
615
712
|
voting_navigation:
|
616
713
|
check_census: Kan jag rösta?
|
714
|
+
election_log: Omröstningslogg
|
617
715
|
voting_menu_item: Omröstningen
|
618
716
|
votings:
|
619
717
|
promoted_voting:
|
data/config/locales/tr-TR.yml
CHANGED
@@ -156,11 +156,6 @@ tr:
|
|
156
156
|
update:
|
157
157
|
invalid: Bu soru güncellenirken bir hata oluştu
|
158
158
|
success: Soru başarıyla güncellendi
|
159
|
-
steps:
|
160
|
-
key_ceremony:
|
161
|
-
trustees: Vekiller
|
162
|
-
tally:
|
163
|
-
trustees: Vekiller
|
164
159
|
trustees_participatory_spaces:
|
165
160
|
actions:
|
166
161
|
disable: Devre dışı
|
@@ -182,10 +177,6 @@ tr:
|
|
182
177
|
update:
|
183
178
|
invalid: '%{trustee} vekili güncellenirken bir sorun oluştu'
|
184
179
|
success: Vekil %{trustee} başarıyla güncellendi
|
185
|
-
admin_log:
|
186
|
-
election:
|
187
|
-
publish: "%{user_name}, %{resource_name} seçimini yayınladı"
|
188
|
-
unpublish: "%{user_name}, %{resource_name} seçimini yayından kaldırdı"
|
189
180
|
election_m:
|
190
181
|
badge_name:
|
191
182
|
finished: Bitti
|
@@ -350,6 +341,10 @@ tr:
|
|
350
341
|
email_outro: Bu bildirimi, %{resource_name} için vekil kişi olarak eklendiğiniz için aldınız.
|
351
342
|
email_subject: '%{resource_name} için vekil birisiniz.'
|
352
343
|
notification_title: <a href="%{participatory_space_url}">%{resource_name} </a> için vekil birisiniz.
|
344
|
+
votings:
|
345
|
+
votings:
|
346
|
+
filters:
|
347
|
+
state: Statü
|
353
348
|
layouts:
|
354
349
|
decidim:
|
355
350
|
election_votes_header:
|
@@ -0,0 +1 @@
|
|
1
|
+
val:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -132,10 +132,6 @@ zh-CN:
|
|
132
132
|
update:
|
133
133
|
invalid: 更新此问题时出错
|
134
134
|
success: 问题已成功更新
|
135
|
-
admin_log:
|
136
|
-
election:
|
137
|
-
publish: "%{user_name} 发布了 %{resource_name} 次选择"
|
138
|
-
unpublish: "%{user_name} 未发布的 %{resource_name} 选"
|
139
135
|
election_m:
|
140
136
|
badge_name:
|
141
137
|
finished: 已完成
|
@@ -159,7 +155,6 @@ zh-CN:
|
|
159
155
|
all: 所有的
|
160
156
|
finished: 已完成
|
161
157
|
search: 搜索
|
162
|
-
state: 状态
|
163
158
|
upcoming: 即将到来的
|
164
159
|
filters_small_view:
|
165
160
|
close_modal: 关闭模式
|
@@ -56,7 +56,8 @@ Decidim.register_component(:elections) do |component|
|
|
56
56
|
|
57
57
|
component.exports :elections do |exports|
|
58
58
|
exports.collection do |component_instance|
|
59
|
-
Decidim::Elections::
|
59
|
+
Decidim::Elections::Answer
|
60
|
+
.where(decidim_elections_question_id: Decidim::Elections::Election.where(component: component_instance).bb_results_published.extract_associated(:questions))
|
60
61
|
end
|
61
62
|
|
62
63
|
exports.include_in_open_data = true
|
@@ -70,7 +70,7 @@ FactoryBot.define do
|
|
70
70
|
|
71
71
|
trait :ready_for_setup do
|
72
72
|
transient do
|
73
|
-
trustee_keys {
|
73
|
+
trustee_keys { 3.times.map { [Faker::Name.name, generate(:private_key).export.to_json] }.to_h }
|
74
74
|
end
|
75
75
|
|
76
76
|
upcoming
|
@@ -315,7 +315,7 @@ FactoryBot.define do
|
|
315
315
|
end
|
316
316
|
|
317
317
|
public_key { nil }
|
318
|
-
user { build(:user, organization: organization) }
|
318
|
+
user { build(:user, :confirmed, organization: organization) }
|
319
319
|
organization { create(:organization) }
|
320
320
|
|
321
321
|
trait :considered do
|