decidim-proposals 0.28.0 → 0.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/proposals/highlighted_proposals_for_component/show.erb +1 -1
  3. data/app/cells/decidim/proposals/participatory_text_proposal/buttons.erb +2 -2
  4. data/app/controllers/decidim/proposals/admin/participatory_texts_controller.rb +1 -1
  5. data/app/models/decidim/proposals/proposal.rb +2 -14
  6. data/app/models/decidim/proposals/valuation_assignment.rb +2 -1
  7. data/app/packs/src/decidim/proposals/admin/proposals.js +7 -0
  8. data/app/views/decidim/proposals/admin/participatory_texts/index.html.erb +2 -2
  9. data/app/views/decidim/proposals/admin/participatory_texts/new_import.html.erb +3 -3
  10. data/app/views/decidim/proposals/admin/proposals/_proposal-tr.html.erb +1 -1
  11. data/app/views/decidim/proposals/admin/proposals/edit.html.erb +2 -2
  12. data/app/views/decidim/proposals/admin/proposals/index.html.erb +2 -2
  13. data/app/views/decidim/proposals/admin/proposals/new.html.erb +2 -2
  14. data/app/views/decidim/proposals/admin/proposals/update_attribute.js.erb +2 -1
  15. data/app/views/decidim/proposals/admin/proposals_imports/new.html.erb +2 -2
  16. data/app/views/decidim/proposals/collaborative_drafts/show.html.erb +1 -1
  17. data/app/views/decidim/proposals/proposals/preview.html.erb +1 -1
  18. data/app/views/decidim/proposals/proposals/show.html.erb +2 -2
  19. data/config/locales/ar.yml +1 -4
  20. data/config/locales/bg.yml +23 -2
  21. data/config/locales/ca.yml +25 -25
  22. data/config/locales/cs.yml +3 -3
  23. data/config/locales/de.yml +5 -5
  24. data/config/locales/el.yml +0 -3
  25. data/config/locales/es-MX.yml +5 -5
  26. data/config/locales/es-PY.yml +6 -6
  27. data/config/locales/es.yml +17 -17
  28. data/config/locales/eu.yml +3 -3
  29. data/config/locales/fi-plain.yml +5 -5
  30. data/config/locales/fi.yml +4 -4
  31. data/config/locales/fr-CA.yml +6 -6
  32. data/config/locales/fr.yml +6 -6
  33. data/config/locales/gl.yml +1 -3
  34. data/config/locales/he-IL.yml +14 -0
  35. data/config/locales/hu.yml +10 -8
  36. data/config/locales/id-ID.yml +1 -3
  37. data/config/locales/is-IS.yml +4 -3
  38. data/config/locales/it.yml +3 -5
  39. data/config/locales/ja.yml +23 -17
  40. data/config/locales/lt.yml +0 -3
  41. data/config/locales/lv.yml +1 -3
  42. data/config/locales/nl.yml +4 -6
  43. data/config/locales/no.yml +1 -3
  44. data/config/locales/pl.yml +65 -4
  45. data/config/locales/pt-BR.yml +41 -4
  46. data/config/locales/pt.yml +1 -3
  47. data/config/locales/ro-RO.yml +1 -3
  48. data/config/locales/ru.yml +6 -3
  49. data/config/locales/sk.yml +5 -7
  50. data/config/locales/sv.yml +3 -6
  51. data/config/locales/tr-TR.yml +7 -6
  52. data/config/locales/uk.yml +6 -3
  53. data/config/locales/zh-CN.yml +1 -3
  54. data/config/locales/zh-TW.yml +0 -3
  55. data/db/migrate/20240404202756_add_valuation_assignments_count_to_decidim_proposals_proposals.rb +16 -0
  56. data/decidim-proposals.gemspec +47 -0
  57. data/lib/decidim/proposals/engine.rb +2 -2
  58. data/lib/decidim/proposals/proposal_serializer.rb +1 -0
  59. data/lib/decidim/proposals/test/factories.rb +62 -84
  60. data/lib/decidim/proposals/valuatable.rb +2 -1
  61. data/lib/decidim/proposals/version.rb +1 -1
  62. metadata +29 -28
  63. data/config/brakeman.ignore +0 -63
  64. data/config/environment.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 963591788f589acc6e2f6bcc8225a171ee1c236160b875e7b69b4add7f5a846f
4
- data.tar.gz: 29957cde18ba150a37c33099bfb9641e79b3d7e1314e3f08038f6c11aaa9ea9e
3
+ metadata.gz: 07d2cb0c58472efc567a33a1d35c8d46a3ec723196f543a2af5f0fb7d37ed2d2
4
+ data.tar.gz: 67404c9736f2b189d338d503a9ae24727711f803305cc640df00fcdf384c3a19
5
5
  SHA512:
6
- metadata.gz: 8cf69ac522bf200ee1a82ed4ba151a2d4fd415b5254dddb645c749c7b751d84821629298c14f9c15b8d477b2b0087bb54835c187ed1d47b34ce448c81c9db810
7
- data.tar.gz: f4c9b0b58a7c01cc657223ac32740e84cb9dba142d30ff3f74b2d470d31c601220d62202c21bdb21cbedab4379fb0205e5594489afc8812729d8e6e724c82240
6
+ metadata.gz: 3ef557822bacfa28606a3a4685b20d920c19afaae09e041d1ea457c7e243e5e8f8b2e84c6c169ad037a99bca67236aae0bfe6ba71e8eeeeb4bf9622df7dd07fc
7
+ data.tar.gz: ca2bc013940842932fe67588f9bfd31209efcb5a40d99c45a15135c2d03091d96480bedf533a6d9ab060e6e49024d393f31aea2b34373dbe2cab27e8ac0cfd21
@@ -1,6 +1,6 @@
1
1
  <div class="content-block__title">
2
2
  <h2 class="h2 decorator">
3
- <%= single_component? ? translated_attribute(model.name) : t("decidim.components.proposals.name") %>
3
+ <%= single_component? ? decidim_escape_translated(model.name) : t("decidim.components.proposals.name") %>
4
4
  </h2>
5
5
  <div class="label text-lg"><%= proposals_count %></div>
6
6
  <% if single_component? %>
@@ -1,5 +1,5 @@
1
1
  <% if amendmendment_creation_enabled? || visible_emendations.any? %>
2
- <%= link_to amend_resource_path, disabled: amend_button_disabled?, class: "proposal-participatory__button" do %>
2
+ <%= action_authorized_link_to :amend, amend_resource_path, resource: model, disabled: amend_button_disabled?, class: "proposal-participatory__button" do %>
3
3
  <%= icon "chat-1-line" %>
4
4
  <span><%= t("amend", scope: "decidim.proposals.participatory_text_proposal.buttons") %></span>
5
5
  <div class="label"><%= visible_emendations.count %></div>
@@ -14,7 +14,7 @@
14
14
  <div class="label"><%= model.comments_count %></div>
15
15
  <% end %>
16
16
  <% else %>
17
- <%= link_to resource_comments_path, class: "proposal-participatory__button" do %>
17
+ <%= action_authorized_link_to :comment, resource_comments_path, resource: model, class: "proposal-participatory__button" do %>
18
18
  <%= icon "chat-1-line" %>
19
19
  <span><%= t("comment", scope: "decidim.proposals.participatory_text_proposal.buttons") %></span>
20
20
  <div class="label"><%= model.comments_count %></div>
@@ -47,7 +47,7 @@ module Decidim
47
47
  def update
48
48
  enforce_permission_to :manage, :participatory_texts
49
49
 
50
- form_params = params.require(:preview_participatory_text).permit!
50
+ form_params = params.require(:preview_participatory_text)
51
51
  @preview_form = form(Admin::PreviewParticipatoryTextForm).from_params(proposals: form_params[:proposals_attributes]&.values)
52
52
 
53
53
  if params.has_key?("save_draft")
@@ -97,11 +97,11 @@ module Decidim
97
97
  }
98
98
 
99
99
  scope :sort_by_valuation_assignments_count_asc, lambda {
100
- order(Arel.sql("#{sort_by_valuation_assignments_count_nulls_last_query} ASC NULLS FIRST").to_s)
100
+ order(valuation_assignments_count: :asc)
101
101
  }
102
102
 
103
103
  scope :sort_by_valuation_assignments_count_desc, lambda {
104
- order(Arel.sql("#{sort_by_valuation_assignments_count_nulls_last_query} DESC NULLS LAST").to_s)
104
+ order(valuation_assignments_count: :desc)
105
105
  }
106
106
 
107
107
  scope_search_multi :with_any_state, [:accepted, :rejected, :evaluating, :state_not_published, :state_published]
@@ -334,18 +334,6 @@ module Decidim
334
334
  ProposalSearch.new(self, params, options)
335
335
  end
336
336
 
337
- # Defines the base query so that ransack can actually sort by this value
338
- def self.sort_by_valuation_assignments_count_nulls_last_query
339
- <<-SQL.squish
340
- (
341
- SELECT COUNT(decidim_proposals_valuation_assignments.id)
342
- FROM decidim_proposals_valuation_assignments
343
- WHERE decidim_proposals_valuation_assignments.decidim_proposal_id = decidim_proposals_proposals.id
344
- GROUP BY decidim_proposals_valuation_assignments.decidim_proposal_id
345
- )
346
- SQL
347
- end
348
-
349
337
  # method to filter by assigned valuator role ID
350
338
  def self.valuator_role_ids_has(value)
351
339
  query = <<-SQL.squish
@@ -9,7 +9,8 @@ module Decidim
9
9
  include Decidim::Traceable
10
10
  include Decidim::Loggable
11
11
 
12
- belongs_to :proposal, foreign_key: "decidim_proposal_id", class_name: "Decidim::Proposals::Proposal"
12
+ belongs_to :proposal, foreign_key: "decidim_proposal_id", class_name: "Decidim::Proposals::Proposal",
13
+ counter_cache: true
13
14
  belongs_to :valuator_role, polymorphic: true
14
15
 
15
16
  def self.log_presenter_class_for(_log)
@@ -47,6 +47,12 @@ $(() => {
47
47
  }
48
48
  }
49
49
 
50
+ const resetForms = function() {
51
+ $("#js-bulk-actions-dropdown button").each(function() {
52
+ $(`#js-form-${$(this).data("action")}`)[0].reset();
53
+ })
54
+ }
55
+
50
56
  const showOtherActionsButtons = function() {
51
57
  $("#js-other-actions-wrapper").removeClass("hide");
52
58
  }
@@ -68,6 +74,7 @@ $(() => {
68
74
  window.showOtherActionsButtons = showOtherActionsButtons;
69
75
  window.hideOtherActionsButtons = hideOtherActionsButtons;
70
76
  window.hideBulkActionForms = hideBulkActionForms;
77
+ window.resetForms = resetForms;
71
78
 
72
79
  if ($(".js-bulk-action-form").length) {
73
80
  hideBulkActionForms();
@@ -1,10 +1,10 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
 
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <%= render partial: "bulk-actions" %>
7
- </h2>
7
+ </h1>
8
8
  </div>
9
9
  <% if @drafts.any? %>
10
10
  <div class="item__edit item__edit-1col">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -19,7 +19,7 @@
19
19
  </div>
20
20
 
21
21
  <div class="row column">
22
- <%= form.upload :document, label: t(".document_legend", valid_mime_types: mime_types_with_document_examples).html_safe, button_class: "button button__sm button__transparent-secondary" %>
22
+ <%= form.upload :document, help_text: t(".document_legend", valid_mime_types: mime_types_with_document_examples).html_safe, button_class: "button button__sm button__transparent-secondary" %>
23
23
  </div>
24
24
  </div>
25
25
  </div>
@@ -56,7 +56,7 @@
56
56
  </td>
57
57
 
58
58
  <td class="valuators-count">
59
- <%= proposal.valuation_assignments.count %>
59
+ <%= proposal.valuation_assignments.size %>
60
60
  </td>
61
61
 
62
62
  <td>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,14 +1,14 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <div>
6
6
  <%= t(".title") %>
7
7
  <span id="js-selected-proposals-count" class="component-counter component-counter--inline" title="<%= t("decidim.proposals.admin.proposals.index.selected") %>"></span>
8
8
  </div>
9
9
  <%= render partial: "bulk-actions" %>
10
10
  <%= render partial: "decidim/admin/components/resource_action" %>
11
- </h2>
11
+ </h1>
12
12
  </div>
13
13
  <%= admin_filter_selector(:proposals) %>
14
14
  <div class="table-scroll mt-16">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -22,5 +22,6 @@
22
22
  window.hideBulkActionsButton();
23
23
  window.hideBulkActionForms();
24
24
  window.showOtherActionsButtons();
25
- window.selectedResourcesCountUpdate();
25
+ window.selectedProposalsCountUpdate();
26
+ window.resetForms();
26
27
  <% end %>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
 
8
8
  <div class="item__edit item__edit-1col">
@@ -26,7 +26,7 @@
26
26
  <% end %>
27
27
 
28
28
  <div class="layout-author">
29
- <%= cell "decidim/coauthorships", @collaborative_draft %>
29
+ <%= cell "decidim/coauthorships", @collaborative_draft, context_actions: [] %>
30
30
 
31
31
  <% if @collaborative_draft.state %>
32
32
  <span class="<%= collaborative_drafts_state_class(@collaborative_draft.state) %> label">
@@ -11,7 +11,7 @@
11
11
  <h2 class="h3 text-secondary"><%= present(@proposal).title(links: true, html_escape: true) %></h2>
12
12
 
13
13
  <% unless component_settings.participatory_texts_enabled? %>
14
- <%= cell "decidim/coauthorships", @proposal %>
14
+ <%= cell "decidim/coauthorships", @proposal, context_actions: [] %>
15
15
  <% end %>
16
16
 
17
17
  <div class="editor-content">
@@ -47,10 +47,10 @@ extra_admin_link(
47
47
 
48
48
  <% unless component_settings.participatory_texts_enabled? %>
49
49
  <div class="layout-author">
50
- <%= cell "decidim/coauthorships", @proposal %>
50
+ <%= cell "decidim/coauthorships", @proposal, context_actions: [:date] %>
51
51
 
52
52
  <% if not ["section","subsection"].include? @proposal.participatory_text_level %>
53
- <%== cell("decidim/proposals/proposal_metadata", @proposal).state_item&.dig(:text)&.html_safe %>
53
+ <%= cell("decidim/proposals/proposal_metadata", @proposal).state_item&.dig(:text) %>
54
54
  <% end %>
55
55
  </div>
56
56
  <% end %>
@@ -281,7 +281,6 @@ ar:
281
281
  notification_title: تم قبول اقتراحك <a href="%{resource_path}">%{resource_title}</a>.
282
282
  follower:
283
283
  email_intro: 'تم قبول الاقتراح "%{resource_title}". يمكنك قراءة الإجابة على هذه الصفحة:'
284
- email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{resource_title}. يمكنك إلغاء المتابعة على الرابط السابق.
285
284
  notification_title: لقد تم قبول المُقتَرح <a href="%{resource_path}">%{resource_title}</a>.
286
285
  proposal_evaluating:
287
286
  affected_user:
@@ -291,7 +290,6 @@ ar:
291
290
  notification_title: يتم تقييم الاقتراح الخاص بك <a href="%{resource_path}">%{resource_title}</a>.
292
291
  follower:
293
292
  email_intro: 'الاقتراح "%{resource_title}" قيد التقييم حاليا. يمكنك التحقق من وجود إجابة على هذه الصفحة:'
294
- email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{resource_title}. يمكنك إلغاء المتابعة على الرابط السابق.
295
293
  notification_title: الاقتراح <a href="%{resource_path}">%{resource_title}</a> قيد التقييم الآن.
296
294
  proposal_mentioned:
297
295
  email_intro: تم ذكر اقتراحك "%{mentioned_proposal_title}" <a href="%{resource_url}">في هذا الفضاء</a> في التعليقات.
@@ -315,7 +313,6 @@ ar:
315
313
  notification_title: تم رفض اقتراحك <a href="%{resource_path}">%{resource_title}</a>.
316
314
  follower:
317
315
  email_intro: 'تم رفض الاقتراح %{resource_title}. يمكنك قراءة الإجابة على ذلك على هذه الصفحة:'
318
- email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{resource_title}. يمكنك إلغاء المتابعة على الرابط السابق.
319
316
  notification_title: تم رفض الاقتراح <a href="%{resource_path}">%{resource_title}</a>.
320
317
  proposal_update_category:
321
318
  email_intro: 'قام المشرف بتحديث فئة اقتراحك "%{resource_title}" ، تحقق من ذلك في هذه الصفحة:'
@@ -472,7 +469,7 @@ ar:
472
469
  accepted: وافقت
473
470
  answer_proposal: إجابة
474
471
  evaluating: تقييم
475
- not_answered: لم تتم الإجابة عليه
472
+ not_answered: بلا جواب
476
473
  rejected: مرفوض
477
474
  title: الإجابة على الاقتراح %{title}
478
475
  proposal_notes:
@@ -182,7 +182,7 @@ bg:
182
182
  notification_title: Вашето предложение <a href="%{resource_path}">%{resource_title}</a> е одобрено.
183
183
  follower:
184
184
  email_intro: 'Предложението "%{resource_title}" е одобрено. Прочетете отговора на страницата:'
185
- email_outro: Получавате това известие, защото следвате "%{resource_title}". Може да премахнете следването чрез предната връзка.
185
+ email_subject: Предложение, което следвате, е прието
186
186
  notification_title: Предложението <a href="%{resource_path}">%{resource_title}</a> беше одобрено.
187
187
  proposal_evaluating:
188
188
  affected_user:
@@ -192,7 +192,7 @@ bg:
192
192
  notification_title: Вашето предложение <a href="%{resource_path}">%{resource_title}</a> се разглежда.
193
193
  follower:
194
194
  email_intro: 'Предложението "%{resource_title}" се разглежда в момента. Прочетете отговора на страницата:'
195
- email_outro: Получавате това известие, защото следвате "%{resource_title}". Може да премахнете следването чрез предната връзка.
195
+ email_subject: Предложение, което следвате, е в процес на оценяване
196
196
  notification_title: Предложението <a href="%{resource_path}">%{resource_title}</a> се разглежда.
197
197
  proposal_mentioned:
198
198
  email_intro: Вашето предложение "%{mentioned_proposal_title}" беше споменато в коментарите <a href="%{resource_url}">на това пространство</a>.
@@ -207,3 +207,24 @@ bg:
207
207
  proposal_published_for_space:
208
208
  email_intro: Предложението "%{resource_title}" беше добавено в "%{participatory_space_title}", което следвате.
209
209
  email_outro: Получавате това известие, защото следвате "%{participatory_space_title}". Може да прекратите известията чрез предната връзка.
210
+ proposal_rejected:
211
+ affected_user:
212
+ email_intro: 'Вашето предложение "%{resource_title}" беше отхвърлено. Можете да прочетете отговора на тази страница:'
213
+ email_outro: Получавате това известие, защото сте автор на %{resource_title}".
214
+ email_subject: Вашето предложение беше отхвърлено
215
+ notification_title: Вашето предложение <a href="%{resource_path}">%{resource_title}</a> беше отхвърлено.
216
+ follower:
217
+ email_intro: 'Предложението „%{resource_title}“ беше отхвърлено. Можете да прочетете отговора на тази страница:'
218
+ email_subject: Предложение, което следвате, е отхвърлено
219
+ notification_title: Предложението <a href="%{resource_path}">%{resource_title}</a> беше отхвърлено.
220
+ proposals:
221
+ collaborative_drafts:
222
+ index:
223
+ count:
224
+ one: "Съвместна чернова"
225
+ other: "Съвместни чернови"
226
+ proposals:
227
+ index:
228
+ count:
229
+ one: "%{count} предложение"
230
+ other: "%{count} предложения"
@@ -109,7 +109,7 @@ ca:
109
109
  state_eq:
110
110
  label: Estat
111
111
  values:
112
- accepted: Acceptada
112
+ accepted: Acceptades
113
113
  evaluating: En avaluació
114
114
  not_answered: Sense resposta
115
115
  published: Publicades
@@ -231,107 +231,107 @@ ca:
231
231
  notification_title: Algú ha deixat una nota a la proposta <a href="%{resource_path}">%{resource_title}</a>. Revisa-la ara a través del <a href="%{admin_proposal_info_path}">taulell d'administració</a>.
232
232
  collaborative_draft_access_accepted:
233
233
  email_intro: 'S''ha acceptat %{requester_name} per accedir com a contribuidora de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
234
- email_outro: Has rebut aquesta notificació perquè ets una contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
234
+ email_outro: Has rebut aquesta notificació perquè vas contribuir a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
235
235
  email_subject: "S'ha acceptat %{requester_name} per accedir com a contribuidora del %{resource_title}."
236
236
  notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha estat <strong>acceptat per accedir com a contribuidora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
237
237
  collaborative_draft_access_rejected:
238
238
  email_intro: 'S''ha rebutjat que %{requester_name} accedeixi com a contribuidora de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
239
- email_outro: Has rebut aquesta notificació perquè ets una contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
239
+ email_outro: Has rebut aquesta notificació perquè vas contribuir a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
240
240
  email_subject: "S'ha rebutjat %{requester_name} per accedir com a contribuïdora de l'esborrany col·laboratiu %{resource_title}."
241
241
  notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a><strong> ha estat rebutjat per accedir com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
242
242
  collaborative_draft_access_requested:
243
243
  email_intro: '%{requester_name} ha sol·licitat accés com a contribuïdora. Pots <strong>acceptar o rebutjar la sol·licitud</strong> de l''esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.'
244
- email_outro: Has rebut aquesta notificació perquè ets contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
244
+ email_outro: Has rebut aquesta notificació perquè vas contribuir a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
245
245
  email_subject: "%{requester_name} ha demanat accés per contribuir a %{resource_title}."
246
246
  notification_title: <a href="%{requester_path}">%{requester_name} %{requester_nickname}</a> ha sol·licitat accés per contribuir a l'esborrany col·laboratiu de <a href="%{resource_path}">%{resource_title}</a>. Si us plau, <strong>accepta o rebutja la sol·licitud</strong>.
247
247
  collaborative_draft_access_requester_accepted:
248
248
  email_intro: Has estat acceptada com a contribuïdora de l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
249
- email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
249
+ email_outro: Has rebut aquesta notificació perquè has sol·licitat poder contribuïr a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
250
250
  email_subject: Has estat acceptada com a contribuïdora de %{resource_title}.
251
251
  notification_title: Has estat acceptada <strong>com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
252
252
  collaborative_draft_access_requester_rejected:
253
253
  email_intro: Has estat rebutjada per accedir com a contribuïdora de l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
254
- email_outro: Has rebut aquesta notificació perquè has sol·licitat ser contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
254
+ email_outro: Has rebut aquesta notificació perquè has sol·licitat poder contribuïr a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
255
255
  email_subject: Has estat rebutjada com a contribuïdora de %{resource_title}.
256
256
  notification_title: Has estat rebutjada <strong>per accedir com a contribuïdora</strong> de l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
257
257
  collaborative_draft_withdrawn:
258
258
  email_intro: <a href="%{author_url}">%{author_name} %{author_nickname}</a> ha retirat l'esborrany col·laboratiu <a href="%{resource_url}">%{resource_title}</a>.
259
- email_outro: Has rebut aquesta notificació perquè ets contribuïdora de <a href="%{resource_url}">%{resource_title}</a>.
259
+ email_outro: Has rebut aquesta notificació perquè vas contribuir a la proposta "<a href="%{resource_url}">%{resource_title}</a>".
260
260
  email_subject: "%{author_name} %{author_nickname} ha retirat l'esborrany col·laboratiu %{resource_title}."
261
261
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <strong>ha retirat</strong> l'esborrany col·laboratiu <a href="%{resource_path}">%{resource_title}</a>.
262
262
  creation_enabled:
263
263
  email_intro: 'Ara pots crear noves propostes a %{participatory_space_title}! Comença a participar a aquesta pàgina:'
264
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
264
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
265
265
  email_subject: Les propostes ja estan disponibles a %{participatory_space_title}
266
266
  notification_title: Ara pots presentar <a href="%{resource_path}">noves propostes</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
267
267
  endorsing_enabled:
268
268
  email_intro: 'Pots adherir-te a les propostes a %{participatory_space_title}. Comença a participar en aquesta pàgina:'
269
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
269
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
270
270
  email_subject: L'adhesió a les propostes de %{participatory_space_title} ha començat
271
271
  notification_title: Ara ja pots començar a <a href="%{resource_path}">adherir-te a propostes</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>.
272
272
  proposal_accepted:
273
273
  affected_user:
274
274
  email_intro: 'S''ha acceptat la teva proposta "%{resource_title}". Pots llegir la resposta en aquesta pàgina:'
275
- email_outro: Has rebut aquesta notificació perquè ets autora de "%{resource_title}".
275
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta "%{resource_title}".
276
276
  email_subject: S'ha acceptat la teva proposta
277
277
  notification_title: S'ha acceptat la teva proposta <a href="%{resource_path}">%{resource_title}</a>.
278
278
  follower:
279
279
  email_intro: 'S''ha acceptat la proposta "%{resource_title}". Pots llegir la resposta des d''aquesta pàgina:'
280
- email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
280
+ email_outro: Has rebut aquesta notificació perquè estàs seguint "%{resource_title}". Pots deixar de seguir-ho des de l'enllaç anterior.
281
281
  email_subject: S'ha acceptat una proposta que segueixes
282
282
  notification_title: S'ha acceptat la proposta <a href="%{resource_path}">%{resource_title}</a>.
283
283
  proposal_evaluating:
284
284
  affected_user:
285
285
  email_intro: 'La teva proposta "%{resource_title}" s''està avaluant. Pots consultar la resposta en aquesta pàgina:'
286
- email_outro: Has rebut aquesta notificació perquè ets autora de "%{resource_title}".
286
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta "%{resource_title}".
287
287
  email_subject: S'està avaluant la teva proposta
288
288
  notification_title: S'està avaluant la teva proposta <a href="%{resource_path}">%{resource_title}</a>.
289
289
  follower:
290
290
  email_intro: 'La proposta "%{resource_title}" s''està avaluant actualment. Pots consultar una resposta en aquesta pàgina:'
291
- email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
291
+ email_outro: Has rebut aquesta notificació perquè estàs seguint "%{resource_title}". Pots deixar de seguir-ho des de l'enllaç anterior.
292
292
  email_subject: S'està avaluant una proposta que segueixes
293
293
  notification_title: S'ha avaluat la proposta <a href="%{resource_path}">%{resource_title}</a>.
294
294
  proposal_mentioned:
295
295
  email_intro: La teva proposta "%{mentioned_proposal_title}" ha estat esmentada als comentaris <a href="%{resource_url}">en aquest espai</a>.
296
- email_outro: Has rebut aquesta notificació perquè ets autora de "%{resource_title}".
296
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta "%{resource_title}".
297
297
  email_subject: S'ha mencionat la teva proposta "%{mentioned_proposal_title}"
298
298
  notification_title: La teva proposta "%{mentioned_proposal_title}" ha estat esmentada <a href="%{resource_path}">en aquest espai</a> als comentaris.
299
299
  proposal_published:
300
300
  email_intro: '%{author_name} %{author_nickname}, a qui segueixes, ha publicat una nova proposta anomenada "%{resource_title}". Consulta i contribueix:'
301
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{author_nickname}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
301
+ email_outro: Has rebut aquesta notificació perquè estàs seguint a "%{author_nickname}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
302
302
  email_subject: Nova proposta "%{resource_title}" de %{author_nickname}
303
303
  notification_title: La proposta <a href="%{resource_path}">%{resource_title}</a> ha estat publicada per <a href="%{author_path}">%{author_name} %{author_nickname}</a>.
304
304
  proposal_published_for_space:
305
- email_intro: La proposta "%{resource_title}" s'ha afegit a "%{participatory_space_title}", que segueixes.
306
- email_outro: Has rebut aquesta notificació perquè estàs seguint "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
305
+ email_intro: La proposta "%{resource_title}" s'ha afegit a l'espai "%{participatory_space_title}", que segueixes.
306
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
307
307
  email_subject: Nova proposta "%{resource_title}" afegida a %{participatory_space_title}
308
308
  notification_title: '%{author} ha afegit la proposta <a href="%{resource_path}">%{resource_title}</a> a %{participatory_space_title}.'
309
309
  notification_title_official: S'ha afegit la proposta oficial <a href="%{resource_path}">%{resource_title}</a> a %{participatory_space_title}.
310
310
  proposal_rejected:
311
311
  affected_user:
312
312
  email_intro: 'La teva proposta "%{resource_title}" ha estat rebutjada. Pots llegir la resposta en aquesta pàgina:'
313
- email_outro: Has rebut aquesta notificació perquè ets autora de "%{resource_title}".
313
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta "%{resource_title}".
314
314
  email_subject: La teva proposta ha estat rebutjada
315
315
  notification_title: La teva proposta <a href="%{resource_path}">%{resource_title}</a> ha estat rebutjada.
316
316
  follower:
317
317
  email_intro: 'La proposta "%{resource_title}" ha estat rebutjada. Pots llegir la resposta des d''aquesta pàgina:'
318
- email_outro: Has rebut aquesta notificació perquè que segueixes "%{resource_title}". El pots deixar de seguir al link anterior.
318
+ email_outro: Has rebut aquesta notificació perquè estàs seguint "%{resource_title}". Pots deixar de seguir-ho des de l'enllaç anterior.
319
319
  email_subject: S'ha rebutjat una proposta que segueixes
320
320
  notification_title: S'ha rebutjat la proposta <a href="%{resource_path}">%{resource_title}</a>.
321
321
  proposal_update_category:
322
322
  email_intro: 'Una administradora ha actualitzat la categoria de la teva proposta "%{resource_title}", fes-hi una ullada:'
323
- email_outro: Has rebut aquesta notificació perquè ets autora de la proposta.
323
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta.
324
324
  email_subject: S'ha actualitzat la categoria de la proposta %{resource_title}
325
325
  notification_title: La categoria de la proposta <a href="%{resource_path}">%{resource_title}</a> ha estat actualitzada per una administradora.
326
326
  proposal_update_scope:
327
327
  email_intro: 'Una administradora ha actualitzat l''àmbit de la teva proposta "%{resource_title}", fes-hi una ullada:'
328
- email_outro: Has rebut aquesta notificació perquè ets autora de la proposta.
328
+ email_outro: Has rebut aquesta notificació perquè vas presentar aquesta proposta.
329
329
  email_subject: S'ha actualitzat l'àmbit de la proposta %{resource_title}
330
330
  notification_title: L'àmbit de la proposta <a href="%{resource_path}">%{resource_title}</a> ha estat actualitzat per una administradora.
331
331
  voting_enabled:
332
332
  email_intro: 'Pots començar a donar suports a les propostes de %{participatory_space_title}! Comença a participar en aquesta pàgina:'
333
- email_outro: Has rebut aquesta notificació perquè estàs seguint %{participatory_space_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
334
- email_subject: El recolzament a propostes ha començat per a %{participatory_space_title}
333
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
334
+ email_subject: El recolzament a propostes ha començat per a l'espai "%{participatory_space_title}"
335
335
  notification_title: Ja pots començar a <a href="%{resource_path}">donar suports a propostes</a> a <a href="%{participatory_space_url}">%{participatory_space_title}</a>
336
336
  gamification:
337
337
  badges:
@@ -472,7 +472,7 @@ ca:
472
472
  success: El text participatiu s'ha actualitzat correctament.
473
473
  proposal_answers:
474
474
  form:
475
- accepted: Acceptades
475
+ accepted: Acceptada
476
476
  answer_proposal: Resposta
477
477
  evaluating: En avaluació
478
478
  not_answered: No resposta
@@ -595,7 +595,7 @@ ca:
595
595
  create: "%{user_name} ha assignat la proposta %{resource_name} a una avaluadora"
596
596
  delete: "%{user_name} ha desfet l'assignació a una avaluadora de la proposta %{proposal_title}"
597
597
  answers:
598
- accepted: Acceptades
598
+ accepted: Acceptada
599
599
  evaluating: En avaluació
600
600
  not_answered: No resposta
601
601
  rejected: Rebutjada
@@ -285,7 +285,7 @@ cs:
285
285
  notification_title: Váš návrh <a href="%{resource_path}">%{resource_title}</a> byl přijat.
286
286
  follower:
287
287
  email_intro: 'Návrh "%{resource_title}" byl přijat. Odpověď můžete číst na této stránce:'
288
- email_outro: Toto oznámení jste obdrželi, protože jste sledovali "%{resource_title}". Můžete jej odhlásit od předchozího odkazu.
288
+ email_outro: Toto oznámení jste obdrželi, protože sledujete "%{resource_title}". Můžete sledování odhlásit na předchozím odkazu.
289
289
  email_subject: Návrh, který sledujete, byl přijat
290
290
  notification_title: Návrh <a href="%{resource_path}">%{resource_title}</a> byl přijat.
291
291
  proposal_evaluating:
@@ -296,7 +296,7 @@ cs:
296
296
  notification_title: Váš návrh <a href="%{resource_path}">%{resource_title}</a> je hodnocen.
297
297
  follower:
298
298
  email_intro: 'V současné době se hodnotí návrh "%{resource_title}". V této stránce můžete zkontrolovat odpověď:'
299
- email_outro: Toto oznámení jste obdrželi, protože jste sledovali "%{resource_title}". Můžete jej odhlásit od předchozího odkazu.
299
+ email_outro: Toto oznámení jste obdrželi, protože sledujete "%{resource_title}". Můžete sledování odhlásit na předchozím odkazu.
300
300
  email_subject: Návrh, který předkládáte, se posuzuje
301
301
  notification_title: Návrh <a href="%{resource_path}">%{resource_title}</a> se hodnotí.
302
302
  proposal_mentioned:
@@ -323,7 +323,7 @@ cs:
323
323
  notification_title: Váš návrh <a href="%{resource_path}">%{resource_title}</a> byl zamítnut.
324
324
  follower:
325
325
  email_intro: 'Návrh "%{resource_title}" byl zamítnut. Odpověď můžete číst na této stránce:'
326
- email_outro: Toto oznámení jste obdrželi, protože jste sledovali "%{resource_title}". Můžete jej odhlásit od předchozího odkazu.
326
+ email_outro: Toto oznámení jste obdrželi, protože sledujete "%{resource_title}". Můžete sledování odhlásit na předchozím odkazu.
327
327
  email_subject: Návrh, který sledujete, byl zamítnut
328
328
  notification_title: Návrh <a href="%{resource_path}">%{resource_title}</a> byl zamítnut.
329
329
  proposal_update_category:
@@ -107,7 +107,7 @@ de:
107
107
  scope_id_eq:
108
108
  label: Umfang
109
109
  state_eq:
110
- label: Zustand
110
+ label: Status
111
111
  values:
112
112
  accepted: Angenommen
113
113
  evaluating: In Bearbeitung
@@ -610,7 +610,7 @@ de:
610
610
  filter_state_values:
611
611
  accepted: Angenommen
612
612
  all: Alle
613
- evaluating: In Bearbeitung
613
+ evaluating: In Bewertung
614
614
  not_answered: Unbeantwortet
615
615
  rejected: Abgelehnt
616
616
  filter_type_values:
@@ -740,7 +740,7 @@ de:
740
740
  published_answer: Veröffentlichte Antwort
741
741
  published_at: Veröffentlicht am
742
742
  scope: Umfang
743
- state: Zustand
743
+ state: Status
744
744
  title: Titel
745
745
  valuator: Schätzer
746
746
  valuators: Schätzer
@@ -771,7 +771,7 @@ de:
771
771
  attachment_legend: "(Optional) Fügen Sie einen Anhang hinzu"
772
772
  back: Zurück
773
773
  edit_documents: Dokumente bearbeiten
774
- select_a_category: Bitte wählen sie eine Kategorie
774
+ select_a_category: Bitte wählen Sie eine Kategorie
775
775
  send: Abschicken
776
776
  title: Vorschlag bearbeiten
777
777
  edit_draft:
@@ -789,7 +789,7 @@ de:
789
789
  related_to: Bezüglich
790
790
  scope: Umfang
791
791
  search: Suche
792
- state: Zustand
792
+ state: Status
793
793
  type: Art
794
794
  voted: Gewählt
795
795
  index:
@@ -277,7 +277,6 @@ el:
277
277
  notification_title: Η πρότασή σας <a href="%{resource_path}">%{resource_title}</a> έγινε δεκτή.
278
278
  follower:
279
279
  email_intro: 'Η πρόταση «%{resource_title}» έγινε δεκτή. Μπορείτε να διαβάσετε την απάντηση σε αυτήν τη σελίδα:'
280
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής «%{resource_title}». Μπορείτε να σταματήσετε να τον ακολουθείτε από τον προηγούμενο σύνδεσμο.
281
280
  email_subject: Μια πρόταση που ακολουθείτε έχει γίνει αποδεκτή
282
281
  notification_title: Η πρόταση <a href="%{resource_path}">%{resource_title}</a> έγινε δεκτή.
283
282
  proposal_evaluating:
@@ -288,7 +287,6 @@ el:
288
287
  notification_title: Η πρότασή σας <a href="%{resource_path}">%{resource_title}</a> αξιολογείται.
289
288
  follower:
290
289
  email_intro: 'Η πρόταση «%{resource_title}» αξιολογείται αυτήν τη στιγμή. Μπορείτε να δείτε μια απάντηση σε αυτήν τη σελίδα:'
291
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής «%{resource_title}». Μπορείτε να σταματήσετε να τον ακολουθείτε από τον προηγούμενο σύνδεσμο.
292
290
  email_subject: Μια πρόταση που ακολουθείτε αξιολογείται
293
291
  notification_title: Η πρόταση <a href="%{resource_path}">%{resource_title}</a> αξιολογείται.
294
292
  proposal_mentioned:
@@ -315,7 +313,6 @@ el:
315
313
  notification_title: Η πρότασή σας <a href="%{resource_path}">%{resource_title}</a> απορρίφθηκε.
316
314
  follower:
317
315
  email_intro: 'Η πρόταση «%{resource_title}» απορρίφθηκε. Μπορείτε να διαβάσετε την απάντηση σε αυτήν τη σελίδα:'
318
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής «%{resource_title}». Μπορείτε να σταματήσετε να τον ακολουθείτε από τον προηγούμενο σύνδεσμο.
319
316
  email_subject: Μια πρόταση που ακολουθείτε έχει απορριφθεί
320
317
  notification_title: Η πρόταση <a href="%{resource_path}">%{resource_title}</a> απορρίφθηκε.
321
318
  proposal_update_category: