decidim-initiatives 0.26.7 → 0.26.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/initiatives/admin/committee_requests_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/exports_controller.rb +14 -0
- data/app/controllers/decidim/initiatives/admin/initiatives_type_scopes_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/committee_requests_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/create_initiative_controller.rb +2 -2
- data/app/controllers/decidim/initiatives/initiatives_type_scopes_controller.rb +1 -1
- data/app/controllers/decidim/initiatives/initiatives_type_signature_types_controller.rb +1 -1
- data/app/permissions/decidim/initiatives/admin/permissions.rb +1 -0
- data/app/views/decidim/initiatives/admin/initiatives/edit.html.erb +2 -0
- data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +1 -0
- data/app/views/decidim/initiatives/admin/initiatives_type_scopes/edit.html.erb +1 -0
- data/app/views/decidim/initiatives/admin/initiatives_type_scopes/new.html.erb +1 -0
- data/app/views/decidim/initiatives/admin/initiatives_types/edit.html.erb +1 -0
- data/app/views/decidim/initiatives/admin/initiatives_types/index.html.erb +2 -0
- data/app/views/decidim/initiatives/admin/initiatives_types/new.html.erb +1 -0
- data/config/environment.rb +0 -0
- data/config/locales/ar.yml +4 -5
- data/config/locales/ca.yml +5 -5
- data/config/locales/cs.yml +2 -2
- data/config/locales/de.yml +18 -3
- data/config/locales/el.yml +5 -5
- data/config/locales/es-MX.yml +2 -2
- data/config/locales/es-PY.yml +2 -2
- data/config/locales/es.yml +4 -4
- data/config/locales/eu.yml +1 -6
- data/config/locales/fi-plain.yml +2 -2
- data/config/locales/fi.yml +2 -2
- data/config/locales/fr-CA.yml +2 -7
- data/config/locales/fr.yml +2 -7
- data/config/locales/gl.yml +3 -5
- data/config/locales/hu.yml +13 -6
- data/config/locales/id-ID.yml +4 -5
- data/config/locales/is-IS.yml +3 -5
- data/config/locales/it.yml +2 -7
- data/config/locales/ja.yml +3 -3
- data/config/locales/lb.yml +1 -13
- data/config/locales/lt.yml +0 -5
- data/config/locales/lv.yml +5 -5
- data/config/locales/nl.yml +4 -5
- data/config/locales/no.yml +1 -6
- data/config/locales/pl.yml +0 -5
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt.yml +0 -5
- data/config/locales/ro-RO.yml +3 -8
- data/config/locales/ru.yml +5 -5
- data/config/locales/sk.yml +4 -5
- data/config/locales/sv.yml +1 -6
- data/config/locales/tr-TR.yml +1 -6
- data/config/locales/uk.yml +5 -5
- data/config/locales/zh-CN.yml +5 -5
- data/config/locales/zh-TW.yml +0 -5
- data/db/migrate/20181003082010_fix_user_groups_ids_on_initiatives.rb +18 -3
- data/lib/decidim/initiatives/engine.rb +1 -1
- data/lib/decidim/initiatives/version.rb +1 -1
- metadata +16 -14
data/config/locales/id-ID.yml
CHANGED
@@ -275,6 +275,8 @@ id:
|
|
275
275
|
email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{author_nickname}. Anda dapat berhenti menerima notifikasi mengikuti tautan sebelumnya.
|
276
276
|
email_subject: Inisiatif yang didukung oleh %{author_nickname}
|
277
277
|
notification_title: Prakarsa <a href="%{resource_path}">%{resource_title}</a> didukung oleh <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
|
278
|
+
form:
|
279
|
+
delete_attachment: Menghapus
|
278
280
|
index:
|
279
281
|
title: Inisiatif
|
280
282
|
initiative_signatures:
|
@@ -310,6 +312,8 @@ id:
|
|
310
312
|
author_list:
|
311
313
|
hidden_authors_count:
|
312
314
|
other: dan %{count} lebih banyak orang
|
315
|
+
committee_members:
|
316
|
+
revoke: Mencabut
|
313
317
|
count:
|
314
318
|
title:
|
315
319
|
other: "%{count} inisiatif"
|
@@ -369,11 +373,6 @@ id:
|
|
369
373
|
status_change_for: Inisiatif %{title} telah mengubah keadaannya
|
370
374
|
last_activity:
|
371
375
|
new_initiative: Inisiatif baru
|
372
|
-
pages:
|
373
|
-
home:
|
374
|
-
highlighted_initiatives:
|
375
|
-
active_initiatives: Inisiatif aktif
|
376
|
-
see_all_initiatives: Lihat semua inisiatif
|
377
376
|
states:
|
378
377
|
accepted: Diterima
|
379
378
|
expired: Kadaluarsa
|
data/config/locales/is-IS.yml
CHANGED
@@ -170,6 +170,8 @@ is-IS:
|
|
170
170
|
initiatives:
|
171
171
|
author:
|
172
172
|
deleted: Eytt
|
173
|
+
committee_members:
|
174
|
+
revoke: Afturkalla
|
173
175
|
count:
|
174
176
|
title:
|
175
177
|
one: "%{count} frumkvæði"
|
@@ -207,11 +209,6 @@ is-IS:
|
|
207
209
|
more_information: Hér hefur þú meiri upplýsingar um frumkvöðlunarferlið.
|
208
210
|
last_activity:
|
209
211
|
new_initiative: Nýtt frumkvæði
|
210
|
-
pages:
|
211
|
-
home:
|
212
|
-
highlighted_initiatives:
|
213
|
-
active_initiatives: Virk verkefni
|
214
|
-
see_all_initiatives: Sjá öll verkefni
|
215
212
|
states:
|
216
213
|
accepted: Samþykkt
|
217
214
|
expired: Útrunnið
|
@@ -220,6 +217,7 @@ is-IS:
|
|
220
217
|
layouts:
|
221
218
|
decidim:
|
222
219
|
initiative_creation_header:
|
220
|
+
back: Til baka
|
223
221
|
fill_data: Búa til
|
224
222
|
finish: Klára
|
225
223
|
previous_form: Byrja
|
data/config/locales/it.yml
CHANGED
@@ -400,7 +400,7 @@ it:
|
|
400
400
|
notification_title: <a href="%{applicant_profile_url}">%{applicant_nickname}</a> ha fatto domanda per il comitato promoter della tua iniziativa <a href="%{resource_url}">%{resource_title}</a>. Per accettare o rifiutare clicca <a href="%{resource_url}/edit">qui</a>.
|
401
401
|
form:
|
402
402
|
add_attachments: Documenti
|
403
|
-
delete_attachment:
|
403
|
+
delete_attachment: Elimina
|
404
404
|
index:
|
405
405
|
title: Iniziative
|
406
406
|
initiative_signatures:
|
@@ -442,7 +442,7 @@ it:
|
|
442
442
|
confirm_revoke: Sei sicuro?
|
443
443
|
invite_to_committee_help: Condividi questo link per invitare altri utenti al comitato di promozione
|
444
444
|
no_members_yet: Non vi sono membri nel comitato promotore
|
445
|
-
revoke:
|
445
|
+
revoke: Revocare
|
446
446
|
title: Membri del comitato
|
447
447
|
count:
|
448
448
|
title:
|
@@ -544,11 +544,6 @@ it:
|
|
544
544
|
status_change_for: L'iniziativa %{title} ha cambiato il suo stato
|
545
545
|
last_activity:
|
546
546
|
new_initiative: Nuova iniziativa
|
547
|
-
pages:
|
548
|
-
home:
|
549
|
-
highlighted_initiatives:
|
550
|
-
active_initiatives: Iniziative attive
|
551
|
-
see_all_initiatives: Vedi tutte le iniziative
|
552
547
|
show:
|
553
548
|
badge_name:
|
554
549
|
accepted: Firme sufficienti
|
data/config/locales/ja.yml
CHANGED
@@ -14,7 +14,7 @@ ja:
|
|
14
14
|
scope_id: スコープ
|
15
15
|
signature_end_date: 署名の収集期間の終了
|
16
16
|
signature_start_date: 署名の収集期間の開始
|
17
|
-
signature_type:
|
17
|
+
signature_type: 署名の収集種別
|
18
18
|
signature_type_values:
|
19
19
|
any: ハイブリッド
|
20
20
|
offline: 対面
|
@@ -560,8 +560,8 @@ ja:
|
|
560
560
|
pages:
|
561
561
|
home:
|
562
562
|
highlighted_initiatives:
|
563
|
-
active_initiatives:
|
564
|
-
see_all_initiatives:
|
563
|
+
active_initiatives: 活動中のイニシアチブ
|
564
|
+
see_all_initiatives: すべてのイニシアチブを表示
|
565
565
|
show:
|
566
566
|
badge_name:
|
567
567
|
accepted: 十分な署名
|
data/config/locales/lb.yml
CHANGED
@@ -277,7 +277,6 @@ lb:
|
|
277
277
|
help: Woraus besteht die Initiative? Schreiben Sie den Titel und die Beschreibung auf. Wir empfehlen einen kurzen und prägnanten Titel und eine Beschreibung der vorgeschlagenen Lösung.
|
278
278
|
more_information: "(Weitere Informationen)"
|
279
279
|
promotal_committee:
|
280
|
-
back: Zréck
|
281
280
|
individual_help_text: Diese Art der Bürgerinitiative erfordert einen Ausschuss der Initiatoren, der aus mindestens %{committee_size} Personen (Zeugen) besteht. Sie müssen den folgenden Link mit den anderen Personen teilen, die an dieser Initiative beteiligt sind. Wenn Ihre Kontakte diesen Link erhalten, müssen sie die angegebenen Schritte befolgen.
|
282
281
|
more_information: "(Weitere Informationen)"
|
283
282
|
select_initiative_type:
|
@@ -287,10 +286,9 @@ lb:
|
|
287
286
|
select: Ich möchte diese Initiative fördern
|
288
287
|
select_initiative_type_help: Bürgerinitiativen sind ein Mittel, mit dem die Bürger eingreifen können, damit die Organisation Maßnahmen zur Verteidigung des Allgemeininteresses ergreifen kann, die in den Zuständigkeitsbereich der Stadtverwaltung fallen. Welche Initiative möchten Sie starten?
|
289
288
|
share_committee_link:
|
290
|
-
continue:
|
289
|
+
continue: Fortsetzen
|
291
290
|
invite_to_committee_help: Link, um Leute einzuladen, die Teil des Promoter-Komitees sein werden
|
292
291
|
show_similar_initiatives:
|
293
|
-
back: Zréck
|
294
292
|
compare_help: Wenn eine der folgenden Initiativen Ihrer ähnelt, empfehlen wir Ihnen, sie zu unterstützen. Ihr Vorschlag wird mehr Möglichkeiten haben, erledigt zu werden.
|
295
293
|
continue: Meine Initiative ist anders
|
296
294
|
more_information: "(Weitere Informationen)"
|
@@ -330,9 +328,6 @@ lb:
|
|
330
328
|
email_outro: 'Sie haben diese Benachrichtigung erhalten, weil Sie der Autor der Initiative %{resource_title} sind'
|
331
329
|
email_subject: "%{applicant_nickname} möchte Ihrer Initiative beitreten"
|
332
330
|
notification_title: <a href="%{applicant_profile_url}">%{applicant_nickname}</a> hat sich für das Promoter-Komittee Ihrer Initiative <a href="%{resource_url}">%{resource_title}</a> beworben. Um anzunehmen oder abzulehnen, klicken Sie <a href="%{resource_url}/edit">hier</a>.
|
333
|
-
form:
|
334
|
-
add_attachments: Dokumente
|
335
|
-
delete_attachment: Löschen
|
336
331
|
index:
|
337
332
|
title: Initiativen
|
338
333
|
initiative_signatures:
|
@@ -374,7 +369,6 @@ lb:
|
|
374
369
|
confirm_revoke: Bist du dir sicher?
|
375
370
|
invite_to_committee_help: Teilen Sie diesen Link, um andere Benutzer zum Promotionskomitee einzuladen
|
376
371
|
no_members_yet: Es gibt keine Mitglieder im Promoter-Ausschuss
|
377
|
-
revoke: Widerrufen
|
378
372
|
title: Ausschussmitglieder
|
379
373
|
count:
|
380
374
|
title:
|
@@ -415,11 +409,6 @@ lb:
|
|
415
409
|
city: Uertschaft
|
416
410
|
last_activity:
|
417
411
|
new_initiative: Neue Initiative
|
418
|
-
pages:
|
419
|
-
home:
|
420
|
-
highlighted_initiatives:
|
421
|
-
active_initiatives: Aktive Initiativen
|
422
|
-
see_all_initiatives: Sehen Sie alle Initiativen
|
423
412
|
show:
|
424
413
|
badge_name:
|
425
414
|
accepted: Ausreichend Unterschriften
|
@@ -451,7 +440,6 @@ lb:
|
|
451
440
|
layouts:
|
452
441
|
decidim:
|
453
442
|
initiative_creation_header:
|
454
|
-
back: Zurück
|
455
443
|
fill_data: Erstellen
|
456
444
|
finish: Fertig
|
457
445
|
previous_form: Anfang
|
data/config/locales/lt.yml
CHANGED
@@ -562,11 +562,6 @@ lt:
|
|
562
562
|
status_change_for: Iniciatyvos %{title} būsena pasikeitė
|
563
563
|
last_activity:
|
564
564
|
new_initiative: Nauja iniciatyva
|
565
|
-
pages:
|
566
|
-
home:
|
567
|
-
highlighted_initiatives:
|
568
|
-
active_initiatives: Aktyvios iniciatyvos
|
569
|
-
see_all_initiatives: Žiūrėti visas iniciatyvas
|
570
565
|
show:
|
571
566
|
badge_name:
|
572
567
|
accepted: Parašų užtenka
|
data/config/locales/lv.yml
CHANGED
@@ -321,6 +321,9 @@ lv:
|
|
321
321
|
email_outro: Jūs saņēmāt šo paziņojumu, jo sekojat %{author_nickname}. Jūs varat atteikties no paziņojumu saņemšanas, sekojot iepriekšējai saitei.
|
322
322
|
email_subject: Iniciatīvu atbalstīja %{author_nickname}
|
323
323
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> iniciatīvu atbalstīja <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
|
324
|
+
form:
|
325
|
+
add_attachments: Dokumenti
|
326
|
+
delete_attachment: Dzēst
|
324
327
|
index:
|
325
328
|
title: Iniciatīvas
|
326
329
|
initiative_signatures:
|
@@ -358,6 +361,8 @@ lv:
|
|
358
361
|
zero: un vēl %{count} personas
|
359
362
|
one: un vēl 1 persona
|
360
363
|
other: un vēl %{count} personas
|
364
|
+
committee_members:
|
365
|
+
revoke: Atsaukt
|
361
366
|
count:
|
362
367
|
title:
|
363
368
|
zero: "%{count} iniciatīvas"
|
@@ -424,11 +429,6 @@ lv:
|
|
424
429
|
status_change_for: Iniciatīvas %{title} statuss ir mainīts
|
425
430
|
last_activity:
|
426
431
|
new_initiative: Jauna iniciatīva
|
427
|
-
pages:
|
428
|
-
home:
|
429
|
-
highlighted_initiatives:
|
430
|
-
active_initiatives: Aktīvās iniciatīvas
|
431
|
-
see_all_initiatives: Skatīt visas iniciatīvas
|
432
432
|
show:
|
433
433
|
badge_name:
|
434
434
|
accepted: Pietiekami daudz parakstu
|
data/config/locales/nl.yml
CHANGED
@@ -354,7 +354,9 @@ nl:
|
|
354
354
|
email_subject: "%{applicant_nickname} wil deelnemen aan je initiatief"
|
355
355
|
notification_title: <a href="%{applicant_profile_url}">%{applicant_nickname}</a> wil graag deel uitmaken van de promotiecommissie voor jouw initiatief <a href="%{resource_url}">%{resource_title}</a>. Om te accepteren of te weigeren, klik <a href="%{resource_url}/edit">hier</a>.
|
356
356
|
form:
|
357
|
+
add_attachments: Documenten
|
357
358
|
attachment_legend: "(Optioneel) Voeg een bijlage toe"
|
359
|
+
delete_attachment: Verwijder
|
358
360
|
index:
|
359
361
|
title: Initiatieven
|
360
362
|
initiative_signatures:
|
@@ -391,6 +393,8 @@ nl:
|
|
391
393
|
hidden_authors_count:
|
392
394
|
one: en nog 1 persoon
|
393
395
|
other: en nog %{count} mensen
|
396
|
+
committee_members:
|
397
|
+
revoke: Intrekken
|
394
398
|
count:
|
395
399
|
title:
|
396
400
|
one: "%{count} initiatief"
|
@@ -465,11 +469,6 @@ nl:
|
|
465
469
|
status_change_for: Het initiatief %{title} is van status veranderd
|
466
470
|
last_activity:
|
467
471
|
new_initiative: Nieuw initiatief
|
468
|
-
pages:
|
469
|
-
home:
|
470
|
-
highlighted_initiatives:
|
471
|
-
active_initiatives: Actieve initiatieven
|
472
|
-
see_all_initiatives: Bekijk alle initiatieven
|
473
472
|
show:
|
474
473
|
badge_name:
|
475
474
|
accepted: Genoeg handtekeningen
|
data/config/locales/no.yml
CHANGED
@@ -436,7 +436,7 @@
|
|
436
436
|
confirm_revoke: Er du sikker?
|
437
437
|
invite_to_committee_help: Del denne lenken for å invitere andre deltakere til promotørutvalget
|
438
438
|
no_members_yet: Det er ingen medlemmer i promotørkomiteen
|
439
|
-
revoke:
|
439
|
+
revoke: Tilbakekalle
|
440
440
|
title: Utvalgets medlemmer
|
441
441
|
count:
|
442
442
|
title:
|
@@ -538,11 +538,6 @@
|
|
538
538
|
status_change_for: Initiativet %{title} har endret sin status
|
539
539
|
last_activity:
|
540
540
|
new_initiative: Nytt initiativ
|
541
|
-
pages:
|
542
|
-
home:
|
543
|
-
highlighted_initiatives:
|
544
|
-
active_initiatives: Aktive initiativer
|
545
|
-
see_all_initiatives: Se alle initiativer
|
546
541
|
show:
|
547
542
|
badge_name:
|
548
543
|
accepted: Nok signaturer
|
data/config/locales/pl.yml
CHANGED
@@ -559,11 +559,6 @@ pl:
|
|
559
559
|
status_change_for: Inicjatywa %{title} zmieniła swój status
|
560
560
|
last_activity:
|
561
561
|
new_initiative: Nowa inicjatywa
|
562
|
-
pages:
|
563
|
-
home:
|
564
|
-
highlighted_initiatives:
|
565
|
-
active_initiatives: Aktualne inicjatywy
|
566
|
-
see_all_initiatives: Zobacz wszystkie inicjatywy
|
567
562
|
show:
|
568
563
|
badge_name:
|
569
564
|
accepted: Wystarczająca liczba podpisów
|
data/config/locales/pt-BR.yml
CHANGED
@@ -548,7 +548,7 @@ pt-BR:
|
|
548
548
|
home:
|
549
549
|
highlighted_initiatives:
|
550
550
|
active_initiatives: Iniciativas ativas
|
551
|
-
see_all_initiatives:
|
551
|
+
see_all_initiatives: Ver todas as iniciativas
|
552
552
|
show:
|
553
553
|
badge_name:
|
554
554
|
accepted: Assinaturas suficientes
|
@@ -577,7 +577,7 @@ pt-BR:
|
|
577
577
|
layouts:
|
578
578
|
decidim:
|
579
579
|
initiative_creation_header:
|
580
|
-
back:
|
580
|
+
back: Costas
|
581
581
|
fill_data: Criar
|
582
582
|
finish: Finalizar
|
583
583
|
previous_form: Começar
|
data/config/locales/pt.yml
CHANGED
@@ -544,11 +544,6 @@ pt:
|
|
544
544
|
status_change_for: A iniciativa %{title} mudou o seu estado
|
545
545
|
last_activity:
|
546
546
|
new_initiative: Nova iniciativa
|
547
|
-
pages:
|
548
|
-
home:
|
549
|
-
highlighted_initiatives:
|
550
|
-
active_initiatives: Iniciativas ativas
|
551
|
-
see_all_initiatives: Ver todas as iniciativas
|
552
547
|
show:
|
553
548
|
badge_name:
|
554
549
|
accepted: Assinaturas suficientes
|
data/config/locales/ro-RO.yml
CHANGED
@@ -354,7 +354,7 @@ ro:
|
|
354
354
|
back: Înapoi
|
355
355
|
continue: Continuă
|
356
356
|
help: În ce constă inițiativa? Scrie titlul și descrierea. Recomandăm un titlu scurt și concis și o descriere axată pe soluția propusă.
|
357
|
-
more_information: "(
|
357
|
+
more_information: "(Informaţii principale)"
|
358
358
|
promotal_committee:
|
359
359
|
back: Înapoi
|
360
360
|
individual_help_text: Acest tip de inițiativă necesită o Comisie de promovare formată din cel puțin %{committee_size} de persoane (atestatori). Trebuie să diseminezi următorul link cu celelalte persoane care fac parte din această inițiativă. Când persoanele de contact primesc acest link vor trebui să urmeze pașii indicați.
|
@@ -362,7 +362,7 @@ ro:
|
|
362
362
|
select_initiative_type:
|
363
363
|
back: Înapoi
|
364
364
|
choose_html: Vreau să creez un <strong>%{title}</strong>
|
365
|
-
more_information: "(
|
365
|
+
more_information: "(Informaţii principale)"
|
366
366
|
select: Doresc să promovez această iniţiativă
|
367
367
|
select_initiative_type_help: Inițiativele reprezintă un mijloc prin care participanții pot interveni astfel încât organizația să poată întreprinde acțiuni de apărare a interesului general. Ce inițiativă dorești să lansezi?
|
368
368
|
share_committee_link:
|
@@ -412,7 +412,7 @@ ro:
|
|
412
412
|
form:
|
413
413
|
add_attachments: Documente
|
414
414
|
attachment_legend: "(Opțional) Adaugă un atașament"
|
415
|
-
delete_attachment:
|
415
|
+
delete_attachment: Ștergere
|
416
416
|
index:
|
417
417
|
title: Inițiative
|
418
418
|
initiative_signatures:
|
@@ -561,11 +561,6 @@ ro:
|
|
561
561
|
status_change_for: Inițiativa %{title} și-a schimbat statutul
|
562
562
|
last_activity:
|
563
563
|
new_initiative: Inițiativă nouă
|
564
|
-
pages:
|
565
|
-
home:
|
566
|
-
highlighted_initiatives:
|
567
|
-
active_initiatives: Inițiative active
|
568
|
-
see_all_initiatives: Vezi toate inițiativele
|
569
564
|
show:
|
570
565
|
badge_name:
|
571
566
|
accepted: Semnături suficiente
|
data/config/locales/ru.yml
CHANGED
@@ -215,6 +215,8 @@ ru:
|
|
215
215
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{author_nickname}». Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
|
216
216
|
email_subject: Инициатива поддержана %{author_nickname}
|
217
217
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> поддержал почин <a href="%{resource_path}">%{resource_title}</a>.
|
218
|
+
form:
|
219
|
+
delete_attachment: Удалить
|
218
220
|
index:
|
219
221
|
title: Почины
|
220
222
|
initiative_votes:
|
@@ -229,6 +231,8 @@ ru:
|
|
229
231
|
few: и еще %{count} людей
|
230
232
|
many: и еще %{count} человек
|
231
233
|
other: и еще %{count} человек
|
234
|
+
committee_members:
|
235
|
+
revoke: Отозвать
|
232
236
|
count:
|
233
237
|
title:
|
234
238
|
one: "%{count} почин"
|
@@ -288,11 +292,6 @@ ru:
|
|
288
292
|
status_change_for: Состояние почина %{title} изменилось
|
289
293
|
last_activity:
|
290
294
|
new_initiative: Добавить почин
|
291
|
-
pages:
|
292
|
-
home:
|
293
|
-
highlighted_initiatives:
|
294
|
-
active_initiatives: Действующие почины
|
295
|
-
see_all_initiatives: Просмотреть все инициативы
|
296
295
|
states:
|
297
296
|
accepted: Принятые
|
298
297
|
expired: Истекшие
|
@@ -301,6 +300,7 @@ ru:
|
|
301
300
|
layouts:
|
302
301
|
decidim:
|
303
302
|
initiative_creation_header:
|
303
|
+
back: Вернуться
|
304
304
|
fill_data: Создать
|
305
305
|
finish: Закончить
|
306
306
|
previous_form: Начать
|
data/config/locales/sk.yml
CHANGED
@@ -262,6 +262,8 @@ sk:
|
|
262
262
|
email_outro: Toto oznámenie ste dostali, pretože sledujete %{author_nickname}. Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
|
263
263
|
email_subject: Iniciatíva bola schválená od%{author_nickname}
|
264
264
|
notification_title: Iniciatíva <a href="%{resource_path}">% {resource_title} </a> bola schválená <a href="%{author_path}">% {AUTHOR_NAME}% {author_nickname} </a>.
|
265
|
+
form:
|
266
|
+
delete_attachment: Odstrániť
|
265
267
|
index:
|
266
268
|
title: Iniciatívy
|
267
269
|
initiative_signatures:
|
@@ -300,6 +302,8 @@ sk:
|
|
300
302
|
few: a%{count} ďalších ľudí
|
301
303
|
many: a%{count} ďalších ľudí
|
302
304
|
other: a%{count} ďalších ľudí
|
305
|
+
committee_members:
|
306
|
+
revoke: Zrušiť
|
303
307
|
count:
|
304
308
|
title:
|
305
309
|
one: "%{count} iniciatíva"
|
@@ -369,11 +373,6 @@ sk:
|
|
369
373
|
status_change_for: Iniciatíva%{title} zmenila svoj stav
|
370
374
|
last_activity:
|
371
375
|
new_initiative: Nová iniciatíva
|
372
|
-
pages:
|
373
|
-
home:
|
374
|
-
highlighted_initiatives:
|
375
|
-
active_initiatives: Aktívne iniciatívy
|
376
|
-
see_all_initiatives: Zobraziť všetky iniciatívy
|
377
376
|
states:
|
378
377
|
accepted: Prijal
|
379
378
|
expired: Platnosť vypršala
|
data/config/locales/sv.yml
CHANGED
@@ -342,7 +342,7 @@ sv:
|
|
342
342
|
more_information: "(Mer information)"
|
343
343
|
select: Jag vill arbeta för detta initiativ
|
344
344
|
share_committee_link:
|
345
|
-
continue:
|
345
|
+
continue: Fortsätta
|
346
346
|
invite_to_committee_help: Länk för att bjuda in personer till kampanjutskottet
|
347
347
|
show_similar_initiatives:
|
348
348
|
back: Tillbaka
|
@@ -509,11 +509,6 @@ sv:
|
|
509
509
|
status_change_for: Initiativet %{title} har ändrat status
|
510
510
|
last_activity:
|
511
511
|
new_initiative: Nytt initiativ
|
512
|
-
pages:
|
513
|
-
home:
|
514
|
-
highlighted_initiatives:
|
515
|
-
active_initiatives: Pågående initiativ
|
516
|
-
see_all_initiatives: Visa alla initiativ
|
517
512
|
show:
|
518
513
|
badge_name:
|
519
514
|
accepted: Nog med signaturer
|
data/config/locales/tr-TR.yml
CHANGED
@@ -515,11 +515,6 @@ tr:
|
|
515
515
|
status_change_for: Girişim %{title} durumu değişti
|
516
516
|
last_activity:
|
517
517
|
new_initiative: Yeni girişim
|
518
|
-
pages:
|
519
|
-
home:
|
520
|
-
highlighted_initiatives:
|
521
|
-
active_initiatives: Aktif girişimler
|
522
|
-
see_all_initiatives: Tüm girişimleri görün
|
523
518
|
show:
|
524
519
|
badge_name:
|
525
520
|
accepted: Yeterince imza
|
@@ -555,7 +550,7 @@ tr:
|
|
555
550
|
promotal_committee: Tanıtım komitesi
|
556
551
|
select_initiative_type: Seç
|
557
552
|
show_similar_initiatives: Karşılaştır
|
558
|
-
step:
|
553
|
+
step: Adım %{current} / %{total}
|
559
554
|
title: Yeni girişim oluştur
|
560
555
|
initiative_header:
|
561
556
|
initiative_menu_item: girişim
|
data/config/locales/uk.yml
CHANGED
@@ -215,6 +215,8 @@ uk:
|
|
215
215
|
email_outro: Ви отримали це сповіщення, тому що ви стежите за %{author_nickname}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
|
216
216
|
email_subject: '%{author_nickname} підтримав почин'
|
217
217
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> підтримав почин <a href="%{resource_path}">%{resource_title}</a>.
|
218
|
+
form:
|
219
|
+
delete_attachment: Видалити
|
218
220
|
index:
|
219
221
|
title: Почини
|
220
222
|
initiative_votes:
|
@@ -229,6 +231,8 @@ uk:
|
|
229
231
|
few: і ще %{count} людей
|
230
232
|
many: і ще %{count} людей
|
231
233
|
other: і ще %{count} людей
|
234
|
+
committee_members:
|
235
|
+
revoke: Відкликати
|
232
236
|
count:
|
233
237
|
title:
|
234
238
|
one: "%{count} почин"
|
@@ -288,11 +292,6 @@ uk:
|
|
288
292
|
status_change_for: Стан почину %{title} змінився
|
289
293
|
last_activity:
|
290
294
|
new_initiative: Започаткувати почин
|
291
|
-
pages:
|
292
|
-
home:
|
293
|
-
highlighted_initiatives:
|
294
|
-
active_initiatives: Діючі почини
|
295
|
-
see_all_initiatives: Переглянути всі почини
|
296
295
|
states:
|
297
296
|
accepted: Прийняті
|
298
297
|
expired: Строк дії яких закінчився
|
@@ -301,6 +300,7 @@ uk:
|
|
301
300
|
layouts:
|
302
301
|
decidim:
|
303
302
|
initiative_creation_header:
|
303
|
+
back: Повернутись
|
304
304
|
fill_data: Внести
|
305
305
|
finish: Завершити
|
306
306
|
previous_form: Почати
|
data/config/locales/zh-CN.yml
CHANGED
@@ -341,6 +341,9 @@ zh-CN:
|
|
341
341
|
email_outro: 您收到此通知是因为您正在关注 %{author_nickname}。您可以停止收到跟随上一个链接的通知。
|
342
342
|
email_subject: '%{author_nickname} 认可的倡议'
|
343
343
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> 倡议已被 <a href="%{author_path}">%{author_name} %{author_nickname}</a> 认可。
|
344
|
+
form:
|
345
|
+
add_attachments: www.un.org/webcast
|
346
|
+
delete_attachment: 删除
|
344
347
|
index:
|
345
348
|
title: 倡议
|
346
349
|
initiative_signatures:
|
@@ -376,6 +379,8 @@ zh-CN:
|
|
376
379
|
author_list:
|
377
380
|
hidden_authors_count:
|
378
381
|
other: 和更多 %{count} 人
|
382
|
+
committee_members:
|
383
|
+
revoke: Revoke
|
379
384
|
count:
|
380
385
|
title:
|
381
386
|
other: "%{count} 倡议"
|
@@ -446,11 +451,6 @@ zh-CN:
|
|
446
451
|
status_change_for: 倡议 %{title} 改变了其状态
|
447
452
|
last_activity:
|
448
453
|
new_initiative: 新举措
|
449
|
-
pages:
|
450
|
-
home:
|
451
|
-
highlighted_initiatives:
|
452
|
-
active_initiatives: 积极的倡议
|
453
|
-
see_all_initiatives: 查看所有倡议
|
454
454
|
show:
|
455
455
|
badge_name:
|
456
456
|
accepted: 足够的签名
|
data/config/locales/zh-TW.yml
CHANGED
@@ -557,11 +557,6 @@ zh-TW:
|
|
557
557
|
status_change_for: 倡議「%{title}」的狀態已更改。
|
558
558
|
last_activity:
|
559
559
|
new_initiative: 新的倡議
|
560
|
-
pages:
|
561
|
-
home:
|
562
|
-
highlighted_initiatives:
|
563
|
-
active_initiatives: 進行中的倡議
|
564
|
-
see_all_initiatives: 查看所有倡議
|
565
560
|
show:
|
566
561
|
badge_name:
|
567
562
|
accepted: 足夠的簽署數
|
@@ -1,16 +1,31 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class FixUserGroupsIdsOnInitiatives < ActiveRecord::Migration[5.2]
|
4
|
+
class UserGroup < ApplicationRecord
|
5
|
+
self.table_name = :decidim_users
|
6
|
+
self.inheritance_column = nil # disable the default inheritance
|
7
|
+
|
8
|
+
default_scope { where(type: "Decidim::UserGroup") }
|
9
|
+
end
|
10
|
+
|
11
|
+
class Initiative < ApplicationRecord
|
12
|
+
self.table_name = :decidim_initiatives
|
13
|
+
end
|
14
|
+
|
15
|
+
class InitiativesVote < ApplicationRecord
|
16
|
+
self.table_name = :decidim_initiatives_votes
|
17
|
+
end
|
18
|
+
|
4
19
|
# rubocop:disable Rails/SkipsModelValidations
|
5
20
|
def change
|
6
|
-
|
21
|
+
UserGroup.find_each do |group|
|
7
22
|
old_id = group.extended_data["old_user_group_id"]
|
8
23
|
next unless old_id
|
9
24
|
|
10
|
-
|
25
|
+
Initiative
|
11
26
|
.where(decidim_user_group_id: old_id)
|
12
27
|
.update_all(decidim_user_group_id: group.id)
|
13
|
-
|
28
|
+
InitiativesVote
|
14
29
|
.where(decidim_user_group_id: old_id)
|
15
30
|
.update_all(decidim_user_group_id: group.id)
|
16
31
|
end
|
@@ -89,7 +89,7 @@ module Decidim
|
|
89
89
|
I18n.t("menu.initiatives", scope: "decidim"),
|
90
90
|
decidim_initiatives.initiatives_path,
|
91
91
|
position: 2.4,
|
92
|
-
active:
|
92
|
+
active: %r{^/(initiatives|create_initiative)},
|
93
93
|
if: !Decidim::InitiativesType.joins(:scopes).where(organization: current_organization).all.empty?
|
94
94
|
end
|
95
95
|
end
|