decidim-elections 0.24.0.rc1 → 0.24.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/decidim/elections/elections/_filters_small_view.html.erb +1 -1
- data/app/views/decidim/votings/votings/_filters_small_view.html.erb +1 -1
- data/config/locales/ca.yml +615 -18
- data/config/locales/cs.yml +32 -28
- data/config/locales/de.yml +1 -0
- data/config/locales/el.yml +11 -0
- data/config/locales/es-MX.yml +635 -1
- data/config/locales/es-PY.yml +634 -0
- data/config/locales/es.yml +651 -17
- data/config/locales/fi-plain.yml +2 -1
- data/config/locales/fi.yml +20 -19
- data/config/locales/fr-CA.yml +10 -0
- data/config/locales/fr.yml +11 -1
- data/config/locales/gl.yml +44 -0
- data/config/locales/it.yml +12 -3
- data/config/locales/ja.yml +11 -0
- data/config/locales/lv.yml +11 -0
- data/config/locales/nl.yml +7 -2
- data/config/locales/no.yml +40 -0
- data/config/locales/pl.yml +87 -12
- data/config/locales/pt.yml +11 -0
- data/config/locales/ro-RO.yml +221 -0
- data/config/locales/sv.yml +256 -1
- data/config/locales/tr-TR.yml +8 -3
- data/config/locales/zh-CN.yml +11 -0
- data/db/migrate/20210310120708_add_followable_counter_cache_to_votings.rb +16 -0
- data/lib/decidim/elections/version.rb +1 -1
- metadata +15 -14
data/config/locales/sv.yml
CHANGED
@@ -15,6 +15,9 @@ sv:
|
|
15
15
|
description: Beskrivning
|
16
16
|
max_selections: Maximalt antal val
|
17
17
|
title: Titel
|
18
|
+
voting:
|
19
|
+
end_time: Omröstningen avslutas
|
20
|
+
start_time: Omröstningen börjar
|
18
21
|
errors:
|
19
22
|
models:
|
20
23
|
answer:
|
@@ -25,6 +28,10 @@ sv:
|
|
25
28
|
attributes:
|
26
29
|
attachment:
|
27
30
|
needs_to_be_reattached: Måste bifogas igen
|
31
|
+
trustee:
|
32
|
+
attributes:
|
33
|
+
name:
|
34
|
+
cant_be_changed: kan inte ändras
|
28
35
|
activerecord:
|
29
36
|
models:
|
30
37
|
decidim/elections/answer:
|
@@ -36,7 +43,23 @@ sv:
|
|
36
43
|
decidim/elections/question:
|
37
44
|
one: Fråga
|
38
45
|
other: Frågor
|
46
|
+
decidim/votings/voting:
|
47
|
+
one: Omröstning
|
48
|
+
other: Omröstningar
|
39
49
|
decidim:
|
50
|
+
admin:
|
51
|
+
filters:
|
52
|
+
officers_assigned_eq:
|
53
|
+
label: Handläggare
|
54
|
+
values:
|
55
|
+
assigned: Tilldelade
|
56
|
+
unassigned: Inte tilldelad
|
57
|
+
role_eq:
|
58
|
+
label: Roll
|
59
|
+
values:
|
60
|
+
manager: Koordinator
|
61
|
+
president: Ordförande
|
62
|
+
unassigned: Otilldelad
|
40
63
|
components:
|
41
64
|
elections:
|
42
65
|
actions:
|
@@ -108,6 +131,8 @@ sv:
|
|
108
131
|
name: Val
|
109
132
|
question:
|
110
133
|
name: Fråga
|
134
|
+
trustee:
|
135
|
+
name: Förvaltare
|
111
136
|
proposals_imports:
|
112
137
|
create:
|
113
138
|
invalid: Det gick inte att importera förslagen till svar
|
@@ -135,10 +160,32 @@ sv:
|
|
135
160
|
invalid: Det gick inte att uppdatera denna fråga
|
136
161
|
success: Frågan har uppdaterats
|
137
162
|
steps:
|
163
|
+
create_election:
|
164
|
+
not_used_trustee: "(används inte)"
|
165
|
+
created:
|
166
|
+
trustees: Förvaltare
|
167
|
+
key_ceremony:
|
168
|
+
trustees: Förvaltare
|
169
|
+
processing: Bearbetar...
|
170
|
+
tally:
|
171
|
+
trustees: Förvaltare
|
172
|
+
tally_ended:
|
173
|
+
submit: Publicera resultat
|
174
|
+
vote:
|
175
|
+
title: Röstningsperiod
|
138
176
|
vote_stats:
|
139
177
|
no_vote_statistics_yet: Ingen röstningsstatistik ännu
|
140
178
|
title: Röstningsstatistik
|
179
|
+
voters: Väjare
|
141
180
|
votes: Röster
|
181
|
+
trustees_participatory_spaces:
|
182
|
+
actions:
|
183
|
+
disable: Avaktivera
|
184
|
+
enable: Tillåt
|
185
|
+
form:
|
186
|
+
select_user: Välj användare
|
187
|
+
index:
|
188
|
+
title: Förvaltare
|
142
189
|
admin_log:
|
143
190
|
election:
|
144
191
|
publish: "%{user_name} publicerade valet %{resource_name}"
|
@@ -174,7 +221,12 @@ sv:
|
|
174
221
|
filter: Filter
|
175
222
|
filter_by: Filtrera efter
|
176
223
|
unfold: Veckla ut
|
224
|
+
results:
|
225
|
+
selected: Valda
|
177
226
|
show:
|
227
|
+
action-button:
|
228
|
+
vote: Starta omröstningen
|
229
|
+
vote-again: Rösta om
|
178
230
|
preview: Förhandsgranska
|
179
231
|
voting_period_status:
|
180
232
|
finished: Omröstningen började den %{start_time} och slutade den %{end_time}
|
@@ -194,10 +246,57 @@ sv:
|
|
194
246
|
answers: Svar
|
195
247
|
max_selections: Max. val
|
196
248
|
title: Titel
|
249
|
+
trustees_participatory_space:
|
250
|
+
fields:
|
251
|
+
considered: tillåten
|
252
|
+
email: E-post
|
253
|
+
inactive: inaktiv
|
254
|
+
name: Namn
|
255
|
+
public_key: Offentlig nyckel
|
256
|
+
status: Status
|
197
257
|
orders:
|
198
258
|
label: Sortera omröstningar efter
|
199
259
|
older: Äldre
|
200
260
|
recent: Senaste
|
261
|
+
trustee_zone:
|
262
|
+
elections:
|
263
|
+
backup_modal:
|
264
|
+
download_election_keys: Hämta nycklar
|
265
|
+
key_ceremony_steps:
|
266
|
+
back: Tillbaka
|
267
|
+
keys:
|
268
|
+
create_election: Nycklar generering
|
269
|
+
list:
|
270
|
+
status: Status
|
271
|
+
task: Uppgift
|
272
|
+
start: Start
|
273
|
+
status:
|
274
|
+
completed: Slutförd
|
275
|
+
pending: Avvaktande
|
276
|
+
processing: Bearbetar
|
277
|
+
tally_steps:
|
278
|
+
back: Tillbaka
|
279
|
+
list:
|
280
|
+
status: Status
|
281
|
+
task: Uppgift
|
282
|
+
start: Start
|
283
|
+
status:
|
284
|
+
completed: Slutförd
|
285
|
+
pending: Väntande
|
286
|
+
processing: Bearbetar
|
287
|
+
trustees:
|
288
|
+
show:
|
289
|
+
elections:
|
290
|
+
list:
|
291
|
+
action_required:
|
292
|
+
'false': 'Nej'
|
293
|
+
bb_status: Status
|
294
|
+
election: Val
|
295
|
+
voting_period: Röstningsperiod
|
296
|
+
title: Omröstningar
|
297
|
+
identification_keys:
|
298
|
+
cancel: Avbryt
|
299
|
+
submit: Skicka in
|
201
300
|
votes:
|
202
301
|
confirm:
|
203
302
|
answer: Svar
|
@@ -206,6 +305,7 @@ sv:
|
|
206
305
|
edit: redigera
|
207
306
|
header: Bekräfta din röst
|
208
307
|
intro: Här är en sammanfattning av den röst som du ska rösta. <br> Vänligen bekräfta din röst eller redigera dina svar.
|
308
|
+
nota_option: Tom
|
209
309
|
question: Fråga %{count}
|
210
310
|
confirmed:
|
211
311
|
back: Tillbaka till val
|
@@ -231,6 +331,10 @@ sv:
|
|
231
331
|
preview_alert: Detta är en förhandsvisning av röstlängden.
|
232
332
|
question_steps: Fråga %{current_step} av %{total_steps}
|
233
333
|
selections: "%{selected} av %{max_selections}<br> val"
|
334
|
+
verify:
|
335
|
+
form:
|
336
|
+
back: Tillbaka till Decidim
|
337
|
+
submit: Kontrollera
|
234
338
|
voting_step:
|
235
339
|
back: Tillbaka
|
236
340
|
continue: Nästa
|
@@ -244,10 +348,161 @@ sv:
|
|
244
348
|
email_outro: Du har fått det här meddelandet eftersom du följer %{participatory_space_title}. Du kan sluta ta emot meddelanden via föregående länk.
|
245
349
|
email_subject: Valet %{resource_title} är nu aktivt för %{participatory_space_title}.
|
246
350
|
notification_title: Valet <a href="%{resource_path}">%{resource_title}</a> är nu aktivt för %{participatory_space_title}.
|
351
|
+
menu:
|
352
|
+
votings: Omröstningar
|
353
|
+
pages:
|
354
|
+
home:
|
355
|
+
statistics:
|
356
|
+
elections_count: Val
|
247
357
|
participatory_processes:
|
248
358
|
statistics:
|
249
|
-
elections_count:
|
359
|
+
elections_count: Val
|
360
|
+
votings:
|
361
|
+
admin:
|
362
|
+
index:
|
363
|
+
not_published: Ej publicerade
|
364
|
+
published: Publicerad
|
365
|
+
landing_page:
|
366
|
+
content_blocks:
|
367
|
+
edit:
|
368
|
+
update: Uppdatera
|
369
|
+
menu:
|
370
|
+
votings: Omröstningar
|
371
|
+
votings_submenu:
|
372
|
+
attachment_collections: Mappar
|
373
|
+
attachment_files: Filer
|
374
|
+
attachments: Bilagor
|
375
|
+
components: Komponenter
|
376
|
+
info: Information
|
377
|
+
landing_page: Landningssida
|
378
|
+
models:
|
379
|
+
monitoring_committee_member:
|
380
|
+
fields:
|
381
|
+
email: E-post
|
382
|
+
name: Namn
|
383
|
+
polling_officer:
|
384
|
+
fields:
|
385
|
+
email: E-post
|
386
|
+
name: Namn
|
387
|
+
polling_station:
|
388
|
+
fields:
|
389
|
+
address: Adress
|
390
|
+
polling_station_managers: Koordinatorer
|
391
|
+
polling_station_president: Ordförande
|
392
|
+
title: Titel
|
393
|
+
voting:
|
394
|
+
fields:
|
395
|
+
created_at: Skapad den
|
396
|
+
promoted: Uppmärksammad
|
397
|
+
published: Publicerad
|
398
|
+
title: Titel
|
399
|
+
monitoring_committee_members:
|
400
|
+
new:
|
401
|
+
create: Skapa
|
402
|
+
polling_officers:
|
403
|
+
index:
|
404
|
+
role_manager: chef
|
405
|
+
role_president: ordförande
|
406
|
+
new:
|
407
|
+
create: Skapa
|
408
|
+
polling_officers_picker:
|
409
|
+
close: Stäng
|
410
|
+
polling_stations:
|
411
|
+
new:
|
412
|
+
create: Skapa
|
413
|
+
titles:
|
414
|
+
votings: Omröstningar
|
415
|
+
votings:
|
416
|
+
actions:
|
417
|
+
confirm_destroy: Är du säker?
|
418
|
+
destroy: Ta bort
|
419
|
+
publish: Publicera
|
420
|
+
unpublish: Avpublicera
|
421
|
+
edit:
|
422
|
+
update: Uppdatera
|
423
|
+
form:
|
424
|
+
title: Titel
|
425
|
+
voting_type:
|
426
|
+
hybrid: Hybrid
|
427
|
+
in_person: Fysisk
|
428
|
+
online: Online
|
429
|
+
new:
|
430
|
+
create: Skapa
|
431
|
+
title: Ny omröstning
|
432
|
+
monitoring_committee_members:
|
433
|
+
actions:
|
434
|
+
destroy: Radera
|
435
|
+
new: Ny medlem
|
436
|
+
title: Åtgärder
|
437
|
+
pages:
|
438
|
+
home:
|
439
|
+
highlighted_votings:
|
440
|
+
see_all_votings: Se alla omröstningar
|
441
|
+
polling_officer_zone:
|
442
|
+
polling_officers:
|
443
|
+
show:
|
444
|
+
polling_stations:
|
445
|
+
list:
|
446
|
+
actions: Åtgärder
|
447
|
+
address: Adress
|
448
|
+
name: Namn
|
449
|
+
role: Din roll
|
450
|
+
voting: Omröstning
|
451
|
+
polling_officers:
|
452
|
+
actions:
|
453
|
+
destroy: Radera
|
454
|
+
new: Ny
|
455
|
+
title: Åtgärder
|
456
|
+
roles:
|
457
|
+
manager: Koordinator
|
458
|
+
president: Ordförande
|
459
|
+
unassigned: Otilldelad
|
460
|
+
polling_stations:
|
461
|
+
actions:
|
462
|
+
confirm_destroy: Är du säker?
|
463
|
+
destroy: Radera
|
464
|
+
edit: Redigera
|
465
|
+
new: Ny
|
466
|
+
title: Åtgärder
|
467
|
+
votings:
|
468
|
+
filters:
|
469
|
+
active: Aktiva
|
470
|
+
all: Alla
|
471
|
+
finished: Avslutade
|
472
|
+
search: Sök
|
473
|
+
state: Status
|
474
|
+
upcoming: Kommande
|
475
|
+
filters_small_view:
|
476
|
+
close_modal: Stäng fönster
|
477
|
+
filter: Filtrera
|
478
|
+
filter_by: Filtrera efter
|
479
|
+
unfold: Veckla ut
|
480
|
+
index:
|
481
|
+
title: Omröstningar
|
482
|
+
orders:
|
483
|
+
random: Slumpmässig
|
484
|
+
recent: Senaste
|
485
|
+
show:
|
486
|
+
dates: Datum
|
487
|
+
votings_m:
|
488
|
+
badge_name:
|
489
|
+
finished: Avslutade
|
490
|
+
ongoing: Pågående
|
491
|
+
upcoming: Kommande
|
492
|
+
footer_button_text:
|
493
|
+
participate: Delta
|
494
|
+
view: Visa
|
495
|
+
vote: Rösta
|
496
|
+
unspecified: Ej angivet
|
497
|
+
voting_type:
|
498
|
+
hybrid: Hybrid
|
499
|
+
in_person: Fysisk
|
500
|
+
online: Online
|
250
501
|
layouts:
|
251
502
|
decidim:
|
252
503
|
election_votes_header:
|
253
504
|
exit: Avsluta
|
505
|
+
votings:
|
506
|
+
promoted_voting:
|
507
|
+
more_info: Mer information
|
508
|
+
vote: Omröstning
|
data/config/locales/tr-TR.yml
CHANGED
@@ -220,9 +220,6 @@ tr:
|
|
220
220
|
description: Bunlar, her soru için oylamanın sonuçlarıdır
|
221
221
|
selected: Seçili
|
222
222
|
title: Seçim sonuçları
|
223
|
-
votes:
|
224
|
-
one: "%{count} oy"
|
225
|
-
other: "%{count} oy"
|
226
223
|
show:
|
227
224
|
back: Mevcut seçimler
|
228
225
|
preview: Önizleme
|
@@ -364,6 +361,14 @@ tr:
|
|
364
361
|
participatory_processes:
|
365
362
|
statistics:
|
366
363
|
elections_count: Seçimler
|
364
|
+
votings:
|
365
|
+
polling_officer_zone:
|
366
|
+
polling_officers:
|
367
|
+
show:
|
368
|
+
polling_stations:
|
369
|
+
list:
|
370
|
+
actions: Eylemler
|
371
|
+
name: Adı
|
367
372
|
layouts:
|
368
373
|
decidim:
|
369
374
|
election_votes_header:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -239,9 +239,20 @@ zh-CN:
|
|
239
239
|
email_outro: 您收到此通知是因为您正在关注 %{participatory_space_title}。您可以停止收到跟随上一个链接的通知。
|
240
240
|
email_subject: '%{resource_title} 的选举现在对 %{participatory_space_title} 生效。'
|
241
241
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> 选区现已启用 %{participatory_space_title}。
|
242
|
+
pages:
|
243
|
+
home:
|
244
|
+
statistics:
|
245
|
+
elections_count: 选举
|
242
246
|
participatory_processes:
|
243
247
|
statistics:
|
244
248
|
elections_count: 选举
|
249
|
+
votings:
|
250
|
+
polling_officer_zone:
|
251
|
+
polling_officers:
|
252
|
+
show:
|
253
|
+
polling_stations:
|
254
|
+
list:
|
255
|
+
actions: 行动
|
245
256
|
layouts:
|
246
257
|
decidim:
|
247
258
|
election_votes_header:
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class AddFollowableCounterCacheToVotings < ActiveRecord::Migration[5.2]
|
4
|
+
def change
|
5
|
+
add_column :decidim_votings_votings, :follows_count, :integer, null: false, default: 0, index: true
|
6
|
+
|
7
|
+
reversible do |dir|
|
8
|
+
dir.up do
|
9
|
+
Decidim::Votings::Voting.reset_column_information
|
10
|
+
Decidim::Votings::Voting.find_each do |record|
|
11
|
+
record.class.reset_counters(record.id, :follows)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
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.24.
|
4
|
+
version: 0.24.3
|
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: 2021-
|
12
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: decidim-bulletin_board
|
@@ -31,70 +31,70 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.24.
|
34
|
+
version: 0.24.3
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.24.
|
41
|
+
version: 0.24.3
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: decidim-forms
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 0.24.
|
48
|
+
version: 0.24.3
|
49
49
|
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.24.
|
55
|
+
version: 0.24.3
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: decidim-proposals
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.24.
|
62
|
+
version: 0.24.3
|
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.24.
|
69
|
+
version: 0.24.3
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: decidim-admin
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.24.
|
76
|
+
version: 0.24.3
|
77
77
|
type: :development
|
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.24.
|
83
|
+
version: 0.24.3
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
85
|
name: decidim-dev
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.24.
|
90
|
+
version: 0.24.3
|
91
91
|
type: :development
|
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.24.
|
97
|
+
version: 0.24.3
|
98
98
|
description: The Elections module adds elections to any participatory space.
|
99
99
|
email:
|
100
100
|
- leo@codegram.com
|
@@ -494,6 +494,7 @@ files:
|
|
494
494
|
- db/migrate/20210208090441_add_polling_officers_to_votings.rb
|
495
495
|
- db/migrate/20210210090738_add_votings_polling_station_references_to_votings_polling_officer.rb
|
496
496
|
- db/migrate/20210216074707_add_monitoring_committee_member.rb
|
497
|
+
- db/migrate/20210310120708_add_followable_counter_cache_to_votings.rb
|
497
498
|
- db/seeds/city.jpeg
|
498
499
|
- lib/decidim/api/election_answer_type.rb
|
499
500
|
- lib/decidim/api/election_question_type.rb
|
@@ -541,9 +542,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
541
542
|
version: '2.7'
|
542
543
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
543
544
|
requirements:
|
544
|
-
- - "
|
545
|
+
- - ">="
|
545
546
|
- !ruby/object:Gem::Version
|
546
|
-
version:
|
547
|
+
version: '0'
|
547
548
|
requirements: []
|
548
549
|
rubygems_version: 3.1.2
|
549
550
|
signing_key:
|