decidim-initiatives 0.19.1 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -0
  3. data/app/assets/config/admin_decidim_initiatives_manifest.js +2 -1
  4. data/app/assets/images/decidim/gamification/badges/initiatives.svg +1 -87
  5. data/app/assets/images/decidim/initiatives/icon.svg +1 -3
  6. data/app/assets/javascripts/decidim/initiatives/admin/initiatives_types.js.es6 +38 -0
  7. data/app/assets/stylesheet/decidim/initiatives/initiatives-votes.css.scss +0 -1
  8. data/app/assets/stylesheet/decidim/initiatives/initiatives.scss +6 -8
  9. data/app/assets/stylesheet/decidim/initiatives/popularity_item.css.scss +0 -1
  10. data/app/assets/stylesheet/decidim/initiatives/print-initiative.css.scss +0 -3
  11. data/app/cells/decidim/initiatives/content_blocks/highlighted_initiatives/show.erb +4 -3
  12. data/app/cells/decidim/initiatives/initiative_m/footer.erb +1 -1
  13. data/app/cells/decidim/initiatives/initiative_m_cell.rb +25 -0
  14. data/app/cells/decidim/initiatives_votes/vote/show.erb +12 -9
  15. data/app/cells/decidim/initiatives_votes/vote_cell.rb +7 -0
  16. data/app/commands/decidim/initiatives/admin/create_initiative_type.rb +8 -2
  17. data/app/commands/decidim/initiatives/admin/send_initiative_to_technical_validation.rb +17 -0
  18. data/app/commands/decidim/initiatives/admin/update_initiative.rb +29 -10
  19. data/app/commands/decidim/initiatives/admin/update_initiative_type.rb +10 -6
  20. data/app/commands/decidim/initiatives/attachment_methods.rb +37 -0
  21. data/app/commands/decidim/initiatives/create_initiative.rb +25 -3
  22. data/app/commands/decidim/initiatives/unvote_initiative.rb +4 -10
  23. data/app/commands/decidim/initiatives/vote_initiative.rb +47 -31
  24. data/app/controllers/concerns/decidim/initiatives/admin/filterable.rb +51 -0
  25. data/app/controllers/concerns/decidim/initiatives/orderable.rb +3 -1
  26. data/app/controllers/concerns/decidim/initiatives/single_initiative_type.rb +26 -0
  27. data/app/controllers/decidim/initiatives/admin/answers_controller.rb +2 -3
  28. data/app/controllers/decidim/initiatives/admin/initiatives_controller.rb +28 -15
  29. data/app/controllers/decidim/initiatives/create_initiative_controller.rb +43 -9
  30. data/app/controllers/decidim/initiatives/initiative_signatures_controller.rb +19 -23
  31. data/app/controllers/decidim/initiatives/initiative_votes_controller.rb +11 -5
  32. data/app/controllers/decidim/initiatives/initiatives_controller.rb +28 -13
  33. data/app/controllers/decidim/initiatives/initiatives_type_scopes_controller.rb +9 -1
  34. data/app/controllers/decidim/initiatives/versions_controller.rb +20 -0
  35. data/app/controllers/decidim/initiatives/{initiative_widgets_controller.rb → widgets_controller.rb} +2 -2
  36. data/app/events/decidim/initiatives/admin/initiative_sent_to_technical_validation_event.rb +21 -0
  37. data/app/events/decidim/initiatives/admin/support_threshold_reached_event.rb +13 -0
  38. data/app/forms/decidim/initiatives/admin/initiative_form.rb +50 -8
  39. data/app/forms/decidim/initiatives/admin/initiative_type_form.rb +28 -6
  40. data/app/forms/decidim/initiatives/admin/initiative_type_scope_form.rb +0 -1
  41. data/app/forms/decidim/initiatives/initiative_form.rb +69 -2
  42. data/app/forms/decidim/initiatives/vote_form.rb +133 -76
  43. data/app/helpers/decidim/initiatives/application_helper.rb +104 -0
  44. data/app/helpers/decidim/initiatives/create_initiative_helper.rb +10 -11
  45. data/app/helpers/decidim/initiatives/initiative_helper.rb +13 -0
  46. data/app/helpers/decidim/initiatives/initiatives_helper.rb +10 -0
  47. data/app/jobs/decidim/initiatives/export_initiatives_job.rb +25 -0
  48. data/app/mailers/decidim/initiatives/initiatives_mailer.rb +0 -21
  49. data/app/models/concerns/decidim/initiatives/has_area.rb +30 -0
  50. data/app/models/decidim/initiative.rb +200 -51
  51. data/app/models/decidim/initiatives_type.rb +14 -14
  52. data/app/models/decidim/initiatives_type_scope.rb +9 -2
  53. data/app/models/decidim/initiatives_vote.rb +19 -23
  54. data/app/permissions/decidim/initiatives/admin/permissions.rb +21 -10
  55. data/app/permissions/decidim/initiatives/permissions.rb +38 -14
  56. data/app/presenters/decidim/initiatives/initiative_stats_presenter.rb +1 -5
  57. data/app/queries/decidim/initiatives/admin/manageable_initiatives.rb +7 -39
  58. data/app/serializers/decidim/initiatives/initiative_serializer.rb +32 -0
  59. data/app/services/decidim/initiatives/diff_renderer.rb +18 -0
  60. data/app/services/decidim/initiatives/initiative_search.rb +59 -15
  61. data/app/services/decidim/initiatives/status_change_notifier.rb +4 -5
  62. data/app/types/decidim/initiatives/initiative_api_type.rb +26 -0
  63. data/app/types/decidim/initiatives/initiative_committee_member_type.rb +18 -0
  64. data/app/types/decidim/initiatives/initiative_type.rb +42 -0
  65. data/app/views/decidim/initiatives/admin/answers/_info_initiative.html.erb +1 -1
  66. data/app/views/decidim/initiatives/admin/exports/_dropdown.html.erb +8 -0
  67. data/app/views/decidim/initiatives/admin/initiatives/_form.html.erb +60 -15
  68. data/app/views/decidim/initiatives/admin/initiatives/_initiative_attachments.erb +43 -0
  69. data/app/views/decidim/initiatives/admin/initiatives/export_pdf_signatures.pdf.erb +12 -9
  70. data/app/views/decidim/initiatives/admin/initiatives/index.html.erb +10 -45
  71. data/app/views/decidim/initiatives/admin/initiatives_types/_form.html.erb +55 -12
  72. data/app/views/decidim/initiatives/admin/initiatives_types/_initiative_type_scopes.html.erb +28 -25
  73. data/app/views/decidim/initiatives/create_initiative/fill_data.html.erb +61 -16
  74. data/app/views/decidim/initiatives/create_initiative/finish.html.erb +17 -10
  75. data/app/views/decidim/initiatives/create_initiative/previous_form.html.erb +2 -1
  76. data/app/views/decidim/initiatives/create_initiative/promotal_committee.html.erb +1 -1
  77. data/app/views/decidim/initiatives/create_initiative/select_initiative_type.html.erb +1 -2
  78. data/app/views/decidim/initiatives/create_initiative/show_similar_initiatives.html.erb +1 -1
  79. data/app/views/decidim/initiatives/initiative_signatures/fill_personal_data.html.erb +1 -1
  80. data/app/views/decidim/initiatives/initiative_signatures/update_buttons_and_counters.js.erb +1 -1
  81. data/app/views/decidim/initiatives/initiative_votes/update_buttons_and_counters.js.erb +1 -1
  82. data/app/views/decidim/initiatives/initiatives/_author.html.erb +1 -1
  83. data/app/views/decidim/initiatives/initiatives/_filters.html.erb +16 -28
  84. data/app/views/decidim/initiatives/initiatives/_index_header.html.erb +39 -5
  85. data/app/views/decidim/initiatives/initiatives/_initiatives.html.erb +11 -1
  86. data/app/views/decidim/initiatives/initiatives/_interactions.html.erb +2 -3
  87. data/app/views/decidim/initiatives/initiatives/_progress_bar.html.erb +24 -9
  88. data/app/views/decidim/initiatives/initiatives/_tags.html.erb +4 -1
  89. data/app/views/decidim/initiatives/initiatives/_vote_cabin.html.erb +1 -13
  90. data/app/views/decidim/initiatives/initiatives/index.html.erb +1 -1
  91. data/app/views/decidim/initiatives/initiatives/show.html.erb +5 -6
  92. data/app/views/decidim/initiatives/initiatives_type_scopes/search.html.erb +1 -1
  93. data/app/views/decidim/initiatives/versions/index.html.erb +8 -0
  94. data/app/views/decidim/initiatives/versions/show.html.erb +10 -0
  95. data/app/views/layouts/decidim/_initiative_creation_header.html.erb +3 -1
  96. data/app/views/layouts/decidim/_initiative_header.html.erb +2 -1
  97. data/app/views/layouts/decidim/_initiative_signature_creation_header.html.erb +1 -1
  98. data/app/views/layouts/decidim/admin/initiative.html.erb +1 -1
  99. data/app/views/layouts/decidim/initiative.html.erb +1 -0
  100. data/app/views/layouts/decidim/initiative_creation.html.erb +1 -2
  101. data/app/views/layouts/decidim/initiative_signature_creation.html.erb +2 -2
  102. data/config/locales/am-ET.yml +1 -0
  103. data/config/locales/ar.yml +17 -21
  104. data/config/locales/bg-BG.yml +13 -0
  105. data/config/locales/bg.yml +13 -0
  106. data/config/locales/ca.yml +101 -22
  107. data/config/locales/cs.yml +111 -32
  108. data/config/locales/da-DK.yml +1 -0
  109. data/config/locales/da.yml +1 -0
  110. data/config/locales/de.yml +75 -21
  111. data/config/locales/el-GR.yml +1 -0
  112. data/config/locales/el.yml +525 -0
  113. data/config/locales/en.yml +103 -24
  114. data/config/locales/eo.yml +1 -0
  115. data/config/locales/es-MX.yml +100 -21
  116. data/config/locales/es-PY.yml +100 -21
  117. data/config/locales/es.yml +104 -25
  118. data/config/locales/et-EE.yml +1 -0
  119. data/config/locales/et.yml +1 -0
  120. data/config/locales/eu.yml +4 -21
  121. data/config/locales/fi-plain.yml +100 -21
  122. data/config/locales/fi.yml +118 -39
  123. data/config/locales/fr-CA.yml +557 -0
  124. data/config/locales/fr.yml +102 -23
  125. data/config/locales/ga-IE.yml +1 -0
  126. data/config/locales/gl.yml +4 -21
  127. data/config/locales/hr-HR.yml +1 -0
  128. data/config/locales/hr.yml +1 -0
  129. data/config/locales/hu.yml +31 -24
  130. data/config/locales/id-ID.yml +4 -21
  131. data/config/locales/is-IS.yml +251 -0
  132. data/config/locales/is.yml +251 -0
  133. data/config/locales/it.yml +117 -61
  134. data/config/locales/ja-JP.yml +529 -0
  135. data/config/locales/ja.yml +549 -0
  136. data/config/locales/ko-KR.yml +1 -0
  137. data/config/locales/ko.yml +1 -0
  138. data/config/locales/lt-LT.yml +1 -0
  139. data/config/locales/lt.yml +1 -0
  140. data/config/locales/lv.yml +525 -0
  141. data/config/locales/mt-MT.yml +1 -0
  142. data/config/locales/mt.yml +1 -0
  143. data/config/locales/nl.yml +77 -21
  144. data/config/locales/no.yml +368 -9
  145. data/config/locales/om-ET.yml +1 -0
  146. data/config/locales/pl.yml +260 -189
  147. data/config/locales/pt-BR.yml +5 -22
  148. data/config/locales/pt.yml +231 -179
  149. data/config/locales/ro-RO.yml +533 -0
  150. data/config/locales/ru.yml +4 -21
  151. data/config/locales/sk-SK.yml +468 -0
  152. data/config/locales/sk.yml +458 -0
  153. data/config/locales/sl.yml +24 -0
  154. data/config/locales/so-SO.yml +1 -0
  155. data/config/locales/sr-CS.yml +8 -0
  156. data/config/locales/sv.yml +102 -31
  157. data/config/locales/ti-ER.yml +1 -0
  158. data/config/locales/tr-TR.yml +4 -21
  159. data/config/locales/uk.yml +4 -21
  160. data/config/locales/vi-VN.yml +1 -0
  161. data/config/locales/vi.yml +1 -0
  162. data/config/locales/zh-CN.yml +549 -0
  163. data/config/locales/zh-TW.yml +1 -0
  164. data/db/migrate/20190925145648_add_promoting_committee_option.rb +7 -0
  165. data/db/migrate/20191002082220_move_signature_type_to_initative_type.rb +38 -0
  166. data/db/migrate/20191106144259_add_settings_to_initiatives_types.rb +8 -0
  167. data/db/migrate/20191107134847_add_scopes_to_initiatives_votes.rb +28 -0
  168. data/db/migrate/20191116170841_allow_multiple_initiative_votes_counter_caches.rb +32 -0
  169. data/db/migrate/20191118105634_allow_multiple_offline_votes.rb +34 -0
  170. data/db/migrate/20200320105920_index_foreign_keys_in_decidim_initiatives.rb +8 -0
  171. data/db/migrate/20200320105921_index_foreign_keys_in_decidim_initiatives_votes.rb +8 -0
  172. data/db/migrate/20200417120551_add_custom_signature_end_time_option.rb +7 -0
  173. data/db/migrate/20200424110930_add_attachments_enabled_option.rb +7 -0
  174. data/db/migrate/20200514085422_add_area_to_initiatives.rb +7 -0
  175. data/db/migrate/20200514102631_add_area_enabled_option_to_initiatives.rb +7 -0
  176. data/db/migrate/20200528151456_remove_user_groups_from_initiative_votes.rb +7 -0
  177. data/db/migrate/20200827154214_add_commentable_counter_cache_to_initiatives.rb +9 -0
  178. data/db/seeds/city.jpeg +0 -0
  179. data/db/seeds/city2.jpeg +0 -0
  180. data/lib/decidim/api/initiative_type_interface.rb +13 -0
  181. data/lib/decidim/initiatives.rb +0 -14
  182. data/lib/decidim/initiatives/admin_engine.rb +6 -1
  183. data/lib/decidim/initiatives/api.rb +7 -0
  184. data/lib/decidim/initiatives/engine.rb +11 -2
  185. data/lib/decidim/initiatives/participatory_space.rb +20 -1
  186. data/lib/decidim/initiatives/query_extensions.rb +40 -0
  187. data/lib/decidim/initiatives/test/factories.rb +69 -8
  188. data/lib/decidim/initiatives/version.rb +1 -1
  189. data/lib/tasks/decidim_initiatives.rake +1 -3
  190. metadata +96 -20
  191. data/app/views/decidim/initiatives/initiative_widgets/show.html.erb +0 -4
  192. data/app/views/decidim/initiatives/initiatives/_supports.html.erb +0 -22
  193. data/app/views/decidim/initiatives/initiatives/signature_identities.html.erb +0 -42
  194. data/app/views/decidim/initiatives/initiatives_mailer/notify_validating_request.html.erb +0 -3
@@ -1,11 +1,45 @@
1
1
  <div class="row collapse">
2
- <h2 id="initiatives-count" class="title-action__title section-heading">
2
+ <h1 id="initiatives-count" class="title-action__title section-heading">
3
3
  <%= render partial: "count" %>
4
- </h2>
5
- <% if allowed_to? :create, :initiative %>
6
- <%= link_to create_initiative_path(:select_initiative_type), class: "title-action__action button small hollow" do %>
4
+ </h1>
5
+ <% if Decidim::Initiatives.creation_enabled %>
6
+ <% if current_user && allowed_to?(:create, :initiative) %>
7
+ <%= link_to create_initiative_path(:select_initiative_type), class: "title-action__action button small" do %>
7
8
  <%= t(".new_initiative") %>
8
- <%= icon "plus" %>
9
+ <%= icon "plus", role: "img", "aria-hidden": true %>
10
+ <% end %>
11
+ <% elsif current_user %>
12
+ <button type="button" class="title-action__action button small" data-open="not-authorized-modal" aria-controls="not-authorized-modal" aria-haspopup="true" tabindex="0">
13
+ <%= t(".new_initiative") %>
14
+ <%= icon "plus", role: "img", "aria-hidden": true %>
15
+ </button>
16
+ <% else %>
17
+ <% content_for(:redirect_after_login) { create_initiative_url(:select_initiative_type) } %>
18
+ <button type="button" class="title-action__action button small" data-open="loginModal" aria-controls="loginModal" aria-haspopup="true" tabindex="0">
19
+ <%= t(".new_initiative") %>
20
+ <%= icon "plus", role: "img", "aria-hidden": true %>
21
+ </button>
9
22
  <% end %>
10
23
  <% end %>
11
24
  </div>
25
+
26
+ <div class="reveal not-authorized-reveal" id="not-authorized-modal" aria-hidden="true" role="dialog" aria-labelledby="not-authorized-modal-title" data-reveal data-multiple-opened="true">
27
+ <div class="reveal__header">
28
+ <h2 class="reveal__title" id="not-authorized-modal-title"><%= t(".not_authorized.title") %></h2>
29
+ <button class="close-button" data-close aria-label="<%= t(".not_authorized.close") %>"
30
+ type="button">
31
+ <span aria-hidden="true">&times;</span>
32
+ </button>
33
+ </div>
34
+ <div class="not-authhorized-content">
35
+ <div class="not-authorized-modal-content">
36
+ <p>
37
+ <%= t(".not_authorized.explanation") %>
38
+ </p>
39
+ </div>
40
+ </div>
41
+ <div class="not-authorized-modal-footer reveal__footer">
42
+ <%= link_to t(".not_authorized.authorizations_page"), decidim_verifications.authorizations_path(redirect_url: create_initiative_url(:select_initiative_type)), class: "button expanded" %>
43
+ </div>
44
+ </div>
45
+ </div>
@@ -1,4 +1,14 @@
1
- <div class="collection-sort-controls row small-up-1 medium-up-3 card-grid">
1
+ <% if @forced_closed_initiatives %>
2
+ <div class="callout warning">
3
+ <%= t ".closed_initiatives_warning" %>
4
+ </div>
5
+ <% elsif initiatives.blank? %>
6
+ <div class="callout warning">
7
+ <%= t ".no_initiatives_warning" %>
8
+ </div>
9
+ <% end %>
10
+
11
+ <div class="collection-sort-controls row small-up-1 medium-up-2 card-grid">
2
12
  <div class="column">
3
13
  <%= order_selector available_orders, i18n_scope: "decidim.initiatives.initiatives.orders" %>
4
14
  </div>
@@ -1,8 +1,7 @@
1
1
  <div class="row collapse buttons__row">
2
2
  <div class="column collapse">
3
- <button type="button" name="button" class="button small compact hollow secondary button--nomargin expanded">
4
- <%= link_to "#comments" do %>
5
- <%= icon "comment-square", class: "icon--small", aria_label: t(".comments_count.count.other"), role: "img" %>
3
+ <%= link_to "#comments", class: "button small compact hollow button--nomargin expanded" do %>
4
+ <%= icon "comment-square", class: "icon--small", role: "img", "aria-hidden": true %>
6
5
  <%= stats.comments_count %>
7
6
  <%= t(".comments_count.count", count: stats.comments_count) %>
8
7
  <% end %>
@@ -1,9 +1,24 @@
1
- <%= cell(
2
- "decidim/progress_bar",
3
- current_initiative.supports_count,
4
- total: current_initiative.supports_required,
5
- units_name: "decidim.initiatives.initiatives.votes_count.count",
6
- element_id: "initiative-#{current_initiative.id}-votes-count",
7
- subtitle_text: current_initiative.supports_goal_reached? ? t("decidim.initiatives.initiatives.votes_count.most_popular_initiative") : t("decidim.initiatives.initiatives.votes_count.need_more_votes"),
8
- small: false
9
- ) %>
1
+ <div id="initiative-<%= current_initiative.id %>-progress-bar">
2
+ <% current_initiative.votable_initiative_type_scopes.each_with_index do |type_scope, index| %>
3
+ <% if index == 0 %>
4
+ <%= cell(
5
+ "decidim/progress_bar",
6
+ current_initiative.online_votes_count_for(type_scope.scope),
7
+ total: type_scope.supports_required,
8
+ units_name: "decidim.initiatives.initiatives.votes_count.count",
9
+ element_id: "initiative-#{current_initiative.id}-votes-count",
10
+ subtitle_text: current_initiative.supports_goal_reached? ? t("decidim.initiatives.initiatives.votes_count.most_popular_initiative") : t("decidim.initiatives.initiatives.votes_count.need_more_votes"),
11
+ small: false
12
+ ) %>
13
+ <% else %>
14
+ <%= cell(
15
+ "decidim/progress_bar",
16
+ current_initiative.online_votes_count_for(type_scope.scope),
17
+ total: type_scope.supports_required,
18
+ subtitle_text: translated_attribute(type_scope.scope_name),
19
+ element_id: "initiative-scope-#{type_scope.id}-#{current_initiative.id}-votes-count",
20
+ horizontal: true
21
+ ) %>
22
+ <% end %>
23
+ <% end %>
24
+ </div>
@@ -1,4 +1,7 @@
1
1
  <ul class="tags tags--initiative">
2
2
  <li><%= link_to translated_attribute(resource.type.title), initiatives_path(filter: { type: [resource.type.id] }) %></li>
3
- <li><%= link_to translated_attribute(resource.scope.name), initiatives_path(filter: { scope_id: [resource.scope.id] }) %></li>
3
+ <li><%= link_to translated_attribute(resource.scope_name), initiatives_path(filter: { scope_id: [resource.scope&.id] }) %></li>
4
+ <% if resource.area %>
5
+ <li><%= link_to translated_attribute(resource.area_name), initiatives_path(filter: { area_id: [resource.area.id] }) %></li>
6
+ <% end %>
4
7
  </ul>
@@ -1,14 +1,4 @@
1
- <% if current_user && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? && allowed_to?(:vote, :initiative, initiative: initiative) %>
2
- <button id="select-identity-button"
3
- class="button expanded light button--sc">
4
- <%= t(".vote") %>
5
- </button>
6
-
7
- <div class="reveal"
8
- id="user-identities"
9
- data-reveal data-refresh-url="<%= signature_identities_initiative_url(slug: initiative.slug) %>">
10
- </div>
11
- <% elsif initiative.accepts_online_votes? %>
1
+ <% if initiative.accepts_online_votes? %>
12
2
  <%= render partial: "decidim/initiatives/initiatives/vote_button",
13
3
  locals: {
14
4
  initiative: initiative,
@@ -22,5 +12,3 @@
22
12
  <%= t(".votes_blocked") %>
23
13
  </button>
24
14
  <% end %>
25
-
26
- <%= javascript_include_tag "decidim/initiatives/identity_selector_dialog" %>
@@ -29,4 +29,4 @@ edit_link(
29
29
  <% end %>
30
30
 
31
31
  <%= javascript_include_tag "decidim/filters" %>
32
- <%= javascript_include_tag "decidim/orders" %>
32
+ <%= javascript_include_tag "decidim/results_listing" %>
@@ -20,12 +20,12 @@ edit_link(
20
20
  <% add_decidim_page_title(translated_attribute(current_initiative.title)) %>
21
21
  <% provide :meta_image_url, current_initiative.type.banner_image.url %>
22
22
  <div class="row">
23
- <% unless current_initiative.online? %>
23
+ <% unless current_initiative.online_signature_type? %>
24
24
  <div class="column">
25
25
  <div class="callout secondary">
26
26
  <p>
27
- <%= t ".any_vote_method" if current_initiative.any? %>
28
- <%= t ".offline_method" if current_initiative.offline? %>
27
+ <%= t ".any_vote_method" if current_initiative.any_signature_type? %>
28
+ <%= t ".offline_method" if current_initiative.offline_signature_type? %>
29
29
  </p>
30
30
  </div>
31
31
  </div>
@@ -52,8 +52,9 @@ edit_link(
52
52
  </div>
53
53
  <% end %>
54
54
  <%= render partial: "decidim/shared/share_modal" %>
55
- <%= embed_modal_for initiative_initiative_widget_url(current_initiative, format: :js) %>
55
+ <%= embed_modal_for initiative_widget_url(current_initiative, format: :js) %>
56
56
  <%= resource_reference(current_initiative) %>
57
+ <%= resource_version(current_initiative, versions_path: initiative_versions_path(current_initiative)) %>
57
58
  </div>
58
59
 
59
60
  <div class="columns mediumlarge-8 mediumlarge-pull-4">
@@ -75,8 +76,6 @@ edit_link(
75
76
  </div>
76
77
 
77
78
  <%= attachments_for current_initiative %>
78
-
79
- <%= render partial: "supports", locals: { initiative: current_initiative } %>
80
79
  </div>
81
80
  </div>
82
81
 
@@ -1 +1 @@
1
- <%= options_for_select scoped_types.map { |s| [translated_attribute(s.scope.name), s.scope.id] }, params[:selected] %>
1
+ <%= options_for_select scoped_types.map { |s| [translated_attribute(s.scope_name), s&.scope&.id] }, params[:selected] %>
@@ -0,0 +1,8 @@
1
+ <div class="row">
2
+ <%= cell(
3
+ "decidim/versions_list",
4
+ versioned_resource,
5
+ version_path: proc { |version_index| url_for(action: :show, id: version_index) },
6
+ i18n_scope: "decidim.initiatives.versions.shared"
7
+ ) %>
8
+ </div>
@@ -0,0 +1,10 @@
1
+ <div class="row">
2
+ <%= cell(
3
+ "decidim/version",
4
+ current_version,
5
+ index: params[:id],
6
+ versioned_resource: versioned_resource,
7
+ versions_path: proc { url_for(action: :index) },
8
+ i18n_scope: "decidim.initiatives.versions.shared"
9
+ ) %>
10
+ </div>
@@ -1,7 +1,7 @@
1
1
  <div class="columns large-3">
2
2
  <div class="m-bottom">
3
3
  <%= link_to :back do %>
4
- <%= icon "chevron-left", class: "icon--small" %> <%= t(".back") %>
4
+ <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %> <%= t(".back") %>
5
5
  <% end %>
6
6
  </div>
7
7
  <div class="section">
@@ -12,6 +12,8 @@
12
12
  <div class="show-for-large">
13
13
  <ol class="wizard__steps">
14
14
  <% wizard_steps.each do |wizard_step| %>
15
+ <% next if wizard_step.to_s == "promotal_committee" && !promotal_committee_required? %>
16
+ <% next if wizard_step.to_s == "select_initiative_type" && single_initiative_type? %>
15
17
  <% if step == wizard_step %>
16
18
  <li class="step--active">
17
19
  <%= t(".#{wizard_step}") %>
@@ -33,7 +33,8 @@
33
33
  {
34
34
  name: t(".initiative_menu_item"),
35
35
  url: decidim_initiatives.initiative_path(current_participatory_space),
36
- active: is_active_link?(decidim_initiatives.initiative_path(current_participatory_space), :exclusive)
36
+ active: is_active_link?(decidim_initiatives.initiative_path(current_participatory_space), :exclusive) ||
37
+ is_active_link?(decidim_initiatives.initiative_versions_path(current_participatory_space), :inclusive)
37
38
  }
38
39
  ] + components.map do |component|
39
40
  {
@@ -1,7 +1,7 @@
1
1
  <div class="columns large-3">
2
2
  <div class="m-bottom">
3
3
  <%= link_to initiative_path current_initiative do %>
4
- <%= icon "chevron-left", class: "icon--small" %> <%= t(".back") %>
4
+ <%= icon "chevron-left", class: "icon--small", role: "img", "aria-hidden": true %> <%= t(".back") %>
5
5
  <% end %>
6
6
  </div>
7
7
  <div class="section">
@@ -8,7 +8,7 @@
8
8
  </li>
9
9
  <% end %>
10
10
 
11
- <% if allowed_to? :manage_membership, :initiative, initiative: current_participatory_space %>
11
+ <% if current_participatory_space.promoting_committee_enabled? && allowed_to?(:manage_membership, :initiative, initiative: current_participatory_space) %>
12
12
  <li <% if is_active_link?(decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space)) %> class="is-active" <% end %>>
13
13
  <%= aria_selected_link_to t(".committee_members"), decidim_admin_initiatives.initiative_committee_requests_path(current_participatory_space) %>
14
14
  </li>
@@ -1,5 +1,6 @@
1
1
  <%= render "layouts/decidim/application" do %>
2
2
  <%= render partial: "layouts/decidim/initiative_header" %>
3
+ <%= cell "decidim/translation_bar", current_organization %>
3
4
  <div class="wrapper">
4
5
  <%= yield %>
5
6
  </div>
@@ -1,8 +1,7 @@
1
1
  <%= render "layouts/decidim/application" do %>
2
2
  <% if wizard_steps.first == step %>
3
3
  <div class="wrapper">
4
- <%= yield %>
5
- </div>
4
+ <%= yield %>
6
5
  </div>
7
6
  <% else %>
8
7
  <div class="wrapper">
@@ -1,5 +1,5 @@
1
1
  <%= render "layouts/decidim/application" do %>
2
- <main class="wrapper">
2
+ <div class="wrapper">
3
3
  <div class="row">
4
4
  <%= render partial: "layouts/decidim/initiative_signature_creation_header" %>
5
5
  <div class="columns large-6">
@@ -7,6 +7,6 @@
7
7
  </div>
8
8
  <div class="columns large-3"></div>
9
9
  </div>
10
- </main>
10
+ </div>
11
11
  <%= javascript_include_tag "decidim/initiatives/application" %>
12
12
  <% end %>
@@ -0,0 +1 @@
1
+ am:
@@ -33,6 +33,7 @@ ar:
33
33
  extra_fields_legal_information: معلومات قانونية حول جمع البيانات الشخصية
34
34
  minimum_committee_members: الحد الأدنى من أعضاء اللجنة
35
35
  online_signature_enabled: تم تمكين التوقيع عبر الإنترنت
36
+ promoting_committee_enabled: تفعيل لجنة الترويج
36
37
  title: عنوان
37
38
  undo_online_signatures_enabled: تمكين المشاركين من التراجع عن توقيعاتهم على الإنترنت
38
39
  validate_sms_code_on_votes: إضافة خطوة التحقق من صحة رمز SMS لعملية التوقيع
@@ -121,9 +122,13 @@ ar:
121
122
  affected_user:
122
123
  email_intro: حققت مبادرتك %{resource_title} ٪ %{percentage}من التوقيعات!
123
124
  email_outro: لقد تلقيت هذا الإشعار لأنك مؤلف المبادرة %{resource_title}.
125
+ email_subject: مرحلة جديدة تم تجاوزها!
124
126
  notification_title: لقد حققت مبادرة <a href="%{resource_path}">%{resource_title}</a> الخاصة بك %{percentage}٪ من التوقيعات.
125
127
  follower:
128
+ email_intro: لقد حازت المبادرة %{resource_title} على %{percentage}% مِن التوقيعات!
126
129
  email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{resource_title}. يمكنك إيقاف تلقي الإخطارات باتباع الرابط السابق.
130
+ email_subject: مرحلة جديدة تم تجاوزها!
131
+ notification_title: لقد حازت المبادرة <a href="%{resource_path}">%{resource_title}</a> على %{percentage} مِن التوقيعات.
127
132
  gamification:
128
133
  badges:
129
134
  initiatives:
@@ -183,18 +188,8 @@ ar:
183
188
  title: معلومات عامة
184
189
  index:
185
190
  actions_title: عمل
186
- filter:
187
- accepted: وافقت
188
- all: الكل
189
- created: تمّ إنشاؤه
190
- discarded: التخلص منها
191
- published: نشرت
192
- rejected: مرفوض
193
- validating: المصادقة الفنية
194
- filter_by: مصنف بواسطة
195
191
  preview: معاينة
196
192
  print: طباعة
197
- search: بحث
198
193
  show:
199
194
  print: طباعة
200
195
  update:
@@ -246,12 +241,19 @@ ar:
246
241
  unpublish: "تجاهل %{user_name} المبادرة %{resource_name}"
247
242
  update: "%{user_name} تحديث المبادرة %{resource_name}"
248
243
  admin_states:
249
- accepted: وافقت
250
244
  created: تمّ إنشاؤه
251
245
  discarded: التخلص منها
252
246
  published: نشرت
253
- rejected: مرفوض
254
247
  validating: المصادقة الفنية
248
+ application_helper:
249
+ filter_scope_values:
250
+ all: الكل
251
+ filter_state_values:
252
+ all: الكل
253
+ closed: مغلق
254
+ open: افتح
255
+ filter_type_values:
256
+ all: الكل
255
257
  committee_requests:
256
258
  new:
257
259
  continue: استمر
@@ -367,13 +369,10 @@ ar:
367
369
  filters:
368
370
  any: أي
369
371
  author: مؤلف
370
- closed: مغلق
371
372
  myself: مبادراتي
372
- open: افتح
373
373
  search: بحث
374
374
  state: الحالة
375
375
  type: نوع
376
- type_prompt: اختر نوع
377
376
  filters_small_view:
378
377
  close_modal: أغلق النافذة
379
378
  filter: منقي
@@ -409,8 +408,6 @@ ar:
409
408
  any_vote_method: تجمع مبادرة المواطن هذه التوقيعات عبر الإنترنت والشخصية.
410
409
  follow_description: تلقي إشعار عند وجود أخبار في هذه المبادرة
411
410
  offline_method: تجمع مبادرة المواطن هذه التوقيعات الشخصية فقط.
412
- signature_identities:
413
- select_identity: حدد معرف المشارك
414
411
  signatures_count:
415
412
  zero: " التوقيعات"
416
413
  one: " التوقيع"
@@ -418,8 +415,6 @@ ar:
418
415
  few: " التوقيعات"
419
416
  many: " التوقيعات"
420
417
  other: " التوقيعات"
421
- supports:
422
- title: قائمة التوقيعات
423
418
  vote_cabin:
424
419
  already_voted: وقعت بالفعل
425
420
  supports_required: "%{total_supports} التوقيعات المطلوبة"
@@ -447,8 +442,6 @@ ar:
447
442
  promotal_committee_help: تذكر أنه يجب دعوة %{member_count} شخصًا على الأقل إلى لجنة المروجين. أرسل الرابط التالي لدعوة الناس إلى لجنة المروجين
448
443
  status_change_body_for: 'لقد غيرت المبادرة %{title} حالتها إلى: %{state}'
449
444
  status_change_for: لقد غيرت المبادرة %{title} حالتها
450
- technical_validation_body_for: طلبت المبادرة %{title} التحقق من الصحة
451
- technical_validation_for: طلبت المبادرة %{title} التحقق من الصحة
452
445
  last_activity:
453
446
  new_initiative: مبادرة جديدة
454
447
  pages:
@@ -456,6 +449,9 @@ ar:
456
449
  highlighted_initiatives:
457
450
  active_initiatives: المبادرات النشطة
458
451
  see_all_initiatives: رؤية جميع المبادرات
452
+ show:
453
+ badge_name:
454
+ validating: تحقق تقني
459
455
  states:
460
456
  accepted: وافقت
461
457
  expired: منتهية الصلاحية
@@ -0,0 +1,13 @@
1
+ bg:
2
+ activemodel:
3
+ attributes:
4
+ initiative:
5
+ decidim_user_group_id: Автор
6
+ description: Описание
7
+ offline_votes: Лични подписи
8
+ decidim:
9
+ initiatives:
10
+ application_helper:
11
+ filter_state_values:
12
+ closed: Затворен
13
+ open: Отворен
@@ -0,0 +1,13 @@
1
+ bg:
2
+ activemodel:
3
+ attributes:
4
+ initiative:
5
+ decidim_user_group_id: Автор
6
+ description: Описание
7
+ offline_votes: Лични подписи
8
+ decidim:
9
+ initiatives:
10
+ application_helper:
11
+ filter_state_values:
12
+ closed: Затворен
13
+ open: Отворен
@@ -5,6 +5,7 @@ ca:
5
5
  decidim_user_group_id: Autoria
6
6
  description: Descripció
7
7
  offline_votes: Signatures presencials
8
+ offline_votes_for_scope: Signatures presencials per a %{scope_name}
8
9
  scope_id: Àmbit
9
10
  signature_end_date: Fi del període de recollida de signatures
10
11
  signature_start_date: Inici del període de recollida de signatures
@@ -26,13 +27,19 @@ ca:
26
27
  initiatives_committee_member:
27
28
  user: Membre del comitè
28
29
  initiatives_type:
30
+ area_enabled: Permet a les autores triar l'àrea de la seva iniciativa
31
+ attachments_enabled: Habilitat arxius adjunts
29
32
  banner_image: Imatge del bàner
33
+ child_scope_threshold_enabled: Activar signatures per subàmbit
30
34
  collect_user_extra_fields: Recopilar les dades personals de la participant amb la signatura
35
+ custom_signature_end_date_enabled: Permet a les autores triar la fi del període de recollida de signatures
31
36
  description: Descripció
32
37
  document_number_authorization_handler: Autorització per verificar el número de document en les signatures
33
38
  extra_fields_legal_information: Informació legal sobre la recollida de dades personals
34
- minimum_committee_members: Mínim de membres de la comissió
39
+ minimum_committee_members: Nombre mínim de membres de la comissió
35
40
  online_signature_enabled: S'ha activat la signatura digital
41
+ only_global_scope_enabled: Permetre només la creació d'iniciatives d'àmbit global
42
+ promoting_committee_enabled: Habilita el comitè promotor
36
43
  title: Títol
37
44
  undo_online_signatures_enabled: Permetre a les participants desfer les seves signatures digitals
38
45
  validate_sms_code_on_votes: Afegeix el pas de validació mitjançant SMS al procés de signatura
@@ -45,6 +52,14 @@ ca:
45
52
  address: Adreça
46
53
  id_document: Document d'identitat
47
54
  name: Nom complet
55
+ errors:
56
+ models:
57
+ initiative:
58
+ attributes:
59
+ attachment:
60
+ file: Aquest arxiu és invàlid
61
+ needs_to_be_reattached: És necessari tornar a adjuntar l'arxiu
62
+ title: El títol no pot quedar buit
48
63
  activerecord:
49
64
  models:
50
65
  decidim/initiative:
@@ -60,6 +75,23 @@ ca:
60
75
  admin:
61
76
  actions:
62
77
  new_initiative_type: Nou tipus d'iniciativa
78
+ filters:
79
+ initiatives:
80
+ decidim_area_id_eq:
81
+ label: Àrea
82
+ state_eq:
83
+ label: Estat
84
+ values:
85
+ accepted: Ha aconseguit les signatures
86
+ created: Creada
87
+ discarded: Descartada
88
+ published: Publicada
89
+ rejected: No ha aconseguit les signatures
90
+ validating: Validació tècnica
91
+ type_id_eq:
92
+ label: Tipus
93
+ search_placeholder:
94
+ title_or_description_or_id_string_or_author_name_or_author_nickname_cont: Cercar %{collection} per títol, descripció, ID o autoria.
63
95
  menu:
64
96
  initiatives: Iniciatives
65
97
  initiatives_types: Tipus d'iniciatives
@@ -68,6 +100,7 @@ ca:
68
100
  fields:
69
101
  created_at: Data de creació
70
102
  id: ID
103
+ published_at: Publicat el
71
104
  state: Estat
72
105
  supports_count: Signatures
73
106
  title: Iniciatives
@@ -93,6 +126,7 @@ ca:
93
126
  initiative_title: Títol de la iniciativa
94
127
  name_and_surname: Nom i cognoms
95
128
  postal_code: Codi postal
129
+ scope: Àmbit
96
130
  time_and_date: Data i hora
97
131
  timestamp: Marca de temps
98
132
  titles:
@@ -100,6 +134,12 @@ ca:
100
134
  initiatives_types: Tipus d'iniciatives
101
135
  events:
102
136
  initiatives:
137
+ admin:
138
+ initiative_sent_to_technical_validation:
139
+ email_intro: La iniciativa "%{resource_title}" s'ha enviat a validació tècnica. Comprova-ho a través del <a href="%{admin_initiative_url}">taullel d'administració</a>
140
+ email_outro: Has rebut aquesta notificació perquè ets una de les administradores de la plataforma.
141
+ email_subject: La iniciativa %{resource_title} ha sol·licitat validació tècnica.
142
+ notification_title: La iniciativa "%{resource_title}" s'ha enviat a validació tècnica. Comprova-ho a través del <a href="%{admin_initiative_path}">taullel d'administració</a>
103
143
  initiative_extended:
104
144
  email_intro: La data de finalització de recollida de signatures per a la iniciativa %{resource_title} s'ha ampliat!
105
145
  email_outro: Has rebut aquesta notificació perquè estàs seguint %{resource_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
@@ -116,6 +156,11 @@ ca:
116
156
  email_outro: Has rebut aquesta notificació perquè estàs seguint %{resource_title}. Pots deixar de rebre notificacions seguint l'enllaç anterior.
117
157
  email_subject: S'ha completat una nova fita!
118
158
  notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> ha aconseguit el %{percentage}% de les signatures.
159
+ support_threshold_reached:
160
+ email_intro: La iniciativa %{resource_title} ha arribat al llindar de signatures
161
+ email_outro: Has rebut aquesta notificació perquè ets una de les administradores de la plataforma.
162
+ email_subject: Llindar de signatures aconseguit
163
+ notification_title: La iniciativa <a href="%{resource_path}">%{resource_title}</a> ha arribat al llindar de signatures
119
164
  gamification:
120
165
  badges:
121
166
  initiatives:
@@ -160,6 +205,8 @@ ca:
160
205
  content_blocks:
161
206
  highlighted_initiatives:
162
207
  max_results: Quantitat màxima d'elements per mostrar
208
+ exports:
209
+ initiatives: Iniciatives
163
210
  initiatives:
164
211
  edit:
165
212
  accept: Accepta la iniciativa
@@ -172,21 +219,18 @@ ca:
172
219
  success: La iniciativa s'ha enviat a validació tècnica
173
220
  update: Actualitzar
174
221
  form:
222
+ attachments: Adjunts
223
+ settings: Configuració
175
224
  title: Informació general
176
225
  index:
177
226
  actions_title: Acció
178
- filter:
179
- accepted: Acceptat
180
- all: Totes
181
- created: Creada
182
- discarded: Rebutjada
183
- published: Publicada
184
- rejected: Rebutjada
185
- validating: Validació tècnica
186
- filter_by: Filtra per
187
227
  preview: Vista prèvia
188
228
  print: Imprimir
189
- search: Cerca
229
+ initiative_attachments:
230
+ documents: Documents
231
+ edit: Edita
232
+ new: Nou
233
+ photos: Fotografies
190
234
  show:
191
235
  print: Imprimir
192
236
  update:
@@ -222,6 +266,10 @@ ca:
222
266
  destroy: Suprimeix
223
267
  update: Actualitza
224
268
  form:
269
+ authorizations: Configuració de l'autorització
270
+ child_scope_threshold_enabled_help: 'Aquest ajust de configuració no suporta recollida de signatures presencials. Habilita indicadors de signatures per subàmbits i funciona amb un controlador d''autoritzacions que associa un àmbit a l''usuari. Assegura''t de seleccionar aquesta autorització més a baix, en la configuració d''autorització. Perquè funcioni ha de configurar-se de manera jeràrquica : 1 àmbit - N subàmbits. Per a més informació sobre com funciona aquesta configuració, consulta aquest <a href="https://docs.decidim.org/admin-manual/en/initiatives/" target="_blank">enllaç</a>.'
271
+ only_global_scope_enabled_help: Marca aquesta casella si has habilitat "Activar signatures per subàmbit" i vas configurar l'àmbit global com l'àmbit principal. En habilitar aquesta casella, la selecció del tipus d'iniciativa s'ometrà en l'assistent de creació d'iniciatives. Per a més informació sobre com funciona aquesta configuració, consulta aquest <a href="https://docs.decidim.org/admin-manual/en/initiatives/" target="_blank">enllaç</a>.
272
+ options: Opcions
225
273
  title: Informació general
226
274
  initiative_type_scopes:
227
275
  title: Àmbits del tipus d'iniciativa
@@ -238,12 +286,26 @@ ca:
238
286
  unpublish: "%{user_name} ha descartat la iniciativa %{resource_name}"
239
287
  update: "%{user_name} ha actualitzat la iniciativa %{resource_name}"
240
288
  admin_states:
241
- accepted: Acceptada
289
+ accepted: Ha aconseguit les signatures necessàries
242
290
  created: Creada
243
291
  discarded: Rebutjada
244
292
  published: Publicada
245
- rejected: Rebutjada
293
+ rejected: No ha aconseguit les signatures necessàries
246
294
  validating: Validació tècnica
295
+ application_helper:
296
+ filter_area_values:
297
+ all: Totes
298
+ filter_scope_values:
299
+ all: Tots
300
+ filter_state_values:
301
+ accepted: Ha aconseguit les signatures
302
+ all: Tots
303
+ answered: Amb resposta
304
+ closed: Tancat
305
+ open: Obertes
306
+ rejected: No ha aconseguit les signatures
307
+ filter_type_values:
308
+ all: Tots
247
309
  committee_requests:
248
310
  new:
249
311
  continue: Continua
@@ -260,13 +322,17 @@ ca:
260
322
  fill_data_help: "<ul> <li>Revisa el contingut de la teva iniciativa. El títol és fàcil d'entendre? L'objectiu de la teva iniciativa és clar?</li> <li>Has d'escollir el tipus de signatura. Presencial, digital o una combinació de totes dues.</li> <li>Quin és l'àmbit geogràfic de la iniciativa? Ciutat, districte?</li> </ul>"
261
323
  initiative_type: Tipus d'iniciativa
262
324
  more_information: "(Més informació)"
325
+ select_area: Selecciona una àrea
263
326
  select_scope: Selecciona un àmbit d'aplicació
264
327
  finish:
265
328
  back: Torna
266
329
  back_to_initiatives: Torna a iniciatives
267
330
  callout_text: Enhorabona! La teva iniciativa ciutadana s'ha creat correctament.
331
+ confirm: Confirmar
332
+ edit_my_initiative: Editar les meves iniciatives
268
333
  go_to_my_initiatives: Ves a les meves iniciatives
269
334
  more_information: "(Més informació)"
335
+ send_my_initiative: Enviar la meva iniciativa
270
336
  finish_help:
271
337
  access_reminder: Recorda que sempre pots accedir a les teves iniciatives a través del menú de participant.
272
338
  help_for_organizations: Si ets una associació, hauràs de pujar les actes del consell d'administració de totes les organitzacions que formen la Comissió Promotora
@@ -350,14 +416,13 @@ ca:
350
416
  other: "%{count} iniciatives"
351
417
  filters:
352
418
  any: Qualsevol
419
+ area: Àrea
353
420
  author: Autora
354
- closed: Tancat
355
421
  myself: Les meves iniciatives
356
- open: Obertes
422
+ scope: Àmbit
357
423
  search: Cerca
358
424
  state: Estat
359
425
  type: Tipus
360
- type_prompt: Selecciona un tipus
361
426
  filters_small_view:
362
427
  close_modal: Tanca la finestra
363
428
  filter: Filtra
@@ -365,6 +430,14 @@ ca:
365
430
  unfold: Desplegar
366
431
  index_header:
367
432
  new_initiative: Nova iniciativa
433
+ not_authorized:
434
+ authorizations_page: Veure les autoritzacions
435
+ close: Tanca
436
+ explanation: Cal que estiguis verificada per tal de crear una nova iniciativa.
437
+ title: Es requereix autorització
438
+ initiatives:
439
+ closed_initiatives_warning: Actualment no hi ha iniciatives obertes, però aquí pots trobar el llistat de totes les iniciatives tancades.
440
+ no_initiatives_warning: No hi ha iniciatives que coincideixin amb el teu criteri de cerca.
368
441
  interactions:
369
442
  comments_count:
370
443
  count:
@@ -376,6 +449,7 @@ ca:
376
449
  most_voted: Més signades
377
450
  random: Aleatori
378
451
  recent: Més recents
452
+ recently_published: Publicada més recentment
379
453
  result:
380
454
  answer_title:
381
455
  accepted: Aquesta proposta s'ha acceptat perquè
@@ -389,13 +463,9 @@ ca:
389
463
  any_vote_method: Aquesta iniciativa ciutadana recull signatures digitals i presencials.
390
464
  follow_description: Rebre una notificació quan hi hagi novetats sobre aquesta iniciativa
391
465
  offline_method: Aquesta iniciativa ciutadana només recull signatures presencials.
392
- signature_identities:
393
- select_identity: Selecciona l'identificador de la participant
394
466
  signatures_count:
395
467
  one: " signatura"
396
468
  other: " signatures"
397
- supports:
398
- title: Llistat d'adhesions
399
469
  vote_cabin:
400
470
  already_voted: Ja has signat
401
471
  supports_required: "Es requereixen %{total_supports} signatures"
@@ -419,8 +489,6 @@ ca:
419
489
  promotal_committee_help: Recorda que has de convidar almenys a %{member_count} persones a la Comissió Promotora. Reenvia el següent enllaç per convidar-les
420
490
  status_change_body_for: 'La iniciativa %{title} ha canviat el seu estat a: %{state}'
421
491
  status_change_for: La iniciativa %{title} ha canviat el seu estat
422
- technical_validation_body_for: La iniciativa %{title} ha sol·licitat validació tècnica.
423
- technical_validation_for: La iniciativa %{title} ha sol·licitat validació tècnica.
424
492
  last_activity:
425
493
  new_initiative: Nova iniciativa
426
494
  pages:
@@ -428,10 +496,21 @@ ca:
428
496
  highlighted_initiatives:
429
497
  active_initiatives: Iniciatives actives
430
498
  see_all_initiatives: Veure totes les iniciatives
499
+ show:
500
+ badge_name:
501
+ accepted: Amb les signatures necessàries
502
+ created: Creada
503
+ discarded: Descartada
504
+ published: Publicada
505
+ rejected: No ha aconseguit les signatures
506
+ validating: Validació tècnica
431
507
  states:
432
508
  accepted: Acceptat
433
509
  expired: Vençut
434
510
  unavailable_scope: Àmbit no disponible
511
+ versions:
512
+ shared:
513
+ back_to_resource: Torna a la iniciativa
435
514
  menu:
436
515
  initiatives: Iniciatives
437
516
  resources: