decidim-proposals 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/admin/decidim_proposals_manifest.js +1 -0
  3. data/app/assets/images/decidim/gamification/badges/accepted_proposals.svg +1 -234
  4. data/app/assets/images/decidim/gamification/badges/proposal_votes.svg +1 -95
  5. data/app/assets/images/decidim/gamification/badges/proposals.svg +1 -229
  6. data/app/assets/images/decidim/proposals/icon.svg +1 -3
  7. data/app/assets/javascripts/decidim/proposals/admin/proposals_form.js.es6 +0 -5
  8. data/app/assets/javascripts/decidim/proposals/admin/proposals_picker.js.es6 +35 -0
  9. data/app/cells/decidim/proposals/collaborative_draft_link_to_proposal_cell.rb +1 -1
  10. data/app/cells/decidim/proposals/collaborative_draft_m/footer.erb +1 -1
  11. data/app/cells/decidim/proposals/collaborative_draft_m_cell.rb +1 -1
  12. data/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb +3 -3
  13. data/app/cells/decidim/proposals/highlighted_proposals_for_component_cell.rb +1 -1
  14. data/app/cells/decidim/proposals/irreversible_action_modal/show.erb +2 -2
  15. data/app/cells/decidim/proposals/irreversible_action_modal_cell.rb +1 -1
  16. data/app/cells/decidim/proposals/participatory_text_proposal/buttons.erb +1 -1
  17. data/app/cells/decidim/proposals/participatory_text_proposal_cell.rb +1 -1
  18. data/app/cells/decidim/proposals/proposal_m/footer.erb +4 -1
  19. data/app/cells/decidim/proposals/proposal_m_cell.rb +28 -8
  20. data/app/cells/decidim/proposals/proposal_tags/show.erb +8 -2
  21. data/app/cells/decidim/proposals/proposals_picker/proposals.erb +12 -0
  22. data/app/cells/decidim/proposals/proposals_picker/show.erb +14 -0
  23. data/app/cells/decidim/proposals/proposals_picker_cell.rb +72 -0
  24. data/app/commands/decidim/proposals/admin/create_proposal.rb +1 -1
  25. data/app/commands/decidim/proposals/admin/create_proposal_note.rb +15 -0
  26. data/app/commands/decidim/proposals/admin/update_proposal.rb +1 -1
  27. data/app/commands/decidim/proposals/create_collaborative_draft.rb +1 -1
  28. data/app/commands/decidim/proposals/create_proposal.rb +1 -1
  29. data/app/commands/decidim/proposals/gallery_methods.rb +2 -51
  30. data/app/commands/decidim/proposals/update_proposal.rb +1 -1
  31. data/app/controllers/concerns/decidim/proposals/admin/picker.rb +21 -0
  32. data/app/controllers/concerns/decidim/proposals/orderable.rb +1 -1
  33. data/app/controllers/decidim/proposals/proposals_controller.rb +4 -5
  34. data/app/controllers/decidim/proposals/versions_controller.rb +8 -18
  35. data/app/events/decidim/proposals/admin/proposal_note_created_event.rb +27 -0
  36. data/app/forms/decidim/proposals/admin/participatory_text_proposal_form.rb +13 -0
  37. data/app/forms/decidim/proposals/admin/preview_participatory_text_form.rb +2 -2
  38. data/app/forms/decidim/proposals/admin/proposal_base_form.rb +129 -0
  39. data/app/forms/decidim/proposals/admin/proposal_form.rb +2 -120
  40. data/app/forms/decidim/proposals/proposal_form.rb +4 -0
  41. data/app/forms/decidim/proposals/proposal_wizard_create_step_form.rb +5 -1
  42. data/app/helpers/decidim/proposals/admin/filterable_helper.rb +2 -2
  43. data/app/helpers/decidim/proposals/admin/proposal_rankings_helper.rb +2 -2
  44. data/app/helpers/decidim/proposals/admin/proposals_picker_helper.rb +30 -0
  45. data/app/helpers/decidim/proposals/application_helper.rb +6 -6
  46. data/app/helpers/decidim/proposals/control_version_helper.rb +1 -37
  47. data/app/helpers/decidim/proposals/proposal_endorsements_helper.rb +0 -145
  48. data/app/helpers/decidim/proposals/proposal_votes_helper.rb +2 -2
  49. data/app/helpers/decidim/proposals/proposal_wizard_helper.rb +24 -7
  50. data/app/helpers/decidim/proposals/proposals_helper.rb +6 -0
  51. data/app/models/decidim/proposals/proposal.rb +4 -14
  52. data/app/permissions/decidim/proposals/permissions.rb +1 -22
  53. data/app/presenters/decidim/proposals/proposal_presenter.rb +14 -2
  54. data/app/queries/decidim/proposals/metrics/accepted_proposals_metric_manage.rb +1 -2
  55. data/app/queries/decidim/proposals/metrics/endorsements_metric_manage.rb +15 -12
  56. data/app/queries/decidim/proposals/metrics/proposal_participants_metric_measure.rb +5 -4
  57. data/app/queries/decidim/proposals/metrics/proposals_metric_manage.rb +2 -8
  58. data/app/queries/decidim/proposals/metrics/votes_metric_manage.rb +3 -9
  59. data/app/services/decidim/proposals/diff_renderer.rb +2 -0
  60. data/app/services/decidim/proposals/proposal_builder.rb +1 -1
  61. data/app/services/decidim/proposals/proposal_search.rb +2 -2
  62. data/app/types/decidim/proposals/proposal_input_sort.rb +1 -7
  63. data/app/types/decidim/proposals/proposal_type.rb +1 -11
  64. data/app/types/decidim/proposals/proposals_type.rb +10 -0
  65. data/app/validators/proposal_length_validator.rb +38 -0
  66. data/app/views/decidim/proposals/admin/participatory_texts/index.html.erb +9 -1
  67. data/app/views/decidim/proposals/admin/proposal_notes/_proposal_notes.html.erb +2 -2
  68. data/app/views/decidim/proposals/admin/proposals/_form.html.erb +3 -23
  69. data/app/views/decidim/proposals/admin/proposals/index.html.erb +1 -1
  70. data/app/views/decidim/proposals/admin/proposals/show.html.erb +1 -1
  71. data/app/views/decidim/proposals/collaborative_drafts/_edit_form_fields.html.erb +6 -4
  72. data/app/views/decidim/proposals/collaborative_drafts/_filters.html.erb +9 -7
  73. data/app/views/decidim/proposals/collaborative_drafts/_new_collaborative_draft_button.html.erb +4 -4
  74. data/app/views/decidim/proposals/collaborative_drafts/_reject_request_access_form.html.erb +1 -1
  75. data/app/views/decidim/proposals/collaborative_drafts/_wizard_aside.html.erb +4 -2
  76. data/app/views/decidim/proposals/collaborative_drafts/compare.html.erb +2 -0
  77. data/app/views/decidim/proposals/collaborative_drafts/complete.html.erb +2 -0
  78. data/app/views/decidim/proposals/collaborative_drafts/edit.html.erb +3 -1
  79. data/app/views/decidim/proposals/collaborative_drafts/index.html.erb +4 -2
  80. data/app/views/decidim/proposals/collaborative_drafts/new.html.erb +4 -0
  81. data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +29 -30
  82. data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +5 -3
  83. data/app/views/decidim/proposals/proposals/_endorsements_card_row.html.erb +0 -16
  84. data/app/views/decidim/proposals/proposals/_filters.html.erb +12 -10
  85. data/app/views/decidim/proposals/proposals/_proposal_preview.html.erb +1 -11
  86. data/app/views/decidim/proposals/proposals/_proposal_similar.html.erb +2 -2
  87. data/app/views/decidim/proposals/proposals/_proposals.html.erb +14 -0
  88. data/app/views/decidim/proposals/proposals/_vote_button.html.erb +13 -6
  89. data/app/views/decidim/proposals/proposals/_wizard_aside.html.erb +4 -2
  90. data/app/views/decidim/proposals/proposals/_wizard_header.html.erb +4 -3
  91. data/app/views/decidim/proposals/proposals/compare.html.erb +2 -0
  92. data/app/views/decidim/proposals/proposals/complete.html.erb +2 -0
  93. data/app/views/decidim/proposals/proposals/edit.html.erb +3 -1
  94. data/app/views/decidim/proposals/proposals/edit_draft.html.erb +2 -0
  95. data/app/views/decidim/proposals/proposals/index.html.erb +5 -10
  96. data/app/views/decidim/proposals/proposals/new.html.erb +5 -1
  97. data/app/views/decidim/proposals/proposals/participatory_texts/_index.html.erb +1 -1
  98. data/app/views/decidim/proposals/proposals/participatory_texts/_proposal_vote_button.html.erb +10 -3
  99. data/app/views/decidim/proposals/proposals/participatory_texts/_view_index.html.erb +1 -1
  100. data/app/views/decidim/proposals/proposals/preview.html.erb +7 -8
  101. data/app/views/decidim/proposals/proposals/show.html.erb +52 -34
  102. data/app/views/decidim/proposals/versions/index.html.erb +14 -32
  103. data/app/views/decidim/proposals/versions/show.html.erb +16 -34
  104. data/config/locales/ar.yml +8 -64
  105. data/config/locales/bg-BG.yml +237 -0
  106. data/config/locales/ca.yml +68 -61
  107. data/config/locales/cs.yml +78 -68
  108. data/config/locales/da-DK.yml +1 -0
  109. data/config/locales/de.yml +142 -58
  110. data/config/locales/el.yml +875 -0
  111. data/config/locales/en.yml +74 -67
  112. data/config/locales/es-MX.yml +68 -61
  113. data/config/locales/es-PY.yml +68 -61
  114. data/config/locales/es.yml +68 -61
  115. data/config/locales/et-EE.yml +1 -0
  116. data/config/locales/eu.yml +5 -43
  117. data/config/locales/fi-plain.yml +68 -61
  118. data/config/locales/fi.yml +109 -102
  119. data/config/locales/fr-CA.yml +876 -0
  120. data/config/locales/fr.yml +128 -60
  121. data/config/locales/ga-IE.yml +1 -0
  122. data/config/locales/gl.yml +5 -43
  123. data/config/locales/hr-HR.yml +1 -0
  124. data/config/locales/hu.yml +38 -61
  125. data/config/locales/id-ID.yml +5 -42
  126. data/config/locales/is-IS.yml +1 -27
  127. data/config/locales/it.yml +136 -76
  128. data/config/locales/ja-JP.yml +886 -0
  129. data/config/locales/lt-LT.yml +1 -0
  130. data/config/locales/lv-LV.yml +858 -0
  131. data/config/locales/mt-MT.yml +1 -0
  132. data/config/locales/nl.yml +114 -59
  133. data/config/locales/no.yml +11 -64
  134. data/config/locales/pl.yml +170 -60
  135. data/config/locales/pt-BR.yml +6 -47
  136. data/config/locales/pt.yml +419 -331
  137. data/config/locales/ro-RO.yml +840 -0
  138. data/config/locales/ru.yml +1 -40
  139. data/config/locales/sk-SK.yml +896 -0
  140. data/config/locales/sk.yml +869 -0
  141. data/config/locales/sl.yml +26 -0
  142. data/config/locales/sr-CS.yml +126 -0
  143. data/config/locales/sv.yml +228 -156
  144. data/config/locales/tr-TR.yml +5 -43
  145. data/config/locales/uk.yml +1 -40
  146. data/db/migrate/20181003074440_fix_user_groups_ids_in_proposals_endorsements.rb +4 -0
  147. data/db/migrate/20191206154128_add_endorsements_counter_cache_to_proposals.rb +7 -0
  148. data/db/migrate/20200120215928_move_proposal_endorsements_to_core_endorsements.rb +52 -0
  149. data/db/migrate/20200730131631_move_proposal_endorsed_event_notifications_to_resource_endorsed_event.rb +20 -0
  150. data/lib/decidim/proposals/component.rb +8 -4
  151. data/lib/decidim/proposals/engine.rb +1 -5
  152. data/lib/decidim/proposals/test/capybara_proposals_picker.rb +49 -0
  153. data/lib/decidim/proposals/test/factories.rb +3 -12
  154. data/lib/decidim/proposals/version.rb +1 -1
  155. metadata +55 -34
  156. data/app/assets/javascripts/decidim/proposals/identity_selector_dialog.js.es6 +0 -56
  157. data/app/cells/decidim/proposals/endorsers_list/show.erb +0 -17
  158. data/app/cells/decidim/proposals/endorsers_list_cell.rb +0 -31
  159. data/app/commands/decidim/proposals/attachment_methods.rb +0 -43
  160. data/app/commands/decidim/proposals/endorse_proposal.rb +0 -59
  161. data/app/commands/decidim/proposals/unendorse_proposal.rb +0 -40
  162. data/app/controllers/decidim/proposals/proposal_endorsements_controller.rb +0 -60
  163. data/app/models/decidim/proposals/proposal_endorsement.rb +0 -37
  164. data/app/views/decidim/proposals/proposal_endorsements/_identity.html.erb +0 -9
  165. data/app/views/decidim/proposals/proposal_endorsements/identities.html.erb +0 -12
  166. data/app/views/decidim/proposals/proposal_endorsements/update_buttons_and_counters.js.erb +0 -20
  167. data/app/views/decidim/proposals/proposals/_endorsement_button.html.erb +0 -11
  168. data/app/views/decidim/proposals/proposals/_endorsement_identities_cabin.html.erb +0 -13
  169. data/app/views/decidim/proposals/versions/_version.html.erb +0 -20
@@ -8,6 +8,7 @@ en:
8
8
  category_id: Category
9
9
  decidim_scope_id: Scope
10
10
  has_address: Has address
11
+ scope_id: Scope
11
12
  state: State
12
13
  title: Title
13
14
  user_group_id: Create collaborative draft as
@@ -20,6 +21,7 @@ en:
20
21
  category_id: Category
21
22
  decidim_scope_id: Scope
22
23
  has_address: Has address
24
+ scope_id: Scope
23
25
  state: State
24
26
  suggested_hashtags: Suggested hashtags
25
27
  title: Title
@@ -57,7 +59,6 @@ en:
57
59
  decidim/proposals/creation_enabled_event: Proposal creation enabled
58
60
  decidim/proposals/endorsing_enabled_event: Proposal endorsing enabled
59
61
  decidim/proposals/evaluating_proposal_event: Proposal is being evaluated
60
- decidim/proposals/proposal_endorsed_event: Proposal endorsed
61
62
  decidim/proposals/proposal_mentioned_event: Proposal mentioned
62
63
  decidim/proposals/publish_proposal_event: Proposal published
63
64
  decidim/proposals/rejected_proposal_event: Proposal rejected
@@ -70,9 +71,6 @@ en:
70
71
  decidim/proposals/proposal:
71
72
  one: Proposal
72
73
  other: Proposals
73
- decidim/proposals/proposal_endorsement:
74
- one: Endorsement
75
- other: Endorsements
76
74
  decidim/proposals/proposal_note:
77
75
  one: Note
78
76
  other: Notes
@@ -82,23 +80,33 @@ en:
82
80
  decidim:
83
81
  admin:
84
82
  filters:
85
- is_emendation_true:
86
- label: Type
87
- values:
88
- 'false': Proposals
89
- 'true': Amendments
83
+ proposals:
84
+ category_id_eq:
85
+ label: Category
86
+ is_emendation_true:
87
+ label: Type
88
+ values:
89
+ 'false': Proposals
90
+ 'true': Amendments
91
+ scope_id_eq:
92
+ label: Scope
93
+ state_eq:
94
+ label: State
95
+ values:
96
+ accepted: Accepted
97
+ evaluating: Evaluating
98
+ published: Published
99
+ rejected: Rejected
100
+ validating: Technical validation
101
+ withdrawn: Withdrawn
102
+ state_null:
103
+ label: State
104
+ values:
105
+ 'true': Not answered
106
+ valuator_role_ids_has:
107
+ label: Assigned to valuator
90
108
  search_placeholder:
91
109
  id_string_or_title_cont: Search %{collection} by ID or title.
92
- state_eq:
93
- values:
94
- evaluating: Evaluating
95
- withdrawn: Withdrawn
96
- state_null:
97
- label: Status
98
- values:
99
- 'true': Not answered
100
- valuator_role_ids_has:
101
- label: Assigned to valuator
102
110
  components:
103
111
  proposals:
104
112
  actions:
@@ -125,8 +133,8 @@ en:
125
133
  new_proposal_body_template_help: You can define prefilled text that the new Proposals will have
126
134
  new_proposal_help_text: New proposal help text
127
135
  official_proposals_enabled: Official proposals enabled
128
- participatory_texts_disabled_help: Cannot interact with this setting if there are existing proposals. Please, create a new `Proposals component` if you want to enable this feature or discard all imported proposals in the `Participatory Texts` menu if you want to disable it.
129
136
  participatory_texts_enabled: Participatory texts enabled
137
+ participatory_texts_enabled_readonly: Cannot interact with this setting if there are existing proposals. Please, create a new `Proposals component` if you want to enable this feature or discard all imported proposals in the `Participatory Texts` menu if you want to disable it.
130
138
  proposal_answering_enabled: Proposal answering enabled
131
139
  proposal_edit_before_minutes: Proposals can be edited by authors before this many minutes passes
132
140
  proposal_length: Maximum proposal body length
@@ -145,7 +153,10 @@ en:
145
153
  amendment_promotion_enabled_help: Emandation authors will be able to promote to Proposal the rejected emendation.
146
154
  amendment_reaction_enabled: Amendment reaction enabled
147
155
  amendment_reaction_enabled_help: Proposal's authors will be able to accept or reject Participant's emendations.
148
- amendments_visibility: Amendment visibility
156
+ amendments_visibility: Amendments visibility
157
+ amendments_visibility_choices:
158
+ all: Amendments are visible to all
159
+ participants: Amendments are visible only to their authors
149
160
  amendments_visibility_help: If the option "Amendments are visible only to their authors" is selected, participant must be logged in to see the amendments made.
150
161
  announcement: Announcement
151
162
  answers_with_costs: Enable costs on proposal answers
@@ -162,6 +173,12 @@ en:
162
173
  votes_hidden: Supports hidden (if supports are enabled, checking this will hide the number of supports)
163
174
  events:
164
175
  proposals:
176
+ admin:
177
+ proposal_note_created:
178
+ email_intro: Someone has left a note on the proposal "%{resource_title}". Check it out at <a href="%{admin_proposal_info_url}">the admin panel</a>
179
+ email_outro: You have received this notification because you can valuate the proposal.
180
+ email_subject: Someone left a note on proposal %{resource_title}.
181
+ notification_title: Someone has left a note on the proposal <a href="%{resource_path}">%{resource_title}</a>. Check it out at <a href="%{admin_proposal_info_path}">the admin panel</a>
165
182
  collaborative_draft_access_accepted:
166
183
  email_intro: '%{requester_name} has been accepted to access as a contributor of the <a href="%{resource_path}">%{resource_title}</a> collaborative draft.'
167
184
  email_outro: You have received this notification because you are a collaborator of <a href="%{resource_path}">%{resource_title}</a>.
@@ -213,11 +230,6 @@ en:
213
230
  email_outro: You have received this notification because you are following "%{resource_title}". You can unfollow it from the previous link.
214
231
  email_subject: A proposal you're following has been accepted
215
232
  notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal has been accepted.
216
- proposal_endorsed:
217
- email_intro: '%{endorser_name} %{endorser_nickname}, who you are following, has just endorsed the "%{resource_title}" proposal and we think it may be interesting to you. Check it out and contribute:'
218
- email_outro: You have received this notification because you are following %{endorser_nickname}. You can stop receiving notifications following the previous link.
219
- email_subject: "%{endorser_nickname} has endorsed a new proposal"
220
- notification_title: The <a href="%{resource_path}">%{resource_title}</a> proposal has been endorsed by <a href="%{endorser_path}">%{endorser_name} %{endorser_nickname}</a>.
221
233
  proposal_evaluating:
222
234
  affected_user:
223
235
  email_intro: 'Your proposal "%{resource_title}" is currently being evaluated. You can check for an answer in this page:'
@@ -328,7 +340,7 @@ en:
328
340
  proposals: Proposals
329
341
  participatory_spaces:
330
342
  highlighted_proposals:
331
- see_all: See all (%{count})
343
+ see_all: See all proposals (%{count})
332
344
  proposals:
333
345
  actions:
334
346
  answer_proposal: Answer proposal
@@ -362,14 +374,14 @@ en:
362
374
  info_1: The following sections have been converted to proposals. Now you can review and adjust them before publishing.
363
375
  publish_document: Publish document
364
376
  save_draft: Save draft
365
- title: PREVIEW PARTICIPATORY TEXT
377
+ title: Preview participatory text
366
378
  new_import:
367
379
  accepted_mime_types:
368
380
  md: Markdown
369
381
  odt: Odt
370
382
  bottom_hint: "(You will be able to preview and sort document sections)"
371
383
  document_legend: 'Add a document lesser than 2MB, each section until 3 levels deep will be parsed into Proposals. Suported formats are: %{valid_mime_types}'
372
- title: ADD DOCUMENT
384
+ title: Add document
373
385
  upload_document: Upload document
374
386
  publish:
375
387
  invalid: Could not publish proposals
@@ -407,10 +419,8 @@ en:
407
419
  title: Update proposal
408
420
  update: Update
409
421
  form:
410
- add_images: Add images
411
422
  attachment_legend: "(Optional) Add an attachment"
412
423
  created_in_meeting: This proposal comes from a meeting
413
- gallery_legend: "(Optional) Add an image gallery"
414
424
  select_a_category: Select a category
415
425
  select_a_meeting: Select a meeting
416
426
  index:
@@ -626,14 +636,11 @@ en:
626
636
  one: and %{count} more person
627
637
  other: and %{count} more people
628
638
  info-message: This is a <strong>collaborative draft</strong> for a proposal. This means that you can help their authors to shape the proposal using the comment section below or improve it directly by requesting access to edit it. Once the authors grant you access, you'll be able to make changes to this draft.
629
- of_versions: "(of %{number})"
630
639
  publish: Publish
631
640
  publish_info: Publish this version of the draft or
632
641
  published_proposal: published proposal
633
642
  request_access: Request access
634
643
  requested_access: Access requested
635
- see_other_versions: see other versions
636
- version: Version %{number}
637
644
  version_history: see version history for this proposal
638
645
  withdraw: withdraw the draft
639
646
  states:
@@ -643,15 +650,23 @@ en:
643
650
  update:
644
651
  error: There was a problem saving the collaborative draft.
645
652
  success: Collaborative draft successfully updated.
653
+ title: Edit collaborative draft
646
654
  wizard_aside:
647
655
  back: Back
656
+ back_from_collaborative_draft: Back to collaborative drafts
657
+ back_from_step_1: Back to collaborative drafts
658
+ back_from_step_2: Back to collaborative drafts
659
+ back_from_step_3: Back to compare collaborative drafts
660
+ back_from_step_4: Back to edit draft
648
661
  info: You are creating a <strong>collaborative draft</strong>.
649
662
  wizard_steps:
663
+ current_step: Current step
650
664
  see_steps: see steps
651
665
  step_1: Create your collaborative draft
652
666
  step_2: Compare with collaborative drafts
653
667
  step_3: Complete your collaborative draft
654
668
  step_of: Step %{current_step_num} of %{total_steps}
669
+ title: Collaborative draft creation steps
655
670
  create:
656
671
  error: There was a problem saving the proposal.
657
672
  success: Proposal successfully created. Saved as a Draft.
@@ -670,7 +685,6 @@ en:
670
685
  fields:
671
686
  category: Category
672
687
  comments: Comments
673
- endorsements: Endorsements
674
688
  id: ID
675
689
  notes: Notes
676
690
  official_proposal: Official proposal
@@ -690,19 +704,6 @@ en:
690
704
  amend: Amend
691
705
  comment: Comment
692
706
  comments: Comments
693
- endorse: Endorse
694
- proposal_endorsements:
695
- create:
696
- error: There was a problem endorsing the proposal.
697
- identities:
698
- done: Done
699
- select_identity: Select identity
700
- proposal_endorsements_helper:
701
- endorsement_button:
702
- already_endorsed: Endorsed
703
- endorse: Endorse
704
- render_endorsements_button_card_part:
705
- endorse: Endorse
706
707
  proposal_votes:
707
708
  create:
708
709
  error: There was a problem supporting the proposal.
@@ -729,10 +730,6 @@ en:
729
730
  discard_confirmation: Are you sure you want to discard this proposal draft?
730
731
  send: Preview
731
732
  title: Edit Proposal Draft
732
- endorsement_identities_cabin:
733
- endorse: Endorse
734
- endorsements_card_row:
735
- comments: Comments
736
733
  filters:
737
734
  activity: My activity
738
735
  all: All
@@ -787,10 +784,15 @@ en:
787
784
  proposal:
788
785
  creation_date: 'Creation: %{date}'
789
786
  view_proposal: View proposal
787
+ proposals:
788
+ empty: There is no proposal yet
789
+ empty_filters: There isn't any proposal with this criteria
790
790
  show:
791
791
  answer: Answer
792
792
  back_to: Back to
793
+ back_to_list: Back to list
793
794
  changes_at_title: Amendment to "%{title}"
795
+ comments: Comments
794
796
  edit_proposal: Edit proposal
795
797
  endorsements_list: List of Endorsements
796
798
  estimated_cost: Estimated cost
@@ -810,10 +812,12 @@ en:
810
812
  read_more: Read more
811
813
  report: Report
812
814
  withdraw_btn_hint: You can withdraw your proposal if you change your mind, as long as you have not received any support. The proposal is not deleted, it will appear in the list of withdrawn proposals.
813
- withdraw_confirmation: Are you sure you want to withdraw this proposal?
815
+ withdraw_confirmation_html: Are you sure you want to withdraw this proposal?<br><br><strong>This action cannot be cancelled!</strong>
814
816
  withdraw_proposal: Withdraw proposal
815
817
  tags:
816
818
  changed_from: "(changed from <u>%{previous_name}</u> by an administrator)"
819
+ update:
820
+ title: Update proposal
817
821
  vote_button:
818
822
  already_voted: Already supported
819
823
  already_voted_hover: Withdraw support
@@ -823,8 +827,8 @@ en:
823
827
  votes_blocked: Supports disabled
824
828
  votes_count:
825
829
  count:
826
- one: SUPPORT
827
- other: SUPPORTS
830
+ one: Support
831
+ other: Supports
828
832
  most_popular_proposal: Most popular proposal
829
833
  need_more_votes: Need more supports
830
834
  voting_rules:
@@ -845,14 +849,25 @@ en:
845
849
  votes: Supports
846
850
  wizard_aside:
847
851
  back: Back
852
+ back_from_step_1: Back to proposals
853
+ back_from_step_2: Back to proposals
854
+ back_from_step_3: Back to compare proposals
855
+ back_from_step_4: Back to edit draft
848
856
  info: You are creating a <strong>proposal</strong>.
849
857
  wizard_steps:
858
+ current_step: Current step
850
859
  see_steps: see steps
851
860
  step_1: Create your proposal
852
861
  step_2: Compare
853
862
  step_3: Complete
854
863
  step_4: Publish your proposal
855
864
  step_of: Step %{current_step_num} of %{total_steps}
865
+ title: Proposal creation steps
866
+ proposals_picker:
867
+ choose_proposals: Choose proposals
868
+ close: Close
869
+ more_proposals: There are %{number} more proposals. Refine your search to locate them.
870
+ no_proposals: No proposals match your search criteria or there isn't any proposals.
856
871
  publish:
857
872
  error: There was a problem publishing the proposal.
858
873
  success: Proposal successfully published.
@@ -865,20 +880,12 @@ en:
865
880
  error: There was a problem saving the collaborative draft.
866
881
  success: Proposal draft successfully updated.
867
882
  versions:
868
- changes_at_title: Changes at "%{title}"
883
+ collaborative_drafts:
884
+ back_to_resource: Go back to collaborative draft
869
885
  index:
870
886
  title: Versions
871
- stats:
872
- back_to_collaborative_draft: Go back to collaborative draft
873
- back_to_proposal: Go back to proposal
874
- number_of_versions: Versions
875
- show_all_versions: Show all versions
876
- version_author: Version author
877
- version_created_at: Version created at
878
- version_number: Version number
879
- version_number_out_of_total: "%{current_version} out of %{total_count}"
880
- version:
881
- version_index: Version %{index}
887
+ proposals:
888
+ back_to_resource: Go back to proposal
882
889
  withdraw:
883
890
  errors:
884
891
  has_supports: This proposal can not be withdrawn because it already has supports.
@@ -7,6 +7,7 @@ es-MX:
7
7
  category_id: Categoría
8
8
  decidim_scope_id: Ámbito
9
9
  has_address: Tiene dirección
10
+ scope_id: Ámbito
10
11
  state: Estado
11
12
  title: Título
12
13
  user_group_id: Crear borrador colaborativo como
@@ -19,6 +20,7 @@ es-MX:
19
20
  category_id: Categoría
20
21
  decidim_scope_id: Ámbito
21
22
  has_address: Tiene dirección
23
+ scope_id: Ámbito
22
24
  state: Estado
23
25
  suggested_hashtags: Hashtags sugeridos
24
26
  title: Título
@@ -56,7 +58,6 @@ es-MX:
56
58
  decidim/proposals/creation_enabled_event: Creación de propuestas habilitada
57
59
  decidim/proposals/endorsing_enabled_event: Adhesión a propuesta habilitada
58
60
  decidim/proposals/evaluating_proposal_event: La propuesta está siendo evaluada
59
- decidim/proposals/proposal_endorsed_event: Propuesta adherida
60
61
  decidim/proposals/proposal_mentioned_event: Propuesta mencionada
61
62
  decidim/proposals/publish_proposal_event: Propuesta publicada
62
63
  decidim/proposals/rejected_proposal_event: Propuesta rechazada
@@ -69,9 +70,6 @@ es-MX:
69
70
  decidim/proposals/proposal:
70
71
  one: Propuesta
71
72
  other: Propuestas
72
- decidim/proposals/proposal_endorsement:
73
- one: Adhesión
74
- other: Adhesiones
75
73
  decidim/proposals/proposal_note:
76
74
  one: Nota
77
75
  other: Notas
@@ -81,23 +79,33 @@ es-MX:
81
79
  decidim:
82
80
  admin:
83
81
  filters:
84
- is_emendation_true:
85
- label: Tipo
86
- values:
87
- 'false': Propuestas
88
- 'true': Enmiendas
82
+ proposals:
83
+ category_id_eq:
84
+ label: Categoría
85
+ is_emendation_true:
86
+ label: Tipo
87
+ values:
88
+ 'false': Propuestas
89
+ 'true': Enmiendas
90
+ scope_id_eq:
91
+ label: Ámbito
92
+ state_eq:
93
+ label: Estado
94
+ values:
95
+ accepted: Aceptadas
96
+ evaluating: En evaluación
97
+ published: Publicadas
98
+ rejected: Rechazadas
99
+ validating: Validación técnica
100
+ withdrawn: Retiradas
101
+ state_null:
102
+ label: Estado
103
+ values:
104
+ 'true': No contestadas
105
+ valuator_role_ids_has:
106
+ label: Asignada a evaluadora
89
107
  search_placeholder:
90
108
  id_string_or_title_cont: Buscar %{collection} por ID o título.
91
- state_eq:
92
- values:
93
- evaluating: En evaluación
94
- withdrawn: Retirada
95
- state_null:
96
- label: Estado
97
- values:
98
- 'true': No contestada
99
- valuator_role_ids_has:
100
- label: Asignada a evaluadora
101
109
  components:
102
110
  proposals:
103
111
  actions:
@@ -124,8 +132,8 @@ es-MX:
124
132
  new_proposal_body_template_help: Puede definir el texto predefinido que tendrán las nuevas propuestas
125
133
  new_proposal_help_text: Texto de ayuda al crear una propuesta
126
134
  official_proposals_enabled: Propuestas oficiales habilitadas
127
- participatory_texts_disabled_help: No se puede interactuar con esta configuración si hay propuestas existentes. Por favor, crea un nuevo componente de propuesta si quieres activar esta característica o descartar todas las propuestas importadas en el menú "Textos Participativos" si quieres desactivarla.
128
135
  participatory_texts_enabled: Textos participativos habilitados
136
+ participatory_texts_enabled_readonly: No se puede interactuar con esta configuración si hay propuestas existentes. Por favor, crea un nuevo componente de propuesta si quieres activar esta característica o descartar todas las propuestas importadas en el menú "Textos Participativos" si quieres desactivarla.
129
137
  proposal_answering_enabled: Respuesta a propuestas habilitadas
130
138
  proposal_edit_before_minutes: Las propuestas pueden ser editadas por los autores antes de que pasen estos minutos
131
139
  proposal_length: Longitud máxima del cuerpo de la propuesta
@@ -145,6 +153,9 @@ es-MX:
145
153
  amendment_reaction_enabled: Reacción de enmienda activada
146
154
  amendment_reaction_enabled_help: Las autoras de la propuesta podrán aceptar o rechazar las enmiendas de otras participantes.
147
155
  amendments_visibility: Visibilidad de la enmienda
156
+ amendments_visibility_choices:
157
+ all: Las enmiendas son visibles para todos
158
+ participants: Las enmiendas son visibles sólo para sus autoras
148
159
  amendments_visibility_help: Si se selecciona la opción "Las enmiendas son visibles sólo para sus autoras", las participantes deberán iniciar sesión para ver las enmiendas realizadas.
149
160
  announcement: Aviso
150
161
  answers_with_costs: Habilitar coste en las respuestas a propuestas
@@ -161,6 +172,12 @@ es-MX:
161
172
  votes_hidden: Votos ocultos (si los votos están habilitados, marcando esta opción ocultará el número de votos)
162
173
  events:
163
174
  proposals:
175
+ admin:
176
+ proposal_note_created:
177
+ email_intro: Alguien ha dejado una nota en la propuesta "%{resource_title}". Revísala ahora a través del <a href="%{admin_proposal_info_url}">panel de administración</a>
178
+ email_outro: Recibes esta notificación porque puedes evaluar la propuesta.
179
+ email_subject: Alguien dejó una nota en la propuesta %{resource_title}.
180
+ notification_title: Alguien ha dejado una nota en la propuesta <a href="%{resource_path}">%{resource_title}</a>. Revísala ahora a través del <a href="%{admin_proposal_info_path}">panel de administración</a>
164
181
  collaborative_draft_access_accepted:
165
182
  email_intro: '%{requester_name} ha sido aceptado para acceder como contribuidor del borrador colaborativo de <a href="%{resource_path}">%{resource_title}</a>.'
166
183
  email_outro: Has recibido esta notificación porque eres un contribuidor de <a href="%{resource_path}">%{resource_title}</a>.
@@ -212,11 +229,6 @@ es-MX:
212
229
  email_outro: Has recibido esta notificación porque sigues "%{resource_title}". Puedes dejar de seguirlo en el enlace anterior.
213
230
  email_subject: Una propuesta que estás siguiendo ha sido aceptada
214
231
  notification_title: La propuesta <a href="%{resource_path}">%{resource_title}</a> ha sido aceptada.
215
- proposal_endorsed:
216
- email_intro: '%{endorser_name} %{endorser_nickname}, a quien estás siguiendo, acaba de adherirse a la propuesta "%{resource_title}" y creemos que puede ser interesante para ti. Échale un vistazo y contribuye:'
217
- email_outro: Has recibido esta notificación porque estás siguiendo %{endorser_nickname}. Puedes dejar de recibir notificaciones a través del enlace anterior.
218
- email_subject: "%{endorser_nickname} se ha adherido a una nueva propuesta."
219
- notification_title: <a href="%{endorser_path}">%{endorser_name} %{endorser_nickname}</a> se ha adherido a a propuesta <a href="%{resource_path}">%{resource_title}</a>.
220
232
  proposal_evaluating:
221
233
  affected_user:
222
234
  email_intro: 'Su propuesta "%{resource_title}" está siendo evaluada. Puedes buscar una respuesta en esta página:'
@@ -406,10 +418,8 @@ es-MX:
406
418
  title: Actualizar propuesta
407
419
  update: Actualizar
408
420
  form:
409
- add_images: Añadir imágenes
410
421
  attachment_legend: "(Opcional) Añadir un archivo adjunto"
411
422
  created_in_meeting: Esta propuesta procede de un encuentro
412
- gallery_legend: "(Opcional) Añadir una galería de imágenes"
413
423
  select_a_category: Selecciona una categoría
414
424
  select_a_meeting: Selecciona un encuentro
415
425
  index:
@@ -625,14 +635,11 @@ es-MX:
625
635
  one: y %{count} persona más
626
636
  other: y %{count} personas más
627
637
  info-message: Este es un <strong>borrador colaborativo</strong> para una propuesta. Esto significa que puede ayudar a sus autores a dar forma a la propuesta usando la sección de comentarios que se encuentra debajo o mejorarla directamente solicitando acceso para editarla. Una vez que los autores le otorguen acceso, podrá realizar cambios en este borrador.
628
- of_versions: "(de %{number})"
629
638
  publish: Publicar
630
639
  publish_info: Publicar esta versión del borrador o
631
640
  published_proposal: propuesta publicada
632
641
  request_access: Solicitar acceso
633
642
  requested_access: Acceso solicitado
634
- see_other_versions: ver otras versiones
635
- version: Versión %{number}
636
643
  version_history: ver el historial de versiones de esta propuesta
637
644
  withdraw: retirar el borrador
638
645
  states:
@@ -642,15 +649,23 @@ es-MX:
642
649
  update:
643
650
  error: Ha habido errores al guardar el borrador colaborativo.
644
651
  success: Borrador colaborativo actualizado con éxito.
652
+ title: Editar el borrador colaborativo
645
653
  wizard_aside:
646
654
  back: Volver
655
+ back_from_collaborative_draft: Volver al borrador colaborativo
656
+ back_from_step_1: Volver al borrador colaborativo
657
+ back_from_step_2: Volver al borrador colaborativo
658
+ back_from_step_3: Volver a comparar los borradores colaborativos
659
+ back_from_step_4: Volver a editar borrador
647
660
  info: Estás creando un borrador colaborativo <strong></strong>.
648
661
  wizard_steps:
662
+ current_step: Fase actual
649
663
  see_steps: ver las fases
650
664
  step_1: Crea tu borrador colaborativo
651
665
  step_2: Comparar con borradores colaborativos
652
666
  step_3: Completa tu borrador colaborativo
653
667
  step_of: Paso %{current_step_num} de %{total_steps}
668
+ title: Pasos para la creación de borradores de colaborativos
654
669
  create:
655
670
  error: Ha habido errores al guardar la propuesta.
656
671
  success: Propuesta creada con éxito. Guardada como borrador.
@@ -669,7 +684,6 @@ es-MX:
669
684
  fields:
670
685
  category: Categoría
671
686
  comments: Comentarios
672
- endorsements: Adhesiones
673
687
  id: Identificador
674
688
  notes: Notas
675
689
  official_proposal: Propuesta oficial
@@ -689,19 +703,6 @@ es-MX:
689
703
  amend: Enmendar
690
704
  comment: Comentario
691
705
  comments: Comentarios
692
- endorse: Adherirse
693
- proposal_endorsements:
694
- create:
695
- error: Ha habido errores al adherirse a la propuesta.
696
- identities:
697
- done: Hecho
698
- select_identity: Seleccionar identidad
699
- proposal_endorsements_helper:
700
- endorsement_button:
701
- already_endorsed: Adherido/a
702
- endorse: Adherirse
703
- render_endorsements_button_card_part:
704
- endorse: Adherirse
705
706
  proposal_votes:
706
707
  create:
707
708
  error: Ha habido errores al apoyar la propuesta.
@@ -728,10 +729,6 @@ es-MX:
728
729
  discard_confirmation: '¿Estás seguro que quieres descartar este borrador de propuesta?'
729
730
  send: Previsualizar
730
731
  title: Editar el borrador de la propuesta
731
- endorsement_identities_cabin:
732
- endorse: Adherirse
733
- endorsements_card_row:
734
- comments: Comentarios
735
732
  filters:
736
733
  activity: Mi actividad
737
734
  all: Todo
@@ -786,10 +783,15 @@ es-MX:
786
783
  proposal:
787
784
  creation_date: 'Fecha de creación: %{date}'
788
785
  view_proposal: Ver propuesta
786
+ proposals:
787
+ empty: Aún no hay ninguna propuesta
788
+ empty_filters: No hay ninguna propuesta con este criterio
789
789
  show:
790
790
  answer: Respuesta
791
791
  back_to: Volver a
792
+ back_to_list: Volver al listado
792
793
  changes_at_title: Enmienda a "%{title}"
794
+ comments: Comentarios
793
795
  edit_proposal: Editar propuesta
794
796
  endorsements_list: Lista de adhesiones
795
797
  estimated_cost: Coste estimado
@@ -809,10 +811,12 @@ es-MX:
809
811
  read_more: Leer más
810
812
  report: Denunciar
811
813
  withdraw_btn_hint: Puedes retirar tu propuesta si cambias de opinión, siempre que no haya recibido ningún soporte. La propuesta no se eliminará, aparecerá en la lista de propuestas retiradas.
812
- withdraw_confirmation: '¿Estás seguro de retirar esta propuesta?'
814
+ withdraw_confirmation_html: '¿Seguro que quieres retirar esta propuesta?<br><br><strong>Esta acción no se puede deshacer!</strong>'
813
815
  withdraw_proposal: Retirar propuesta
814
816
  tags:
815
817
  changed_from: "(modificado desde <u>%{previous_name}</u> por una administradora)"
818
+ update:
819
+ title: Actualizar propuesta
816
820
  vote_button:
817
821
  already_voted: Ya has dado tu apoyo
818
822
  already_voted_hover: Retirar tu apoyo
@@ -844,14 +848,25 @@ es-MX:
844
848
  votes: Apoyos
845
849
  wizard_aside:
846
850
  back: Volver
851
+ back_from_step_1: Volver a propuestas
852
+ back_from_step_2: Volver a propuestas
853
+ back_from_step_3: Volver a comparar propuestas
854
+ back_from_step_4: Volver a editar borrador
847
855
  info: Estás creando una <strong>propuesta</strong>.
848
856
  wizard_steps:
857
+ current_step: Paso actual
849
858
  see_steps: ver los pasos
850
859
  step_1: Crear tu propuesta
851
860
  step_2: Comparar
852
861
  step_3: Completar
853
862
  step_4: Publicar tu propuesta
854
863
  step_of: Paso %{current_step_num} de %{total_steps}
864
+ title: Pasos de creación de una propuesta
865
+ proposals_picker:
866
+ choose_proposals: Elegir propuestas
867
+ close: Cerrar
868
+ more_proposals: Hay %{number} propuestas más. Refina tu búsqueda para localizarlas.
869
+ no_proposals: No hay propuestas que coincidan con tu criterio de búsqueda o no hay ninguna propuesta.
855
870
  publish:
856
871
  error: Ha habido errores al publicar la propuesta.
857
872
  success: Propuesta publicada con éxito.
@@ -864,20 +879,12 @@ es-MX:
864
879
  error: Ha habido errores al guardar el borrador de la propuesta.
865
880
  success: Borrador de propuesta actualizado con éxito.
866
881
  versions:
867
- changes_at_title: Cambios en "%{title}"
882
+ collaborative_drafts:
883
+ back_to_resource: Volver al borrador colaborativo
868
884
  index:
869
885
  title: Versiones
870
- stats:
871
- back_to_collaborative_draft: Volver al borrador colaborativo
872
- back_to_proposal: Volver a propuesta
873
- number_of_versions: Versiones
874
- show_all_versions: Mostrar todas las versiones
875
- version_author: Autor de la versión
876
- version_created_at: Versión creada en
877
- version_number: Número de versión
878
- version_number_out_of_total: "%{current_version} de %{total_count}"
879
- version:
880
- version_index: Versión %{index}
886
+ proposals:
887
+ back_to_resource: Volver a propuesta
881
888
  withdraw:
882
889
  errors:
883
890
  has_supports: Esta propuesta no puede ser retirada porque ya tiene apoyos.