decidim-initiatives 0.28.3 → 0.29.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/app/cells/decidim/initiatives/initiative_g_cell.rb +6 -4
  4. data/app/cells/decidim/initiatives_votes/vote_cell.rb +1 -3
  5. data/app/commands/decidim/initiatives/admin/create_initiative_type.rb +9 -58
  6. data/app/commands/decidim/initiatives/admin/create_initiative_type_scope.rb +5 -43
  7. data/app/commands/decidim/initiatives/admin/update_initiative.rb +25 -42
  8. data/app/commands/decidim/initiatives/admin/update_initiative_answer.rb +3 -4
  9. data/app/commands/decidim/initiatives/admin/update_initiative_type.rb +11 -61
  10. data/app/commands/decidim/initiatives/admin/update_initiative_type_scope.rb +2 -33
  11. data/app/commands/decidim/initiatives/admin/update_initiatives_settings.rb +2 -35
  12. data/app/commands/decidim/initiatives/create_initiative.rb +5 -6
  13. data/app/commands/decidim/initiatives/spawn_committee_request.rb +3 -4
  14. data/app/commands/decidim/initiatives/update_initiative.rb +3 -3
  15. data/app/commands/decidim/initiatives/validate_sms_code.rb +3 -3
  16. data/app/controllers/concerns/decidim/initiatives/needs_initiative.rb +1 -1
  17. data/app/controllers/decidim/initiatives/admin/answers_controller.rb +1 -1
  18. data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +7 -1
  19. data/app/controllers/decidim/initiatives/admin/initiatives_settings_controller.rb +1 -1
  20. data/app/controllers/decidim/initiatives/admin/initiatives_type_scopes_controller.rb +2 -2
  21. data/app/controllers/decidim/initiatives/admin/initiatives_types_controller.rb +2 -2
  22. data/app/controllers/decidim/initiatives/application_controller.rb +5 -2
  23. data/app/controllers/decidim/initiatives/committee_requests_controller.rb +1 -1
  24. data/app/controllers/decidim/initiatives/create_initiative_controller.rb +1 -1
  25. data/app/controllers/decidim/initiatives/initiatives_controller.rb +1 -1
  26. data/app/events/decidim/initiatives/approve_membership_request_event.rb +9 -29
  27. data/app/events/decidim/initiatives/create_initiative_event.rb +17 -36
  28. data/app/events/decidim/initiatives/revoke_membership_request_event.rb +10 -33
  29. data/app/events/decidim/initiatives/spawn_committee_request_event.rb +10 -33
  30. data/app/forms/decidim/initiatives/admin/initiative_form.rb +2 -2
  31. data/app/forms/decidim/initiatives/initiative_form.rb +11 -1
  32. data/app/forms/decidim/initiatives/vote_form.rb +2 -2
  33. data/app/helpers/decidim/initiatives/initiative_helper.rb +0 -74
  34. data/app/helpers/decidim/initiatives/initiatives_helper.rb +0 -7
  35. data/app/models/decidim/initiative.rb +1 -1
  36. data/app/packs/src/decidim/initiatives/admin/invite_users.js +1 -1
  37. data/app/serializers/decidim/initiatives/initiative_serializer.rb +1 -1
  38. data/app/views/decidim/initiatives/admin/answers/_info_initiative.html.erb +1 -1
  39. data/app/views/decidim/initiatives/admin/committee_requests/index.html.erb +1 -1
  40. data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +6 -6
  41. data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +74 -68
  42. data/app/views/decidim/initiatives/admin/initiatives_type_scopes/_form.html.erb +1 -1
  43. data/app/views/decidim/initiatives/admin/initiatives_types/_initiative_type_scopes.html.erb +1 -1
  44. data/app/views/decidim/initiatives/admin/initiatives_types/index.html.erb +1 -1
  45. data/app/views/decidim/initiatives/committee_requests/new.html.erb +3 -4
  46. data/app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb +1 -1
  47. data/app/views/decidim/initiatives/initiatives/_interactions.html.erb +1 -1
  48. data/app/views/decidim/initiatives/initiatives/_new_initiative_button.html.erb +1 -1
  49. data/app/views/decidim/initiatives/initiatives/_vote_button.html.erb +1 -1
  50. data/app/views/decidim/initiatives/initiatives/print.html.erb +2 -2
  51. data/app/views/decidim/initiatives/initiatives/show.html.erb +2 -3
  52. data/app/views/layouts/decidim/_initiative_header.html.erb +6 -6
  53. data/app/views/layouts/decidim/initiative.html.erb +2 -2
  54. data/app/views/layouts/decidim/initiative_head.html.erb +1 -1
  55. data/config/initializers/wicked_pdf.rb +5 -5
  56. data/config/locales/ar.yml +0 -1
  57. data/config/locales/bg.yml +1 -3
  58. data/config/locales/ca.yml +5 -2
  59. data/config/locales/cs.yml +4 -2
  60. data/config/locales/de.yml +6 -3
  61. data/config/locales/el.yml +0 -1
  62. data/config/locales/en.yml +6 -3
  63. data/config/locales/es-MX.yml +5 -2
  64. data/config/locales/es-PY.yml +5 -2
  65. data/config/locales/es.yml +5 -2
  66. data/config/locales/eu.yml +6 -3
  67. data/config/locales/fi-plain.yml +5 -2
  68. data/config/locales/fi.yml +6 -3
  69. data/config/locales/fr-CA.yml +1 -3
  70. data/config/locales/fr.yml +1 -3
  71. data/config/locales/gl.yml +0 -1
  72. data/config/locales/he-IL.yml +0 -6
  73. data/config/locales/hu.yml +0 -3
  74. data/config/locales/id-ID.yml +0 -1
  75. data/config/locales/it.yml +0 -1
  76. data/config/locales/ja.yml +6 -3
  77. data/config/locales/lt.yml +0 -3
  78. data/config/locales/lv.yml +0 -1
  79. data/config/locales/nl.yml +0 -1
  80. data/config/locales/no.yml +0 -1
  81. data/config/locales/pl.yml +5 -2
  82. data/config/locales/pt-BR.yml +0 -2
  83. data/config/locales/pt.yml +0 -1
  84. data/config/locales/ro-RO.yml +0 -1
  85. data/config/locales/ru.yml +0 -1
  86. data/config/locales/sk.yml +0 -1
  87. data/config/locales/sv.yml +14 -41
  88. data/config/locales/tr-TR.yml +0 -1
  89. data/config/locales/uk.yml +0 -1
  90. data/config/locales/zh-CN.yml +0 -1
  91. data/config/locales/zh-TW.yml +0 -3
  92. data/decidim-initiatives.gemspec +1 -1
  93. data/lib/decidim/api/initiative_api_type.rb +2 -2
  94. data/lib/decidim/initiatives/engine.rb +1 -0
  95. data/lib/decidim/initiatives/menu.rb +12 -1
  96. data/lib/decidim/initiatives/seeds.rb +89 -64
  97. data/lib/decidim/initiatives/version.rb +1 -1
  98. data/lib/decidim/initiatives.rb +0 -12
  99. data/lib/tasks/decidim_initiatives.rake +3 -3
  100. data/lib/tasks/initiatives/upgrade/decidim_initiatives_upgrade_tasks.rake +9 -11
  101. metadata +18 -20
  102. data/app/forms/decidim/initiatives/previous_form.rb +0 -24
  103. data/app/queries/decidim/initiatives/similar_initiatives.rb +0 -54
@@ -101,7 +101,7 @@ eu:
101
101
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Bilatu %{collection} izenburuaren, deskribapenaren, IDaren edo egiletzaren arabera.
102
102
  initiatives_settings:
103
103
  update:
104
- error: Errore bat egon da.
104
+ error: Akats bat izanda.
105
105
  success: Ekimenen ezarpenak zuzen eguneratu dira.
106
106
  menu:
107
107
  attachments: Eranskinak
@@ -237,6 +237,10 @@ eu:
237
237
  most_recent: Azkenak
238
238
  exports:
239
239
  initiatives: Ekimenak
240
+ index:
241
+ initiatives_types:
242
+ alert_html: "<p>Gutxienez, ekimen mota bat sortu behar duzu, parte-hartzaileak ekimenak sortzen hasi ahal izateko.</p><p> %{link}</p>"
243
+ button: Beste ekimen mota bat
240
244
  initiatives:
241
245
  edit:
242
246
  accept: Onartu ekimena
@@ -292,7 +296,7 @@ eu:
292
296
  initiatives_types:
293
297
  create:
294
298
  error: Errore bat egon da.
295
- success: Beste ekimen mota bat zuzen sortu da.
299
+ success: Beste ekimen mota bat zuzen sortua. Ekimen mota honetarako gutxienez eremu bat definitu behar duzu, egin ahal izateko.
296
300
  destroy:
297
301
  success: Ekimen mota zuzen kendu da.
298
302
  edit:
@@ -540,7 +544,6 @@ eu:
540
544
  other: " sinadurak"
541
545
  vote_cabin:
542
546
  already_voted: Dagoeneko sinatuta
543
- supports_required: "%{total_supports} sinadura beharrezkoa da"
544
547
  verification_required: Egiaztatu kontua ekimena sinatzeko
545
548
  vote: Saioa
546
549
  votes_blocked: Sinadura desgaituta dago
@@ -237,6 +237,10 @@ fi-pl:
237
237
  most_recent: Uusimmat
238
238
  exports:
239
239
  initiatives: Aloitteet
240
+ index:
241
+ initiatives_types:
242
+ alert_html: "<p>Sinun tulee luoda vähintään yksi aloitetyyppi, jotta osallistujat voivat luoda aloitteita.</p><p>%{link}</p>"
243
+ button: Uusi aloitetyyppi
240
244
  initiatives:
241
245
  edit:
242
246
  accept: Hyväksy aloite
@@ -292,7 +296,7 @@ fi-pl:
292
296
  initiatives_types:
293
297
  create:
294
298
  error: Tapahtui virhe.
295
- success: Uuden aloitetyypin luonti onnistui.
299
+ success: Uuden aloitetyypin luonti onnistui. Sinun on määritettävä vähintään yksi teema tälle aloitetyypille, jotta sitä voi käyttää.
296
300
  destroy:
297
301
  success: Aloitetyypin poisto onnistui.
298
302
  edit:
@@ -540,7 +544,6 @@ fi-pl:
540
544
  other: " allekirjoitusta"
541
545
  vote_cabin:
542
546
  already_voted: Allekirjoitettu aikaisemmin
543
- supports_required: "%{total_supports} allekirjoitusta vaaditaan"
544
547
  verification_required: Vahvista tilisi allekirjoittamaan aloite
545
548
  vote: Allekirjoita
546
549
  votes_blocked: Allekirjoitus poistettu käytöstä
@@ -237,6 +237,10 @@ fi:
237
237
  most_recent: Uusimmat
238
238
  exports:
239
239
  initiatives: Aloitteet
240
+ index:
241
+ initiatives_types:
242
+ alert_html: "<p>Sinun tulee luoda vähintään yksi aloitetyyppi, jotta osallistujat voivat luoda aloitteita.</p><p>%{link}</p>"
243
+ button: Uusi aloitetyyppi
240
244
  initiatives:
241
245
  edit:
242
246
  accept: Hyväksy aloite
@@ -292,7 +296,7 @@ fi:
292
296
  initiatives_types:
293
297
  create:
294
298
  error: Tapahtui virhe.
295
- success: Uuden aloitetyypin luonti onnistui.
299
+ success: Uuden aloitetyypin luonti onnistui. Sinun on määritettävä vähintään yksi teema tälle aloitetyypille, jotta sitä voi käyttää.
296
300
  destroy:
297
301
  success: Aloitetyypin poisto onnistui.
298
302
  edit:
@@ -363,7 +367,7 @@ fi:
363
367
  finish:
364
368
  back: Takaisin
365
369
  back_to_initiatives: Takaisin aloitteisiin
366
- callout_text: Onnittelut! Aloitteen luominen onnistui.
370
+ callout_text: Onnittelut! Aloitteesi on luotu onnistuneesti.
367
371
  confirm: Aloite lähetetään hallintakäyttäjän tarkastettavaksi ja julkaistavaksi. Julkaisun jälkeen et voi enää muokata aloitetta. Haluatko varmasti jatkaa?
368
372
  edit_my_initiative: Muokkaa aloitettani
369
373
  go_to_my_initiatives: Siirry omiin aloitteisiini
@@ -540,7 +544,6 @@ fi:
540
544
  other: " allekirjoitusta"
541
545
  vote_cabin:
542
546
  already_voted: Allekirjoitettu aikaisemmin
543
- supports_required: "%{total_supports} allekirjoitusta vaaditaan"
544
547
  verification_required: Vahvista tilisi allekirjoittaaksesi aloitteen
545
548
  vote: Allekirjoita
546
549
  votes_blocked: Allekirjoitus poistettu käytöstä
@@ -101,7 +101,7 @@ fr-CA:
101
101
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Rechercher %{collection} par titre, description, ID ou nom de l'auteur.
102
102
  initiatives_settings:
103
103
  update:
104
- error: Une erreur s'est produite.
104
+ error: Une erreur est survenue.
105
105
  success: Les paramètres des pétitions ont bien été mis à jour.
106
106
  menu:
107
107
  attachments: Pièces jointes
@@ -292,7 +292,6 @@ fr-CA:
292
292
  initiatives_types:
293
293
  create:
294
294
  error: Une erreur est survenue.
295
- success: Un nouveau type de pétition a été créé avec succès.
296
295
  destroy:
297
296
  success: Le type de pétition a été supprimé avec succès.
298
297
  edit:
@@ -540,7 +539,6 @@ fr-CA:
540
539
  other: " signatures"
541
540
  vote_cabin:
542
541
  already_voted: Déjà signée
543
- supports_required: "%{total_supports} signatures requises"
544
542
  verification_required: Vérifiez votre compte pour signer l'initiative
545
543
  vote: Signer
546
544
  votes_blocked: Signatures désactivées
@@ -101,7 +101,7 @@ fr:
101
101
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Rechercher %{collection} par titre, description, ID ou nom de l'auteur.
102
102
  initiatives_settings:
103
103
  update:
104
- error: Une erreur s'est produite.
104
+ error: Une erreur est survenue.
105
105
  success: Les paramètres des pétitions ont bien été mis à jour.
106
106
  menu:
107
107
  attachments: Pièces jointes
@@ -292,7 +292,6 @@ fr:
292
292
  initiatives_types:
293
293
  create:
294
294
  error: Une erreur est survenue.
295
- success: Un nouveau type de pétition a été créé avec succès.
296
295
  destroy:
297
296
  success: Le type de pétition a été supprimé avec succès.
298
297
  edit:
@@ -540,7 +539,6 @@ fr:
540
539
  other: " signatures"
541
540
  vote_cabin:
542
541
  already_voted: Déjà signée
543
- supports_required: "%{total_supports} signatures requises"
544
542
  verification_required: Vérifiez votre compte pour signer la pétition
545
543
  vote: Signer
546
544
  votes_blocked: Signatures désactivées
@@ -294,7 +294,6 @@ gl:
294
294
  other: " sinaturas"
295
295
  vote_cabin:
296
296
  already_voted: Xa está asinado
297
- supports_required: "Requírense as %{total_supports} firmas"
298
297
  verification_required: Verifica a túa conta para asinar a iniciativa
299
298
  vote: Iniciar sesión
300
299
  votes_blocked: A sinatura está desactivada
@@ -1,7 +1 @@
1
- ---
2
1
  he:
3
- decidim:
4
- admin:
5
- initiatives_settings:
6
- update:
7
- error: התרחשה שגיאה.
@@ -97,7 +97,6 @@ hu:
97
97
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Keresés a(z) %{collection} elemei között cím, leírás, azonosító vagy szerző alapján.
98
98
  initiatives_settings:
99
99
  update:
100
- error: Hiba történt.
101
100
  success: A kezdeményezés beállítása sikeres.
102
101
  menu:
103
102
  attachments: Csatolmányok
@@ -283,7 +282,6 @@ hu:
283
282
  initiatives_types:
284
283
  create:
285
284
  error: Hiba történt.
286
- success: Az új kezdeményezéstípus létrehozása sikeres.
287
285
  destroy:
288
286
  success: A kezdeményezéstípus eltávolítása sikeres.
289
287
  edit:
@@ -501,7 +499,6 @@ hu:
501
499
  other: " aláírások"
502
500
  vote_cabin:
503
501
  already_voted: Már aláírtad
504
- supports_required: "%{total_supports} aláírás szükséges"
505
502
  verification_required: Ellenőrizze fiókját, hogy aláírja a kezdeményezést
506
503
  vote: Aláírás
507
504
  votes_blocked: Aláírás letiltva
@@ -283,7 +283,6 @@ id:
283
283
  other: " tanda tangan"
284
284
  vote_cabin:
285
285
  already_voted: Sudah ditandatangani
286
- supports_required: "%{total_supports} tanda tangan diperlukan"
287
286
  verification_required: Verifikasi akun Anda untuk menandatangani inisiatif
288
287
  vote: Tanda
289
288
  votes_blocked: Penandatanganan dinonaktifkan
@@ -437,7 +437,6 @@ it:
437
437
  other: " firme"
438
438
  vote_cabin:
439
439
  already_voted: Già firmata
440
- supports_required: "%{total_supports} firme richieste"
441
440
  verification_required: Verifica il tuo account per firmare l'iniziativa
442
441
  vote: Firma
443
442
  votes_blocked: Firma disabilitata
@@ -98,7 +98,7 @@ ja:
98
98
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: '%{collection} をタイトル、説明、ID、または著者名で検索します。'
99
99
  initiatives_settings:
100
100
  update:
101
- error: エラーが発生しました
101
+ error: エラーが発生しました。
102
102
  success: イニシアチブの設定が正常に更新されました。
103
103
  menu:
104
104
  attachments: 添付ファイル
@@ -234,6 +234,10 @@ ja:
234
234
  most_recent: 新着順
235
235
  exports:
236
236
  initiatives: イニシアチブ
237
+ index:
238
+ initiatives_types:
239
+ alert_html: "<p>参加者がイニシアチブを作成できるように、少なくとも1つのイニシアチブ種別を作成する必要があります。</p><p> %{link}</p>"
240
+ button: 新しいイニシアチブ種別
237
241
  initiatives:
238
242
  edit:
239
243
  accept: イニシアチブを承認する
@@ -289,7 +293,7 @@ ja:
289
293
  initiatives_types:
290
294
  create:
291
295
  error: エラーが発生しました。
292
- success: 新しいイニシアチブタイプが正常に作成されました。
296
+ success: 新しいイニシアチブ種別を作成しました。このイニシアチブ種別を使用するには、少なくとも 1 つのスコープを定義する必要があります。
293
297
  destroy:
294
298
  success: イニシアチブ種別を削除しました。
295
299
  edit:
@@ -533,7 +537,6 @@ ja:
533
537
  other: " 署名"
534
538
  vote_cabin:
535
539
  already_voted: 既に署名されています
536
- supports_required: "%{total_supports} 署名が必要です"
537
540
  verification_required: イニシアチブに署名するにはアカウントを確認してください
538
541
  vote: サイン
539
542
  votes_blocked: ログインが無効になっています
@@ -106,7 +106,6 @@ lt:
106
106
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Ieškoti %{collection} pagal pavadinimą, aprašymą, ID ar autoriaus vardą ir pavardę.
107
107
  initiatives_settings:
108
108
  update:
109
- error: Įvyko klaida.
110
109
  success: Iniciatyvų nustatymai atnaujinti.
111
110
  menu:
112
111
  attachments: Priedai
@@ -292,7 +291,6 @@ lt:
292
291
  initiatives_types:
293
292
  create:
294
293
  error: Įvyko klaida.
295
- success: Naujas iniciatyvos tipas sukurtas.
296
294
  destroy:
297
295
  success: Iniciatyvos tipas sėkmingai pašalintas.
298
296
  edit:
@@ -542,7 +540,6 @@ lt:
542
540
  other: " parašai"
543
541
  vote_cabin:
544
542
  already_voted: Jau pasirašyta
545
- supports_required: "%{total_supports} – reikalingas parašų skaičius"
546
543
  verification_required: Norėdami pasirašyti iniciatyvą, patvirtinkite savo paskyrą
547
544
  vote: Pasirašyti
548
545
  votes_blocked: Pasirašymas išjungtas
@@ -335,7 +335,6 @@ lv:
335
335
  other: "paraksti"
336
336
  vote_cabin:
337
337
  already_voted: Jau parakstīta
338
- supports_required: "Nepieciešami %{total_supports} paraksti"
339
338
  verification_required: Lai parakstītu iniciatīvu, verificējiet savu kontu
340
339
  vote: Parakstīt
341
340
  votes_blocked: Parakstīšana ir atspējota
@@ -366,7 +366,6 @@ nl:
366
366
  other: " handtekeningen"
367
367
  vote_cabin:
368
368
  already_voted: Al getekend
369
- supports_required: "%{total_supports} handtekeningen vereist"
370
369
  verification_required: Verifieer uw account om het initiatief te ondertekenen
371
370
  vote: Teken
372
371
  votes_blocked: Ondertekenen uitgeschakeld
@@ -445,7 +445,6 @@
445
445
  other: " underskrifter"
446
446
  vote_cabin:
447
447
  already_voted: Allerede signert
448
- supports_required: "%{total_supports} signaturer påkrevd"
449
448
  verification_required: Verifiser kontoen din for å signere initiativet
450
449
  vote: Signer
451
450
  votes_blocked: Underskriving deaktivert
@@ -243,6 +243,10 @@ pl:
243
243
  most_recent: Najnowsze
244
244
  exports:
245
245
  initiatives: Inicjatywy
246
+ index:
247
+ initiatives_types:
248
+ alert_html: "<p>Musisz utworzyć co najmniej jeden typ inicjatywy, aby uczestnicy mogli rozpocząć tworzenie inicjatyw.</p><p> %{link}</p>"
249
+ button: Nowy typ inicjatywy
246
250
  initiatives:
247
251
  edit:
248
252
  accept: Akceptuj inicjatywę
@@ -298,7 +302,7 @@ pl:
298
302
  initiatives_types:
299
303
  create:
300
304
  error: Wystąpił błąd.
301
- success: Utworzono nowy typ inicjatywy.
305
+ success: Nowy typ inicjatywy został pomyślnie utworzony. Musisz zdefiniować co najmniej jeden zakres dla tego typu inicjatywy, aby można go było użyć.
302
306
  destroy:
303
307
  success: Typ inicjatywy został usunięty.
304
308
  edit:
@@ -554,7 +558,6 @@ pl:
554
558
  other: " podpisy"
555
559
  vote_cabin:
556
560
  already_voted: Już podpisano
557
- supports_required: "Wymagane %{total_supports} podpisów"
558
561
  verification_required: Zweryfikuj swoje konto, aby podpisać inicjatywę
559
562
  vote: Podpisz
560
563
  votes_blocked: Podpisywanie wyłączone
@@ -89,7 +89,6 @@ pt-BR:
89
89
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Pesquisar %{collection} por título, descrição, ID ou nome do autor.
90
90
  initiatives_settings:
91
91
  update:
92
- error: Ocorreu um erro.
93
92
  success: As configurações de iniciativas foram atualizadas com sucesso.
94
93
  menu:
95
94
  attachments: Anexos
@@ -481,7 +480,6 @@ pt-BR:
481
480
  other: " assinaturas"
482
481
  vote_cabin:
483
482
  already_voted: Já assinadas
484
- supports_required: "São necessárias %{total_supports} assinaturas"
485
483
  verification_required: Confirme sua conta para assinar a iniciativa
486
484
  vote: Placa
487
485
  votes_blocked: Assinatura desativada
@@ -437,7 +437,6 @@ pt:
437
437
  other: " assinaturas"
438
438
  vote_cabin:
439
439
  already_voted: Já assinou
440
- supports_required: "%{total_supports} assinaturas necessárias"
441
440
  verification_required: Verifique a sua conta para assinar a iniciativa
442
441
  vote: Assinar
443
442
  votes_blocked: Assinatura desativada
@@ -477,7 +477,6 @@ ro:
477
477
  other: " semnături"
478
478
  vote_cabin:
479
479
  already_voted: Deja semnat
480
- supports_required: "%{total_supports} semnături necesare"
481
480
  verification_required: Verifică-ți contul pentru a semna inițiativa
482
481
  vote: Semnare
483
482
  votes_blocked: Semnarea este dezactivată
@@ -216,7 +216,6 @@ ru:
216
216
  other: " подписей"
217
217
  vote_cabin:
218
218
  already_voted: Уже подписали
219
- supports_required: "Требуется %{total_supports} подписей"
220
219
  vote: Подписать
221
220
  votes_blocked: Подписание отключено
222
221
  votes_count:
@@ -284,7 +284,6 @@ sk:
284
284
  other: "podpisy"
285
285
  vote_cabin:
286
286
  already_voted: Už ste podpísal
287
- supports_required: "Vyžaduje sa%{total_supports} podpisov"
288
287
  verification_required: Overte svoj účet, aby ste podpísali iniciatívu
289
288
  vote: Podpísať
290
289
  votes_blocked: Podpis zakázaný
@@ -4,15 +4,14 @@ sv:
4
4
  attributes:
5
5
  initiative:
6
6
  answer: Svar
7
- answer_url: Svars-URL
7
+ answer_url: Svars URL
8
8
  area_id: Område
9
- decidim_scope_id: Indelning
9
+ decidim_scope_id: Omfång
10
10
  decidim_user_group_id: Författare
11
11
  description: Beskrivning
12
12
  hashtag: Hashtag
13
13
  offline_votes: Fysiska underskrifter
14
- offline_votes_for_scope: Personliga underskrifter för %{scope_name}
15
- scope_id: Indelning
14
+ scope_id: Omfång
16
15
  signature_end_date: Insamling av underskrifter avslutas
17
16
  signature_start_date: Insamling av underskrifter påbörjas
18
17
  signature_type: Typ av underskrifter att samla in
@@ -31,7 +30,6 @@ sv:
31
30
  area_enabled: Gör det möjligt för författare att välja området för deras initiativ
32
31
  attachments_enabled: Aktivera bilagor
33
32
  banner_image: Bannerbild
34
- child_scope_threshold_enabled: Aktivera underskrifter för underliggande indelningar
35
33
  collect_user_extra_fields: Samla in deltagarens personuppgifter vid underskrift
36
34
  custom_signature_end_date_enabled: Möjliggör för författare att välja slutet på signatursinsamlingsperioden
37
35
  description: Beskrivning
@@ -39,15 +37,13 @@ sv:
39
37
  extra_fields_legal_information: Juridisk information om insamling av personuppgifter
40
38
  minimum_committee_members: Minsta antal kommittémedlemmar
41
39
  online_signature_enabled: Digitala signaturer är aktiverade
42
- only_global_scope_enabled: Tillåt endast skapande av globala indelningar för namninsamlingar
43
40
  promoting_committee_enabled: Tillåt kampanjutskott
44
41
  signature_type: Signaturtyp
45
42
  title: Titel
46
43
  undo_online_signatures_enabled: Tillåt deltagare att ångra sina online-underskrifter
47
44
  validate_sms_code_on_votes: Lägg till SMS-validering till signeringsprocessen
48
45
  initiatives_type_scope:
49
- decidim_scopes_id: Indelningar
50
- supports_required: Stöd som krävs
46
+ decidim_scopes_id: Omfång
51
47
  initiatives_vote:
52
48
  date_of_birth: Födelsedatum
53
49
  document_number: Dokumentnummer
@@ -79,7 +75,6 @@ sv:
79
75
  admin:
80
76
  actions:
81
77
  new_initiative_type: Ny initiativtyp
82
- new_initiative_type_scope: Skapa indelning för namninsamling
83
78
  filters:
84
79
  initiatives:
85
80
  decidim_area_id_eq:
@@ -97,13 +92,9 @@ sv:
97
92
  label: Typ
98
93
  search_placeholder:
99
94
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Sök %{collection} med titel, beskrivning, ID eller författarnamn.
100
- initiatives_settings:
101
- update:
102
- error: Ett fel har inträffat.
103
95
  menu:
104
96
  attachments: Bilagor
105
97
  information: Information
106
- initiative_type_scopes: Indelningar för namninsamlingar
107
98
  initiatives: Initiativ
108
99
  initiatives_settings: Inställningar
109
100
  initiatives_types: Initiativtyper
@@ -119,9 +110,9 @@ sv:
119
110
  title: Initiativ
120
111
  initiatives_type_scope:
121
112
  fields:
122
- scope: Indelning
123
- supports_required: Underskrifter som krävs
124
- name: Namninsamlingstypens indelning
113
+ scope: Omfång
114
+ supports_required: Underskrifter krävs
115
+ name: Initiativtypens omfång
125
116
  initiatives_types:
126
117
  fields:
127
118
  created_at: Skapad
@@ -139,7 +130,7 @@ sv:
139
130
  initiative_title: Initiativtitel
140
131
  name_and_surname: Namn och efternamn
141
132
  postal_code: Postnummer
142
- scope: Indelning
133
+ scope: Omfång
143
134
  time_and_date: Tid och datum
144
135
  timestamp: Tidsstämpel
145
136
  titles:
@@ -241,8 +232,6 @@ sv:
241
232
  edit: Redigera
242
233
  new: Ny
243
234
  photos: Foton
244
- update:
245
- error: Ett fel har inträffat.
246
235
  initiatives_settings:
247
236
  edit:
248
237
  update: Uppdatera
@@ -250,24 +239,13 @@ sv:
250
239
  comments: Mest kommenterade
251
240
  random: Slumpmässigt
252
241
  initiatives_type_scopes:
253
- create:
254
- error: Ett fel har inträffat.
255
- success: En ny indelning har skapats för namninsamlingen.
256
- destroy:
257
- success: Indelningen har tagit borts.
258
242
  edit:
259
- title: Redigera namninsamlingstypens indelning
243
+ title: Redigera initiativtypens omfång
260
244
  update: Uppdatera
261
245
  new:
262
246
  create: Skapa
263
- title: Skapa indelning till typen av namninsamling
264
- update:
265
- error: Ett fel har inträffat.
266
- success: Indelningen har uppdaterats.
247
+ title: Skapa omfång till initiativtyp
267
248
  initiatives_types:
268
- create:
269
- error: Ett fel har inträffat.
270
- success: En ny typ av namninsamling har skapats.
271
249
  edit:
272
250
  update: Uppdatera
273
251
  form:
@@ -278,8 +256,6 @@ sv:
278
256
  new:
279
257
  create: Skapa
280
258
  title: Ny initiativtyp
281
- update:
282
- error: Ett fel har inträffat.
283
259
  admin_log:
284
260
  initiative:
285
261
  publish: "%{user_name} publicerade initiativet %{resource_name}"
@@ -317,7 +293,7 @@ sv:
317
293
  continue: Fortsätt
318
294
  more_information: "(Mer information)"
319
295
  select_area: Välj ett område
320
- select_scope: Välj en indelning
296
+ select_scope: Välj ett omfång
321
297
  finish:
322
298
  back: Tillbaka
323
299
  back_to_initiatives: Tillbaka till initiativ
@@ -398,7 +374,7 @@ sv:
398
374
  area: Område
399
375
  author: Författare
400
376
  myself: Mina initiativ
401
- scope: Indelning
377
+ scope: Omfattning
402
378
  state: Status
403
379
  type: Typ
404
380
  index_header:
@@ -441,7 +417,7 @@ sv:
441
417
  show:
442
418
  area: Område
443
419
  edit: Redigera
444
- scope: Indelning
420
+ scope: Omfång
445
421
  send_to_technical_validation: Skicka till teknisk validering
446
422
  state: Status
447
423
  type: Typ
@@ -450,7 +426,6 @@ sv:
450
426
  other: " underskrifter"
451
427
  vote_cabin:
452
428
  already_voted: Redan undertecknad
453
- supports_required: "%{total_supports} underskrifter krävs"
454
429
  verification_required: Verifiera ditt konto för att skriva under initiativet
455
430
  vote: Signera
456
431
  votes_blocked: Underskrifter är avaktiverade
@@ -485,9 +460,7 @@ sv:
485
460
  states:
486
461
  accepted: Godkända
487
462
  expired: Utgångna
488
- unavailable_scope: Ej tillgänglig indelning
489
- update:
490
- error: Ett fel har inträffat.
463
+ unavailable_scope: Ej tillgängligt omfång
491
464
  menu:
492
465
  initiatives: Initiativ
493
466
  resources:
@@ -411,7 +411,6 @@ tr:
411
411
  other: " imzalar"
412
412
  vote_cabin:
413
413
  already_voted: Zaten imzalanmış
414
- supports_required: "%{total_supports} imza gerekli"
415
414
  verification_required: Girişimi imzalamak için hesabınızı doğrulayın
416
415
  vote: İmza
417
416
  votes_blocked: İmzalama devre dışı
@@ -216,7 +216,6 @@ uk:
216
216
  other: " підписів"
217
217
  vote_cabin:
218
218
  already_voted: Вже підписалися
219
- supports_required: "Необхідно %{total_supports} підписів"
220
219
  vote: Підписати
221
220
  votes_blocked: Підписування вимкнене
222
221
  votes_count:
@@ -350,7 +350,6 @@ zh-CN:
350
350
  other: " 签名"
351
351
  vote_cabin:
352
352
  already_voted: 已签名
353
- supports_required: "需要 %{total_supports} 签名"
354
353
  verification_required: 验证您的帐户以签署倡议
355
354
  vote: 签名
356
355
  votes_blocked: 签名已禁用
@@ -97,7 +97,6 @@ zh-TW:
97
97
  title_or_description_or_id_string_or_author_name_or_author_nickname_cont: 透過標題、描述、ID 或作者姓名搜尋 %{collection}
98
98
  initiatives_settings:
99
99
  update:
100
- error: 發生一個錯誤.
101
100
  success: 倡議設定已成功更新.
102
101
  menu:
103
102
  attachments: 附件
@@ -283,7 +282,6 @@ zh-TW:
283
282
  initiatives_types:
284
283
  create:
285
284
  error: 出現了一個錯誤.
286
- success: 一個新的倡議類型已成功更新.
287
285
  destroy:
288
286
  success: 該倡議類型已成功刪除.
289
287
  edit:
@@ -508,7 +506,6 @@ zh-TW:
508
506
  other: " 簽名"
509
507
  vote_cabin:
510
508
  already_voted: 已簽署
511
- supports_required: "需要 %{total_supports} 個簽署支持"
512
509
  verification_required: 驗證您的帳戶以簽署該倡議
513
510
  vote: 簽署
514
511
  votes_blocked: 簽署已禁用
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  "homepage_uri" => "https://decidim.org",
18
18
  "source_code_uri" => "https://github.com/decidim/decidim"
19
19
  }
20
- s.required_ruby_version = "~> 3.1.0"
20
+ s.required_ruby_version = "~> 3.2.0"
21
21
 
22
22
  s.name = "decidim-initiatives"
23
23
  s.summary = "Decidim initiatives module"
@@ -17,13 +17,13 @@ module Decidim
17
17
  field :minimum_committee_members, GraphQL::Types::Int, "Minimum of committee members", null: true
18
18
  field :validate_sms_code_on_votes, GraphQL::Types::Boolean, "Add SMS code validation step to signature process", null: true
19
19
  field :undo_online_signatures_enabled, GraphQL::Types::Boolean, "Enable participants to undo their online signatures", null: true
20
- field :promoting_comittee_enabled, GraphQL::Types::Boolean, "If promoting committee is enabled", method: :promoting_committee_enabled, null: true
20
+ field :promoting_committee_enabled, GraphQL::Types::Boolean, "If promoting committee is enabled", method: :promoting_committee_enabled, null: true
21
21
  field :signature_type, GraphQL::Types::String, "Signature type of the initiative", null: true
22
22
 
23
23
  field :initiatives, [Decidim::Initiatives::InitiativeType, { null: true }], "The initiatives that have this type", null: false
24
24
 
25
25
  def banner_image
26
- object.attached_uploader(:banner_image).url
26
+ object.attached_uploader(:banner_image).path
27
27
  end
28
28
  end
29
29
  end
@@ -104,6 +104,7 @@ module Decidim
104
104
 
105
105
  initializer "decidim_initiatives.menu" do
106
106
  Decidim::Initiatives::Menu.register_menu!
107
+ Decidim::Initiatives::Menu.register_mobile_menu!
107
108
  Decidim::Initiatives::Menu.register_home_content_block_menu!
108
109
  end
109
110