decidim-elections 0.26.2 → 0.26.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/votings/content_blocks/highlighted_votings/show.erb +1 -1
- data/app/cells/decidim/votings/content_blocks/highlighted_votings_cell.rb +1 -0
- data/app/cells/decidim/votings/content_blocks/landing_page/description/show.erb +1 -1
- data/app/cells/decidim/votings/content_blocks/landing_page/header/show.erb +2 -2
- data/app/commands/decidim/elections/admin/create_question.rb +0 -1
- data/app/commands/decidim/elections/admin/import_proposals_to_elections.rb +4 -1
- data/app/commands/decidim/elections/admin/setup_election.rb +3 -1
- data/app/commands/decidim/elections/admin/update_question.rb +0 -1
- data/app/controllers/decidim/elections/elections_controller.rb +2 -2
- data/app/controllers/decidim/votings/admin/imports_controller.rb +14 -0
- data/app/controllers/decidim/votings/votings_controller.rb +2 -2
- data/app/forms/decidim/elections/admin/question_form.rb +0 -2
- data/app/forms/decidim/elections/admin/setup_form.rb +43 -0
- data/app/models/decidim/elections/election.rb +2 -2
- data/app/models/decidim/elections/question.rb +1 -1
- data/app/packs/src/decidim/elections/admin/pending_action.js +2 -0
- data/app/packs/src/decidim/elections/admin/trustees_process.js +2 -0
- data/app/packs/src/decidim/elections/broken_promises_handler.js +11 -0
- data/app/packs/src/decidim/elections/trustee/key_ceremony.js +3 -0
- data/app/packs/src/decidim/elections/trustee/tally.js +3 -0
- data/app/packs/src/decidim/elections/voter/casting-vote.js +3 -0
- data/app/packs/src/decidim/elections/voter/setup-vote.js +9 -0
- data/app/packs/src/decidim/votings/in-person-vote.js +3 -0
- data/app/permissions/decidim/votings/admin/permissions.rb +4 -1
- data/app/views/decidim/elections/admin/questions/_form.html.erb +0 -4
- data/app/views/decidim/elections/admin/steps/_create_election.html.erb +14 -1
- data/app/views/decidim/elections/admin/steps/index.html.erb +2 -0
- data/app/views/decidim/elections/shared/_broken_promises_modal.html.erb +33 -0
- data/app/views/decidim/elections/trustee_zone/elections/show.html.erb +3 -0
- data/app/views/decidim/elections/votes/_server_error_modal.html.erb +28 -0
- data/app/views/decidim/elections/votes/_show_casting.html.erb +2 -0
- data/app/views/decidim/elections/votes/new.html.erb +3 -0
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/new.html.erb +2 -0
- data/app/views/decidim/votings/polling_officer_zone/in_person_votes/show.html.erb +2 -0
- data/app/views/decidim/votings/votings/_promoted_voting.html.erb +1 -1
- data/config/locales/ar.yml +0 -2
- data/config/locales/ca.yml +21 -2
- data/config/locales/cs.yml +25 -6
- data/config/locales/de.yml +33 -3
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +21 -2
- data/config/locales/es-MX.yml +21 -2
- data/config/locales/es-PY.yml +21 -2
- data/config/locales/es.yml +21 -2
- data/config/locales/eu.yml +6 -2
- data/config/locales/fi-plain.yml +21 -2
- data/config/locales/fi.yml +21 -2
- data/config/locales/fr-CA.yml +22 -3
- data/config/locales/fr.yml +21 -2
- data/config/locales/ga-IE.yml +3 -0
- data/config/locales/gl.yml +2 -1
- data/config/locales/gn-PY.yml +1 -0
- data/config/locales/hu.yml +6 -1
- data/config/locales/it.yml +2 -2
- data/config/locales/ja.yml +21 -2
- data/config/locales/lo-LA.yml +1 -0
- data/config/locales/lt.yml +1423 -0
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +2 -2
- data/config/locales/no.yml +3 -2
- data/config/locales/oc-FR.yml +1 -0
- data/config/locales/pl.yml +7 -2
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt.yml +2 -2
- data/config/locales/ro-RO.yml +2 -2
- data/config/locales/sv.yml +52 -1
- data/config/locales/tr-TR.yml +3 -1
- data/config/locales/zh-CN.yml +3 -1
- data/db/migrate/20220615102642_remove_description_from_elections_questions.rb +7 -0
- data/lib/decidim/api/election_question_type.rb +0 -1
- data/lib/decidim/elections/component.rb +0 -12
- data/lib/decidim/elections/test/factories.rb +0 -1
- data/lib/decidim/elections/version.rb +1 -1
- data/lib/decidim/votings/admin_engine.rb +3 -0
- metadata +20 -12
data/config/locales/lv.yml
CHANGED
data/config/locales/nl.yml
CHANGED
@@ -12,7 +12,6 @@ nl:
|
|
12
12
|
start_time: Stemming begint om
|
13
13
|
title: Aanspreektitel
|
14
14
|
question:
|
15
|
-
description: Beschrijving
|
16
15
|
max_selections: Maximum aantal selecties
|
17
16
|
title: Aanspreektitel
|
18
17
|
voting:
|
@@ -205,7 +204,6 @@ nl:
|
|
205
204
|
minimum_answers: Vragen moeten <strong>minstens twee antwoorden</strong> hebben.
|
206
205
|
minimum_questions: De stemronde <strong>moet ten minste één vraag</strong> hebben.
|
207
206
|
published: De stemronde is <strong>niet gepubliceerd</strong>.
|
208
|
-
time_before: De starttijd van de stemronde is over <strong>minder dan 3 uur</strong>.
|
209
207
|
trustees_number: De participatieve ruimte <strong>moet ten minste %{number} trustees met publieke sleutel</strong> hebben.
|
210
208
|
invalid: Er is een fout opgetreden bij het aanmaken van deze stemronde
|
211
209
|
no_trustees: Er zijn geen Trustees geconfigureerd voor deze participatieve ruimte
|
@@ -540,6 +538,8 @@ nl:
|
|
540
538
|
failed:
|
541
539
|
header: Stem mislukt
|
542
540
|
lead: Je stem is niet uitgebracht!
|
541
|
+
modal:
|
542
|
+
close: Afsluiten
|
543
543
|
text: Er is iets mis gegaan, probeer het alsjeblief nog een keer.
|
544
544
|
try_again: Probeer opnieuw
|
545
545
|
header:
|
data/config/locales/no.yml
CHANGED
@@ -12,7 +12,6 @@
|
|
12
12
|
start_time: Stemmegivning starter
|
13
13
|
title: Tittel
|
14
14
|
question:
|
15
|
-
description: Beskrivelse
|
16
15
|
max_selections: Maksimalt antall valg
|
17
16
|
min_selections: Ingen av valgene over
|
18
17
|
title: Tittel
|
@@ -227,7 +226,6 @@
|
|
227
226
|
minimum_answers: Spørsmål må ha <strong>minst to svar</strong>.
|
228
227
|
minimum_questions: Valget <strong>må ha minst ett spørsmål</strong>.
|
229
228
|
published: Valget er <strong>og ikke publisert</strong>.
|
230
|
-
time_before: Starttiden er <strong>mindre enn 3 timer</strong> før valget starter.
|
231
229
|
trustees_number: Deltakerområdet <strong>må ha minst %{number} tillitsmenn med offentlig nøkkel</strong>.
|
232
230
|
invalid: Det oppstod et problem med opprettelsen av dette valget
|
233
231
|
no_trustees: Det er ikke satt opp noen tillitsmenn for dette deltakelsesrommet
|
@@ -537,6 +535,9 @@
|
|
537
535
|
feedback: Gi oss en tilbakemelding
|
538
536
|
header: Avstemning bekreftet
|
539
537
|
text: 'Du kan sjekke at stemmen din har blitt lagt til i stemmeboksen med følgende identifikator: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
538
|
+
failed:
|
539
|
+
modal:
|
540
|
+
close: Lukk
|
540
541
|
header:
|
541
542
|
confirm: Bekreft stemmen din
|
542
543
|
confirmed: Avstemning bekreftet
|
@@ -0,0 +1 @@
|
|
1
|
+
oc:
|
data/config/locales/pl.yml
CHANGED
@@ -12,7 +12,6 @@ pl:
|
|
12
12
|
start_time: Głosowanie rozpoczyna się o
|
13
13
|
title: Tytuł
|
14
14
|
question:
|
15
|
-
description: Opis
|
16
15
|
max_selections: Maksymalna liczba opcji do wybrania
|
17
16
|
min_selections: Żadna z powyższych opcji
|
18
17
|
title: Tytuł
|
@@ -243,7 +242,6 @@ pl:
|
|
243
242
|
minimum_answers: Pytania muszą mieć <strong>co najmniej dwie odpowiedzi</strong>.
|
244
243
|
minimum_questions: Wybory <strong>muszą mieć co najmniej jedno pytanie</strong>.
|
245
244
|
published: Wybory <strong>nie zostały opublikowane</strong>.
|
246
|
-
time_before: Godzina rozpoczęcia jest <strong>mniej niż 3 godziny</strong> przed rozpoczęciem wyborów.
|
247
245
|
trustees_number: Przestrzeń partycypacyjna <strong>musi mieć co najmniej %{number} mężów (osób) zaufania z kluczem publicznym</strong>.
|
248
246
|
invalid: Wystąpił problem z konfiguracją tych wyborów
|
249
247
|
no_trustees: Nie skonfigurowano mężów (osób) zaufania dla tej przestrzeni partycypacyjnej
|
@@ -291,8 +289,13 @@ pl:
|
|
291
289
|
title: Opublikowano wyniki
|
292
290
|
tally:
|
293
291
|
continue: Dalej
|
292
|
+
invalid: Wystąpił błąd podczas usuwania męża (osoby) zaufania
|
294
293
|
mark_as_missing: Oznacz jako brakujący
|
294
|
+
mark_as_missing_description: Wszyscy mężowie zaufania powinni uczestniczyć w tym procesie, ale jeśli nie może wziąć udziału w tym procesie, możesz oznaczyć go jako brakujący.
|
295
|
+
success: Brakująca uwaga męża zaufania została pomyślnie wysłana do Tablicy
|
296
|
+
tally_completion: 'Proces zostanie zakończony, gdy wszyscy mężowie zaufania będą aktywni lub zostaną oznaczeni jako brakujący. Wymagana ilość mężów zaufania: %{quorum}.'
|
295
297
|
title: Proces ustalania wyniku głosowania
|
298
|
+
undo_mark_as_missing: Przed zakończeniem procesu będzie mógł uczestniczyć mąż zaufania oznaczony jako brakujący omyłkowo. Mężowie zaufania mogą postępować jak zwykle, a oznaczenie jako "brakujący" zostanie zignorowane.
|
296
299
|
tally_ended:
|
297
300
|
answer: Odpowiedź
|
298
301
|
not_selected: Nie wybrano
|
@@ -627,6 +630,8 @@ pl:
|
|
627
630
|
failed:
|
628
631
|
header: Oddanie głosu nie powiodło się
|
629
632
|
lead: Twój głos nie został oddany!
|
633
|
+
modal:
|
634
|
+
close: Zamknij
|
630
635
|
text: Coś poszło nie tak. Spróbuj ponownie.
|
631
636
|
try_again: Spróbuj ponownie
|
632
637
|
header:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -12,7 +12,6 @@ pt-BR:
|
|
12
12
|
start_time: Votação começa às
|
13
13
|
title: Título
|
14
14
|
question:
|
15
|
-
description: Descrição
|
16
15
|
max_selections: Número máximo de seleções
|
17
16
|
min_selections: Nenhuma das opções acima
|
18
17
|
title: Título
|
@@ -227,7 +226,6 @@ pt-BR:
|
|
227
226
|
minimum_answers: As perguntas devem ter <strong>pelo menos duas respostas</strong>.
|
228
227
|
minimum_questions: A eleição <strong>deve ter pelo menos uma questão</strong>.
|
229
228
|
published: A eleição <strong>não está publicada</strong>.
|
230
|
-
time_before: O horário de início é em <strong>menos de 3 horas</strong> antes do início da eleição.
|
231
229
|
trustees_number: O espaço participativo <strong>deve ter pelo menos %{number} administradores com chave pública</strong>.
|
232
230
|
invalid: Houve um problema ao configurar essa eleição
|
233
231
|
no_trustees: Não há Agentes fiduciários configurados para este espaço participativo
|
@@ -601,6 +599,8 @@ pt-BR:
|
|
601
599
|
failed:
|
602
600
|
header: Votação falhou
|
603
601
|
lead: Seu voto não foi transmitido!
|
602
|
+
modal:
|
603
|
+
close: Fechado
|
604
604
|
text: Algo deu errado, por favor, tente novamente.
|
605
605
|
try_again: Tente novamente
|
606
606
|
header:
|
data/config/locales/pt.yml
CHANGED
@@ -12,7 +12,6 @@ pt:
|
|
12
12
|
start_time: Votação inicia-se às
|
13
13
|
title: Título
|
14
14
|
question:
|
15
|
-
description: Descrição
|
16
15
|
max_selections: Número máximo de seleções
|
17
16
|
min_selections: Nenhuma das opções acima
|
18
17
|
title: Título
|
@@ -227,7 +226,6 @@ pt:
|
|
227
226
|
minimum_answers: As perguntas devem ter <strong>pelo menos duas respostas</strong>.
|
228
227
|
minimum_questions: A eleição <strong>deve ter pelo menos uma pergunta</strong>.
|
229
228
|
published: A eleição <strong>não está publicada</strong>.
|
230
|
-
time_before: A hora de início é <strong>menos de 3 horas</strong> antes do início da eleição.
|
231
229
|
trustees_number: O espaço participativo <strong>deve ter pelo menos %{número} curadores com chave pública</strong>.
|
232
230
|
invalid: Houve um problema ao configurar esta eleição.
|
233
231
|
no_trustees: Não há curadores configurados para este espaço participativo
|
@@ -624,6 +622,8 @@ pt:
|
|
624
622
|
failed:
|
625
623
|
header: Votação falhou
|
626
624
|
lead: O seu voto não foi registado!
|
625
|
+
modal:
|
626
|
+
close: Fechar
|
627
627
|
text: Algo correu mal, por favor tente de novo.
|
628
628
|
try_again: Tente de novo
|
629
629
|
header:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -12,7 +12,6 @@ ro:
|
|
12
12
|
start_time: Votarea începe la
|
13
13
|
title: Titlu
|
14
14
|
question:
|
15
|
-
description: Descriere
|
16
15
|
max_selections: Numărul maxim de selecții
|
17
16
|
min_selections: Niciuna dintre opțiunile de mai sus
|
18
17
|
title: Titlu
|
@@ -227,7 +226,6 @@ ro:
|
|
227
226
|
minimum_answers: Întrebările trebuie să aibă <strong>cel puţin două răspunsuri</strong>.
|
228
227
|
minimum_questions: Alegerile <strong>trebuie să aibă cel puţin o întrebare</strong>.
|
229
228
|
published: Aceste alegerile <strong>nu sunt publicate</strong>.
|
230
|
-
time_before: Timpul de începere este în <strong>mai puţin de 3 ore</strong> înainte de începerea alegerilor.
|
231
229
|
trustees_number: Spațiul participativ <strong>trebuie să aibă cel puțin %{number} împuterniciți cu cheie publică</strong>.
|
232
230
|
invalid: A apărut o eroare la organizarea acestor alegeri
|
233
231
|
no_trustees: Nu există împuterniciți configurați pentru acest spațiu participativ
|
@@ -551,6 +549,8 @@ ro:
|
|
551
549
|
verify_link: Pentru a verifica, copiați identificatorul și lipiți-l pe pagina <a href="%{link}">pentru verificarea votului</a>
|
552
550
|
failed:
|
553
551
|
header: Vot eșuat
|
552
|
+
modal:
|
553
|
+
close: Inchide
|
554
554
|
header:
|
555
555
|
confirm: Confirmă votul tău
|
556
556
|
confirmed: Votare confirmată
|
data/config/locales/sv.yml
CHANGED
@@ -12,7 +12,6 @@ sv:
|
|
12
12
|
start_time: Röstningsstart vid
|
13
13
|
title: Titel
|
14
14
|
question:
|
15
|
-
description: Beskrivning
|
16
15
|
max_selections: Maximalt antal val
|
17
16
|
title: Titel
|
18
17
|
voting:
|
@@ -45,12 +44,18 @@ sv:
|
|
45
44
|
decidim/elections/question:
|
46
45
|
one: Fråga
|
47
46
|
other: Frågor
|
47
|
+
decidim/voting:
|
48
|
+
one: Omröstning
|
49
|
+
other: Omröstningar
|
48
50
|
decidim/votings/census/dataset:
|
49
51
|
one: Datamängd
|
50
52
|
other: Datamängder
|
51
53
|
decidim/votings/census/datum:
|
52
54
|
one: Datum
|
53
55
|
other: Datum
|
56
|
+
decidim/votings/polling_officer:
|
57
|
+
one: Röstmottagare
|
58
|
+
other: Röstmottagare
|
54
59
|
decidim/votings/polling_station:
|
55
60
|
one: Vallokal
|
56
61
|
other: Vallokaler
|
@@ -80,6 +85,7 @@ sv:
|
|
80
85
|
label: Bekräftad
|
81
86
|
values:
|
82
87
|
'false': Bekräftad
|
88
|
+
'true': Ej Validerad
|
83
89
|
components:
|
84
90
|
elections:
|
85
91
|
actions:
|
@@ -96,6 +102,7 @@ sv:
|
|
96
102
|
destroy: Förstör
|
97
103
|
edit: Redigera
|
98
104
|
import: Importera förslag till svar
|
105
|
+
manage_answers: Hantera svar
|
99
106
|
manage_questions: Hantera frågor
|
100
107
|
manage_steps: Hanterade steg
|
101
108
|
new: Ny %{name}
|
@@ -120,6 +127,8 @@ sv:
|
|
120
127
|
create: Skapa svar
|
121
128
|
title: Nytt svar
|
122
129
|
not_selected: Inte vald
|
130
|
+
select:
|
131
|
+
disable: Avmarkera svar
|
123
132
|
selected: Valda
|
124
133
|
update:
|
125
134
|
invalid: Det gick inte att uppdatera svaret
|
@@ -195,6 +204,8 @@ sv:
|
|
195
204
|
key_ceremony:
|
196
205
|
continue: Fortsätt
|
197
206
|
title: Nyckelceremoni
|
207
|
+
key_ceremony_ended:
|
208
|
+
title: Redo att börja
|
198
209
|
processing: Bearbetar...
|
199
210
|
results_published:
|
200
211
|
answer: Svar
|
@@ -262,6 +273,7 @@ sv:
|
|
262
273
|
results_title: Resultat
|
263
274
|
started: Startad
|
264
275
|
title: Omröstningslogg
|
276
|
+
vote_title: Omröstningsprocess
|
265
277
|
filters:
|
266
278
|
active: Aktiv
|
267
279
|
all: Allt
|
@@ -278,6 +290,10 @@ sv:
|
|
278
290
|
percentage: "%{count}%"
|
279
291
|
selected: Valda
|
280
292
|
title: Omröstningsresultat
|
293
|
+
votes:
|
294
|
+
one: "%{count} röster"
|
295
|
+
other: "%{count} röster"
|
296
|
+
zero: "%{count} röster"
|
281
297
|
show:
|
282
298
|
action_button:
|
283
299
|
change_vote: Ändra din röst
|
@@ -285,6 +301,8 @@ sv:
|
|
285
301
|
vote_again: Rösta om
|
286
302
|
election_log: Omröstningslogg
|
287
303
|
preview: Förhandsgranska
|
304
|
+
verify:
|
305
|
+
already_voted: Redan röstat?
|
288
306
|
voting_period_status:
|
289
307
|
finished: Omröstningen började den %{start_time} och slutade den %{end_time}
|
290
308
|
upcoming: Omröstningen börjar den %{start_time}
|
@@ -350,6 +368,7 @@ sv:
|
|
350
368
|
action_required:
|
351
369
|
'false': 'Nej'
|
352
370
|
name: Åtgärd krävs?
|
371
|
+
'true': Utför åtgärd
|
353
372
|
bb_status: Status
|
354
373
|
election: Val
|
355
374
|
voting_period: Röstningsperiod
|
@@ -378,6 +397,8 @@ sv:
|
|
378
397
|
text: 'Du kan kontrollera att din röst har lagts till i röstsedeln med följande identifierare: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
379
398
|
failed:
|
380
399
|
header: Röst ej framgångsrik
|
400
|
+
modal:
|
401
|
+
close: Stäng
|
381
402
|
try_again: Försök igen
|
382
403
|
header:
|
383
404
|
ballot_decision: Lägg eller granska din röst
|
@@ -397,10 +418,13 @@ sv:
|
|
397
418
|
selections: "%{selected} av %{max_selections}<br> val"
|
398
419
|
onboarding_modal:
|
399
420
|
close: Stäng fönstret
|
421
|
+
create_account: Skapa konto
|
400
422
|
no_account: Nej tack.
|
401
423
|
verify:
|
402
424
|
content:
|
403
425
|
heading: Verifiera din röst
|
426
|
+
error:
|
427
|
+
header: Hittade inga omröstningar!
|
404
428
|
form:
|
405
429
|
back: Tillbaka till Decidim
|
406
430
|
submit: Kontrollera
|
@@ -440,6 +464,12 @@ sv:
|
|
440
464
|
title: Åtgärder
|
441
465
|
new:
|
442
466
|
create: Skapa
|
467
|
+
content_blocks:
|
468
|
+
landing_page:
|
469
|
+
metrics:
|
470
|
+
name: Omröstningsmetrik
|
471
|
+
timeline:
|
472
|
+
name: Omröstningstidslinje
|
443
473
|
index:
|
444
474
|
not_published: Ej publicerade
|
445
475
|
published: Publicerad
|
@@ -474,12 +504,14 @@ sv:
|
|
474
504
|
fields:
|
475
505
|
email: E-post
|
476
506
|
name: Namn
|
507
|
+
name: Röstmottagare
|
477
508
|
polling_station:
|
478
509
|
fields:
|
479
510
|
address: Adress
|
480
511
|
polling_station_managers: Koordinatorer
|
481
512
|
polling_station_president: Ordförande
|
482
513
|
title: Titel
|
514
|
+
name: Röststation
|
483
515
|
voting:
|
484
516
|
fields:
|
485
517
|
created_at: Skapad den
|
@@ -491,6 +523,11 @@ sv:
|
|
491
523
|
title: Åtgärder
|
492
524
|
view: Visa
|
493
525
|
results:
|
526
|
+
result_types:
|
527
|
+
blank_answers: Tomma svar
|
528
|
+
blank_ballots: Tomma röstsedlar
|
529
|
+
total_ballots: Totalt antal röstsedlar
|
530
|
+
valid_ballots: Giltiga röstsedlar
|
494
531
|
selected: Valda
|
495
532
|
totals: Totalt
|
496
533
|
show:
|
@@ -544,6 +581,8 @@ sv:
|
|
544
581
|
edit:
|
545
582
|
update: Uppdatera
|
546
583
|
form:
|
584
|
+
promoted: Annonserad
|
585
|
+
slug: Slug
|
547
586
|
title: Titel
|
548
587
|
voting_type:
|
549
588
|
hybrid: Hybrid
|
@@ -577,6 +616,7 @@ sv:
|
|
577
616
|
pages:
|
578
617
|
home:
|
579
618
|
highlighted_votings:
|
619
|
+
active_votings: Activa omröstningar
|
580
620
|
see_all_votings: Se alla omröstningar
|
581
621
|
polling_officer_zone:
|
582
622
|
closures:
|
@@ -591,6 +631,7 @@ sv:
|
|
591
631
|
heading: Omräkning
|
592
632
|
modal_ballots_count_error:
|
593
633
|
close_modal: Stäng
|
634
|
+
total_people: 'Totala människor:'
|
594
635
|
polling_station: 'Vallokal:'
|
595
636
|
show:
|
596
637
|
heading: Omräkning
|
@@ -600,6 +641,7 @@ sv:
|
|
600
641
|
confirm: Fortsätt
|
601
642
|
in_person_votes:
|
602
643
|
in_person_form:
|
644
|
+
date_of_birth: Födelsedatum
|
603
645
|
day: Dag
|
604
646
|
day_placeholder: DD
|
605
647
|
document_number: Dokumentnummer
|
@@ -633,6 +675,7 @@ sv:
|
|
633
675
|
unassigned: Otilldelad
|
634
676
|
polling_station_closure_recount:
|
635
677
|
signed: Signerat
|
678
|
+
total_ballots: 'Totalt antal röstsedlar:'
|
636
679
|
polling_stations:
|
637
680
|
actions:
|
638
681
|
confirm_destroy: Är du säker?
|
@@ -641,6 +684,8 @@ sv:
|
|
641
684
|
new: Ny
|
642
685
|
title: Åtgärder
|
643
686
|
votings:
|
687
|
+
access_code_modal:
|
688
|
+
title: Få behörighetskod
|
644
689
|
check_census:
|
645
690
|
check_status: Kontrollera status
|
646
691
|
title: Kan jag rösta?
|
@@ -650,11 +695,16 @@ sv:
|
|
650
695
|
day_placeholder: DD
|
651
696
|
document_number: Dokumentnummer
|
652
697
|
document_number_placeholder: ID-nummer
|
698
|
+
document_type: Dokumenttyp
|
653
699
|
month: Månad
|
654
700
|
month_placeholder: MM
|
655
701
|
postal_code: Postnummer
|
656
702
|
year: År
|
657
703
|
year_placeholder: ÅÅÅÅ
|
704
|
+
count:
|
705
|
+
title:
|
706
|
+
one: "%{count} omröstning"
|
707
|
+
other: "%{count} omröstningar"
|
658
708
|
elections_log:
|
659
709
|
election_log: Omröstningslogg
|
660
710
|
title: Omröstningslogg
|
@@ -676,6 +726,7 @@ sv:
|
|
676
726
|
access_code: Behörighetskod
|
677
727
|
access_code_placeholder: Behörighetskod
|
678
728
|
start_voting: Starta omröstningen
|
729
|
+
step: Identifikation
|
679
730
|
orders:
|
680
731
|
label: 'Sortera omröstningar efter:'
|
681
732
|
random: Slumpmässig
|
data/config/locales/tr-TR.yml
CHANGED
@@ -12,7 +12,6 @@ tr:
|
|
12
12
|
start_time: Oylama başlangıcı
|
13
13
|
title: Başlık
|
14
14
|
question:
|
15
|
-
description: Açıklama
|
16
15
|
max_selections: Maksimum seçim sayısı
|
17
16
|
min_selections: Yukarıdakilerden hiçbiri
|
18
17
|
title: Başlık
|
@@ -307,6 +306,9 @@ tr:
|
|
307
306
|
feedback: Bize geri bildirim verin
|
308
307
|
header: Oy onaylandı
|
309
308
|
text: 'Aşağıdaki tanımlayıcıyla oyunuzun başarıyla oy sandığına eklenip eklenmediğini kontrol edebilirsiniz: <strong class = "evote__poll-id">%{e_vote_poll_id} </strong>'
|
309
|
+
failed:
|
310
|
+
modal:
|
311
|
+
close: Kapat
|
310
312
|
header:
|
311
313
|
confirm: Oyunu onayla
|
312
314
|
confirmed: Oy onaylandı
|
data/config/locales/zh-CN.yml
CHANGED
@@ -12,7 +12,6 @@ zh-CN:
|
|
12
12
|
start_time: 投票开始于
|
13
13
|
title: 标题
|
14
14
|
question:
|
15
|
-
description: 描述
|
16
15
|
max_selections: 最大选择数
|
17
16
|
min_selections: 上面没有一个选项
|
18
17
|
title: 标题
|
@@ -205,6 +204,9 @@ zh-CN:
|
|
205
204
|
feedback: 给我们一些反馈
|
206
205
|
header: 已确认投票
|
207
206
|
text: '您可以检查您的投票是否已成功地添加到选票箱,其标识符如下: <strong class="evote__poll-id">%{e_vote_poll_id}</strong>'
|
207
|
+
failed:
|
208
|
+
modal:
|
209
|
+
close: 关闭
|
208
210
|
header:
|
209
211
|
confirm: 确认您的投票
|
210
212
|
confirmed: 已确认投票
|
@@ -11,7 +11,6 @@ module Decidim
|
|
11
11
|
|
12
12
|
field :id, GraphQL::Types::ID, "The internal ID of this question", null: false
|
13
13
|
field :title, Decidim::Core::TranslatedFieldType, "The title for this question", null: false
|
14
|
-
field :description, Decidim::Core::TranslatedFieldType, "The description for this question", null: false
|
15
14
|
field :max_selections, GraphQL::Types::Int, "The maximum number of possible selections for this question", null: false
|
16
15
|
field :weight, GraphQL::Types::Int, "The ordering weight for this question", null: true
|
17
16
|
field :random_answers_order, GraphQL::Types::Boolean, "Should this question order answers in random order?", null: true
|
@@ -113,9 +113,6 @@ Decidim.register_component(:elections) do |component|
|
|
113
113
|
{
|
114
114
|
election: upcoming_election,
|
115
115
|
title: Decidim::Faker::Localized.sentence(word_count: 2),
|
116
|
-
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
117
|
-
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
118
|
-
end,
|
119
116
|
max_selections: Faker::Number.between(from: 1, to: 3),
|
120
117
|
weight: Faker::Number.number(digits: 1),
|
121
118
|
random_answers_order: Faker::Boolean.boolean(true_ratio: 0.5),
|
@@ -213,9 +210,6 @@ Decidim.register_component(:elections) do |component|
|
|
213
210
|
{
|
214
211
|
election: finished_election,
|
215
212
|
title: Decidim::Faker::Localized.sentence(word_count: 2),
|
216
|
-
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
217
|
-
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
218
|
-
end,
|
219
213
|
max_selections: 2,
|
220
214
|
weight: Faker::Number.number(digits: 1),
|
221
215
|
random_answers_order: Faker::Boolean.boolean(true_ratio: 0.5),
|
@@ -336,9 +330,6 @@ Decidim.register_component(:elections) do |component|
|
|
336
330
|
{
|
337
331
|
election: election_with_results,
|
338
332
|
title: Decidim::Faker::Localized.sentence(word_count: 2),
|
339
|
-
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
340
|
-
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
341
|
-
end,
|
342
333
|
max_selections: 2,
|
343
334
|
weight: Faker::Number.number(digits: 1),
|
344
335
|
random_answers_order: Faker::Boolean.boolean(true_ratio: 0.5),
|
@@ -456,9 +447,6 @@ Decidim.register_component(:elections) do |component|
|
|
456
447
|
{
|
457
448
|
election: ongoing_election,
|
458
449
|
title: Decidim::Faker::Localized.sentence(word_count: 2),
|
459
|
-
description: Decidim::Faker::Localized.wrapped("<p>", "</p>") do
|
460
|
-
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
461
|
-
end,
|
462
450
|
max_selections: 2,
|
463
451
|
weight: Faker::Number.number(digits: 1),
|
464
452
|
random_answers_order: Faker::Boolean.boolean(true_ratio: 0.5),
|
@@ -170,7 +170,6 @@ FactoryBot.define do
|
|
170
170
|
|
171
171
|
election
|
172
172
|
title { generate_localized_title }
|
173
|
-
description { Decidim::Faker::Localized.wrapped("<p>", "</p>") { generate_localized_title } }
|
174
173
|
min_selections { 1 }
|
175
174
|
max_selections { 1 }
|
176
175
|
weight { Faker::Number.number(digits: 1) }
|