decidim-elections 0.27.4 → 0.27.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/environment.rb +3 -0
- data/config/locales/ar.yml +0 -2
- data/config/locales/ca.yml +5 -5
- data/config/locales/cs.yml +4 -3
- data/config/locales/de.yml +6 -6
- data/config/locales/el.yml +1 -7
- data/config/locales/es-MX.yml +4 -4
- data/config/locales/es-PY.yml +4 -4
- data/config/locales/es.yml +4 -4
- data/config/locales/eu.yml +210 -81
- data/config/locales/fi-plain.yml +0 -3
- data/config/locales/fi.yml +2 -5
- data/config/locales/fr-CA.yml +24 -2
- data/config/locales/fr.yml +24 -2
- data/config/locales/gl.yml +5 -2
- data/config/locales/hu.yml +11 -4
- data/config/locales/it.yml +4 -8
- data/config/locales/ja.yml +8 -11
- data/config/locales/lt.yml +47 -5
- data/config/locales/lv.yml +0 -4
- data/config/locales/nl.yml +3 -7
- data/config/locales/no.yml +7 -5
- data/config/locales/pl.yml +11 -7
- data/config/locales/pt-BR.yml +20 -5
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +3 -4
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sv.yml +17 -2
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +7 -4
- data/config/locales/zh-CN.yml +8 -5
- data/config/locales/zh-TW.yml +0 -5
- data/lib/decidim/elections/version.rb +1 -1
- data/lib/decidim/votings/voting_serializer.rb +2 -2
- metadata +15 -14
- data/app/forms/decidim/votings/admin/voting_role_form.rb +0 -29
data/config/locales/pl.yml
CHANGED
@@ -199,6 +199,10 @@ pl:
|
|
199
199
|
exports:
|
200
200
|
elections: Wybory
|
201
201
|
feedback_form_answers: Odpowiedzi zebrane z formularza
|
202
|
+
mailers:
|
203
|
+
trustee_mailer:
|
204
|
+
body: "<p>Cześć, %{user_name},</p><p>Dodano cię jako mąż zaufania do %{resource_name}.</p>"
|
205
|
+
subject: Dodano cię jako mąż zaufania do %{resource_name}
|
202
206
|
menu:
|
203
207
|
trustees: Mężowie (osoby) zaufania
|
204
208
|
models:
|
@@ -221,6 +225,7 @@ pl:
|
|
221
225
|
title: Importuj propozycje
|
222
226
|
questions:
|
223
227
|
create:
|
228
|
+
election_started: Wybory już się rozpoczęły
|
224
229
|
invalid: Wystąpił błąd podczas tworzenia pytania
|
225
230
|
success: Pytanie zostało pomyślnie utworzone
|
226
231
|
destroy:
|
@@ -584,7 +589,6 @@ pl:
|
|
584
589
|
invalid_key: Nie można załadować kluczy identyfikacyjnych z przesłanego pliku.
|
585
590
|
not_supported_browser_description: Wygląda na to, że używasz przeglądarki internetowej, która nie może być użyta do działań męża (osoby) zaufania. Upewnij się, że używasz najnowszej wersji przeglądarki, lub spróbuj użyć dowolnej z najpopularniejszych przeglądarek, aby móc wykonać zadania męża (osoby) zaufania.
|
586
591
|
not_supported_browser_title: Aktualizuj przeglądarkę by działać jako mąż (osoba) zaufania
|
587
|
-
trustee_role_description: Zostałeś powołany do pełnienia funkcji męża (osoby) zaufania w niektórych głosowaniach na tej platformie.
|
588
592
|
update:
|
589
593
|
success: Twój publiczny klucz identyfikacyjny został zapisany.
|
590
594
|
votes:
|
@@ -670,7 +674,6 @@ pl:
|
|
670
674
|
continue: Dalej
|
671
675
|
warnings:
|
672
676
|
no_elections_warning: Brak wyborów spełniających kryteria wyszukiwania lub nie ma żadnych zaplanowanych wyborów.
|
673
|
-
no_scheduled_elections_warning: Obecnie nie ma żadnych zaplanowanych wyborów, ale możesz zobaczyć wszystkie zakończone już wybory.
|
674
677
|
events:
|
675
678
|
elections:
|
676
679
|
election_published:
|
@@ -756,7 +759,6 @@ pl:
|
|
756
759
|
description:
|
757
760
|
name: Opis głosowania
|
758
761
|
index:
|
759
|
-
not_published: Nie opublikowano
|
760
762
|
published: Opublikowano
|
761
763
|
landing_page:
|
762
764
|
content_blocks:
|
@@ -943,8 +945,8 @@ pl:
|
|
943
945
|
confirm_destroy: Jesteś pewny?
|
944
946
|
destroy: Usuń
|
945
947
|
new_voting: Nowa przestrzeń do głosowania
|
946
|
-
publish:
|
947
|
-
unpublish: Cofnij
|
948
|
+
publish: Opublikuj
|
949
|
+
unpublish: Cofnij publikację
|
948
950
|
create:
|
949
951
|
invalid: Podczas tworzenia głosowania wystąpił błąd
|
950
952
|
success: Utworzono głosowanie
|
@@ -954,12 +956,12 @@ pl:
|
|
954
956
|
update: Aktualizuj
|
955
957
|
form:
|
956
958
|
select_a_voting_type: Wybierz typ głosowania
|
957
|
-
slug_help: 'URL slugi służą do generowania adresów URL kierujących bezpośrednio do tego procesu. Należy wpisać tylko to, co ma znaleźć się na końcu po znaku „/”, a nie pełen adres. Można użyć liter, cyfr i myślników. Musi zaczynać się od litery. Przykład: %{url}'
|
958
959
|
title: Tytuł
|
959
960
|
voting_type:
|
960
961
|
hybrid: Hybrydowe
|
961
962
|
in_person: Osobiste
|
962
963
|
online: Online
|
964
|
+
voting_type_label: Typ głosowania
|
963
965
|
new:
|
964
966
|
create: Utwórz
|
965
967
|
title: Nowe głosowanie
|
@@ -989,6 +991,7 @@ pl:
|
|
989
991
|
button: Eksportuj kody dostępu do głosowania
|
990
992
|
callout: Możesz teraz przejść do eksportu kodów dostępu. Można to zrobić tylko raz. Po uruchomieniu eksportu, otrzymasz e-mail z instrukcjami na adres <strong>%{email}</strong>
|
991
993
|
confirm: Możesz wyeksportować kody dostępu tylko raz. Upewnij się, że masz dostęp do konta e-mail <strong>%{email}</strong>.
|
994
|
+
file_not_exist: Ten plik nie istnieje
|
992
995
|
launch_error: Wystąpił problem z uruchomieniem eksportu kodów dostępu
|
993
996
|
launch_success: Eksport kodów dostępu został uruchomiony. Wkrótce otrzymasz e-mail na adres %{email}
|
994
997
|
freeze:
|
@@ -1056,7 +1059,6 @@ pl:
|
|
1056
1059
|
certify:
|
1057
1060
|
add_images: Dodaj obrazy
|
1058
1061
|
error: Wystąpił błąd podczas dołączania certyfikatu, spróbuj ponownie.
|
1059
|
-
form_legend: Prześlij zdjęcie certyfikatu zamknięcia wyborów
|
1060
1062
|
heading: Przeliczanie głosów - Prześlij certyfikat
|
1061
1063
|
info_text: Prześlij zdjęcie certyfikatu zamknięcia wyborów.
|
1062
1064
|
submit: Prześlij certyfikat
|
@@ -1204,6 +1206,8 @@ pl:
|
|
1204
1206
|
check_census:
|
1205
1207
|
check_status: Sprawdź status
|
1206
1208
|
description: Tutaj masz możliwość sprawdzenia danych umieszczonych na liście wyborców, aby wiedzieć, czy masz prawo uczestniczyć w tym głosowaniu. Powinieneś mieć już kod dostępu, ale jeśli go zgubiłeś, możesz ponownie o ten kod poprosić, gdy Twoje dane są poprawne.
|
1209
|
+
error:
|
1210
|
+
info: 'Spróbuj ponownie. Jeśli uważasz, że dane w systemie są nieprawidłowe, możesz je zgłosić tutaj: %{census_contact_information}'
|
1207
1211
|
form_title: 'Wypełnij formularz, aby sprawdzić Twoje dane na liście wyborców:'
|
1208
1212
|
invalid: Wystąpił błąd przy sprawdzaniu listy wyborców.
|
1209
1213
|
success:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -12,13 +12,26 @@ pt-BR:
|
|
12
12
|
end_time: A votação termina às
|
13
13
|
start_time: Votação começa às
|
14
14
|
title: Título
|
15
|
+
polling_station:
|
16
|
+
address: Endereço
|
17
|
+
location: Localização
|
18
|
+
location_hints: Dicas de localização
|
19
|
+
polling_station_managers: Gerentes
|
20
|
+
polling_station_president_id: Presidente
|
21
|
+
title: Título
|
15
22
|
question:
|
16
23
|
max_selections: Número máximo de seleções
|
17
24
|
min_selections: Nenhuma das opções acima
|
18
25
|
title: Título
|
26
|
+
trustees_participatory_space:
|
27
|
+
user_id: Participante
|
19
28
|
voting:
|
29
|
+
banner_image: Imagem de banner
|
30
|
+
census_contact_information: Informação de contato do censo
|
20
31
|
end_time: Votação termina
|
32
|
+
introductory_image: Imagem introdutória
|
21
33
|
scope_id: Escopo
|
34
|
+
show_check_census: Mostrar página "checar censo"
|
22
35
|
start_time: A votação começa
|
23
36
|
voting_type: Tipo de votação
|
24
37
|
errors:
|
@@ -37,6 +50,10 @@ pt-BR:
|
|
37
50
|
cant_be_changed: não pode ser alterado
|
38
51
|
public_key:
|
39
52
|
cant_be_changed: não pode ser alterado
|
53
|
+
voting:
|
54
|
+
attributes:
|
55
|
+
voting_type:
|
56
|
+
inclusion: "%{value} não é um tipo de votação válido"
|
40
57
|
activerecord:
|
41
58
|
errors:
|
42
59
|
models:
|
@@ -551,7 +568,6 @@ pt-BR:
|
|
551
568
|
upload_legend: O servidor possui suas chaves de identificação pública, mas seu navegador ainda não as têm. Você precisa importar o arquivo com as suas chaves de identificação para o seu computador, a partir do "backup" que você criou após gerá-las.
|
552
569
|
not_supported_browser_description: Parece que você está usando um navegador da web que não pode ser usado para atuar como um curador. Certifique-se de estar usando a versão mais recente do seu navegador, ou tente usar qualquer um dos navegadores mais populares para conseguir completar suas tarefas de confiança.
|
553
570
|
not_supported_browser_title: Atualize o navegador para agir como um curador
|
554
|
-
trustee_role_description: Você foi designado para agir como um curador em algumas das eleições realizadas nesta plataforma.
|
555
571
|
update:
|
556
572
|
success: Sua chave pública de identificação foi armazenada com sucesso.
|
557
573
|
votes:
|
@@ -637,7 +653,6 @@ pt-BR:
|
|
637
653
|
continue: Próxima
|
638
654
|
warnings:
|
639
655
|
no_elections_warning: Nenhuma eleição corresponde aos seus critérios de pesquisa ou não há nenhuma eleição agendada.
|
640
|
-
no_scheduled_elections_warning: Atualmente, não há eleições agendadas, mas aqui podem encontrar uma lista de todas as últimas eleições.
|
641
656
|
events:
|
642
657
|
elections:
|
643
658
|
election_published:
|
@@ -723,7 +738,6 @@ pt-BR:
|
|
723
738
|
description:
|
724
739
|
name: Descrição da votação
|
725
740
|
index:
|
726
|
-
not_published: Despublicado
|
727
741
|
published: Publicado
|
728
742
|
landing_page:
|
729
743
|
content_blocks:
|
@@ -920,9 +934,11 @@ pt-BR:
|
|
920
934
|
assign_missing_officers: Existem estações de votação sem Presidente e/ou gerentes. Por favor atribua-as a partir da seção estações de enquete
|
921
935
|
update: Atualizar
|
922
936
|
form:
|
937
|
+
banner_image: Imagem de banner
|
938
|
+
census_contact_information: Informação de contato do censo
|
939
|
+
introductory_image: Imagem introdutória
|
923
940
|
select_a_voting_type: Por favor, selecione um tipo de votação
|
924
941
|
show_check_census_help: Mostrar ou não o link "Posso votar?" no menu de votações públicas
|
925
|
-
slug_help: 'Os slugs de URL são usados para gerar os URLs que apontam para esse processo. Apenas aceita letras, números e traços, e deve começar com uma carta. Exemplo: %{url}'
|
926
942
|
title: Título
|
927
943
|
voting_type:
|
928
944
|
hybrid: Híbrido
|
@@ -1024,7 +1040,6 @@ pt-BR:
|
|
1024
1040
|
certify:
|
1025
1041
|
add_images: Adicionar imagens
|
1026
1042
|
error: Ocorreu um erro ao anexar o certificado, por favor tente novamente.
|
1027
|
-
form_legend: Envie uma foto do Certificado de Encerramento Eleitoral
|
1028
1043
|
heading: Recontagem de voto - Upload de certificado
|
1029
1044
|
info_text: Por favor envie uma foto do Certificado de Encerramento Eleitoral.
|
1030
1045
|
submit: Carregar o certificado
|
data/config/locales/pt.yml
CHANGED
@@ -571,7 +571,6 @@ pt:
|
|
571
571
|
invalid_key: As chaves de identificação no ficheiro enviado não puderam ser carregadas.
|
572
572
|
not_supported_browser_description: Parece que está a utilizar um navegador web que não pode ser utilizado para agir como curador. Certifique-se que está a suar a versão mais recente do seu navegador, ou tente usar um dos navegadores mais populares para que seja possível as suas tarefas de Curador.
|
573
573
|
not_supported_browser_title: Actualize o seu navegador para poder agir como Curador
|
574
|
-
trustee_role_description: Foi designado para agir como Curador em algumas eleições celebradas nesta plataforma.
|
575
574
|
update:
|
576
575
|
success: A sua chave de identificação pública foi guardada com êxito.
|
577
576
|
votes:
|
@@ -657,7 +656,6 @@ pt:
|
|
657
656
|
continue: Seguinte
|
658
657
|
warnings:
|
659
658
|
no_elections_warning: Nenhuma eleição corresponde aos seus critérios de pesquisa ou não há nenhuma eleição agendada.
|
660
|
-
no_scheduled_elections_warning: Actualmente, não há eleições agendadas, mas aqui pode encontrar listadas todas as eleições passadas.
|
661
659
|
events:
|
662
660
|
elections:
|
663
661
|
election_published:
|
@@ -743,7 +741,6 @@ pt:
|
|
743
741
|
description:
|
744
742
|
name: Descrição da votação
|
745
743
|
index:
|
746
|
-
not_published: Publicação removida
|
747
744
|
published: Publicado
|
748
745
|
landing_page:
|
749
746
|
content_blocks:
|
@@ -941,7 +938,6 @@ pt:
|
|
941
938
|
update: Actualizar
|
942
939
|
form:
|
943
940
|
select_a_voting_type: Por favor seleccione um tipo de votação
|
944
|
-
slug_help: 'Os identificadores URL são utilizados para gerar os URLs que direccionam para esta votação. Apenas aceitam letras, números e traços, devendo começar com uma letra. Exemplo: %{url}'
|
945
941
|
title: Título
|
946
942
|
voting_type:
|
947
943
|
hybrid: Híbrido
|
@@ -1062,7 +1058,6 @@ pt:
|
|
1062
1058
|
certify:
|
1063
1059
|
add_images: Adicionar imagens
|
1064
1060
|
error: Ocorreu um erro ao anexar o certificado, por favor tente de novo.
|
1065
|
-
form_legend: Envie a fotografia do Certificado de Encerramento Eleitoral
|
1066
1061
|
heading: Recontagem de votos - Envie o certificado
|
1067
1062
|
info_text: Por favor envie uma fotografia do Certificado de Encerramento Eleitoral.
|
1068
1063
|
submit: Envie o certificado
|
data/config/locales/ro-RO.yml
CHANGED
@@ -514,7 +514,6 @@ ro:
|
|
514
514
|
invalid_key: Tastele de identificare din fișierul încărcat nu pot fi încărcate.
|
515
515
|
not_supported_browser_description: Se pare că folosești un browser web care nu poate fi folosit pentru a acționa ca împuternicit. Asigură-te că folosești cea mai recentă versiune de browser, sau încercați să utilizați oricare dintre cele mai populare browsere pentru a putea finaliza sarcinile dvs. drept împuternicit.
|
516
516
|
not_supported_browser_title: Actualizează browser-ul pentru a acționa ca împuternicit
|
517
|
-
trustee_role_description: Ai fost desemnat drept împuternicit în unele dintre alegerile celebrate în această platformă.
|
518
517
|
update:
|
519
518
|
success: Cheia publică de identificare a fost stocată cu succes.
|
520
519
|
votes:
|
@@ -601,7 +600,6 @@ ro:
|
|
601
600
|
create: Creează
|
602
601
|
title: Creează stil de vot
|
603
602
|
index:
|
604
|
-
not_published: Anulează publicarea
|
605
603
|
published: Publicate
|
606
604
|
landing_page:
|
607
605
|
edit:
|
@@ -650,6 +648,8 @@ ro:
|
|
650
648
|
new:
|
651
649
|
create: Creează
|
652
650
|
title: Creează verificator al scrutinului
|
651
|
+
polling_officers_picker:
|
652
|
+
close: Inchide
|
653
653
|
polling_stations:
|
654
654
|
new:
|
655
655
|
create: Creează
|
@@ -658,11 +658,10 @@ ro:
|
|
658
658
|
actions:
|
659
659
|
confirm_destroy: Sigur dorești asta?
|
660
660
|
publish: Publică
|
661
|
-
unpublish:
|
661
|
+
unpublish: De-publicare
|
662
662
|
edit:
|
663
663
|
add_election_component: Nu ai alegeri configurate pentru acest vot. Te rugăm să o adaugi în secțiunea Componente
|
664
664
|
form:
|
665
|
-
slug_help: 'URL slugs sunt utilizate pentru a genera URL-urile care indică acest proces de votare. Acestea acceptă doar litere, numere și cratime și trebuie să înceapă cu o literă. Exemplu: %{url}'
|
666
665
|
title: Titlu
|
667
666
|
new:
|
668
667
|
create: Creează
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
data/config/locales/sv.yml
CHANGED
@@ -25,6 +25,7 @@ sv:
|
|
25
25
|
location: Plats
|
26
26
|
location_hints: Detaljer om platsen
|
27
27
|
polling_station_managers: Koordinatorer
|
28
|
+
polling_station_president_id: Ordförande
|
28
29
|
title: Titel
|
29
30
|
question:
|
30
31
|
max_selections: Maximalt antal val
|
@@ -33,6 +34,7 @@ sv:
|
|
33
34
|
banner_image: Bannerbild
|
34
35
|
end_time: Omröstningen avslutas
|
35
36
|
promoted: Annonserad
|
37
|
+
scope_id: Omfång
|
36
38
|
start_time: Omröstningen börjar
|
37
39
|
title: Titel
|
38
40
|
voting_type: Rösttyp
|
@@ -104,6 +106,7 @@ sv:
|
|
104
106
|
label: Bekräftad
|
105
107
|
values:
|
106
108
|
'false': Bekräftad
|
109
|
+
'true': Ej validerad
|
107
110
|
components:
|
108
111
|
elections:
|
109
112
|
actions:
|
@@ -392,7 +395,9 @@ sv:
|
|
392
395
|
task: Uppgift
|
393
396
|
start: Start
|
394
397
|
status:
|
398
|
+
completed: Slutförd
|
395
399
|
pending: Väntande
|
400
|
+
processing: Bearbetar
|
396
401
|
menu:
|
397
402
|
trustee_zone: Förvaltarzon
|
398
403
|
trustees:
|
@@ -468,7 +473,6 @@ sv:
|
|
468
473
|
continue: Nästa
|
469
474
|
warnings:
|
470
475
|
no_elections_warning: Inga omröstningar matchar dina sökkriterier eller det finns ingen omröstning planerad.
|
471
|
-
no_scheduled_elections_warning: För närvarande finns det inga planerade omröstningar, men här hittar du alla tidigare omröstningar listade.
|
472
476
|
events:
|
473
477
|
elections:
|
474
478
|
election_published:
|
@@ -505,8 +509,13 @@ sv:
|
|
505
509
|
title: Valtyper
|
506
510
|
new:
|
507
511
|
create: Skapa
|
512
|
+
content_blocks:
|
513
|
+
landing_page:
|
514
|
+
header:
|
515
|
+
name: Omröstningsbanner
|
516
|
+
metrics:
|
517
|
+
name: Omröstningsmetrik
|
508
518
|
index:
|
509
|
-
not_published: Ej publicerade
|
510
519
|
published: Publicerad
|
511
520
|
landing_page:
|
512
521
|
content_blocks:
|
@@ -635,6 +644,7 @@ sv:
|
|
635
644
|
admin:
|
636
645
|
census:
|
637
646
|
new:
|
647
|
+
submit: Skicka in CSV
|
638
648
|
title: Skapa census
|
639
649
|
document_types:
|
640
650
|
dni: ID-kort
|
@@ -657,6 +667,10 @@ sv:
|
|
657
667
|
destroy: Radera
|
658
668
|
new: Ny medlem
|
659
669
|
title: Åtgärder
|
670
|
+
pages:
|
671
|
+
home:
|
672
|
+
highlighted_votings:
|
673
|
+
active_votings: Activa omröstningar
|
660
674
|
polling_officer_zone:
|
661
675
|
closures:
|
662
676
|
certify:
|
@@ -734,6 +748,7 @@ sv:
|
|
734
748
|
check_census:
|
735
749
|
check_status: Kontrollera status
|
736
750
|
success:
|
751
|
+
access_link: via e-post.
|
737
752
|
access_link_with_sms: via SMS eller e-post.
|
738
753
|
title: Kan jag rösta?
|
739
754
|
check_fields:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
data/config/locales/tr-TR.yml
CHANGED
@@ -125,8 +125,6 @@ tr:
|
|
125
125
|
name: Cevap
|
126
126
|
election:
|
127
127
|
name: Seçim
|
128
|
-
question:
|
129
|
-
name: Soru
|
130
128
|
trustee:
|
131
129
|
name: Vekil
|
132
130
|
proposals_imports:
|
@@ -281,7 +279,6 @@ tr:
|
|
281
279
|
invalid_key: Yüklenen dosyadaki kimlik anahtarları yüklenemez.
|
282
280
|
not_supported_browser_description: Vekil olarak hareket etmek için kullanılamayan bir web tarayıcısı kullanıyorsunuz gibi görünüyor. Vekil görevlerinizi tamamlayabilmek için tarayıcınızın en son sürümünü kullandığınızdan emin olun veya en popüler tarayıcılardan herhangi birini kullanmayı deneyin.
|
283
281
|
not_supported_browser_title: Vekil kişi olarak hareket etmek için tarayıcıyı yükseltin
|
284
|
-
trustee_role_description: Bu platformda kutlanan bazı seçimlerde Vekil olarak görev yapmakla görevlendirildiniz.
|
285
282
|
update:
|
286
283
|
success: Tanımlama genel anahtarınız başarıyla saklandı.
|
287
284
|
votes:
|
@@ -320,7 +317,6 @@ tr:
|
|
320
317
|
continue: Sonraki
|
321
318
|
warnings:
|
322
319
|
no_elections_warning: Arama kriterlerinize uyan seçim yok veya planlanmış bir seçim yok.
|
323
|
-
no_scheduled_elections_warning: Şu anda planlanmış bir seçim yok, ancak burada listelenen tüm geçmiş seçimleri bulabilirsiniz.
|
324
320
|
events:
|
325
321
|
elections:
|
326
322
|
election_published:
|
@@ -363,6 +359,13 @@ tr:
|
|
363
359
|
name: Oylama istatistikleri
|
364
360
|
timeline:
|
365
361
|
name: Oylama Zaman Çizelgesi
|
362
|
+
polling_officers:
|
363
|
+
polling_officers_picker:
|
364
|
+
close: Kapat
|
365
|
+
votings:
|
366
|
+
actions:
|
367
|
+
publish: Yayınla
|
368
|
+
unpublish: Yayımdan Kaldır
|
366
369
|
content_blocks:
|
367
370
|
landing_page:
|
368
371
|
description:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -102,10 +102,6 @@ zh-CN:
|
|
102
102
|
models:
|
103
103
|
answer:
|
104
104
|
name: 答案
|
105
|
-
election:
|
106
|
-
name: 选举
|
107
|
-
question:
|
108
|
-
name: 问
|
109
105
|
proposals_imports:
|
110
106
|
create:
|
111
107
|
invalid: 将建议导入答案时遇到问题
|
@@ -220,7 +216,6 @@ zh-CN:
|
|
220
216
|
continue: 下一个
|
221
217
|
warnings:
|
222
218
|
no_elections_warning: 没有符合您的搜索条件的选项,或者没有排定任何选区。
|
223
|
-
no_scheduled_elections_warning: 目前没有预定的选举,但是你们可以在这里看到过去的所有选举都被列入清单。
|
224
219
|
events:
|
225
220
|
elections:
|
226
221
|
election_published:
|
@@ -229,6 +224,14 @@ zh-CN:
|
|
229
224
|
email_subject: '%{resource_title} 的选举现在对 %{participatory_space_title} 生效。'
|
230
225
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> 选区现已启用 %{participatory_space_title}。
|
231
226
|
votings:
|
227
|
+
admin:
|
228
|
+
polling_officers:
|
229
|
+
polling_officers_picker:
|
230
|
+
close: 关闭
|
231
|
+
votings:
|
232
|
+
actions:
|
233
|
+
publish: 发布
|
234
|
+
unpublish: 取消发布
|
232
235
|
polling_officer_zone:
|
233
236
|
closures:
|
234
237
|
new:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -632,7 +632,6 @@ zh-TW:
|
|
632
632
|
upload_legend: 伺服器上有您的公開識別金鑰,但您的瀏覽器仍然沒有。您需要從生成金鑰後創建的備份中,將識別金鑰檔案匯入您的電腦中。
|
633
633
|
not_supported_browser_description: 看起來您使用的網頁瀏覽器無法用作受託人的身份。請確保您使用的是最新版本的瀏覽器,或嘗試使用任何最流行的瀏覽器,以便能夠完成您的受託人任務。
|
634
634
|
not_supported_browser_title: 升級瀏覽器以作為受託人
|
635
|
-
trustee_role_description: 您已被指派在此平台上的某些選舉中擔任受託人。
|
636
635
|
update:
|
637
636
|
success: 您的識別公鑰已成功存儲。
|
638
637
|
votes:
|
@@ -723,7 +722,6 @@ zh-TW:
|
|
723
722
|
continue: 下一個
|
724
723
|
warnings:
|
725
724
|
no_elections_warning: 沒有符合您的搜尋條件的選舉,或者目前沒有已安排的選舉。
|
726
|
-
no_scheduled_elections_warning: 目前沒有即將舉行的選舉,但在這裡您可以找到所有過去的選舉列表。
|
727
725
|
events:
|
728
726
|
elections:
|
729
727
|
election_published:
|
@@ -809,7 +807,6 @@ zh-TW:
|
|
809
807
|
description:
|
810
808
|
name: 投票說明
|
811
809
|
index:
|
812
|
-
not_published: 尚未發布
|
813
810
|
published: 已發佈
|
814
811
|
landing_page:
|
815
812
|
content_blocks:
|
@@ -1015,7 +1012,6 @@ zh-TW:
|
|
1015
1012
|
select_a_voting_type: 請選擇一種投票類型。
|
1016
1013
|
show_check_census_help: 是否在公開投票菜單中顯示「我可以投票嗎?」鏈接
|
1017
1014
|
slug: 附址
|
1018
|
-
slug_help: 'URL slugs 用於產生指向此投票的網址。它只接受字母、數字和連字符,且必須以字母開頭。例如: %{url}'
|
1019
1015
|
title: 標題
|
1020
1016
|
voting_type:
|
1021
1017
|
hybrid: 混合
|
@@ -1149,7 +1145,6 @@ zh-TW:
|
|
1149
1145
|
certify:
|
1150
1146
|
add_images: 添加圖案
|
1151
1147
|
error: 附加憑證時發生錯誤,請稍後再試。
|
1152
|
-
form_legend: 上傳選舉結束憑證的照片
|
1153
1148
|
heading: 投票重新點算 - 上傳憑證
|
1154
1149
|
info_text: 請上傳選舉結束憑證的照片。
|
1155
1150
|
submit: 上傳憑證
|
@@ -21,8 +21,8 @@ module Decidim
|
|
21
21
|
url: url,
|
22
22
|
title: voting.title,
|
23
23
|
description: voting.description,
|
24
|
-
start_time: voting.start_time
|
25
|
-
end_time: voting.end_time
|
24
|
+
start_time: voting.start_time,
|
25
|
+
end_time: voting.end_time,
|
26
26
|
voting_type: translated_voting_type,
|
27
27
|
scope: {
|
28
28
|
id: voting.scope.try(:id),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decidim-elections
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.27.
|
4
|
+
version: 0.27.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Diez
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: decidim-bulletin_board
|
@@ -59,42 +59,42 @@ dependencies:
|
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.27.
|
62
|
+
version: 0.27.5
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.27.
|
69
|
+
version: 0.27.5
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: decidim-forms
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.27.
|
76
|
+
version: 0.27.5
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.27.
|
83
|
+
version: 0.27.5
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: decidim-proposals
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.27.
|
90
|
+
version: 0.27.5
|
91
91
|
type: :runtime
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.27.
|
97
|
+
version: 0.27.5
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: rack-attack
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,28 +115,28 @@ dependencies:
|
|
115
115
|
requirements:
|
116
116
|
- - '='
|
117
117
|
- !ruby/object:Gem::Version
|
118
|
-
version: 0.27.
|
118
|
+
version: 0.27.5
|
119
119
|
type: :development
|
120
120
|
prerelease: false
|
121
121
|
version_requirements: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - '='
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version: 0.27.
|
125
|
+
version: 0.27.5
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: decidim-dev
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
129
129
|
requirements:
|
130
130
|
- - '='
|
131
131
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.27.
|
132
|
+
version: 0.27.5
|
133
133
|
type: :development
|
134
134
|
prerelease: false
|
135
135
|
version_requirements: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
137
|
- - '='
|
138
138
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0.27.
|
139
|
+
version: 0.27.5
|
140
140
|
description: The Elections module adds elections to any participatory space.
|
141
141
|
email:
|
142
142
|
- leo@codegram.com
|
@@ -334,7 +334,6 @@ files:
|
|
334
334
|
- app/forms/decidim/votings/admin/polling_station_form.rb
|
335
335
|
- app/forms/decidim/votings/admin/publish_results_form.rb
|
336
336
|
- app/forms/decidim/votings/admin/voting_form.rb
|
337
|
-
- app/forms/decidim/votings/admin/voting_role_form.rb
|
338
337
|
- app/forms/decidim/votings/answer_result_form.rb
|
339
338
|
- app/forms/decidim/votings/ballot_result_form.rb
|
340
339
|
- app/forms/decidim/votings/census/admin/dataset_form.rb
|
@@ -707,9 +706,11 @@ files:
|
|
707
706
|
- config/locales/sk.yml
|
708
707
|
- config/locales/sl.yml
|
709
708
|
- config/locales/so-SO.yml
|
709
|
+
- config/locales/sq-AL.yml
|
710
710
|
- config/locales/sr-CS.yml
|
711
711
|
- config/locales/sv.yml
|
712
712
|
- config/locales/sw-KE.yml
|
713
|
+
- config/locales/th-TH.yml
|
713
714
|
- config/locales/ti-ER.yml
|
714
715
|
- config/locales/tr-TR.yml
|
715
716
|
- config/locales/uk.yml
|
@@ -828,7 +829,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
828
829
|
- !ruby/object:Gem::Version
|
829
830
|
version: '0'
|
830
831
|
requirements: []
|
831
|
-
rubygems_version: 3.
|
832
|
+
rubygems_version: 3.4.22
|
832
833
|
signing_key:
|
833
834
|
specification_version: 4
|
834
835
|
summary: A decidim elections module (votings space and elections component)
|
@@ -1,29 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module Decidim
|
4
|
-
module Votings
|
5
|
-
module Admin
|
6
|
-
# Base class to be inherited by other forms that have roles
|
7
|
-
# in the Votings space
|
8
|
-
class VotingRoleForm < Decidim::Form
|
9
|
-
attribute :name, String
|
10
|
-
attribute :email, String
|
11
|
-
attribute :user_id, Integer
|
12
|
-
attribute :existing_user, Boolean, default: false
|
13
|
-
|
14
|
-
validates :email, presence: true, format: { with: ::Devise.email_regexp }, unless: ->(form) { form.existing_user }
|
15
|
-
validates :name, presence: true, format: { with: UserBaseEntity::REGEXP_NAME }, unless: ->(form) { form.existing_user }
|
16
|
-
validates :user, presence: true, if: ->(form) { form.existing_user }
|
17
|
-
|
18
|
-
def map_model(model)
|
19
|
-
self.user_id = model.decidim_user_id
|
20
|
-
self.existing_user = user_id.present?
|
21
|
-
end
|
22
|
-
|
23
|
-
def user
|
24
|
-
@user ||= current_organization.users.find_by(id: user_id)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|