decidim-proposals 0.29.2 → 0.29.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb +0 -12
- data/app/commands/decidim/proposals/admin/import_proposals.rb +7 -65
- data/app/controllers/decidim/proposals/admin/proposal_answers_controller.rb +7 -0
- data/app/controllers/decidim/proposals/admin/proposals_imports_controller.rb +2 -2
- data/app/controllers/decidim/proposals/versions_controller.rb +1 -1
- data/app/forms/decidim/proposals/admin/proposal_answer_form.rb +0 -15
- data/app/helpers/decidim/proposals/application_helper.rb +1 -0
- data/app/helpers/decidim/proposals/proposals_helper.rb +1 -3
- data/app/jobs/decidim/proposals/admin/import_proposals_job.rb +91 -0
- data/app/mailers/decidim/proposals/admin/import_proposals_mailer.rb +30 -0
- data/app/models/decidim/proposals/collaborative_draft.rb +2 -3
- data/app/models/decidim/proposals/proposal.rb +0 -5
- data/app/models/decidim/proposals/proposal_state.rb +1 -1
- data/app/services/decidim/proposals/proposal_builder.rb +1 -0
- data/app/views/decidim/proposals/admin/import_proposals_mailer/notify_failure.html.erb +1 -0
- data/app/views/decidim/proposals/admin/import_proposals_mailer/notify_success.html.erb +2 -0
- data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
- data/app/views/decidim/proposals/admin/proposals/show.html.erb +4 -4
- data/app/views/decidim/proposals/proposals/_proposals.html.erb +1 -1
- data/app/views/decidim/proposals/proposals/index.html.erb +8 -1
- data/config/locales/ar.yml +7 -10
- data/config/locales/bg.yml +1 -9
- data/config/locales/bs-BA.yml +0 -6
- data/config/locales/ca-IT.yml +945 -0
- data/config/locales/ca.yml +22 -7
- data/config/locales/cs.yml +14 -8
- data/config/locales/de.yml +21 -9
- data/config/locales/el.yml +2 -7
- data/config/locales/en.yml +18 -3
- data/config/locales/es-MX.yml +21 -6
- data/config/locales/es-PY.yml +21 -6
- data/config/locales/es.yml +24 -9
- data/config/locales/eu.yml +98 -83
- data/config/locales/fi-plain.yml +19 -7
- data/config/locales/fi.yml +19 -7
- data/config/locales/fr-CA.yml +17 -8
- data/config/locales/fr.yml +16 -7
- data/config/locales/ga-IE.yml +2 -1
- data/config/locales/gl.yml +2 -3
- data/config/locales/hu.yml +3 -10
- data/config/locales/id-ID.yml +3 -1
- data/config/locales/is-IS.yml +5 -0
- data/config/locales/it.yml +24 -6
- data/config/locales/ja.yml +19 -5
- data/config/locales/lt.yml +2 -10
- data/config/locales/lv.yml +2 -6
- data/config/locales/nl.yml +6 -9
- data/config/locales/no.yml +2 -5
- data/config/locales/pl.yml +2 -12
- data/config/locales/pt-BR.yml +0 -6
- data/config/locales/pt.yml +2 -5
- data/config/locales/ro-RO.yml +18 -6
- data/config/locales/ru.yml +5 -0
- data/config/locales/sk.yml +5 -10
- data/config/locales/sr-CS.yml +0 -6
- data/config/locales/sv.yml +11 -7
- data/config/locales/tr-TR.yml +3 -6
- data/config/locales/uk.yml +5 -0
- data/config/locales/zh-CN.yml +2 -4
- data/config/locales/zh-TW.yml +2 -6
- data/lib/decidim/proposals/version.rb +1 -1
- data/lib/tasks/proposals/upgrade/decidim_proposals_upgrade_tasks.rake +22 -0
- metadata +25 -20
data/config/locales/nl.yml
CHANGED
@@ -203,7 +203,7 @@ nl:
|
|
203
203
|
email_subject: Voorstellen nu beschikbaar in %{participatory_space_title}
|
204
204
|
endorsing_enabled:
|
205
205
|
email_intro: 'U kunt voorstellen in %{participatory_space_title} goedkeuren! Neem deel op deze pagina:'
|
206
|
-
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title}volgt.
|
206
|
+
email_outro: Je hebt deze melding ontvangen omdat je %{participatory_space_title} volgt. Schakel de meldingen uit door te klikken op de voorgaande link.
|
207
207
|
email_subject: Je kan nu de voorstellen in %{participatory_space_title} steunen
|
208
208
|
proposal_mentioned:
|
209
209
|
email_intro: Uw voorstel "%{mentioned_proposal_title}" is in deze ruimte <a href="%{resource_url}"></a> genoemd in de reacties.
|
@@ -262,7 +262,7 @@ nl:
|
|
262
262
|
accepted_proposals:
|
263
263
|
description: Aantal geaccepteerde voorstellen
|
264
264
|
object: voorstellen
|
265
|
-
title:
|
265
|
+
title: Geaccepteerde voorstellen
|
266
266
|
endorsements:
|
267
267
|
description: Aantal goedkeuringen van voorstellen
|
268
268
|
object: goedkeuringen
|
@@ -270,7 +270,9 @@ nl:
|
|
270
270
|
proposals:
|
271
271
|
description: Aantal voorstellen
|
272
272
|
object: voorstellen
|
273
|
-
title:
|
273
|
+
title: Voorstellen
|
274
|
+
votes:
|
275
|
+
title: Stemmen
|
274
276
|
participatory_spaces:
|
275
277
|
highlighted_proposals:
|
276
278
|
see_all: Alles zien
|
@@ -355,7 +357,6 @@ nl:
|
|
355
357
|
index:
|
356
358
|
actions: acties
|
357
359
|
assign_to_valuator: Toewijzen aan beoordelaar
|
358
|
-
assign_to_valuator_button: Toewijzen
|
359
360
|
cancel: Annuleer
|
360
361
|
change_category: Categorie wijzigen
|
361
362
|
change_scope: Wijzig scope
|
@@ -369,7 +370,6 @@ nl:
|
|
369
370
|
split_button: Splits
|
370
371
|
title: Voorstellen
|
371
372
|
unassign_from_valuator: Toewijzing beoordelaar ongedaan maken
|
372
|
-
unassign_from_valuator_button: Ontkoppelen
|
373
373
|
update: Bijwerken
|
374
374
|
update_scope_button: Toepassingsgebied bijwerken
|
375
375
|
new:
|
@@ -383,9 +383,6 @@ nl:
|
|
383
383
|
documents: Documenten
|
384
384
|
endorsements_count: Aantal suggesties
|
385
385
|
endorsers: Aanbevelers
|
386
|
-
n_more_endorsers:
|
387
|
-
one: en nog 1
|
388
|
-
other: en %{count} meer
|
389
386
|
photos: Foto's
|
390
387
|
ranking: "%{ranking} van %{total}"
|
391
388
|
related_meetings: Gerelateerde vergaderingen
|
@@ -622,7 +619,7 @@ nl:
|
|
622
619
|
estimated_cost: Geschatte kosten
|
623
620
|
hidden_endorsers_count:
|
624
621
|
one: en nog %{count} persoon
|
625
|
-
other: en nog %{count}
|
622
|
+
other: en nog %{count} personen
|
626
623
|
link_to_collaborative_draft_help_text: Dit voorstel is het resultaat van een gezamenlijk concept. Bekijk de geschiedenis
|
627
624
|
link_to_collaborative_draft_text: Bekijk het gezamenlijke ontwerp
|
628
625
|
link_to_promoted_emendation_help_text: Dit voorstel is een gepromoot amendement
|
data/config/locales/no.yml
CHANGED
@@ -266,6 +266,8 @@
|
|
266
266
|
description: Antall forslag
|
267
267
|
object: forslag
|
268
268
|
title: Forslag
|
269
|
+
votes:
|
270
|
+
title: Stemmer
|
269
271
|
participatory_spaces:
|
270
272
|
highlighted_proposals:
|
271
273
|
see_all: Vis alle
|
@@ -349,7 +351,6 @@
|
|
349
351
|
select_a_meeting: Velg et møte
|
350
352
|
index:
|
351
353
|
actions: Handlinger
|
352
|
-
assign_to_valuator_button: Tildel
|
353
354
|
cancel: Avbryt
|
354
355
|
change_category: Endre kategori
|
355
356
|
change_scope: Endre tema
|
@@ -362,7 +363,6 @@
|
|
362
363
|
split: Delte forslag
|
363
364
|
split_button: Delt
|
364
365
|
title: Forslag
|
365
|
-
unassign_from_valuator_button: Fjern tilegning
|
366
366
|
update: Oppdater
|
367
367
|
update_scope_button: Oppdater tema
|
368
368
|
new:
|
@@ -375,9 +375,6 @@
|
|
375
375
|
documents: Dokumenter
|
376
376
|
endorsements_count: Påtegnelser teller
|
377
377
|
endorsers: Påtegnelser
|
378
|
-
n_more_endorsers:
|
379
|
-
one: og 1 til
|
380
|
-
other: og %{count} til
|
381
378
|
photos: Bilder
|
382
379
|
ranking: "%{ranking} av %{total}"
|
383
380
|
related_meetings: Relaterte møter
|
data/config/locales/pl.yml
CHANGED
@@ -280,7 +280,7 @@ pl:
|
|
280
280
|
notification_title: Możesz teraz przedstawiać <a href="%{resource_path}">nowe propozycje</a> w <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
281
281
|
endorsing_enabled:
|
282
282
|
email_intro: 'Możesz rekomendować propozycje w %{participatory_space_title}! Dołącz na tej stronie:'
|
283
|
-
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{participatory_space_title}. Możesz przestać otrzymywać powiadomienia
|
283
|
+
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{participatory_space_title}. Możesz przestać otrzymywać powiadomienia po kliknięciu w poprzedni link.
|
284
284
|
email_subject: Rozpoczęto rekomendację propozycji w %{participatory_space_title}
|
285
285
|
notification_title: Możesz teraz zacząć <a href="%{resource_path}">rekomendować propozycje</a> w <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
|
286
286
|
proposal_mentioned:
|
@@ -377,7 +377,6 @@ pl:
|
|
377
377
|
title: Głosy
|
378
378
|
participatory_spaces:
|
379
379
|
highlighted_proposals:
|
380
|
-
last: Ostatnie propozycje
|
381
380
|
see_all: Zobacz wszystkie propozycje
|
382
381
|
proposals:
|
383
382
|
actions:
|
@@ -514,7 +513,6 @@ pl:
|
|
514
513
|
index:
|
515
514
|
actions: Działania
|
516
515
|
assign_to_valuator: Przypisz do weryfikatora
|
517
|
-
assign_to_valuator_button: Przypisz
|
518
516
|
cancel: Anuluj
|
519
517
|
change_category: Zmień kategorię
|
520
518
|
change_scope: Zmień zakres
|
@@ -530,7 +528,6 @@ pl:
|
|
530
528
|
statuses: Statusy
|
531
529
|
title: Propozycje
|
532
530
|
unassign_from_valuator: Anuluj przypisanie do weryfikatora
|
533
|
-
unassign_from_valuator_button: Anuluj przypisanie
|
534
531
|
update: Aktualizuj
|
535
532
|
update_scope_button: Aktualizuj zakres
|
536
533
|
new:
|
@@ -548,11 +545,6 @@ pl:
|
|
548
545
|
endorsements_count: Liczba rekomendacji
|
549
546
|
endorsers: Rekomendujący
|
550
547
|
link: Zobacz propozycję
|
551
|
-
n_more_endorsers:
|
552
|
-
one: i jeszcze 1
|
553
|
-
few: i jeszcze %{count}
|
554
|
-
many: i jeszcze %{count}
|
555
|
-
other: i jeszcze %{count}
|
556
548
|
photos: Zdjęcia
|
557
549
|
ranking: "%{ranking} z %{total}"
|
558
550
|
related_meetings: Powiązane spotkania
|
@@ -573,7 +565,6 @@ pl:
|
|
573
565
|
proposals_imports:
|
574
566
|
create:
|
575
567
|
invalid: Podczas importowania propozycji wystąpił błąd.
|
576
|
-
success: "Zaimportowano %{number} propozycji."
|
577
568
|
new:
|
578
569
|
create: Importuj propozycje
|
579
570
|
no_components: W tej przestrzeni partycypacyjnej nie ma innych komponentów propozycji do zaimportowania propozycji.
|
@@ -818,7 +809,6 @@ pl:
|
|
818
809
|
text_banner: Oglądasz listę propozycji wycofanych przez ich autorów. %{go_back_link}.
|
819
810
|
new:
|
820
811
|
send: Dalej
|
821
|
-
title: Utwórz swoją propozycję
|
822
812
|
orders:
|
823
813
|
label: 'Sortuj propozycje według:'
|
824
814
|
most_commented: Najczęściej komentowane
|
@@ -853,7 +843,7 @@ pl:
|
|
853
843
|
edit_proposal: Edytuj propozycję
|
854
844
|
estimated_cost: Szacowany koszt
|
855
845
|
hidden_endorsers_count:
|
856
|
-
one: i %{count} osoba
|
846
|
+
one: i %{count} więcej osoba
|
857
847
|
few: i %{count} więcej osób
|
858
848
|
many: i %{count} więcej osób
|
859
849
|
other: i %{count} więcej osób
|
data/config/locales/pt-BR.yml
CHANGED
@@ -395,7 +395,6 @@ pt-BR:
|
|
395
395
|
index:
|
396
396
|
actions: Ações
|
397
397
|
assign_to_valuator: Atribuir ao avaliador
|
398
|
-
assign_to_valuator_button: Atribuir
|
399
398
|
cancel: Cancelar
|
400
399
|
change_category: Alterar categoria
|
401
400
|
change_scope: Alterar o escopo
|
@@ -409,7 +408,6 @@ pt-BR:
|
|
409
408
|
split_button: Dividir
|
410
409
|
title: Propostas
|
411
410
|
unassign_from_valuator: Desatribuir do avaliador
|
412
|
-
unassign_from_valuator_button: Desatribuir
|
413
411
|
update: Atualizar
|
414
412
|
update_scope_button: Atualizar Escopo
|
415
413
|
new:
|
@@ -423,9 +421,6 @@ pt-BR:
|
|
423
421
|
documents: Documentos
|
424
422
|
endorsements_count: Contagem de endossos
|
425
423
|
endorsers: Endossar
|
426
|
-
n_more_endorsers:
|
427
|
-
one: e mais 1
|
428
|
-
other: e mais %{count}
|
429
424
|
photos: Fotos
|
430
425
|
ranking: "%{ranking} de %{total}"
|
431
426
|
related_meetings: Reuniões relacionadas
|
@@ -640,7 +635,6 @@ pt-BR:
|
|
640
635
|
see_all_withdrawn: Veja todas as propostas retiradas
|
641
636
|
new:
|
642
637
|
send: Continuar
|
643
|
-
title: Crie sua proposta
|
644
638
|
orders:
|
645
639
|
label: 'Ordene propostas por:'
|
646
640
|
most_commented: Mais comentados
|
data/config/locales/pt.yml
CHANGED
@@ -281,6 +281,8 @@ pt:
|
|
281
281
|
description: Número de propostas
|
282
282
|
object: propostas
|
283
283
|
title: Propostas
|
284
|
+
votes:
|
285
|
+
title: Votos
|
284
286
|
participatory_spaces:
|
285
287
|
highlighted_proposals:
|
286
288
|
see_all: Ver todos
|
@@ -354,7 +356,6 @@ pt:
|
|
354
356
|
index:
|
355
357
|
actions: Ações
|
356
358
|
assign_to_valuator: Atribuir a avaliador
|
357
|
-
assign_to_valuator_button: Atribuir
|
358
359
|
cancel: Cancelar
|
359
360
|
change_category: Modificar categoria
|
360
361
|
change_scope: Modificar âmbito
|
@@ -368,7 +369,6 @@ pt:
|
|
368
369
|
split_button: Dividir
|
369
370
|
title: Propostas
|
370
371
|
unassign_from_valuator: Remover atribuição ao avaliador
|
371
|
-
unassign_from_valuator_button: Remover atribuição
|
372
372
|
update: Atualizar
|
373
373
|
update_scope_button: Atualizar Âmbito
|
374
374
|
new:
|
@@ -382,9 +382,6 @@ pt:
|
|
382
382
|
documents: Documentos
|
383
383
|
endorsements_count: Contagem de endossamentos
|
384
384
|
endorsers: Endossadores
|
385
|
-
n_more_endorsers:
|
386
|
-
one: e mais 1
|
387
|
-
other: e mais %{count}
|
388
385
|
photos: Fotos
|
389
386
|
ranking: "%{ranking} de %{total}"
|
390
387
|
related_meetings: Reuniões relacionadas
|
data/config/locales/ro-RO.yml
CHANGED
@@ -284,6 +284,8 @@ ro:
|
|
284
284
|
description: Număr de propuneri
|
285
285
|
object: propuneri
|
286
286
|
title: Propuneri
|
287
|
+
votes:
|
288
|
+
title: Voturi
|
287
289
|
participatory_spaces:
|
288
290
|
highlighted_proposals:
|
289
291
|
see_all: Afișează toate propunerile
|
@@ -302,6 +304,17 @@ ro:
|
|
302
304
|
exports:
|
303
305
|
proposal_comments: Comentarii
|
304
306
|
proposals: Propuneri
|
307
|
+
import_proposals_mailer:
|
308
|
+
notify_failure:
|
309
|
+
body: A apărut o problemă la importul propunerilor din componenta %{origin_component_name} în componenta %{target_component_name}.
|
310
|
+
subject: A apărut o problemă la importul propunerilor
|
311
|
+
notify_success:
|
312
|
+
added_proposals:
|
313
|
+
one: A fost importată o propunere.
|
314
|
+
few: "Au fost importate %{count} propuneri."
|
315
|
+
other: "Au fost importate %{count} propuneri."
|
316
|
+
body: Propuneri importate cu succes din componenta %{origin_component_name} în componenta %{target_component_name}. Puteți analiza rezultatele în interfața de administrare.
|
317
|
+
subject: Propunerile au fost importate cu succes
|
305
318
|
imports:
|
306
319
|
label:
|
307
320
|
answers: Importați răspunsuri dintr-un fișier
|
@@ -370,7 +383,7 @@ ro:
|
|
370
383
|
index:
|
371
384
|
actions: Acțiuni
|
372
385
|
assign_to_valuator: Atribuie evaluatorului
|
373
|
-
assign_to_valuator_button:
|
386
|
+
assign_to_valuator_button: Delegați
|
374
387
|
cancel: Anulează
|
375
388
|
change_category: Schimbă categoria
|
376
389
|
change_scope: Schimbă domeniul
|
@@ -385,7 +398,7 @@ ro:
|
|
385
398
|
split_button: Împarte
|
386
399
|
title: Propuneri
|
387
400
|
unassign_from_valuator: Atribuire către evaluator anulată
|
388
|
-
unassign_from_valuator_button:
|
401
|
+
unassign_from_valuator_button: Anulare delegare
|
389
402
|
update: Actualizează
|
390
403
|
update_scope_button: Actualizează domeniu
|
391
404
|
new:
|
@@ -399,10 +412,6 @@ ro:
|
|
399
412
|
documents: Documente
|
400
413
|
endorsements_count: Număr de susțineri
|
401
414
|
endorsers: Susținători
|
402
|
-
n_more_endorsers:
|
403
|
-
one: și încă 1
|
404
|
-
few: și încă %{count}
|
405
|
-
other: și încă %{count}
|
406
415
|
photos: Imagini
|
407
416
|
ranking: "%{ranking} din %{total}"
|
408
417
|
related_meetings: Întâlniri similare
|
@@ -416,6 +425,8 @@ ro:
|
|
416
425
|
invalid: 'Aceste propuneri aveau deja domeniul %{subject_name} : %{proposals}.'
|
417
426
|
success: 'Propuneri actualizate cu succes în domeniul %{subject_name} : %{proposals}.'
|
418
427
|
proposals_imports:
|
428
|
+
create:
|
429
|
+
success: Procesul de import a început. Vă vom anunța de îndată ce s-a terminat.
|
419
430
|
new:
|
420
431
|
create: Importă propuneri
|
421
432
|
no_components: Nu există alte componente de propunere în acest spațiu participativ din care să se importe propunerile.
|
@@ -618,6 +629,7 @@ ro:
|
|
618
629
|
text_banner: Vizualizezi lista de propuneri retrase de autorii lor. %{go_back_link}.
|
619
630
|
new:
|
620
631
|
send: Continuă
|
632
|
+
title: Creați o nouă propunere
|
621
633
|
orders:
|
622
634
|
label: 'Ordonează propunerile după:'
|
623
635
|
most_commented: Cele mai comentate
|
data/config/locales/ru.yml
CHANGED
@@ -108,6 +108,11 @@ ru:
|
|
108
108
|
email_intro: 'Теперь вы можете голосовать по предложениям в %{participatory_space_title}! Начните со страницы:'
|
109
109
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете отписаться от уведомлений, перейдя по приведенной выше ссылке.
|
110
110
|
notification_title: Теперь в <a href="%{participatory_space_url}">%{participatory_space_title}</a> появилась возможность <a href="%{resource_path}">голосовать по предложениям</a>
|
111
|
+
metrics:
|
112
|
+
proposals:
|
113
|
+
title: Предложения
|
114
|
+
votes:
|
115
|
+
title: Голоса
|
111
116
|
proposals:
|
112
117
|
actions:
|
113
118
|
import: Позаимствовать из другой составляющей
|
data/config/locales/sk.yml
CHANGED
@@ -229,6 +229,8 @@ sk:
|
|
229
229
|
description: Počet návrhov
|
230
230
|
object: návrhy
|
231
231
|
title: Návrhy
|
232
|
+
votes:
|
233
|
+
title: Hlasy
|
232
234
|
participatory_spaces:
|
233
235
|
highlighted_proposals:
|
234
236
|
see_all: Zobraziť všetky
|
@@ -299,7 +301,6 @@ sk:
|
|
299
301
|
index:
|
300
302
|
actions: Akcia
|
301
303
|
assign_to_valuator: Priradiť ku hodnotiteľovi
|
302
|
-
assign_to_valuator_button: Priradiť
|
303
304
|
cancel: zrušenie
|
304
305
|
change_category: Zmeniť kategórii
|
305
306
|
change_scope: Zmeniť rozsah
|
@@ -313,7 +314,6 @@ sk:
|
|
313
314
|
split_button: Rozdeliť
|
314
315
|
title: Návrhy
|
315
316
|
unassign_from_valuator: Zrušiť priradenie ku hodnotiteľovi
|
316
|
-
unassign_from_valuator_button: Zrušiť priradenie
|
317
317
|
update: Aktualizácia
|
318
318
|
update_scope_button: Aktualizovať rozsah
|
319
319
|
new:
|
@@ -327,11 +327,6 @@ sk:
|
|
327
327
|
documents: Dokumenty
|
328
328
|
endorsements_count: Počet podporení
|
329
329
|
endorsers: Podporovatelia
|
330
|
-
n_more_endorsers:
|
331
|
-
one: a 1 ďalší
|
332
|
-
few: + %{count} ďalších
|
333
|
-
many: + %{count} ďalších
|
334
|
-
other: + %{count} ďalších
|
335
330
|
photos: Fotografie
|
336
331
|
ranking: "%{ranking} z celkového %{total}"
|
337
332
|
related_meetings: Podobné stretnutia
|
@@ -561,9 +556,9 @@ sk:
|
|
561
556
|
estimated_cost: Odhadované náklady
|
562
557
|
hidden_endorsers_count:
|
563
558
|
one: a%{count} ďalšia osoba
|
564
|
-
few: a
|
565
|
-
many: a
|
566
|
-
other: a
|
559
|
+
few: a%{count} ďalších ľudí
|
560
|
+
many: a%{count} ďalších ľudí
|
561
|
+
other: a%{count} ďalších ľudí
|
567
562
|
link_to_collaborative_draft_help_text: Tento návrh je výsledkom spoločného návrhu. Skontrolujte históriu
|
568
563
|
link_to_collaborative_draft_text: Pozri schému spolupráca
|
569
564
|
link_to_promoted_emendation_help_text: Tento návrh je podporované vylepšenia
|
data/config/locales/sr-CS.yml
CHANGED
@@ -54,11 +54,9 @@ sr:
|
|
54
54
|
proposals:
|
55
55
|
index:
|
56
56
|
assign_to_valuator: Dodeli procenjivaču
|
57
|
-
assign_to_valuator_button: Dodeli
|
58
57
|
change_scope: Promeni opseg
|
59
58
|
publish_answers: Objavi odgovore
|
60
59
|
unassign_from_valuator: Oduzmi od procenjivača
|
61
|
-
unassign_from_valuator_button: Od dodeli
|
62
60
|
update_scope_button: Ažuriraj opseg
|
63
61
|
show:
|
64
62
|
amendments_count: Broj izmena
|
@@ -67,10 +65,6 @@ sr:
|
|
67
65
|
documents: Dokumenti
|
68
66
|
endorsements_count: Broj podržavanja
|
69
67
|
endorsers: Podržavaoci
|
70
|
-
n_more_endorsers:
|
71
|
-
one: i još 1
|
72
|
-
few: i još %{count}
|
73
|
-
other: i još %{count}
|
74
68
|
photos: Slike
|
75
69
|
ranking: "%{ranking} od %{total}"
|
76
70
|
related_meetings: Slični sastanci
|
data/config/locales/sv.yml
CHANGED
@@ -12,6 +12,8 @@ sv:
|
|
12
12
|
state: Status
|
13
13
|
title: Titel
|
14
14
|
user_group_id: Skapa gemensamt utkast som
|
15
|
+
import_participatory_text:
|
16
|
+
document: Dokument
|
15
17
|
proposal:
|
16
18
|
address: Adress
|
17
19
|
answer: Svar
|
@@ -22,6 +24,8 @@ sv:
|
|
22
24
|
decidim_proposals_proposal_state_id: Status
|
23
25
|
decidim_scope_id: Indelning
|
24
26
|
has_address: Har adress
|
27
|
+
latitude: Latitud
|
28
|
+
longitude: Longitud
|
25
29
|
scope_id: Indelning
|
26
30
|
state: Status
|
27
31
|
suggested_hashtags: Föreslagna hashtags
|
@@ -48,6 +52,8 @@ sv:
|
|
48
52
|
proposals_copy:
|
49
53
|
copy_proposals: Jag förstår att det här importerar alla förslag från den valda komponenten till den aktuella komponenten och att det inte går att ångra.
|
50
54
|
origin_component_id: Komponent att kopiera förslagen från
|
55
|
+
proposals_file_import:
|
56
|
+
file: Fil
|
51
57
|
proposals_import:
|
52
58
|
import_proposals: Importera förslag
|
53
59
|
keep_answers: Behåll status och svar
|
@@ -377,7 +383,6 @@ sv:
|
|
377
383
|
title: Röster
|
378
384
|
participatory_spaces:
|
379
385
|
highlighted_proposals:
|
380
|
-
last: Senaste förslagen
|
381
386
|
see_all: Visa alla förslag
|
382
387
|
proposals:
|
383
388
|
actions:
|
@@ -515,7 +520,7 @@ sv:
|
|
515
520
|
index:
|
516
521
|
actions: Åtgärder
|
517
522
|
assign_to_valuator: Tilldela till handläggare
|
518
|
-
assign_to_valuator_button:
|
523
|
+
assign_to_valuator_button: Tilldelad
|
519
524
|
cancel: Avbryt
|
520
525
|
change_category: Ändra kategori
|
521
526
|
change_scope: Ändra indelning
|
@@ -531,7 +536,7 @@ sv:
|
|
531
536
|
statuses: Statusar
|
532
537
|
title: Förslag
|
533
538
|
unassign_from_valuator: Ta bort tilldelning till handläggare
|
534
|
-
unassign_from_valuator_button: Ta bort
|
539
|
+
unassign_from_valuator_button: Ta bort
|
535
540
|
update: Uppdatera
|
536
541
|
update_scope_button: Uppdatera indelning
|
537
542
|
new:
|
@@ -572,7 +577,6 @@ sv:
|
|
572
577
|
proposals_imports:
|
573
578
|
create:
|
574
579
|
invalid: Det gick inte att importera förslagen.
|
575
|
-
success: "%{number} förslag har importerats."
|
576
580
|
new:
|
577
581
|
create: Importera förslag
|
578
582
|
no_components: Det finns inga andra förslagskomponenter i detta deltagarutrymme att importera förslagen från.
|
@@ -812,7 +816,7 @@ sv:
|
|
812
816
|
text_banner: Du visar förslag som dragits tillbaka av sin författare. %{go_back_link}.
|
813
817
|
new:
|
814
818
|
send: Fortsätt
|
815
|
-
title: Skapa
|
819
|
+
title: Skapa ett nytt förslag
|
816
820
|
orders:
|
817
821
|
label: 'Ordna förslag efter:'
|
818
822
|
most_commented: Mest kommenterade
|
@@ -845,8 +849,8 @@ sv:
|
|
845
849
|
edit_proposal: Redigera förslag
|
846
850
|
estimated_cost: Beräknad kostnad
|
847
851
|
hidden_endorsers_count:
|
848
|
-
one: och %{count}
|
849
|
-
other: och %{count}
|
852
|
+
one: och %{count} mer person
|
853
|
+
other: och %{count} fler personer
|
850
854
|
link_to_collaborative_draft_help_text: Detta förslag är resultatet av ett gemensamt utkast. Läs historiken
|
851
855
|
link_to_collaborative_draft_text: Visa det gemensamma utkastet
|
852
856
|
link_to_promoted_emendation_help_text: Detta förslag är ett annonserat ändringsförslag
|
data/config/locales/tr-TR.yml
CHANGED
@@ -198,7 +198,7 @@ tr:
|
|
198
198
|
email_subject: Teklifler artık %{participatory_space_title} içinde mevcut
|
199
199
|
endorsing_enabled:
|
200
200
|
email_intro: 'Teklifleri %{participatory_space_title} olarak onaylayabilirsiniz! Bu sayfaya katılmaya başlayın:'
|
201
|
-
email_outro: Bu bildirimi %{participatory_space_title}
|
201
|
+
email_outro: Bu bildirimi, %{participatory_space_title} adlı kişiyi takip ettiğiniz için aldınız. Önceki bağlantıyı izleyerek bildirim almayı durdurabilirsiniz.
|
202
202
|
email_subject: '%{participatory_space_title} için teklifleri onaylamaya başladı'
|
203
203
|
proposal_mentioned:
|
204
204
|
email_intro: Yorumlarınızda <a href="%{resource_url}"> bu alanda </a> "%{mentioned_proposal_title}" önerinizden bahsedildi.
|
@@ -275,6 +275,8 @@ tr:
|
|
275
275
|
description: Teklif sayısı
|
276
276
|
object: teklifler
|
277
277
|
title: Teklifler
|
278
|
+
votes:
|
279
|
+
title: Oylar
|
278
280
|
participatory_spaces:
|
279
281
|
highlighted_proposals:
|
280
282
|
see_all: Tüm teklifleri görün
|
@@ -371,7 +373,6 @@ tr:
|
|
371
373
|
index:
|
372
374
|
actions: Eylemler
|
373
375
|
assign_to_valuator: Bilirkişiye ata
|
374
|
-
assign_to_valuator_button: Ata
|
375
376
|
cancel: İptal Et
|
376
377
|
change_category: Kategoriyi değiştir
|
377
378
|
change_scope: Kapsamı değiştir
|
@@ -386,7 +387,6 @@ tr:
|
|
386
387
|
statuses: Durumlar
|
387
388
|
title: Teklifler
|
388
389
|
unassign_from_valuator: Bilirkişinin atamasını kaldır
|
389
|
-
unassign_from_valuator_button: Atamayı kaldır
|
390
390
|
update: Güncelle
|
391
391
|
update_scope_button: Kapsamı Güncelle
|
392
392
|
new:
|
@@ -400,9 +400,6 @@ tr:
|
|
400
400
|
documents: Dokümanlar
|
401
401
|
endorsements_count: Onay sayısı
|
402
402
|
endorsers: Onaycılar
|
403
|
-
n_more_endorsers:
|
404
|
-
one: ve 1 tane daha
|
405
|
-
other: ve %{count} tane daha
|
406
403
|
photos: Resimler
|
407
404
|
ranking: "%{ranking} / %{total}"
|
408
405
|
related_meetings: İlgili toplantılar
|
data/config/locales/uk.yml
CHANGED
@@ -108,6 +108,11 @@ uk:
|
|
108
108
|
email_intro: 'Ви можете голосувати щодо пропозицій у %{participatory_space_title}! Почніть брати участь зі сторінки:'
|
109
109
|
email_outro: Ви отримали це сповіщення, тому що ви стежите за %{participatory_space_title}. Ви можете відписатися від цих сповіщень, перейшовши за наведеним вище посиланням.
|
110
110
|
notification_title: Тепер в <a href="%{participatory_space_url}">%{participatory_space_title}</a> відкрилась можливість <a href="%{resource_path}">голосувати щодо пропозицій</a>
|
111
|
+
metrics:
|
112
|
+
proposals:
|
113
|
+
title: Пропозиції
|
114
|
+
votes:
|
115
|
+
title: Голоси
|
111
116
|
proposals:
|
112
117
|
actions:
|
113
118
|
import: Запозичити з іншої складової
|
data/config/locales/zh-CN.yml
CHANGED
@@ -238,6 +238,8 @@ zh-CN:
|
|
238
238
|
description: 建议数
|
239
239
|
object: 提议
|
240
240
|
title: 建议
|
241
|
+
votes:
|
242
|
+
title: 所得票数
|
241
243
|
participatory_spaces:
|
242
244
|
highlighted_proposals:
|
243
245
|
see_all: 查看所有建议
|
@@ -307,7 +309,6 @@ zh-CN:
|
|
307
309
|
index:
|
308
310
|
actions: 行动
|
309
311
|
assign_to_valuator: 分配给值器
|
310
|
-
assign_to_valuator_button: 分配
|
311
312
|
cancel: 取消
|
312
313
|
change_category: 更改类别
|
313
314
|
change_scope: 更改范围
|
@@ -321,7 +322,6 @@ zh-CN:
|
|
321
322
|
split_button: 拆分
|
322
323
|
title: 建议
|
323
324
|
unassign_from_valuator: 取消分配给值
|
324
|
-
unassign_from_valuator_button: 取消分配
|
325
325
|
update: 更新
|
326
326
|
update_scope_button: 更新范围
|
327
327
|
new:
|
@@ -335,8 +335,6 @@ zh-CN:
|
|
335
335
|
documents: www.un.org/webcast
|
336
336
|
endorsements_count: 批准次数
|
337
337
|
endorsers: 核可者
|
338
|
-
n_more_endorsers:
|
339
|
-
other: 和 %{count} 更多
|
340
338
|
photos: 照片
|
341
339
|
ranking: "%{ranking} / %{total}"
|
342
340
|
related_meetings: 相关会议
|
data/config/locales/zh-TW.yml
CHANGED
@@ -303,6 +303,8 @@ zh-TW:
|
|
303
303
|
description: 提案總數
|
304
304
|
object: 提案
|
305
305
|
title: 提案
|
306
|
+
votes:
|
307
|
+
title: 投票
|
306
308
|
participatory_spaces:
|
307
309
|
highlighted_proposals:
|
308
310
|
see_all: 檢視所有提案
|
@@ -415,7 +417,6 @@ zh-TW:
|
|
415
417
|
index:
|
416
418
|
actions: 操作
|
417
419
|
assign_to_valuator: 分配給評估人員
|
418
|
-
assign_to_valuator_button: 指派
|
419
420
|
cancel: 取消
|
420
421
|
change_category: 變更類別
|
421
422
|
change_scope: 變更範圍
|
@@ -429,7 +430,6 @@ zh-TW:
|
|
429
430
|
split_button: 拆分
|
430
431
|
title: 提案
|
431
432
|
unassign_from_valuator: 取消分派給評估者
|
432
|
-
unassign_from_valuator_button: 取消分配
|
433
433
|
update: 更新
|
434
434
|
update_scope_button: 更新範圍
|
435
435
|
new:
|
@@ -445,8 +445,6 @@ zh-TW:
|
|
445
445
|
documents: 文件
|
446
446
|
endorsements_count: 連署人數
|
447
447
|
endorsers: 贊助人
|
448
|
-
n_more_endorsers:
|
449
|
-
other: 還有 %{count} 位
|
450
448
|
photos: 圖片
|
451
449
|
ranking: "%{total} 的%{ranking}"
|
452
450
|
related_meetings: 相關會議
|
@@ -466,7 +464,6 @@ zh-TW:
|
|
466
464
|
proposals_imports:
|
467
465
|
create:
|
468
466
|
invalid: 匯入提案時發生問題.
|
469
|
-
success: "%{number} 個提案成功匯入."
|
470
467
|
new:
|
471
468
|
create: 匯入提案
|
472
469
|
no_components: 這個參與空間中沒有其他的提案元件可以匯入提案。
|
@@ -684,7 +681,6 @@ zh-TW:
|
|
684
681
|
text_banner: 您正在查看由其作者撤回的提案列表。%{go_back_link}。
|
685
682
|
new:
|
686
683
|
send: 繼續
|
687
|
-
title: 創建你的提案
|
688
684
|
orders:
|
689
685
|
label: '依順序排序提案:'
|
690
686
|
most_commented: 最多評論
|
@@ -15,6 +15,28 @@ namespace :decidim_proposals do
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
desc "Fix proposal states created by import from other component bug"
|
19
|
+
task fix_state: :environment do
|
20
|
+
states_ids_for_reset = []
|
21
|
+
Decidim::Proposals::Proposal.unscoped.includes(:proposal_state).where.not(decidim_proposals_proposal_state_id: nil).find_each(batch_size: 100) do |proposal|
|
22
|
+
next if proposal.decidim_component_id == proposal.proposal_state.decidim_component_id
|
23
|
+
|
24
|
+
states_ids_for_reset.push(proposal.proposal_state.id)
|
25
|
+
new_state = Decidim::Proposals::ProposalState.where(component: proposal.component, token: proposal.proposal_state.token).first
|
26
|
+
if new_state.present?
|
27
|
+
states_ids_for_reset.push(new_state.id)
|
28
|
+
proposal.update_columns(decidim_proposals_proposal_state_id: new_state.id) # rubocop:disable Rails/SkipsModelValidations
|
29
|
+
else
|
30
|
+
# if the state is not found on the proposal component, the state is custom and should be removed
|
31
|
+
proposal.update_columns(decidim_proposals_proposal_state_id: nil) # rubocop:disable Rails/SkipsModelValidations
|
32
|
+
end
|
33
|
+
end
|
34
|
+
states_ids_for_reset.uniq.each do |state_id|
|
35
|
+
Decidim::Proposals::ProposalState.reset_counters(state_id, :proposals)
|
36
|
+
end
|
37
|
+
puts "FINISHED"
|
38
|
+
end
|
39
|
+
|
18
40
|
desc "Removes all proposal valuator records of which the role assignment does not exists"
|
19
41
|
task remove_valuator_orphan_records: :environment do
|
20
42
|
if Decidim.module_installed?("participatory_processes")
|