decidim-proposals 0.23.6 → 0.24.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/proposals/add_proposal.js.es6 +4 -1
  3. data/app/assets/stylesheets/decidim/proposals/_proposals.css.scss +1 -0
  4. data/app/assets/stylesheets/decidim/proposals/proposals/_preview.css.scss +3 -0
  5. data/app/cells/decidim/proposals/collaborative_draft_link_to_proposal_cell.rb +3 -3
  6. data/app/cells/decidim/proposals/collaborative_drafts/reported_content/show.erb +3 -0
  7. data/app/cells/decidim/proposals/collaborative_drafts/reported_content_cell.rb +15 -0
  8. data/app/cells/decidim/proposals/content_blocks/highlighted_proposals/elements.erb +5 -0
  9. data/app/cells/decidim/proposals/content_blocks/highlighted_proposals/heading.erb +1 -0
  10. data/app/cells/decidim/proposals/content_blocks/highlighted_proposals_cell.rb +19 -0
  11. data/app/cells/decidim/proposals/irreversible_action_modal_cell.rb +1 -1
  12. data/app/cells/decidim/proposals/proposal_activity_cell.rb +5 -13
  13. data/app/cells/decidim/proposals/proposal_m_cell.rb +23 -2
  14. data/app/cells/decidim/proposals/proposals_picker_cell.rb +1 -1
  15. data/app/cells/decidim/proposals/reported_content/show.erb +4 -0
  16. data/app/cells/decidim/proposals/reported_content_cell.rb +13 -0
  17. data/app/commands/decidim/proposals/hashtags_methods.rb +1 -1
  18. data/app/controllers/decidim/proposals/admin/proposals_controller.rb +6 -4
  19. data/app/controllers/decidim/proposals/collaborative_drafts_controller.rb +1 -30
  20. data/app/controllers/decidim/proposals/proposals_controller.rb +9 -12
  21. data/app/events/decidim/proposals/publish_proposal_event.rb +1 -1
  22. data/app/forms/decidim/proposals/access_to_collaborative_draft_form.rb +1 -3
  23. data/app/forms/decidim/proposals/admin/proposal_base_form.rb +3 -2
  24. data/app/forms/decidim/proposals/proposal_form.rb +15 -5
  25. data/app/forms/decidim/proposals/proposal_wizard_create_step_form.rb +1 -1
  26. data/app/helpers/decidim/proposals/admin/filterable_helper.rb +1 -1
  27. data/app/helpers/decidim/proposals/admin/proposal_rankings_helper.rb +1 -1
  28. data/app/helpers/decidim/proposals/admin/proposals_helper.rb +8 -8
  29. data/app/helpers/decidim/proposals/application_helper.rb +5 -2
  30. data/app/helpers/decidim/proposals/map_helper.rb +25 -8
  31. data/app/helpers/decidim/proposals/proposal_wizard_helper.rb +14 -44
  32. data/app/helpers/decidim/proposals/proposals_helper.rb +3 -6
  33. data/app/models/decidim/proposals/collaborative_draft.rb +10 -0
  34. data/app/models/decidim/proposals/proposal.rb +18 -10
  35. data/app/permissions/decidim/proposals/admin/permissions.rb +2 -2
  36. data/app/permissions/decidim/proposals/permissions.rb +3 -2
  37. data/app/presenters/decidim/proposals/proposal_presenter.rb +4 -4
  38. data/app/queries/decidim/proposals/metrics/proposal_followers_metric_measure.rb +4 -4
  39. data/app/queries/decidim/proposals/metrics/proposal_participants_metric_measure.rb +6 -6
  40. data/app/services/decidim/proposals/collaborative_draft_search.rb +1 -1
  41. data/app/services/decidim/proposals/diff_renderer.rb +7 -11
  42. data/app/services/decidim/proposals/proposal_builder.rb +2 -3
  43. data/app/views/decidim/proposals/admin/proposals/_bulk-actions.html.erb +8 -1
  44. data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +5 -1
  45. data/app/views/decidim/proposals/admin/proposals_imports/new.html.erb +1 -1
  46. data/app/views/decidim/proposals/collaborative_drafts/_wizard_aside.html.erb +2 -7
  47. data/app/views/decidim/proposals/collaborative_drafts/_wizard_header.html.erb +14 -0
  48. data/app/views/decidim/proposals/collaborative_drafts/edit.html.erb +1 -3
  49. data/app/views/decidim/proposals/collaborative_drafts/new.html.erb +5 -13
  50. data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +1 -7
  51. data/app/views/decidim/proposals/proposals/_dynamic_map_instructions.html.erb +3 -0
  52. data/app/views/decidim/proposals/proposals/_edit_form_fields.html.erb +2 -2
  53. data/app/views/decidim/proposals/proposals/_filters.html.erb +34 -32
  54. data/app/views/decidim/proposals/proposals/_wizard_header.html.erb +21 -11
  55. data/app/views/decidim/proposals/proposals/edit.html.erb +1 -3
  56. data/app/views/decidim/proposals/proposals/index.html.erb +1 -1
  57. data/app/views/decidim/proposals/proposals/preview.html.erb +50 -2
  58. data/app/views/decidim/proposals/proposals/show.html.erb +2 -8
  59. data/config/locales/ar.yml +2 -23
  60. data/config/locales/bg.yml +0 -4
  61. data/config/locales/ca.yml +9 -32
  62. data/config/locales/cs.yml +49 -56
  63. data/config/locales/de.yml +23 -30
  64. data/config/locales/el.yml +2 -29
  65. data/config/locales/en.yml +23 -30
  66. data/config/locales/es-MX.yml +3 -31
  67. data/config/locales/es-PY.yml +3 -31
  68. data/config/locales/es.yml +3 -31
  69. data/config/locales/eu.yml +2 -23
  70. data/config/locales/fi-plain.yml +18 -29
  71. data/config/locales/fi.yml +18 -29
  72. data/config/locales/fr-CA.yml +19 -30
  73. data/config/locales/fr.yml +19 -30
  74. data/config/locales/gl.yml +4 -97
  75. data/config/locales/hu.yml +2 -23
  76. data/config/locales/id-ID.yml +2 -23
  77. data/config/locales/is-IS.yml +0 -8
  78. data/config/locales/it.yml +4 -29
  79. data/config/locales/ja.yml +2 -29
  80. data/config/locales/lv.yml +2 -22
  81. data/config/locales/nl.yml +13 -30
  82. data/config/locales/no.yml +2 -23
  83. data/config/locales/pl.yml +13 -33
  84. data/config/locales/pt-BR.yml +2 -22
  85. data/config/locales/pt.yml +2 -29
  86. data/config/locales/ro-RO.yml +2 -84
  87. data/config/locales/ru.yml +0 -8
  88. data/config/locales/sk.yml +5 -23
  89. data/config/locales/sv.yml +7 -38
  90. data/config/locales/tr-TR.yml +17 -29
  91. data/config/locales/uk.yml +0 -8
  92. data/config/locales/zh-CN.yml +2 -29
  93. data/db/migrate/20200915151348_fix_proposals_data_to_ensure_title_and_body_are_hashes.rb +37 -0
  94. data/{app/types/decidim/proposals → lib/decidim/api}/proposal_input_filter.rb +0 -0
  95. data/{app/types/decidim/proposals → lib/decidim/api}/proposal_input_sort.rb +3 -5
  96. data/lib/decidim/api/proposal_type.rb +56 -0
  97. data/lib/decidim/api/proposals_type.rb +43 -0
  98. data/lib/decidim/content_renderers/proposal_renderer.rb +1 -1
  99. data/lib/decidim/proposals/api.rb +10 -0
  100. data/lib/decidim/proposals/component.rb +30 -19
  101. data/lib/decidim/proposals/engine.rb +6 -27
  102. data/lib/decidim/proposals/proposal_creator.rb +98 -0
  103. data/lib/decidim/proposals/test/factories.rb +22 -8
  104. data/lib/decidim/proposals/version.rb +1 -1
  105. data/lib/decidim/proposals.rb +2 -0
  106. metadata +50 -38
  107. data/app/commands/decidim/proposals/create_proposal_export.rb +0 -37
  108. data/app/helpers/decidim/proposals/proposal_endorsements_helper.rb +0 -0
  109. data/app/queries/decidim/proposals/similar_collaborative_drafts.rb +0 -52
  110. data/app/types/decidim/proposals/proposal_type.rb +0 -70
  111. data/app/types/decidim/proposals/proposals_type.rb +0 -41
  112. data/app/views/decidim/participatory_processes/participatory_process_groups/_highlighted_proposals.html.erb +0 -13
  113. data/app/views/decidim/proposals/collaborative_drafts/compare.html.erb +0 -21
  114. data/app/views/decidim/proposals/collaborative_drafts/complete.html.erb +0 -24
  115. data/app/views/decidim/proposals/proposals/_proposal_preview.html.erb +0 -1
  116. data/db/migrate/20210318082934_fix_counters_for_copied_proposals.rb +0 -16
@@ -1,46 +1,48 @@
1
1
  <%= render partial: "decidim/shared/filter_form_help", locals: { skip_to_id: "proposals" } %>
2
2
 
3
- <%= filter_form_for filter do |form| %>
4
- <div class="filters__section">
5
- <div class="filters__search">
6
- <div class="input-group">
7
- <%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
8
- <div class="input-group-button">
9
- <button type="submit" class="button" aria-controls="proposals">
10
- <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
11
- </button>
3
+ <% cache filter_cache_hash(filter) do %>
4
+ <%= filter_form_for filter do |form| %>
5
+ <div class="filters__section">
6
+ <div class="filters__search">
7
+ <div class="input-group">
8
+ <%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search"), title: t(".search"), data: { disable_dynamic_change: true } %>
9
+ <div class="input-group-button">
10
+ <button type="submit" class="button" aria-controls="proposals">
11
+ <%= icon "magnifying-glass", aria_label: t(".search"), role: "img" %>
12
+ </button>
13
+ </div>
12
14
  </div>
13
15
  </div>
14
16
  </div>
15
- </div>
16
17
 
17
- <% if component_settings.proposal_answering_enabled && current_settings.proposal_answering_enabled %>
18
- <%= form.check_boxes_tree :state, filter_proposals_state_values, legend_title: t(".state"), "aria-controls": "proposals" %>
19
- <% end %>
18
+ <% if component_settings.proposal_answering_enabled && current_settings.proposal_answering_enabled %>
19
+ <%= form.check_boxes_tree :state, filter_proposals_state_values, legend_title: t(".state"), "aria-controls": "proposals" %>
20
+ <% end %>
20
21
 
21
- <% if current_component.has_subscopes? %>
22
- <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "proposals" %>
23
- <% end %>
22
+ <% if current_component.has_subscopes? %>
23
+ <%= form.check_boxes_tree :scope_id, filter_scopes_values, legend_title: t(".scope"), "aria-controls": "proposals" %>
24
+ <% end %>
24
25
 
25
- <% if current_component.categories.any? %>
26
- <%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category"), "aria-controls": "proposals" %>
27
- <% end %>
26
+ <% if current_component.categories.any? %>
27
+ <%= form.check_boxes_tree :category_id, filter_categories_values, legend_title: t(".category"), "aria-controls": "proposals" %>
28
+ <% end %>
28
29
 
29
- <% if component_settings.official_proposals_enabled %>
30
- <%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin"), "aria-controls": "proposals" %>
31
- <% end %>
30
+ <% if component_settings.official_proposals_enabled %>
31
+ <%= form.check_boxes_tree :origin, filter_origin_values, legend_title: t(".origin"), "aria-controls": "proposals" %>
32
+ <% end %>
32
33
 
33
- <% if current_user %>
34
- <%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, { legend_title: t(".activity") }, "aria-controls": "proposals" %>
35
- <% end %>
34
+ <% if current_user %>
35
+ <%= form.collection_radio_buttons :activity, activity_filter_values, :first, :last, { legend_title: t(".activity") }, "aria-controls": "proposals" %>
36
+ <% end %>
36
37
 
37
- <% if @proposals.only_emendations.any? %>
38
- <%= form.collection_radio_buttons :type, filter_type_values, :first, :last, { legend_title: t(".amendment_type") }, "aria-controls": "proposals" %>
39
- <% end %>
38
+ <% if @proposals.only_emendations.any? %>
39
+ <%= form.collection_radio_buttons :type, filter_type_values, :first, :last, { legend_title: t(".amendment_type") }, "aria-controls": "proposals" %>
40
+ <% end %>
40
41
 
41
- <% if linked_classes_for(Decidim::Proposals::Proposal).any? %>
42
- <%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::Proposals::Proposal), :first, :last, { legend_title: t(".related_to") }, "aria-controls": "proposals" %>
43
- <% end %>
42
+ <% if linked_classes_for(Decidim::Proposals::Proposal).any? %>
43
+ <%= form.collection_radio_buttons :related_to, linked_classes_filter_values_for(Decidim::Proposals::Proposal), :first, :last, { legend_title: t(".related_to") }, "aria-controls": "proposals" %>
44
+ <% end %>
44
45
 
45
- <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
46
+ <%= hidden_field_tag :order, order, id: nil, class: "order_filter" %>
47
+ <% end %>
46
48
  <% end %>
@@ -1,19 +1,29 @@
1
- <% if translated_attribute(component_settings.new_proposal_help_text).present? && @step != :step_4 %>
2
- <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.new_proposal_help_text } %>
3
- <% elsif @step == :step_4 %>
4
- <%
5
- locals = {
6
- callout_class: "warning",
7
- announcement: t("decidim.proposals.proposals.preview.proposal_edit_before_minutes", count: component_settings.proposal_edit_before_minutes)
8
- }
9
- %>
10
- <%= render partial: "decidim/shared/announcement", locals: locals %>
1
+ <% if @step == :step_4 %>
2
+ <% body_messages = [t("decidim.proposals.proposals.preview.announcement_body")]
3
+ if component_settings.proposal_edit_time == "limited"
4
+ body_messages << t("decidim.proposals.proposals.preview.proposal_edit_before_minutes", count: component_settings.proposal_edit_before_minutes)
5
+ end %>
6
+
7
+ <%= cell(
8
+ "decidim/announcement",
9
+ {
10
+ title: t("decidim.proposals.proposals.preview.announcement_title"),
11
+ body: body_messages
12
+ },
13
+ callout_class: "warning"
14
+ ) %>
15
+ <% else %>
16
+ <%= cell("decidim/announcement", component_settings.new_proposal_help_text) %>
11
17
  <% end %>
12
18
 
13
19
  <% if proposal_wizard_step_help_text?(@step) %>
14
20
  <div class="proposal_wizard_help_text">
15
21
  <% callout_step_help_text_class ||= nil %>
16
- <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.try("proposal_wizard_#{@step}_help_text"), callout_class: callout_step_help_text_class } %>
22
+ <%= cell(
23
+ "decidim/announcement",
24
+ component_settings.try("proposal_wizard_#{@step}_help_text"),
25
+ callout_class: callout_step_help_text_class
26
+ ) %>
17
27
  </div>
18
28
  <% end %>
19
29
 
@@ -13,9 +13,7 @@
13
13
  <div class="row">
14
14
  <div class="columns large-6 medium-centered">
15
15
  <div class="card">
16
- <% if translated_attribute(component_settings.new_proposal_help_text).present? %>
17
- <%= render partial: "decidim/shared/announcement", locals: { announcement: component_settings.new_proposal_help_text } %>
18
- <% end %>
16
+ <%= cell("decidim/announcement", component_settings.new_proposal_help_text) %>
19
17
 
20
18
  <div class="card__content">
21
19
  <%= decidim_form_for(@form) do |form| %>
@@ -1,7 +1,7 @@
1
1
  <%= render partial: "decidim/shared/component_announcement" %>
2
2
 
3
3
  <% if component_settings.geocoding_enabled? %>
4
- <%= dynamic_map_for proposals_data_for_map(@all_geocoded_proposals) do %>
4
+ <%= dynamic_map_for proposals_data_for_map(@proposals.select(&:geocoded?)) do %>
5
5
  <template id="marker-popup">
6
6
  <div class="map-info__content">
7
7
  <h3>${title}</h3>
@@ -3,9 +3,57 @@
3
3
  <div class="row">
4
4
  <%= render partial: "wizard_aside" %>
5
5
 
6
- <div class="columns large-6">
6
+ <div class="columns large-9">
7
7
  <%= render partial: "wizard_header", locals: { callout_help_text_class: "warning" } %>
8
- <%= render partial: "proposal_preview", locals: { proposal: @proposal } %>
8
+ <div class="card card__content">
9
+ <div class="row column view-header">
10
+ <h3 class="heading3"><%= present(@proposal).title(links: true, html_escape: true) %></h3>
11
+ <% unless component_settings.participatory_texts_enabled? %>
12
+ <%= cell("decidim/coauthorships", @proposal, has_actions: false, size: 3, context: { current_user: current_user }) %>
13
+ <% end %>
14
+
15
+ <%= render_proposal_body(@proposal) %>
16
+
17
+ </div>
18
+ <div class="row column">
19
+ <%= cell "decidim/proposals/proposal_tags", @proposal %>
20
+ </div>
21
+ </div>
22
+ <div class="row column">
23
+ <%= attachments_for @proposal %>
24
+ </div>
25
+
26
+ <% if component_settings.geocoding_enabled? %>
27
+ <% if has_position?(@proposal) %>
28
+ <%= render partial: "dynamic_map_instructions" %>
29
+ <%= dynamic_map_for proposal_preview_data_for_map(@proposal) do %>
30
+ <%= stylesheet_link_tag "decidim/map" %>
31
+ <%= javascript_include_tag "decidim/map" %>
32
+ <% end %>
33
+ <%= decidim_form_for(@form, url: update_draft_proposal_path(@form), html: { method: :patch }) do |form| %>
34
+ <%= form.hidden_field :title, value: form_presenter.title %>
35
+ <%= form.hidden_field :body, value: form_presenter.body %>
36
+ <%= form.hidden_field :address %>
37
+ <%= form.hidden_field :latitude, data: { type: "latitude" } %>
38
+ <%= form.hidden_field :longitude, data: { type: "longitude" } %>
39
+ <div class="preview--form__hidden">
40
+ <% if @form.categories&.any? %>
41
+ <%= form.categories_select :category_id, @form.categories %>
42
+ <% end %>
43
+ <% if current_participatory_space.has_subscopes? %>
44
+ <%= scopes_picker_field form, :scope_id %>
45
+ <% end %>
46
+ <% if current_user.user_groups.verified.any? %>
47
+ <%= form.select :user_group_id, current_user.user_groups.verified.map { |g| [g.name, g.id] }, prompt: current_user.name %>
48
+ <% end %>
49
+ </div>
50
+ <div class="actions">
51
+ <%= form.submit t(".update_position"), class: "button expanded", data: { disable: true } %>
52
+ </div>
53
+ <% end %>
54
+ <% end %>
55
+ <% end %>
56
+
9
57
  <div class="p-l">
10
58
  <div class="row column flex-center">
11
59
  <%= link_to t(".modify"), edit_draft_proposal_path(@proposal) %>
@@ -68,7 +68,7 @@ extra_admin_link(
68
68
  <%= cell "decidim/proposals/proposal_tags", @proposal %>
69
69
  </div>
70
70
 
71
- <%= cell("decidim/announcement", proposal_reason_callout_args) if @proposal.answered? && @proposal.published_state? %>
71
+ <%= cell("decidim/announcement", proposal_reason_callout_announcement, callout_class: proposal_reason_callout_class) if @proposal.answered? && @proposal.published_state? %>
72
72
 
73
73
  <%= linked_resources_for @proposal, :results, "included_proposals" %>
74
74
  <%= linked_resources_for @proposal, :projects, "included_proposals" %>
@@ -138,10 +138,4 @@ extra_admin_link(
138
138
 
139
139
  <%= comments_for @proposal %>
140
140
 
141
- <%=
142
- render partial: "decidim/shared/flag_modal", locals: {
143
- reportable: @proposal,
144
- form: @report_form,
145
- url: decidim.report_path(sgid: @proposal.to_sgid.to_s)
146
- }
147
- %>
141
+ <%= cell("decidim/flag_modal", @proposal) %>
@@ -283,10 +283,6 @@ ar:
283
283
  description: عدد الدعم للمقترحات
284
284
  object: الدعم
285
285
  title: الدعم
286
- participatory_processes:
287
- participatory_process_groups:
288
- highlighted_proposals:
289
- proposals: اقتراحات
290
286
  participatory_spaces:
291
287
  highlighted_proposals:
292
288
  see_all: شاهد الكل (%{count})
@@ -302,7 +298,6 @@ ar:
302
298
  actions:
303
299
  preview: معاينة
304
300
  exports:
305
- comments: تعليقات
306
301
  proposals: اقتراحات
307
302
  models:
308
303
  proposal:
@@ -325,9 +320,7 @@ ar:
325
320
  new_import:
326
321
  accepted_mime_types:
327
322
  md: تخفيض السعر
328
- odt: ODT
329
323
  bottom_hint: "(سوف تكون قادرًا على معاينة وفرز أقسام المستندات)"
330
- document_legend: 'أضف مستندًا أقل من 2 ميغابايت ، وسيتم تحليل كل قسم حتى عمق 3 مستويات في الاقتراحات. التنسيقات المدعومة هي: %{valid_mime_types}'
331
324
  title: إضافة وثيقة
332
325
  upload_document: تحميل المستند
333
326
  publish:
@@ -487,13 +480,6 @@ ar:
487
480
  ok: سحب المسودة التعاونية
488
481
  title: الإجراء التالي لا رجعة فيه
489
482
  success: تم سحب مشروع تعاوني بنجاح.
490
- compare:
491
- mine_is_different: مسودتي التعاونية مختلفة
492
- no_similars_found: أحسنت! لم يتم العثور على مسودات تعاونية مماثلة
493
- title: مسودات تعاونية مماثلة
494
- complete:
495
- send: إرسال
496
- title: أكمل مسودتك التعاونية
497
483
  count:
498
484
  drafts_count:
499
485
  zero: "%{count} مسودات تعاونية"
@@ -529,7 +515,6 @@ ar:
529
515
  unfold: كشف
530
516
  new:
531
517
  send: استمر
532
- title: إنشاء مسودتك التعاونية
533
518
  new_collaborative_draft_button:
534
519
  new_collaborative_draft: مشروع تعاوني جديد
535
520
  orders:
@@ -578,16 +563,10 @@ ar:
578
563
  update:
579
564
  error: حدثت مشكلة في حفظ المسودة التعاونية.
580
565
  success: تم تحديث المسودة التعاونية بنجاح.
581
- title: تحرير المسودة التعاونية
582
566
  wizard_aside:
583
- back: الى الخلف
584
567
  info: إنك لعلى خلق <strong>مشروع تعاوني</strong>.
585
- wizard_steps:
586
- see_steps: عرض الخطوات
587
- step_1: إنشاء مسودتك التعاونية
588
- step_2: قارن مع المسودات التعاونية
589
- step_3: أكمل مسودتك التعاونية
590
- step_of: الخطوة %{current_step_num} من %{total_steps}
568
+ wizard_header:
569
+ title: إنشاء مسودتك التعاونية
591
570
  create:
592
571
  error: كانت هناك مشكلة في حفظ الاقتراح.
593
572
  success: تم إنشاء الاقتراح بنجاح. تم الحفظ كمسودة.
@@ -229,10 +229,6 @@ bg:
229
229
  proposal_published_for_space:
230
230
  email_intro: Предложението "%{resource_title}" беше добавено в "%{participatory_space_title}", което следвате.
231
231
  email_outro: Получавате това известие, защото следвате "%{participatory_space_title}". Може да прекратите известията чрез предната връзка.
232
- participatory_processes:
233
- participatory_process_groups:
234
- highlighted_proposals:
235
- proposals: Предложения
236
232
  proposals:
237
233
  versions:
238
234
  collaborative_drafts:
@@ -136,7 +136,11 @@ ca:
136
136
  participatory_texts_enabled: Texts participatius habilitats
137
137
  participatory_texts_enabled_readonly: No es pot interactuar amb aquesta configuració si hi ha propostes existents. Si us plau, crea un nou 'component de propostes' si vols habilitar aquesta característica o descarta totes les propostes importades al menú "textos participatius" si vols deshabilitar-lo.
138
138
  proposal_answering_enabled: Resposta a propostes habilitada
139
- proposal_edit_before_minutes: Les propostes poden ser editades per les autores abans que passin aquests minuts
139
+ proposal_edit_before_minutes: Les propostes poden ser editades per les autorrs abans que passin aquests minuts
140
+ proposal_edit_time: Edició de propostes
141
+ proposal_edit_time_choices:
142
+ infinite: Permet l'edició de propostes durant un període infinit
143
+ limited: Permet l'edició de propostes durant una finestra temporal específica
140
144
  proposal_length: Longitud màxima del cos de la proposta
141
145
  proposal_limit: Límit de propostes per participant
142
146
  proposal_wizard_step_1_help_text: Text d'ajuda pel pas "Crear" de l'assistent de propostes
@@ -336,10 +340,6 @@ ca:
336
340
  description: Nombre de suports a les propostes
337
341
  object: suports
338
342
  title: Suports
339
- participatory_processes:
340
- participatory_process_groups:
341
- highlighted_proposals:
342
- proposals: Propostes
343
343
  participatory_spaces:
344
344
  highlighted_proposals:
345
345
  see_all: Veure tots (%{count})
@@ -356,7 +356,7 @@ ca:
356
356
  actions:
357
357
  preview: Previsualitzar
358
358
  exports:
359
- comments: Comentaris
359
+ proposal_comments: Comentaris
360
360
  proposals: Propostes
361
361
  models:
362
362
  proposal:
@@ -380,9 +380,7 @@ ca:
380
380
  new_import:
381
381
  accepted_mime_types:
382
382
  md: Markdown
383
- odt: Odt
384
383
  bottom_hint: "(Podràs previsualitzar i ordenar les seccions del document)"
385
- document_legend: 'Afegeix un document de menys de 2 MB, cadascuna de les seccions (fins a 3 nivells de profunditat) es convertiran a propostes. Els formats suportats són: %{valid_mime_types}'
386
384
  title: AFEGIR DOCUMENT
387
385
  upload_document: Puja el document
388
386
  publish:
@@ -523,7 +521,7 @@ ca:
523
521
  create: "%{user_name} ha deixat una nota privada a la proposta %{resource_name} dins l'espai %{space_name}"
524
522
  valuation_assignment:
525
523
  create: "%{user_name} ha assignat la proposta %{resource_name} a una avaluadora"
526
- delete: "%{user_name} ha desfet l'assignació a una avaluadora de la proposta %{proposal_title}"
524
+ delete: "%{user_name} ha desfet l'assignació a una avaluadora de la proposta %{resource_name}"
527
525
  answers:
528
526
  accepted: Acceptades
529
527
  evaluating: En avaluació
@@ -570,13 +568,6 @@ ca:
570
568
  ok: Retira l'esborrany col·laboratiu
571
569
  title: La següent acció és irreversible
572
570
  success: L'esborrany col·laboratiu s'ha retirat correctamente.
573
- compare:
574
- mine_is_different: El meu esborrany col·laboratiu és diferent
575
- no_similars_found: Enhorabona! No s'han trobat esborranys col·laboratius similars
576
- title: Esborranys col·laboratius similars
577
- complete:
578
- send: Envia
579
- title: Completa el teu esborrany col·laboratiu
580
571
  count:
581
572
  drafts_count:
582
573
  one: "%{count} esborrany de col·laboració"
@@ -608,7 +599,6 @@ ca:
608
599
  unfold: Desplega
609
600
  new:
610
601
  send: Continua
611
- title: Crea el teu esborrany col·laboratiu
612
602
  new_collaborative_draft_button:
613
603
  new_collaborative_draft: Nou esborrany col·laboratiu
614
604
  orders:
@@ -653,23 +643,11 @@ ca:
653
643
  update:
654
644
  error: S'ha produït un error en desar l'esborrany col·laboratiu.
655
645
  success: L'esborrany col·laboratiu s'ha actualitzat correctament.
656
- title: Edita l'esborrany col·laboratiu
657
646
  wizard_aside:
658
- back: Torna
659
647
  back_from_collaborative_draft: Tornar a l'esborrany col·laboratiu
660
- back_from_step_1: Tornar a l'esborrany col·laboratiu
661
- back_from_step_2: Tornar a l'esborrany col·laboratiu
662
- back_from_step_3: Tornar a comparar els esborranys col·laboratius
663
- back_from_step_4: Tornar a editar l'esborrany
664
648
  info: Estàs creant un <strong>esborrany col·laboratiu</strong>.
665
- wizard_steps:
666
- current_step: Pas actual
667
- see_steps: veure les fases
668
- step_1: Crea el teu esborrany col·laboratiu
669
- step_2: Compara amb esborranys col·laboratius
670
- step_3: Completa el teu esborrany col·laboratiu
671
- step_of: Fase %{current_step_num} de %{total_steps}
672
- title: Passos per a la creació d'un esborrany col·laboratiu
649
+ wizard_header:
650
+ title: Crea el teu esborrany col·laboratiu
673
651
  create:
674
652
  error: Hi ha hagut un error en desar la proposta.
675
653
  success: La proposta s'ha creat correctament. S'ha desat com a esborrany.
@@ -678,7 +656,6 @@ ca:
678
656
  success: L'esborrany de proposta s'ha eliminat correctament.
679
657
  last_activity:
680
658
  new_proposal_at_html: "<span>Nova proposta a %{link}</span>"
681
- proposal_updated_at_html: "<span>Proposta actualitzada el %{link}</span>"
682
659
  models:
683
660
  collaborative_draft:
684
661
  fields: