decidim-proposals 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/proposals/admin/proposals.es6 +24 -11
  3. data/app/cells/decidim/proposals/cost_report/show.erb +35 -0
  4. data/app/cells/decidim/proposals/cost_report_cell.rb +42 -0
  5. data/app/cells/decidim/proposals/proposal_m_cell.rb +9 -1
  6. data/app/cells/decidim/proposals/proposal_tags/show.erb +12 -10
  7. data/app/cells/decidim/proposals/proposal_tags_cell.rb +5 -0
  8. data/app/commands/decidim/proposals/admin/answer_proposal.rb +24 -46
  9. data/app/commands/decidim/proposals/admin/assign_proposals_to_valuator.rb +61 -0
  10. data/app/commands/decidim/proposals/admin/create_proposal.rb +5 -0
  11. data/app/commands/decidim/proposals/admin/notify_proposal_answer.rb +85 -0
  12. data/app/commands/decidim/proposals/admin/publish_answers.rb +67 -0
  13. data/app/commands/decidim/proposals/admin/unassign_proposals_from_valuator.rb +62 -0
  14. data/app/commands/decidim/proposals/admin/update_proposal_scope.rb +75 -0
  15. data/app/controllers/concerns/decidim/proposals/admin/filterable.rb +82 -0
  16. data/app/controllers/decidim/proposals/admin/proposal_answers_controller.rb +16 -6
  17. data/app/controllers/decidim/proposals/admin/proposal_notes_controller.rb +8 -9
  18. data/app/controllers/decidim/proposals/admin/proposals_controller.rb +105 -29
  19. data/app/controllers/decidim/proposals/admin/valuation_assignments_controller.rb +58 -0
  20. data/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +19 -3
  21. data/app/controllers/decidim/proposals/proposals_controller.rb +42 -7
  22. data/app/controllers/decidim/proposals/versions_controller.rb +4 -1
  23. data/app/events/decidim/proposals/admin/update_proposal_scope_event.rb +11 -0
  24. data/app/forms/decidim/proposals/admin/proposal_answer_form.rb +27 -2
  25. data/app/forms/decidim/proposals/admin/valuation_assignment_form.rb +37 -0
  26. data/app/forms/decidim/proposals/proposal_wizard_create_step_form.rb +8 -0
  27. data/app/helpers/decidim/proposals/admin/filterable_helper.rb +17 -0
  28. data/app/helpers/decidim/proposals/admin/proposal_bulk_actions_helper.rb +35 -0
  29. data/app/helpers/decidim/proposals/admin/proposal_rankings_helper.rb +63 -0
  30. data/app/helpers/decidim/proposals/admin/proposals_helper.rb +122 -0
  31. data/app/helpers/decidim/proposals/application_helper.rb +36 -25
  32. data/app/helpers/decidim/proposals/collaborative_draft_helper.rb +9 -9
  33. data/app/helpers/decidim/proposals/proposal_cells_helper.rb +1 -1
  34. data/app/helpers/decidim/proposals/proposals_helper.rb +18 -0
  35. data/app/models/decidim/proposals/proposal.rb +163 -16
  36. data/app/models/decidim/proposals/valuation_assignment.rb +24 -0
  37. data/app/permissions/decidim/proposals/admin/permissions.rb +77 -11
  38. data/app/presenters/decidim/proposals/admin_log/proposal_presenter.rb +1 -1
  39. data/app/presenters/decidim/proposals/admin_log/valuation_assignment_presenter.rb +51 -0
  40. data/app/presenters/decidim/proposals/admin_log/value_types/valuator_role_user_presenter.rb +19 -0
  41. data/app/presenters/decidim/proposals/collaborative_draft_presenter.rb +2 -28
  42. data/app/presenters/decidim/proposals/log/valuation_assignment_presenter.rb +22 -0
  43. data/app/presenters/decidim/proposals/proposal_presenter.rb +26 -1
  44. data/app/services/decidim/proposals/collaborative_draft_search.rb +18 -10
  45. data/app/services/decidim/proposals/proposal_search.rb +33 -40
  46. data/app/types/decidim/proposals/proposal_input_filter.rb +29 -0
  47. data/app/types/decidim/proposals/proposal_input_sort.rb +28 -0
  48. data/app/types/decidim/proposals/proposal_type.rb +35 -4
  49. data/app/types/decidim/proposals/proposals_type.rb +14 -17
  50. data/app/views/decidim/proposals/admin/proposal_answers/_form.html.erb +35 -0
  51. data/app/views/decidim/proposals/admin/proposal_notes/_form.html.erb +1 -1
  52. data/app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb +1 -1
  53. data/app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb +8 -2
  54. data/app/views/decidim/proposals/admin/proposals/_form.html.erb +1 -1
  55. data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +25 -17
  56. data/app/views/decidim/proposals/admin/proposals/bulk_actions/_assign_to_valuator.html.erb +15 -0
  57. data/app/views/decidim/proposals/admin/proposals/bulk_actions/_dropdown.html.erb +21 -1
  58. data/app/views/decidim/proposals/admin/proposals/bulk_actions/_publish_answers.html.erb +14 -0
  59. data/app/views/decidim/proposals/admin/proposals/bulk_actions/_scope-change.html.erb +25 -0
  60. data/app/views/decidim/proposals/admin/proposals/bulk_actions/_unassign_from_valuator.html.erb +15 -0
  61. data/app/views/decidim/proposals/admin/proposals/index.html.erb +16 -7
  62. data/app/views/decidim/proposals/admin/proposals/publish_answers.js.erb +12 -0
  63. data/app/views/decidim/proposals/admin/proposals/show.html.erb +186 -0
  64. data/app/views/decidim/proposals/admin/proposals/update_category.js.erb +3 -2
  65. data/app/views/decidim/proposals/admin/proposals/update_scope.js.erb +27 -0
  66. data/app/views/decidim/proposals/collaborative_drafts/_filters.html.erb +3 -3
  67. data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +1 -1
  68. data/app/views/decidim/proposals/proposals/_filters.html.erb +12 -12
  69. data/app/views/decidim/proposals/proposals/_proposal_badge.html.erb +1 -4
  70. data/app/views/decidim/proposals/proposals/_proposal_preview.html.erb +1 -1
  71. data/app/views/decidim/proposals/proposals/_vote_button.html.erb +1 -1
  72. data/app/views/decidim/proposals/proposals/index.html.erb +1 -1
  73. data/app/views/decidim/proposals/proposals/new.html.erb +1 -1
  74. data/app/views/decidim/proposals/proposals/show.html.erb +17 -23
  75. data/config/locales/ar.yml +69 -17
  76. data/config/locales/ca.yml +113 -18
  77. data/config/locales/cs.yml +123 -31
  78. data/config/locales/de.yml +38 -18
  79. data/config/locales/el.yml +1 -0
  80. data/config/locales/en.yml +112 -17
  81. data/config/locales/es-MX.yml +112 -17
  82. data/config/locales/es-PY.yml +112 -17
  83. data/config/locales/es.yml +113 -18
  84. data/config/locales/eu.yml +38 -18
  85. data/config/locales/fi-plain.yml +113 -18
  86. data/config/locales/fi.yml +113 -18
  87. data/config/locales/fr.yml +38 -18
  88. data/config/locales/gl.yml +38 -18
  89. data/config/locales/hu.yml +112 -17
  90. data/config/locales/id-ID.yml +38 -18
  91. data/config/locales/is-IS.yml +25 -15
  92. data/config/locales/it.yml +38 -18
  93. data/config/locales/nl.yml +43 -18
  94. data/config/locales/no.yml +66 -18
  95. data/config/locales/pl.yml +38 -18
  96. data/config/locales/pt-BR.yml +39 -19
  97. data/config/locales/pt.yml +39 -19
  98. data/config/locales/ru.yml +25 -17
  99. data/config/locales/sv.yml +39 -18
  100. data/config/locales/tr-TR.yml +38 -18
  101. data/config/locales/uk.yml +25 -17
  102. data/db/migrate/20200203111239_add_proposal_valuation_assignments.rb +12 -0
  103. data/db/migrate/20200210135152_add_costs_to_proposals.rb +9 -0
  104. data/db/migrate/20200212120110_sync_proposals_state_with_amendments_state.rb +28 -0
  105. data/db/migrate/20200227175922_add_state_published_at_to_proposals.rb +7 -0
  106. data/db/migrate/20200306123652_publish_existing_proposals_state.rb +15 -0
  107. data/lib/decidim/proposals.rb +1 -0
  108. data/lib/decidim/proposals/admin_engine.rb +7 -3
  109. data/lib/decidim/proposals/component.rb +39 -19
  110. data/lib/decidim/proposals/engine.rb +1 -1
  111. data/lib/decidim/proposals/test/factories.rb +55 -0
  112. data/lib/decidim/proposals/valuatable.rb +21 -0
  113. data/lib/decidim/proposals/version.rb +1 -1
  114. metadata +53 -36
  115. data/app/views/decidim/proposals/admin/proposal_answers/edit.html.erb +0 -22
  116. data/app/views/decidim/proposals/admin/proposal_notes/index.html.erb +0 -3
  117. data/app/views/decidim/proposals/admin/shared/_info_proposal.html.erb +0 -20
  118. data/app/views/decidim/proposals/proposal_widgets/show.html.erb +0 -4
@@ -42,6 +42,7 @@
42
42
  attachment:
43
43
  needs_to_be_reattached: Må festes på nytt
44
44
  body:
45
+ cant_be_equal_to_template: kan ikke være lik malen
45
46
  identical: OG tittelen kan ikke være identisk
46
47
  title:
47
48
  identical: OG teksten kan ikke være identisk
@@ -74,6 +75,23 @@
74
75
  one: Støtte
75
76
  other: Støttere
76
77
  decidim:
78
+ admin:
79
+ filters:
80
+ is_emendation_true:
81
+ label: Type
82
+ values:
83
+ 'false': Forslag
84
+ 'true': Endringer
85
+ search_placeholder:
86
+ id_string_or_title_cont: Søk %{collection} etter ID eller tittel.
87
+ state_eq:
88
+ values:
89
+ evaluating: Vurderer
90
+ withdrawn: Trukket tilbake
91
+ state_null:
92
+ label: Status
93
+ values:
94
+ 'true': Ikke besvart
77
95
  components:
78
96
  proposals:
79
97
  actions:
@@ -85,6 +103,7 @@
85
103
  name: Forslag
86
104
  settings:
87
105
  global:
106
+ allow_card_image: Tillat kortbilde
88
107
  amendments_enabled: Endringer aktivert
89
108
  amendments_enabled_help: Hvis aktiv, konfigurer du endringsfunksjoner for hvert trinn.
90
109
  amendments_wizard_help_text: Endrings Veiviser hjelpetekst
@@ -95,6 +114,8 @@
95
114
  comments_enabled: Kommentarer aktivert
96
115
  geocoding_enabled: Geokoding aktivert
97
116
  minimum_votes_per_user: Minimum støtter per bruker
117
+ new_proposal_body_template: Nytt forslag korppsmal
118
+ new_proposal_body_template_help: Du kan definere forhåndsutfylt tekst som de nye forslagene vil ha
98
119
  new_proposal_help_text: Ny forslag hjelpetekst
99
120
  official_proposals_enabled: Offisielle forslag aktivert
100
121
  participatory_texts_disabled_help: Kan ikke samhandle med denne innstillingen hvis det finnes eksisterende forslag. Vennligst, opprett et nytt "Forslags komponent" hvis du vil aktivere denne funksjonen eller forkaste alle importerte forslag i `Deltakende tekster` -menyen hvis du vil deaktivere den.
@@ -120,6 +141,7 @@
120
141
  amendments_visibility: Endringens synlighet
121
142
  amendments_visibility_help: Hvis alternativet "Endringer er bare synlige for forfatterne" er valgt, må deltaker være logget inn for å se endringene som er gjort.
122
143
  announcement: Kunngjøring
144
+ answers_with_costs: Aktiver kostnader på forslag til svar
123
145
  automatic_hashtags: Hashtagger lagt til i alle forslag
124
146
  comments_blocked: Kommentarer blokkert
125
147
  creation_enabled: Opprettelse av forslag aktivert
@@ -200,7 +222,6 @@
200
222
  email_subject: Et forslag du følger blir evaluert
201
223
  notification_title: <a href="%{resource_path}">%{resource_title}</a> forslaget blir evaluert.
202
224
  proposal_mentioned:
203
- email_intro: Forslaget ditt "%{mentioned_proposal_title}" har blitt nevnt <a href="%{resource_path}">i dette området</a> i kommentarene.
204
225
  email_outro: Du har mottatt denne varslingen fordi du er en forfatter av "%{resource_title}".
205
226
  email_subject: Forslaget ditt "%{mentioned_proposal_title}" er blitt nevnt
206
227
  notification_title: Forslaget ditt "%{mentioned_proposal_title}" har blitt nevnt <a href="%{resource_path}">i dette området</a> i kommentarene.
@@ -230,6 +251,8 @@
230
251
  email_outro: Du har mottatt denne varslingen fordi du er forfatteren av forslaget.
231
252
  email_subject: Forslags kategorien %{resource_title} ble oppdatert
232
253
  notification_title: <a href="%{resource_path}">%{resource_title}</a> forslags kategorien er blitt oppdatert av en administrator.
254
+ proposal_update_scope:
255
+ email_outro: Du har mottatt denne varslingen fordi du er forfatteren av forslaget.
233
256
  voting_enabled:
234
257
  email_intro: 'Du kan støtte forslag i %{participatory_space_title}! Begynn å delta på denne siden:'
235
258
  email_outro: Du har mottatt denne varslingen fordi du følger %{participatory_space_title}. Du kan slutte å motta varsler hvis du følger den forrige lenken.
@@ -296,12 +319,11 @@
296
319
  see_all: Vis alle (%{count})
297
320
  proposals:
298
321
  actions:
299
- answer: Svar
300
322
  edit_proposal: Rediger forslaget
301
323
  import: Importer fra en annen komponent
302
324
  new: Nytt forslag
303
325
  participatory_texts: Deltakende tekster
304
- private_notes: Private notater
326
+ show: Vis forslag
305
327
  title: Handlinger
306
328
  admin:
307
329
  actions:
@@ -346,7 +368,7 @@
346
368
  update:
347
369
  success: Deltakende tekst ble oppdatert.
348
370
  proposal_answers:
349
- edit:
371
+ form:
350
372
  accepted: Aksepterte
351
373
  answer_proposal: Svar
352
374
  evaluating: Vurderer
@@ -384,6 +406,7 @@
384
406
  change_category: Endre kategori
385
407
  merge: Slå sammen til en ny
386
408
  merge_button: Slå sammen
409
+ publish: Publiser
387
410
  select_component: Velg en komponent
388
411
  selected: valgt
389
412
  split: Delte forslag
@@ -393,11 +416,36 @@
393
416
  new:
394
417
  create: Opprett
395
418
  title: Opprett forslag
419
+ publish_answers:
420
+ select_a_proposal: Vennligst velg et forslag
421
+ show:
422
+ amendments_count: Endringer teller
423
+ authors: Forfattere
424
+ body: Body
425
+ comments_count: Kommentarer teller
426
+ comments_negative_count: Imot
427
+ comments_neutral_count: Nøytral
428
+ comments_positive_count: Tjeneste
429
+ created_at: Opprettelsesdato
430
+ documents: Dokumenter
431
+ endorsements_count: Påtegnelser teller
432
+ endorsements_ranking: Rankingliste av påtegninger
433
+ endorsers: Påtegnelser
434
+ link: Lenke
435
+ n_more_endorsers:
436
+ one: og 1 til
437
+ other: og %{count} til
438
+ photos: Bilder
439
+ proposals: Forslag
440
+ ranking: "%{ranking} av %{total}"
441
+ related_meetings: Relaterte møter
442
+ votes_count: Støtter antall
443
+ votes_ranking: Rangering etter støttere
396
444
  update_category:
397
- invalid: 'Disse forslagene hadde allerede %{category} kategorien: %{proposals}.'
398
445
  select_a_category: Velg en kategori
399
446
  select_a_proposal: Vennligst velg et forslag
400
- success: 'Forslag oppdatert til %{category} kategorien: %{proposals}.'
447
+ update_scope:
448
+ select_a_proposal: Vennligst velg et forslag
401
449
  proposals_imports:
402
450
  create:
403
451
  invalid: Det oppsto et problem med å importere forslagene
@@ -415,12 +463,6 @@
415
463
  create:
416
464
  invalid: Det oppstod et problem med å splitte de valgte forslagene.
417
465
  success: Delte forslagene vellykket til nye.
418
- shared:
419
- info_proposal:
420
- body: Tekst
421
- created_at: Opprettelsesdato
422
- proposal_votes_count: Støtter antall
423
- proposals: Forslag
424
466
  admin_log:
425
467
  proposal:
426
468
  answer: "%{user_name} svarte på %{resource_name} forslaget på %{space_name} rommet"
@@ -435,17 +477,21 @@
435
477
  rejected: Avvist
436
478
  withdrawn: Trukket tilbake
437
479
  application_helper:
480
+ filter_category_values:
481
+ all: Alle
438
482
  filter_origin_values:
439
483
  all: Alle
440
484
  citizens: Borgere
441
485
  meetings: Møter
442
486
  official: Offisiell
443
487
  user_groups: Grupper
488
+ filter_scope_values:
489
+ all: Alle
444
490
  filter_state_values:
445
491
  accepted: Aksepterte
446
492
  all: Alle
447
493
  evaluating: Vurderer
448
- except_rejected: Alle unntatt avvist
494
+ not_answered: Ikke besvart
449
495
  rejected: Avvist
450
496
  filter_type_values:
451
497
  all: Alle
@@ -494,10 +540,10 @@
494
540
  all: Alle
495
541
  amendment: Endringer
496
542
  category: Kategori
497
- category_prompt: Kategori ledetekst
498
543
  open: Åpen
499
544
  published: Publisert
500
545
  related_to: Relatert til
546
+ scope: Omfang
501
547
  search: Søk
502
548
  state: Status
503
549
  withdrawn: Trukket tilbake
@@ -648,12 +694,13 @@
648
694
  all: Alle
649
695
  amendment_type: Type
650
696
  category: Kategori
651
- category_prompt: Velg en kategori
652
697
  my_proposals: Mine forslag
653
698
  origin: Opprinnelse
654
699
  related_to: Relatert til
700
+ scope: Omfang
655
701
  search: Søk
656
702
  state: Status
703
+ type: Type
657
704
  voted: Støttet
658
705
  filters_small_view:
659
706
  close_modal: Lukk modal
@@ -697,10 +744,12 @@
697
744
  creation_date: 'Opprettet: %{date}'
698
745
  view_proposal: Se forslag
699
746
  show:
747
+ answer: Svar
700
748
  back_to: Tilbake til
701
749
  changes_at_title: Endring til "%{title}"
702
750
  edit_proposal: Rediger forslaget
703
751
  endorsements_list: Liste over Påtegnelser
752
+ estimated_cost: Estimert kostnad
704
753
  hidden_endorsers_count:
705
754
  one: og %{count} til person
706
755
  other: og %{count} flere personer
@@ -713,13 +762,12 @@
713
762
  proposal_accepted_reason: 'Dette forslaget ble akseptert fordi:'
714
763
  proposal_in_evaluation_reason: Dette forslaget blir evaluert
715
764
  proposal_rejected_reason: 'Dette forslaget ble avvist fordi:'
765
+ read_less: Vis mindre
766
+ read_more: Les mer
716
767
  report: Rapport
717
768
  withdraw_btn_hint: Du kan trekke tilbake forslaget ditt hvis du ombestemmer deg, så lenge du ikke har fått noe støtte. Forslaget er ikke slettet, den vil vises i listen av tilbaketrukne forslag.
718
769
  withdraw_confirmation: Er du sikker på at du vil trekke dette forslaget tilbake?
719
770
  withdraw_proposal: Trekk tilbake forslag
720
- tags:
721
- changed_from: "(endret fra <u>%{previous_category}</u> av en administrator)"
722
- filed_as: Arkivert som
723
771
  vote_button:
724
772
  already_voted: Støttet allerede
725
773
  already_voted_hover: Trekk tilbake støtte
@@ -83,6 +83,21 @@ pl:
83
83
  many: Głosy
84
84
  other: Głosy
85
85
  decidim:
86
+ admin:
87
+ filters:
88
+ is_emendation_true:
89
+ label: Rodzaj
90
+ values:
91
+ 'false': Propozycje
92
+ 'true': Poprawki
93
+ state_eq:
94
+ values:
95
+ evaluating: Ocena
96
+ withdrawn: Wycofane
97
+ state_null:
98
+ label: Stan
99
+ values:
100
+ 'true': Bez odpowiedzi
86
101
  components:
87
102
  proposals:
88
103
  actions:
@@ -197,7 +212,6 @@ pl:
197
212
  email_subject: Propozycja, którą obserwujesz, jest oceniana
198
213
  notification_title: Trwa ocena oferty <a href="%{resource_path}">%{resource_title}</a>.
199
214
  proposal_mentioned:
200
- email_intro: Twoja propozycja "%{mentioned_proposal_title}" została wspomniana <a href="%{resource_path}">w tym miejscu</a> w komentarzach.
201
215
  email_outro: Otrzymałeś to powiadomienie, ponieważ jesteś autorem "%{resource_title}".
202
216
  email_subject: Twoja propozycja "%{mentioned_proposal_title}" została wymieniona
203
217
  notification_title: Twoja propozycja "%{mentioned_proposal_title}" została wspomniana <a href="%{resource_path}">w tym miejscu</a> w komentarzach.
@@ -227,6 +241,8 @@ pl:
227
241
  email_outro: Otrzymałeś to powiadomienie, ponieważ jesteś autorem wniosku.
228
242
  email_subject: Kategoria %{resource_title} propozycji została zaktualizowana
229
243
  notification_title: <a href="%{resource_path}">%{resource_title}</a> kategoria propozycji została zaktualizowana przez administratora.
244
+ proposal_update_scope:
245
+ email_outro: Otrzymałeś to powiadomienie, ponieważ jesteś autorem wniosku.
230
246
  voting_enabled:
231
247
  email_intro: 'Możesz głosować na propozycje w %{participatory_space_title}! Zacznij uczestniczyć w tej stronie:'
232
248
  email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{participatory_space_title}. Możesz przestać otrzymywać powiadomienia po poprzednim linku.
@@ -293,12 +309,10 @@ pl:
293
309
  see_all: Zobacz wszystko (%{count})
294
310
  proposals:
295
311
  actions:
296
- answer: Odpowiedź
297
312
  edit_proposal: Edytuj propozycję
298
313
  import: Importuj z innego komponentu
299
314
  new: Nowa propozycja
300
315
  participatory_texts: Teksty uczestniczące
301
- private_notes: Prywatne notatki
302
316
  title: działania
303
317
  admin:
304
318
  actions:
@@ -342,7 +356,7 @@ pl:
342
356
  update:
343
357
  success: Tekst uczestnictwa został zaktualizowany pomyślnie.
344
358
  proposal_answers:
345
- edit:
359
+ form:
346
360
  accepted: Przyjęty
347
361
  answer_proposal: Odpowiedź
348
362
  evaluating: Ocena
@@ -378,6 +392,7 @@ pl:
378
392
  change_category: Zmień kategorię
379
393
  merge: Połącz się z nowym
380
394
  merge_button: Łączyć
395
+ publish: Publikować
381
396
  select_component: Wybierz składnik
382
397
  selected: wybrany
383
398
  split: Podziel propozycje
@@ -387,11 +402,19 @@ pl:
387
402
  new:
388
403
  create: Stwórz
389
404
  title: Utwórz propozycję
405
+ publish_answers:
406
+ select_a_proposal: Wybierz propozycję
407
+ show:
408
+ authors: Autorski
409
+ body: Ciało
410
+ created_at: Data utworzenia
411
+ proposals: Propozycje
412
+ votes_count: Liczenie głosów
390
413
  update_category:
391
- invalid: 'Te propozycje miały już kategorię %{category} : %{proposals}.'
392
414
  select_a_category: Proszę wybierz kategorie
393
415
  select_a_proposal: Wybierz propozycję
394
- success: 'Propozycje pomyślnie zaktualizowane do kategorii %{category} : %{proposals}.'
416
+ update_scope:
417
+ select_a_proposal: Wybierz propozycję
395
418
  proposals_imports:
396
419
  create:
397
420
  invalid: Podczas importowania propozycji wystąpił problem
@@ -409,12 +432,6 @@ pl:
409
432
  create:
410
433
  invalid: Wystąpił błąd podczas podziału wybranych propozycji.
411
434
  success: Pomyślnie podzielono propozycje na nowe.
412
- shared:
413
- info_proposal:
414
- body: Ciało
415
- created_at: Data utworzenia
416
- proposal_votes_count: Liczenie głosów
417
- proposals: Propozycje
418
435
  admin_log:
419
436
  proposal:
420
437
  answer: "%{user_name} odpowiedziało na propozycję %{resource_name} na przestrzeni %{space_name}"
@@ -429,17 +446,21 @@ pl:
429
446
  rejected: Odrzucone
430
447
  withdrawn: Wycofane
431
448
  application_helper:
449
+ filter_category_values:
450
+ all: Wszystko
432
451
  filter_origin_values:
433
452
  all: Wszystko
434
453
  citizens: Obywatele
435
454
  meetings: Spotkania
436
455
  official: Urzędnik
437
456
  user_groups: Grupy użytkowników
457
+ filter_scope_values:
458
+ all: Wszystko
438
459
  filter_state_values:
439
460
  accepted: Przyjęty
440
461
  all: Wszystko
441
462
  evaluating: Ewaluacja
442
- except_rejected: Wszystkie oprócz odrzuconych
463
+ not_answered: Bez odpowiedzi
443
464
  rejected: Odrzucono
444
465
  filter_type_values:
445
466
  all: Wszystko
@@ -490,10 +511,10 @@ pl:
490
511
  all: Wszystko
491
512
  amendment: Poprawki
492
513
  category: Kategoria
493
- category_prompt: Monit kategorii
494
514
  open: otwarty
495
515
  published: Opublikowany
496
516
  related_to: Związany z
517
+ scope: Zakres
497
518
  search: Szukaj
498
519
  state: Stan
499
520
  withdrawn: Wycofane
@@ -646,11 +667,12 @@ pl:
646
667
  filters:
647
668
  amendment_type: Rodzaj
648
669
  category: Kategoria
649
- category_prompt: Wybierz kategorię
650
670
  origin: Pochodzenie
651
671
  related_to: Związany z
672
+ scope: Zakres
652
673
  search: Szukanie
653
674
  state: Stan
675
+ type: Rodzaj
654
676
  voted: Głosował
655
677
  filters_small_view:
656
678
  close_modal: Zamknij modal
@@ -694,6 +716,7 @@ pl:
694
716
  creation_date: 'Tworzenie: %{date}'
695
717
  view_proposal: Wyświetl propozycję
696
718
  show:
719
+ answer: Odpowiedź
697
720
  back_to: Wrócić do
698
721
  edit_proposal: Edytuj propozycję
699
722
  endorsements_list: Lista rekomendacji
@@ -711,9 +734,6 @@ pl:
711
734
  withdraw_btn_hint: Możesz wycofać swoją propozycję, jeśli zmienisz zdanie, o ile nie otrzymałeś żadnego wsparcia. Wniosek nie zostanie usunięty, pojawi się na liście wycofanych wniosków.
712
735
  withdraw_confirmation: Czy na pewno chcesz wycofać tę propozycję?
713
736
  withdraw_proposal: Wycofaj propozycję
714
- tags:
715
- changed_from: "(zmieniono z <u>%{previous_category}</u> przez administratora)"
716
- filed_as: Zapisano jako
717
737
  vote_button:
718
738
  already_voted: Już głosował
719
739
  already_voted_hover: Unvote
@@ -73,6 +73,21 @@ pt-BR:
73
73
  one: Voto
74
74
  other: Votos
75
75
  decidim:
76
+ admin:
77
+ filters:
78
+ is_emendation_true:
79
+ label: Tipo
80
+ values:
81
+ 'false': Propostas
82
+ 'true': Emendas
83
+ state_eq:
84
+ values:
85
+ evaluating: Avaliando
86
+ withdrawn: Retirado
87
+ state_null:
88
+ label: Estado
89
+ values:
90
+ 'true': Não respondido
76
91
  components:
77
92
  proposals:
78
93
  actions:
@@ -187,7 +202,6 @@ pt-BR:
187
202
  email_subject: Uma proposta que você está seguindo está sendo avaliada
188
203
  notification_title: A proposta <a href="%{resource_path}">%{resource_title}</a> está sendo avaliada.
189
204
  proposal_mentioned:
190
- email_intro: Sua proposta "%{mentioned_proposal_title}" foi mencionada <a href="%{resource_path}">neste espaço</a> nos comentários.
191
205
  email_outro: Você recebeu esta notificação porque é um autor de "%{resource_title}".
192
206
  email_subject: Sua proposta "%{mentioned_proposal_title}" foi mencionada
193
207
  notification_title: Sua proposta "%{mentioned_proposal_title}" foi mencionada <a href="%{resource_path}">neste espaço</a> nos comentários.
@@ -217,6 +231,8 @@ pt-BR:
217
231
  email_outro: Você recebeu esta notificação porque você é o autor da proposta.
218
232
  email_subject: A categoria de proposta %{resource_title} foi atualizada
219
233
  notification_title: A <a href="%{resource_path}">%{resource_title}</a> categoria de proposta foi atualizada por um administrador.
234
+ proposal_update_scope:
235
+ email_outro: Você recebeu esta notificação porque você é o autor da proposta.
220
236
  voting_enabled:
221
237
  email_intro: 'Você pode votar propostas em %{participatory_space_title}! Comece a participar nesta página:'
222
238
  email_outro: Você recebeu esta notificação porque está seguindo %{participatory_space_title}. Você pode parar de receber notificações após o link anterior.
@@ -283,12 +299,10 @@ pt-BR:
283
299
  see_all: Ver todos (%{count})
284
300
  proposals:
285
301
  actions:
286
- answer: Responder
287
302
  edit_proposal: Editar proposta
288
303
  import: Importar de outro componente
289
304
  new: Nova proposta
290
305
  participatory_texts: Textos participativos
291
- private_notes: Notas privadas
292
306
  title: Ações
293
307
  admin:
294
308
  actions:
@@ -332,9 +346,9 @@ pt-BR:
332
346
  update:
333
347
  success: Texto participativo atualizado com sucesso.
334
348
  proposal_answers:
335
- edit:
349
+ form:
336
350
  accepted: Aceitaram
337
- answer_proposal: Responder
351
+ answer_proposal: Responda
338
352
  evaluating: Avaliando
339
353
  rejected: Rejeitado
340
354
  title: Resposta para a proposta %{title}
@@ -368,6 +382,7 @@ pt-BR:
368
382
  change_category: Alterar categoria
369
383
  merge: Junte-se a um novo
370
384
  merge_button: Combinar
385
+ publish: Publicar
371
386
  select_component: Selecionar componente
372
387
  selected: selecionado
373
388
  split: Dividir propostas
@@ -377,11 +392,19 @@ pt-BR:
377
392
  new:
378
393
  create: Criar
379
394
  title: Criar proposta
395
+ publish_answers:
396
+ select_a_proposal: Selecione uma proposta
397
+ show:
398
+ authors: Autores
399
+ body: Corpo
400
+ created_at: Data de criação
401
+ proposals: Propostas
402
+ votes_count: Contagem de votos
380
403
  update_category:
381
- invalid: 'Essas propostas já tinham a categoria %{category} : %{proposals}.'
382
404
  select_a_category: Selecione uma categoria
383
405
  select_a_proposal: Selecione uma proposta
384
- success: 'Propostas atualizadas com êxito para a categoria %{category} : %{proposals}.'
406
+ update_scope:
407
+ select_a_proposal: Selecione uma proposta
385
408
  proposals_imports:
386
409
  create:
387
410
  invalid: Tem havido um problema ao importar as propostas
@@ -399,12 +422,6 @@ pt-BR:
399
422
  create:
400
423
  invalid: Ocorreu um erro ao dividir as propostas selecionadas.
401
424
  success: Dividiu com sucesso as propostas em novas.
402
- shared:
403
- info_proposal:
404
- body: Corpo
405
- created_at: Data de criação
406
- proposal_votes_count: Contagem de votos
407
- proposals: Propostas
408
425
  admin_log:
409
426
  proposal:
410
427
  answer: "%{user_name} respondeu a proposta %{resource_name} no espaço %{space_name}"
@@ -419,17 +436,21 @@ pt-BR:
419
436
  rejected: Rejeitado
420
437
  withdrawn: Retirado
421
438
  application_helper:
439
+ filter_category_values:
440
+ all: Todos
422
441
  filter_origin_values:
423
442
  all: Todos
424
443
  citizens: Cidadãos
425
444
  meetings: Reuniões
426
445
  official: Oficial
427
446
  user_groups: Grupos de usuários
447
+ filter_scope_values:
448
+ all: Todos
428
449
  filter_state_values:
429
450
  accepted: Aceitaram
430
451
  all: Todos
431
452
  evaluating: Avaliando
432
- except_rejected: Todos exceto rejeitados
453
+ not_answered: Não respondido
433
454
  rejected: Rejeitado
434
455
  filter_type_values:
435
456
  all: Todos
@@ -478,10 +499,10 @@ pt-BR:
478
499
  all: Todos
479
500
  amendment: Emendas
480
501
  category: Categoria
481
- category_prompt: Prompt de categoria
482
502
  open: Aberto
483
503
  published: Publicados
484
504
  related_to: Relacionado a
505
+ scope: Escopo
485
506
  search: Pesquisa
486
507
  state: Estado
487
508
  withdrawn: Retirado
@@ -630,11 +651,12 @@ pt-BR:
630
651
  filters:
631
652
  amendment_type: Tipo
632
653
  category: Categoria
633
- category_prompt: Selecionar uma categoria
634
654
  origin: Origem
635
655
  related_to: Relacionado a
656
+ scope: Escopo
636
657
  search: Pesquisa
637
658
  state: Estado
659
+ type: Tipo
638
660
  voted: Votado
639
661
  filters_small_view:
640
662
  close_modal: Fechar modal
@@ -674,6 +696,7 @@ pt-BR:
674
696
  creation_date: 'Criação: %{date}'
675
697
  view_proposal: Ver proposta
676
698
  show:
699
+ answer: Responda
677
700
  back_to: De volta a
678
701
  edit_proposal: Editar proposta
679
702
  endorsements_list: Lista de avais
@@ -689,9 +712,6 @@ pt-BR:
689
712
  withdraw_btn_hint: Você pode retirar sua proposta se mudar de idéia, desde que não tenha recebido nenhum suporte. A proposta não é excluída, ela aparecerá na lista de propostas retiradas.
690
713
  withdraw_confirmation: Tem certeza de retirar essa proposta?
691
714
  withdraw_proposal: Retirar proposta
692
- tags:
693
- changed_from: "(alterado de <u>%{previous_category}</u> por um administrador)"
694
- filed_as: Arquivado como
695
715
  vote_button:
696
716
  already_voted: Já votou
697
717
  already_voted_hover: Unvote