decidim-elections 0.27.2 → 0.27.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e0726f771ccc1c15ad50d007e1a7ca22309c4710c1ee26092db56866ff996aa
4
- data.tar.gz: ce6be8d2ae93611a2020c5a8cf1891f8a27c7c725cee6be99492b9c854c19508
3
+ metadata.gz: 4a5a7fb0d77e19fa54d22356edbf2da0d6525a13f3fe10ead31c6647f7b4f9b2
4
+ data.tar.gz: 2ca414d57f414d16fd0a6ae5e5a9960215ee2991f995f9236860f5ba5d1c2e76
5
5
  SHA512:
6
- metadata.gz: e457526bc556190676e4c3aa0115efcbb5d72c8c6e8752246e4e6b7fc5f94628a13679a7a044e42a16faae1445c629460599b11e12c0626eb23312b139218b55
7
- data.tar.gz: ecad851a410f49fc81d4df6e3f5cba6c9fce2802b9e6a5fb789cd38f559f6eef717965bd5430fd4e32e7a4f549ab179205a9634ab1caf640649ca4282da6e26f
6
+ metadata.gz: 8395d2c20e95cac42da566a24a784c71643e2227f52690b114bc991bb21a5c9b7e20fdbf96f406fc5db144d6f5dc5d1aee1cd1d279e0c902ce66389f25233afb
7
+ data.tar.gz: 11cd35466d4002e35f33189f988d2c1381f8d15c2f46a55ef454f79a9d86c11083f7a889f478bf7b785acb5c2637950cbee795c2228f14c7425ae1f3d9ff5d30
@@ -19,7 +19,7 @@ module Decidim
19
19
  # Broadcasts :ok if published, :invalid otherwise.
20
20
  def call
21
21
  publish_election
22
- publish_event
22
+ publish_event unless election.previously_published?
23
23
 
24
24
  broadcast(:ok, election)
25
25
  end
@@ -45,7 +45,7 @@ edit_link(
45
45
  <% end %>
46
46
  <div class="columns medium-8 mediumlarge-7">
47
47
  <div class="section">
48
- <p><%= decidim_sanitize_editor(simple_format(translated_attribute(election.description)), strip_tags: true) %></p>
48
+ <p><%= decidim_sanitize_editor_admin(translated_attribute(election.description)) %></p>
49
49
 
50
50
  <%= cell("decidim/elections/election_vote_cta", election) %>
51
51
 
@@ -11,7 +11,7 @@
11
11
  </div>
12
12
 
13
13
  <div class="row column">
14
- <%= form.translated :editor, :description, toolbar: :full, lines: 25 %>
14
+ <%= form.translated :editor, :description %>
15
15
  </div>
16
16
 
17
17
  <div class="row">
@@ -12,7 +12,7 @@
12
12
  method: :post,
13
13
  html: { class: "form new_census" }) do |form| %>
14
14
  <div class="field">
15
- <%= form.upload :file, optional: false, help_i18n_scope: "decidim.votings.census.admin.census.new.file_help" %>
15
+ <%= form.upload :file, required: true, help_i18n_scope: "decidim.votings.census.admin.census.new.file_help" %>
16
16
  </div>
17
17
 
18
18
  <%= submit_tag t("submit", scope: "decidim.votings.census.admin.census.new"), class: "button" %>
@@ -6,9 +6,21 @@ ar:
6
6
  description: الوصف
7
7
  election:
8
8
  description: الوصف
9
+ monitoring_committee_member:
10
+ name: الاسم
11
+ polling_officer:
12
+ name: الاسم
9
13
  decidim:
14
+ components:
15
+ elections:
16
+ name: الانتخابات
10
17
  elections:
11
18
  admin:
19
+ models:
20
+ answer:
21
+ name: الإجابة
22
+ question:
23
+ name: سؤال
12
24
  steps:
13
25
  tally_started:
14
26
  invalid: كانت هناك مشكلة في الإبلاغ عن الأمين المفقود
@@ -22,6 +34,10 @@ ar:
22
34
  results_title: النتائج
23
35
  results:
24
36
  percentage: "%{count}%"
37
+ models:
38
+ trustees_participatory_space:
39
+ fields:
40
+ name: الاسم
25
41
  trustee_zone:
26
42
  trustees:
27
43
  show:
@@ -29,9 +45,19 @@ ar:
29
45
  cancel: إلغاء
30
46
  votings:
31
47
  admin:
48
+ models:
49
+ monitoring_committee_member:
50
+ fields:
51
+ name: الاسم
52
+ polling_officer:
53
+ fields:
54
+ name: الاسم
32
55
  monitoring_committee_election_results:
33
56
  actions:
34
57
  title: الإجراءات
58
+ monitoring_committee_members:
59
+ actions:
60
+ destroy: حذف
35
61
  polling_officer_zone:
36
62
  closures:
37
63
  edit:
@@ -39,3 +65,16 @@ ar:
39
65
  close_modal: غلق
40
66
  sign:
41
67
  cancel: إلغاء
68
+ in_person_votes:
69
+ verify_document:
70
+ name: الاسم
71
+ polling_officers:
72
+ index:
73
+ polling_station:
74
+ name: الاسم
75
+ polling_officers:
76
+ actions:
77
+ destroy: حذف
78
+ polling_stations:
79
+ actions:
80
+ destroy: حذف
@@ -114,7 +114,6 @@ de:
114
114
  label: Überprüft
115
115
  values:
116
116
  'false': Überprüft
117
- 'true': Nicht überprüft
118
117
  components:
119
118
  elections:
120
119
  actions:
@@ -111,7 +111,6 @@ eu:
111
111
  label: Baliozkotuta
112
112
  values:
113
113
  'false': Baliozkotuta
114
- 'true': Baliozkotu gabe
115
114
  components:
116
115
  elections:
117
116
  actions:
@@ -653,7 +652,7 @@ eu:
653
652
  back: Atzera
654
653
  continue: Hurrengoa
655
654
  warnings:
656
- no_elections_warning: Ez dago bilaketa-irizpidearekin bat datorren topaketarik, edo ez dago ezein topaketarik programaturik.
655
+ no_elections_warning: Ez dago beren bilaketa-irizpideekin bat datorren hauteskunderik, edo ez dago hauteskunde programaturik.
657
656
  no_scheduled_elections_warning: Orain ez dago bozketa programaturik, baina aurrekoak ikus ditzakezu.
658
657
  events:
659
658
  elections:
@@ -0,0 +1 @@
1
+ fa:
@@ -750,7 +750,7 @@ fi:
750
750
  email_subject: Sinut on lisätty luottamushenkilöksi vaaliin %{resource_title}..
751
751
  notification_title: Olet luottamushenkilö vaalissa <a href="%{resource_path}">%{resource_title}</a>.
752
752
  new_trustee:
753
- email_intro: Hallinnointikäyttäjä on myöntänyt sinulle luottamushenkilön tehtävän kohteessa %{resource_name}. Sinun tulee luoda julkinen tunnistusavain <a href='%{trustee_zone_url}'>omalla luottamushenkilöiden alueellasi</a>
753
+ email_intro: Hallintakäyttäjä on myöntänyt sinulle luottamushenkilön tehtävän kohteessa %{resource_name}. Sinun tulee luoda julkinen tunnistusavain <a href='%{trustee_zone_url}'>omalla luottamushenkilöiden alueellasi</a>
754
754
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska sinulle on myönnettu luottamushenkilön tehtävä kohteessa %{resource_name}.
755
755
  email_subject: Olet luottamushenkilö kohteessa %{resource_name}.
756
756
  notification_title: Olet luottamushenkilö kohteessa <a href="%{participatory_space_url}">%{resource_name}</a>.
@@ -40,7 +40,7 @@ fr-CA:
40
40
  end_time: Le vote se termine
41
41
  introductory_image: Image d'introduction
42
42
  promoted: Mis en avant
43
- scope_id: Périmètre d'application
43
+ scope_id: Secteur
44
44
  show_check_census: Afficher la page "Vérifier le recensement"
45
45
  start_time: Le vote commence le
46
46
  title: Titre
@@ -40,7 +40,7 @@ fr:
40
40
  end_time: Le vote prend fin le
41
41
  introductory_image: Image d'introduction
42
42
  promoted: Mis en avant
43
- scope_id: Périmètre d'application
43
+ scope_id: Secteur
44
44
  show_check_census: Afficher la page "Vérifier le recensement"
45
45
  start_time: Le vote commence le
46
46
  title: Titre
@@ -43,7 +43,6 @@ gl:
43
43
  label: Validado
44
44
  values:
45
45
  'false': Validado
46
- 'true': Sen validar
47
46
  components:
48
47
  elections:
49
48
  actions:
@@ -87,7 +87,6 @@ hu:
87
87
  label: Érvényesített
88
88
  values:
89
89
  'false': Érvényesített
90
- 'true': Nem érvényesített
91
90
  components:
92
91
  elections:
93
92
  actions:
@@ -100,7 +100,6 @@ it:
100
100
  label: Convalidato
101
101
  values:
102
102
  'false': Convalidato
103
- 'true': Non convalidato
104
103
  components:
105
104
  elections:
106
105
  actions:
@@ -25,7 +25,7 @@ ja:
25
25
  location: 場所
26
26
  location_hints: 位置情報のヒント
27
27
  polling_station_managers: マネージャー
28
- polling_station_president_id: 投票管理者
28
+ polling_station_president_id: 投票責任者
29
29
  title: タイトル
30
30
  question:
31
31
  max_selections: 選択範囲の最大数
@@ -109,7 +109,7 @@ ja:
109
109
  label: ロール
110
110
  values:
111
111
  manager: マネージャー
112
- president: 投票管理者
112
+ president: 投票責任者
113
113
  unassigned: 未割り当て
114
114
  search_placeholder:
115
115
  name_or_email_or_nickname_or_presided_station_title_or_managed_station_title_cont: '%{collection} を名前/メールアドレス/ニックネーム/投票所で検索します。'
@@ -876,7 +876,7 @@ ja:
876
876
  fields:
877
877
  address: 住所
878
878
  polling_station_managers: マネージャー
879
- polling_station_president: 投票管理者
879
+ polling_station_president: 投票責任者
880
880
  title: タイトル
881
881
  name: 投票所
882
882
  voting:
@@ -1001,7 +1001,7 @@ ja:
1001
1001
  location_hints_help: '場所のヒント: 追加情報。例:投票所がある建物のフロア。'
1002
1002
  polling_station_managers_help: '投票所管理者: 投票所の管理を行う担当者。担当者がすでに投票委員として作成されていること、および他の投票所に割り当てられていないことを確認してください'
1003
1003
  polling_station_president_help: '投票所責任者:投票所の代表を務める担当者。 投票委員がすでに投票所に設置されていること、および他の投票所に割り当てられていないことを確認してください'
1004
- select_president: 投票所の投票管理者として投票委員を選択してください
1004
+ select_president: 投票所の投票責任者として投票委員を選択してください
1005
1005
  index:
1006
1006
  title: 投票所
1007
1007
  new:
@@ -1276,7 +1276,7 @@ ja:
1276
1276
  polling_officer_zone: 投票委員ゾーン
1277
1277
  polling_officers:
1278
1278
  index:
1279
- polling_officer_role_description: あなたは、このプラットフォームで行われるいくつかの選挙で、投票所の責任者(長またはマネージャー) として行動するように割り当てられています。
1279
+ polling_officer_role_description: あなたは、このプラットフォームで行われるいくつかの選挙で、投票所の責任者(またはマネージャー) として行動するように割り当てられています。
1280
1280
  polling_station:
1281
1281
  address: 住所
1282
1282
  count_votes: 投票数の集計
@@ -0,0 +1 @@
1
+ kaa:
@@ -133,7 +133,6 @@ lt:
133
133
  label: Patvirtinta
134
134
  values:
135
135
  'false': Patvirtinta
136
- 'true': Nepatvirtinta
137
136
  components:
138
137
  elections:
139
138
  actions:
@@ -91,7 +91,6 @@ nl:
91
91
  label: Gevalideerd
92
92
  values:
93
93
  'false': Gevalideerd
94
- 'true': Niet gevalideerd
95
94
  components:
96
95
  elections:
97
96
  actions:
@@ -100,7 +100,6 @@
100
100
  label: Godkjent
101
101
  values:
102
102
  'false': Godkjent
103
- 'true': Ikke godkjent
104
103
  components:
105
104
  elections:
106
105
  actions:
@@ -117,7 +117,6 @@ pl:
117
117
  label: Zweryfikowano
118
118
  values:
119
119
  'false': Zweryfikowano
120
- 'true': Nie zweryfikowano
121
120
  components:
122
121
  elections:
123
122
  actions:
@@ -100,7 +100,6 @@ pt-BR:
100
100
  label: Validado
101
101
  values:
102
102
  'false': Validado
103
- 'true': Não validado
104
103
  components:
105
104
  elections:
106
105
  actions:
@@ -100,7 +100,6 @@ pt:
100
100
  label: Validado
101
101
  values:
102
102
  'false': Validado
103
- 'true': Não validado
104
103
  components:
105
104
  elections:
106
105
  actions:
@@ -20,6 +20,7 @@ ro:
20
20
  title: Titlu
21
21
  voting:
22
22
  end_time: Votarea se încheie
23
+ scope_id: Domeniu de interes
23
24
  start_time: Votarea începe
24
25
  title: Titlu
25
26
  errors:
@@ -103,7 +104,6 @@ ro:
103
104
  label: Validat
104
105
  values:
105
106
  'false': Validat
106
- 'true': Nevalidat
107
107
  components:
108
108
  elections:
109
109
  actions:
@@ -103,7 +103,6 @@ sv:
103
103
  label: Bekräftad
104
104
  values:
105
105
  'false': Bekräftad
106
- 'true': Ej Validerad
107
106
  components:
108
107
  elections:
109
108
  actions: