decidim-budgets 0.28.4 → 0.28.6

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 (59) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/budgets/budgets_list/main_list.erb +1 -1
  3. data/app/cells/decidim/budgets/budgets_list/show.erb +1 -1
  4. data/app/commands/decidim/budgets/admin/import_proposals_to_budgets.rb +6 -2
  5. data/app/forms/decidim/budgets/admin/budget_form.rb +1 -1
  6. data/app/forms/decidim/budgets/admin/project_form.rb +1 -1
  7. data/app/forms/decidim/budgets/admin/project_import_proposals_form.rb +1 -1
  8. data/app/packs/stylesheets/budgets.scss +6 -2
  9. data/app/permissions/decidim/budgets/permissions.rb +2 -0
  10. data/app/views/decidim/budgets/budgets/index.html.erb +1 -1
  11. data/app/views/decidim/budgets/projects/_order.html.erb +1 -1
  12. data/app/views/decidim/budgets/projects/_order_progress_summary_content.html.erb +1 -1
  13. data/app/views/decidim/budgets/projects/index.html.erb +10 -2
  14. data/config/locales/ar.yml +1 -3
  15. data/config/locales/bg.yml +1 -2
  16. data/config/locales/bn-BD.yml +1 -0
  17. data/config/locales/bs-BA.yml +22 -0
  18. data/config/locales/ca-IT.yml +387 -0
  19. data/config/locales/ca.yml +1 -1
  20. data/config/locales/cs.yml +1 -1
  21. data/config/locales/de.yml +4 -4
  22. data/config/locales/el.yml +0 -1
  23. data/config/locales/es-MX.yml +1 -1
  24. data/config/locales/es-PY.yml +1 -1
  25. data/config/locales/eu.yml +92 -83
  26. data/config/locales/fi-plain.yml +15 -15
  27. data/config/locales/fi.yml +68 -68
  28. data/config/locales/fr-CA.yml +4 -4
  29. data/config/locales/fr.yml +3 -3
  30. data/config/locales/ga-IE.yml +0 -4
  31. data/config/locales/gl.yml +0 -7
  32. data/config/locales/hu.yml +2 -3
  33. data/config/locales/id-ID.yml +0 -3
  34. data/config/locales/is-IS.yml +0 -3
  35. data/config/locales/it.yml +23 -5
  36. data/config/locales/ko.yml +8 -0
  37. data/config/locales/lb.yml +0 -4
  38. data/config/locales/lt.yml +0 -1
  39. data/config/locales/lv.yml +0 -3
  40. data/config/locales/nl.yml +2 -3
  41. data/config/locales/no.yml +0 -7
  42. data/config/locales/pl.yml +0 -1
  43. data/config/locales/pt-BR.yml +2 -3
  44. data/config/locales/pt.yml +0 -5
  45. data/config/locales/ro-RO.yml +1 -2
  46. data/config/locales/ru.yml +0 -3
  47. data/config/locales/sk.yml +0 -3
  48. data/config/locales/sq-AL.yml +10 -3
  49. data/config/locales/sv.yml +3 -3
  50. data/config/locales/tr-TR.yml +0 -5
  51. data/config/locales/uk.yml +0 -3
  52. data/config/locales/zh-CN.yml +0 -5
  53. data/config/locales/zh-TW.yml +0 -1
  54. data/decidim-budgets.gemspec +1 -1
  55. data/lib/decidim/api/budget_type.rb +6 -0
  56. data/lib/decidim/api/budgets_type.rb +1 -3
  57. data/lib/decidim/api/project_type.rb +13 -0
  58. data/lib/decidim/budgets/version.rb +1 -1
  59. metadata +16 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0836cf8fb72452447c8f5cc2a97ce950a19fa7c7eebd4ac3fbd93a564f0864f4'
4
- data.tar.gz: 7b673db6e52e3ccacab19be1464b4955a49ce1535bd0a10d877c1cfb769ba303
3
+ metadata.gz: 8da4ee5d16b4d2ba78fc3207ba7c348f75024acbb2fd4fee20ab36a7dafeb14e
4
+ data.tar.gz: b8de0350731eb2ce1d23ee4c6c58810e8e0c5a800676c25c5e1b29bc67308e08
5
5
  SHA512:
6
- metadata.gz: 3f8005f5ab51ffaca7e404b3c2a7e4336a8c601a9f734cf9e38795a655723da43b1d7225c0055b30782f2271b2a89c21c796bf5e1ff6331ec98f5fec9565af4d
7
- data.tar.gz: '009fb8e2e464d4f4bcfebd207e25b7464ed7854c46296150b81f09ff467ad0f2dec923925a04bc7da9dc73fc84168aa15771410ed46b28d4702293e2a2931c56'
6
+ metadata.gz: b2cfe010b01e42508f3e86dadd968edf6fad893336015115c26315d8cd8ebcd5fe55e29ec589f1cad8b1f01352089ee5dcf085e0f50a0e44801c47b216b249d3
7
+ data.tar.gz: 41d9b3e6e5887f7ba55a557257362302d0d4d11b987a9826c78d347aa74e2ef81908619ad3c90e1d123de08cc167d387284f27b1219c875e39eddcfc1fd965b7
@@ -1,5 +1,5 @@
1
1
  <h2 class="h5 md:h3 decorator"><%= t(:count, scope: i18n_scope, count: budgets.length) %></h2>
2
2
 
3
- <%= render partial: "decidim/shared/orders", formats: [:html], locals: { orders: AVAILABLE_ORDERS, i18n_scope: "decidim.budgets.budgets_list.orders" } %>
3
+ <%= render partial: "decidim/shared/orders", formats: [:html], locals: { orders: AVAILABLE_ORDERS, i18n_scope: "decidim.budgets.budgets_list.orders", css_class: "items-start ml-6", b_css_class: "!justify-start pb-0 pl-0" } %>
4
4
 
5
5
  <%= render :card_list %>
@@ -7,7 +7,7 @@
7
7
  <% end %>
8
8
 
9
9
  <% if budgets.where.not(id: voted.map(&:id)).exists? %>
10
- <div id="budgets" class="card__list-list">
10
+ <div id="budgets" class="card__list-list !space-y-5 w-full">
11
11
  <%= main_list %>
12
12
  </div>
13
13
  <% end %>
@@ -76,7 +76,7 @@ module Decidim
76
76
 
77
77
  def all_proposals
78
78
  Decidim::Proposals::Proposal.where(component: origin_component)
79
- .where(state: :accepted)
79
+ .where(state: :accepted).published.not_hidden.not_withdrawn.accepted.order(:published_at)
80
80
  end
81
81
 
82
82
  def origin_component
@@ -88,9 +88,13 @@ module Decidim
88
88
  # because otherwise duplicates could be created until the component is
89
89
  # published.
90
90
  original_proposal.linked_resources(:projects, "included_proposals", component_published: false).any? do |project|
91
- project.budget == form.budget
91
+ component_budgets.exists?(project.decidim_budgets_budget_id)
92
92
  end
93
93
  end
94
+
95
+ def component_budgets
96
+ @component_budgets ||= Decidim::Budgets::Budget.where(component: form.budget.component)
97
+ end
94
98
  end
95
99
  end
96
100
  end
@@ -11,7 +11,7 @@ module Decidim
11
11
 
12
12
  translatable_attribute :title, String
13
13
  attribute :weight, Integer, default: 0
14
- translatable_attribute :description, String
14
+ translatable_attribute :description, Decidim::Attributes::RichText
15
15
  attribute :total_budget, Integer, default: 0
16
16
  attribute :decidim_scope_id, Integer
17
17
 
@@ -11,7 +11,7 @@ module Decidim
11
11
  include Decidim::ApplicationHelper
12
12
 
13
13
  translatable_attribute :title, String
14
- translatable_attribute :description, String
14
+ translatable_attribute :description, Decidim::Attributes::RichText
15
15
 
16
16
  attribute :address, String
17
17
  attribute :latitude, Float
@@ -34,7 +34,7 @@ module Decidim
34
34
  end
35
35
 
36
36
  def scope
37
- @scope ||= @scope_id ? current_component.scopes.find_by(id: @scope_id) : current_component.scope
37
+ @scope ||= @attributes["scope_id"].value ? current_component.scopes.find_by(id: @attributes["scope_id"].value) : current_component.scope
38
38
  end
39
39
 
40
40
  def scope_id
@@ -79,8 +79,12 @@
79
79
  }
80
80
  }
81
81
 
82
+ &__projects__container {
83
+ @apply -mt-12 sm:mt-0;
84
+ }
85
+
82
86
  &__card__list-project {
83
- @apply ml-auto rounded py-3 px-6 bg-background w-[30%] min-w-[120px] grid grid-cols-1 md:grid-cols-2 md:place-items-center;
87
+ @apply ml-auto rounded py-3 px-4 bg-background w-[30%] min-w-[120px] flex flex-col justify-center items-center lg:flex-row lg:justify-around lg:place-items-center;
84
88
  }
85
89
 
86
90
  &__card__list-project__amount {
@@ -140,7 +144,7 @@
140
144
  }
141
145
 
142
146
  &__list--header {
143
- @apply grid grid-cols-2;
147
+ @apply flex items-center justify-between -ml-2 md:ml-0;
144
148
  }
145
149
 
146
150
  &-list {
@@ -18,6 +18,8 @@ module Decidim
18
18
  can_vote?(false) if can_vote_project?(project || order&.projects&.first)
19
19
  when :report
20
20
  permission_action.allow!
21
+ when :read
22
+ toggle_allow(project.visible?)
21
23
  end
22
24
  end
23
25
 
@@ -17,7 +17,7 @@
17
17
  <%= cell("decidim/budgets/budgets_header", current_workflow) %>
18
18
  </section>
19
19
 
20
- <section class="layout-main__section layout-main__heading">
20
+ <section class="layout-main__section layout-main__heading flex flex-col items-start">
21
21
  <%= cell("decidim/budgets/budgets_list", current_workflow) %>
22
22
  </section>
23
23
  <% end %>
@@ -1 +1 @@
1
- <%= order_selector available_orders, i18n_scope: "decidim.budgets.projects.orders" %>
1
+ <%= order_selector available_orders, i18n_scope: "decidim.budgets.projects.orders", css_class: "items-start pl-4" %>
@@ -27,7 +27,7 @@
27
27
  <div class="progress-meter budget-summary__progressbar--meter" style="width: <%= current_order_budget_percent %>%"> </div>
28
28
  </div>
29
29
  <div class="budget-summary__progressbar-marks">
30
- <span class="budget-summary__progressbar-legend" style="width: <%= current_order_budget_percent_minimum %>%;">
30
+ <span class="budget-summary__progressbar-legend">
31
31
  <%= t("assigned", scope: "decidim.budgets.projects.order_progress") %>
32
32
  <strong id="order-total-budget<%= "-responsive" if responsive %>" class="budget-summary__progressbar-legend-strong">
33
33
  <%= render partial: "decidim/budgets/projects/order_total_budget" %>
@@ -1,4 +1,12 @@
1
- <% add_decidim_page_title t("decidim.budgets.projects.projects_for", name: translated_attribute(budget.title)) %>
1
+ <% add_decidim_meta_tags(
2
+ description: translated_attribute(budget.description),
3
+ title: t("decidim.components.pagination.page_title",
4
+ component_name: t("decidim.budgets.projects.projects_for", name: translated_attribute(budget.title)),
5
+ current_page: projects.current_page,
6
+ total_pages: projects.total_pages ),
7
+ url: budget_url(budget),
8
+ resource: budget) %>
9
+
2
10
  <%= append_javascript_pack_tag "decidim_budgets" %>
3
11
  <%= append_stylesheet_pack_tag "decidim_budgets" %>
4
12
 
@@ -56,7 +64,7 @@
56
64
  </section>
57
65
  <% end %>
58
66
 
59
- <section id="projects" class="layout-main__section layout-main__heading">
67
+ <section id="projects" class="layout-main__section layout-main__heading budget__projects__container">
60
68
  <%= render partial: "projects" %>
61
69
  </section>
62
70
  <% else %>
@@ -8,7 +8,6 @@ ar:
8
8
  total_budget: الميزانية الإجمالية
9
9
  project:
10
10
  decidim_category_id: الفئة
11
- decidim_scope_id: نطاق
12
11
  description: وصف
13
12
  proposal_ids: المقترحات ذات الصلة
14
13
  title: عنوان
@@ -31,7 +30,6 @@ ar:
31
30
  actions:
32
31
  attachment_collections: المجلدات
33
32
  attachments: مرفقات
34
- confirm_destroy: هل أنت متأكد أنك تريد حذف هذا المشروع؟
35
33
  destroy: حذف
36
34
  edit: تعديل
37
35
  edit_projects: إدارة المشاريع
@@ -118,7 +116,6 @@ ar:
118
116
  other: "%{count} مشاريع"
119
117
  filters:
120
118
  category: الفئة
121
- scope: نطاق
122
119
  search: بحث
123
120
  show:
124
121
  budget: ميزانية
@@ -128,6 +125,7 @@ ar:
128
125
  components:
129
126
  budgets:
130
127
  actions:
128
+ comment: تعليق
131
129
  vote: تصويت
132
130
  name: الميزانيات
133
131
  settings:
@@ -11,7 +11,7 @@ bg:
11
11
  project:
12
12
  budget_amount: Бюджетна сума
13
13
  decidim_category_id: Категория
14
- decidim_scope_id: Сфера
14
+ decidim_scope_id: Обхват
15
15
  description: Описание
16
16
  proposal_ids: Свързани предложения
17
17
  proposals: Предложения
@@ -44,7 +44,6 @@ bg:
44
44
  actions:
45
45
  attachment_collections: Папки
46
46
  attachments: Прикачени файлове
47
- confirm_destroy: Сигурни ли сте, че искате да изтриете този проект?
48
47
  destroy: Изтрий
49
48
  edit: Редактирай
50
49
  edit_projects: Обедини проекти
@@ -0,0 +1 @@
1
+ bn:
@@ -0,0 +1,22 @@
1
+ ---
2
+ bs:
3
+ decidim:
4
+ budgets:
5
+ order_summary_mailer:
6
+ order_summary:
7
+ selected_projects: 'Projekti koje ste izabrali su:'
8
+ subject: Glasali ste na prostoru za diskusiju %{space_name}
9
+ projects:
10
+ orders:
11
+ highest_cost: Najveća cena
12
+ label: Poređaj projekte po
13
+ lowest_cost: Najniža cena
14
+ most_voted: Najviše glasova
15
+ random: Slučajan redosled
16
+ components:
17
+ budgets:
18
+ settings:
19
+ global:
20
+ vote_minimum_budget_projects_number: Minimum projekata za glasanje
21
+ vote_rule_minimum_budget_projects_enabled: 'Omogući pravilo: Minimalni broj projekata o kojima se glasa'
22
+ vote_rule_threshold_percent_enabled: 'Omogući pravilo: Minimalni procenta budžeta'
@@ -0,0 +1,387 @@
1
+ ---
2
+ ca-IT:
3
+ activemodel:
4
+ attributes:
5
+ budget:
6
+ decidim_scope_id: Àmbit
7
+ description: Descripció
8
+ title: Títol
9
+ total_budget: Pressupost total
10
+ weight: Ordre de posició
11
+ project:
12
+ budget_amount: Import del pressupost
13
+ decidim_category_id: Categoria
14
+ decidim_scope_id: Àmbit
15
+ description: Descripció
16
+ proposal_ids: Propostes relacionades
17
+ proposals: Propostes
18
+ selected: Seleccionat per implementar
19
+ title: Títol
20
+ proposals_import:
21
+ scope_id: Àmbit
22
+ activerecord:
23
+ models:
24
+ decidim/budgets/budget:
25
+ one: Pressupost
26
+ other: Pressupostos
27
+ decidim/budgets/project:
28
+ one: Projecte
29
+ other: Projectes
30
+ decidim:
31
+ admin:
32
+ filters:
33
+ projects:
34
+ category_id_eq:
35
+ label: Categoria
36
+ scope_id_eq:
37
+ label: Àmbit
38
+ selected_at_null:
39
+ label: Seleccionat
40
+ values:
41
+ 'false': Seleccionat per implementar
42
+ 'true': No s'ha seleccionat per implementar
43
+ budgets:
44
+ actions:
45
+ attachment_collections: Carpetes
46
+ attachments: Adjunts
47
+ confirm_destroy: Segur que vols eliminar aquest projecte?
48
+ destroy: Esborrar
49
+ edit: Editar
50
+ edit_projects: Gestionar projectes
51
+ import: Importa propostes a projectes
52
+ new_budget: Afegir pressupost
53
+ new_project: Afegir projecte
54
+ preview: Previsualitzar
55
+ send_voting_reminders: Enviar recordatoris de votació
56
+ title: Accions
57
+ admin:
58
+ budgets:
59
+ create:
60
+ invalid: S'ha produït un error en crear aquest pressupost.
61
+ success: Pressupost creat correctament.
62
+ destroy:
63
+ invalid: S'ha produït un error en eliminar aquest pressupost.
64
+ success: Pressupost eliminat correctament.
65
+ edit:
66
+ title: Edita el pressupost
67
+ update: Actualitza el pressupost
68
+ index:
69
+ finished_orders: Vots finalitzats
70
+ pending_orders: Vots en procés
71
+ title: Pressupostos
72
+ users_with_finished_orders: Usuàries amb vots finalitzats
73
+ users_with_pending_orders: Usuàries amb vots pendents
74
+ new:
75
+ create: Crea pressupost
76
+ title: Nou pressupost
77
+ update:
78
+ invalid: S'ha produït un error en actualitzar aquest pressupost.
79
+ success: Pressupost actualitzat correctament.
80
+ exports:
81
+ projects: Projectes
82
+ models:
83
+ budget:
84
+ name: Pressupost
85
+ project:
86
+ name: Projecte
87
+ projects:
88
+ create:
89
+ invalid: S'ha produït un error en crear aquest projecte.
90
+ success: Projecte creat correctament.
91
+ destroy:
92
+ success: Projecte eliminat correctament.
93
+ edit:
94
+ title: Editar projecte
95
+ update: Actualitzar
96
+ index:
97
+ actions: Accions
98
+ cancel: Cancel·lar
99
+ change_budget: Canviar pressupost
100
+ change_category: Canviar categoria
101
+ change_scope: Canviar àmbit
102
+ change_selected: Canviar l'estat seleccionat
103
+ deselect_implementation: No s'ha seleccionat per implementar
104
+ finished_orders: Vots finalitzats
105
+ pending_orders: Vots en procés
106
+ select_for_implementation: Seleccionat per implementar
107
+ selected: Seleccionat
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Sí'
111
+ title: Projectes
112
+ update: Actualitzar
113
+ update_budget_button: Actualitzar el pressupost del projecte
114
+ update_scope_button: Actualitzar àmbit
115
+ new:
116
+ create: Crear
117
+ title: Nou projecte
118
+ update:
119
+ invalid: S'ha produït un error en actualitzar aquest projecte.
120
+ success: Projecte actualitzat correctament.
121
+ update_budget:
122
+ invalid: 'Aquests projectes ja estan al mateix pressupost o els seus pressupostos són superiors al màxim permès: %{projects}.'
123
+ select_a_project: Si us plau, selecciona un projecte.
124
+ success: 'Projectes actualitzats correctament pel pressupost de %{subject_name}: %{projects}.'
125
+ update_category:
126
+ invalid: 'Aquestes propostes ja tenien la categoria %{subject_name}: %{projects}.'
127
+ select_a_category: Si us plau, selecciona una categoria.
128
+ select_a_project: Si us plau, selecciona un projecte.
129
+ success: 'Els projectes s''han actualitzat correctament a la categoria %{subject_name}: %{projects}.'
130
+ update_scope:
131
+ invalid: 'Aquests projectes ja estaven assignats a l''àmbit %{subject_name}: %{projects}.'
132
+ select_a_project: Si us plau, selecciona un projecte.
133
+ select_a_scope: Si us plau, selecciona un àmbit.
134
+ success: 'Els projectes s''han actualitzat correctament a l''àmbit %{subject_name}: %{projects}.'
135
+ update_selected:
136
+ invalid:
137
+ selected: 'Aquests projectes ja han estat seleccionats per a ser implementats: %{projects}.'
138
+ unselected: 'Aquests projectes han estat deseleccionats de ser implementats: %{projects}.'
139
+ select_a_project: Si us plau, selecciona un projecte.
140
+ select_a_selection: Si us plau, selecciona un estat d'implementació.
141
+ success:
142
+ selected: 'Aquests projectes s''han seleccionat correctament per a ser implementats: %{projects}.'
143
+ unselected: 'Aquests projectes s''han deseleccionat correctament per a ser implementats: %{projects}.'
144
+ proposals_imports:
145
+ create:
146
+ invalid: S'ha produït un error en importar les propostes a projectes.
147
+ success: "S'ha importat amb èxit %{number} propostes a projectes."
148
+ new:
149
+ create: Importa propostes a projectes
150
+ default_budget: Pressupost per defecte
151
+ import_all_accepted_proposals: Importar totes les propostes acceptades
152
+ no_components: No hi ha cap component de propostes en aquest espai participatiu per importar les propostes a projectes.
153
+ origin_component_id: Component d'origen
154
+ select_component: Selecciona un component
155
+ title: Importa propostes a projectes
156
+ reminders:
157
+ orders:
158
+ description: Les usuàries rebran un correu amb els enllaços als pressupostos on tenen "comandes" pendents.
159
+ title:
160
+ one: Estàs a punt d'enviar un correu recordatori a %{count} usuària
161
+ other: Estàs a punt d'enviar un correu recordatori a les usuàries %{count}
162
+ admin_log:
163
+ budget:
164
+ create: "%{user_name} ha creat el pressupost %{resource_name} a l'espai %{space_name}"
165
+ delete: "%{user_name} ha eliminat el pressupost %{resource_name} de l'espai %{space_name}"
166
+ update: "%{user_name} ha actualitzat el pressupost %{resource_name} de l'espai %{space_name}"
167
+ project:
168
+ create: "%{user_name} ha creat el projecte %{resource_name} a l'espai %{space_name}"
169
+ delete: "%{user_name} ha eliminat el projecte %{resource_name} de l'espai %{space_name}"
170
+ update: "%{user_name} ha actualitzat el projecte %{resource_name} de l'espai %{space_name}"
171
+ budget_information_modal:
172
+ back_to: Tornar a %{component_name}
173
+ close_modal: Tancar el modal
174
+ continue: Continuar
175
+ more_information: Més informació
176
+ budgets_list:
177
+ budgets: Pressupostos
178
+ cancel_order:
179
+ more_than_one: eliminar el teu vot a %{name} i començar de nou
180
+ only_one: eliminar el teu vot i començar de nou.
181
+ count:
182
+ one: "%{count} pressupost"
183
+ other: "%{count} pressupostos"
184
+ empty: Encara no hi ha cap pressupost
185
+ finished_message: Has finalitzat el procés de votació. Gràcies per participar-hi!
186
+ highlighted_cta: Votar a %{name}
187
+ if_change_opinion: Si has canviat d'opinió, pots
188
+ orders:
189
+ highest_cost: Cost més elevat
190
+ label: Ordenar projectes per
191
+ lowest_cost: Cost més baix
192
+ random: Ordre aleatori
193
+ progress: Acaba la votació
194
+ remove_vote: Eliminar el vot
195
+ show: Mostra els projectes
196
+ vote: Vota
197
+ voted_budgets: Pressupostos votats
198
+ voted_on: Has votat a %{links}.
199
+ last_activity:
200
+ new_vote_at: Nova votació pressupostària a
201
+ limit_announcement:
202
+ cant_vote: No pots votar a aquest pressupost. <a href="%{landing_path}"> Prova amb un altre pressupost</a>.
203
+ limit_reached: Tens vots actius a %{links}. Per votar en aquest pressupot has d' <a href="%{landing_path}">esborrar el teu vot i començar de nou</a>.
204
+ models:
205
+ budget:
206
+ fields:
207
+ name: Nom
208
+ projects_count: Número de projectes
209
+ total_budget: Pressupost total
210
+ project:
211
+ fields:
212
+ category: Categoria
213
+ id: ID
214
+ title: Títol
215
+ order_summary_mailer:
216
+ order_summary:
217
+ selected_projects: 'Els projectes que has seleccionat són:'
218
+ subject: Has votat a l'espai de participació %{space_name}
219
+ voted_on_space: Has votat al pressupost %{budget_name} de l'espai de participació %{space_name}.
220
+ voted_on_space_with_scope: Has votat al pressupost %{budget_name} de l'espai de participació %{space_name} de %{scope_name} (%{scope_type}).
221
+ projects:
222
+ budget_confirm:
223
+ are_you_sure: Si canvies d'opinió, pots modificar el teu vot més tard.
224
+ cancel: Cancel·lar
225
+ confirm: Confirmar
226
+ description: Aquests són els projectes que has seleccionat per formar part del pressupost.
227
+ title: Confirmar vot
228
+ budget_excess:
229
+ budget_excess:
230
+ description: No es pot afegir aquest projecte perquè sobrepassaria el màxim del pressupost disponible. Si ho desitges, pots eliminar un projecte ja seleccionat per a poder votar d'acord amb les teves preferències.
231
+ title: Pressupost excedit
232
+ description: No es pot afegir aquest projecte perquè sobrepassaria el màxim del pressupost disponible. Si ho desitges, pots eliminar un projecte ja seleccionat per a poder votar d'acord amb les teves preferències.
233
+ ok: D'acord
234
+ projects_excess:
235
+ description: Aquest projecte sobrepassa el pressupost màxim i no es pot afegir. Si ho desitges, pots eliminar un projecte ja seleccionat per afegir aquest o votar d'acord amb les teves preferències.
236
+ title: Màxim de projectes excedit
237
+ budget_summary:
238
+ are_you_sure: Segur que vols cancel·lar el teu vot?
239
+ cancel_order: eliminar el teu vot i començar de nou
240
+ checked_out:
241
+ description: Ja has votat pel pressupost. Si has canviat d'idea, pots esborrar el teu vot.
242
+ title: Vot pels pressupostos completat
243
+ vote: Votar pressupost
244
+ count:
245
+ projects_count:
246
+ one: 1 projecte
247
+ other: "%{count} projectes"
248
+ empty: Encara no hi ha cap projecte
249
+ exit_modal:
250
+ cancel: Tornar a la votació
251
+ exit: Sortir de la votació
252
+ message: El teu vot no ha estat registrat perquè encara no ha completat el procés de votació. Segur que vols sortir de la votació?
253
+ title: Encara no has votat
254
+ filters:
255
+ category: Categoria
256
+ scope: Àmbit
257
+ search: Cerca
258
+ status: Estat
259
+ status_values:
260
+ all: Tots
261
+ not_selected: No seleccionat
262
+ selected: Seleccionat
263
+ order_progress:
264
+ assigned: Assignat
265
+ budget: Pressupost
266
+ dynamic_help:
267
+ keep_adding_projects: Seguir afegint projectes
268
+ minimum_reached: Has arribat al mínim per a poder votar
269
+ start_adding_projects: Començar a afegir projectes
270
+ minimum: Mínim
271
+ minimum_projects_rule:
272
+ description: Selecciona com a mínim %{minimum_number} projectes que vulguis i vota segons les teves preferències per a definir el pressupost.
273
+ projects_rule:
274
+ description: Selecciona entre %{minimum_number} i %{maximum_number} projectes que vulguis i vota segons les teves preferències per a definir el pressupost.
275
+ projects_rule_maximum_only:
276
+ description: Selecciona fins a %{maximum_number} projectes que vulguis i vota segons les teves preferències per a definir el pressupost.
277
+ vote_threshold_percent_rule:
278
+ description: Assigna com a mínim %{minimum_budget} amb els projectes que vulguis i vota segons les teves preferències per a definir el pressupost.
279
+ orders:
280
+ highest_cost: Major cost
281
+ label: Ordenar projectes per
282
+ lowest_cost: Menor cost
283
+ most_voted: Més votats
284
+ random: Ordre aleatori
285
+ selected: Seleccionat
286
+ project:
287
+ add: Afegir el projecte %{resource_name} al teu vot.
288
+ remove: Esborrar el projecte %{resource_name} del teu vot.
289
+ selected: Seleccionat
290
+ votes:
291
+ one: vot
292
+ other: vots
293
+ you_voted: Has votat això
294
+ project_budget_button:
295
+ add: Afegir
296
+ add_descriptive: Afegeix el projecte %{resource_name} al teu vot.
297
+ added: Afegit al teu vot
298
+ added_descriptive: El projecte %{resource_name} s'ha afegit al teu vot.
299
+ project_filter:
300
+ added: Afegit
301
+ all: Tots
302
+ projects_for: Projectes per a %{name}
303
+ select_projects: Selecciona projectes
304
+ show:
305
+ budget: Pressupost
306
+ prompt: Seleccionar pressupost
307
+ vote_reminder_mailer:
308
+ vote_reminder:
309
+ email_budgets: 'Àrees a les quals no has finalitzat el vot:'
310
+ email_intro: Has iniciat la votació als pressupostos participatius, però no l'has completat.
311
+ email_link: Ves-hi i segueix votant
312
+ email_outro: Si us plau, recorda completar el vot. Per votar, primer has de seleccionar la proposta o propostes que vols votar i a després confirmar el teu vot amb el botó "Votar".
313
+ email_subject:
314
+ one: Tens un vot no finalitzat a la votació dels pressupostos participatius
315
+ other: Tens alguns vots no finalitzats a la votació dels pressupostos participatius
316
+ components:
317
+ budgets:
318
+ actions:
319
+ comment: Comentar
320
+ vote: Vota
321
+ name: Pressupostos
322
+ settings:
323
+ global:
324
+ announcement: Avís
325
+ comments_enabled: Comentaris habilitats
326
+ comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
327
+ form:
328
+ errors:
329
+ budget_voting_rule_only_one: Només s'ha d'activar una norma de votació.
330
+ budget_voting_rule_required: Es requereix una norma per a la votació.
331
+ geocoding_enabled: Geolocalització habilitada
332
+ landing_page_content: Pàgina d'inici de pressupostos
333
+ more_information_modal: Finestra de "Més informació"
334
+ projects_per_page: Projectes per pàgina
335
+ resources_permissions_enabled: Es poden establir permisos d'accions per a cada projecte
336
+ scope_id: Àmbit
337
+ scopes_enabled: Àmbits habilitats
338
+ title: Títol
339
+ total_budget: Pressupost total
340
+ vote_minimum_budget_projects_number: Número mínim de projectes a votar
341
+ vote_rule_minimum_budget_projects_enabled: 'Activar norma: Número mínim de projectes a votar'
342
+ vote_rule_selected_projects_enabled: 'Activar regla: número mínim i màxim de projectes a votar'
343
+ vote_rule_threshold_percent_enabled: 'Activar norma: percentatge mínim del pressupost'
344
+ vote_selected_projects_maximum: Número màxim de projectes a seleccionar
345
+ vote_selected_projects_minimum: Número màxim de projectes a seleccionar
346
+ vote_threshold_percent: Percentatge del pressupost mínim per fer el vot
347
+ workflow: Workflow
348
+ workflow_choices:
349
+ all: 'Votar a tots: permet a les participants votar a tots els pressupostos.'
350
+ one: 'Votar a un: permet a les participants votar a qualsevol pressupost, però només a un.'
351
+ step:
352
+ announcement: Avís
353
+ comments_blocked: Comentaris bloquejats
354
+ highlighted_heading: Capçalera destacada
355
+ landing_page_content: Pàgina d'inici de pressupostos
356
+ list_heading: Títol de la llista
357
+ more_information_modal: Finestra de "Més informació"
358
+ show_votes: Mostra els suports
359
+ title: Títol
360
+ votes: Votació
361
+ votes_choices:
362
+ disabled: Votació inhabilitada
363
+ enabled: S'ha habilitat la votació
364
+ finished: Votació finalitzada
365
+ events:
366
+ budgets:
367
+ budget_published:
368
+ email_intro: 'Ja està activa la fase %{resource_title} per a %{participatory_space_title}. Pots veure-la des d''aquesta pàgina:'
369
+ email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de rebre notificacions a través de l'enllaç anterior.
370
+ email_subject: El component %{resource_title} ja està actiu per %{participatory_space_title}.
371
+ notification_title: El pressupost <a href="%{resource_path}">%{resource_title}</a> a %{participatory_space_title} ja està actiu.
372
+ orders:
373
+ checkout:
374
+ error: S'ha produït un error en processar el teu vot.
375
+ success_html: <p>El teu vot ha estat acceptat amb èxit.</p> <p class="text-sm font-normal">Pots <a class="text-secondary underline" href="%{rest_of_budgets_link}">consultar la resta de pressupostos</a>.</p>
376
+ success_no_left_budgets_html: El teu vot s'ha acceptat correctament.
377
+ destroy:
378
+ error: S'ha produït un error en cancel·lar el teu vot.
379
+ success: El teu vot ha estat cancel·lat correctament.
380
+ resource_links:
381
+ included_proposals:
382
+ project_proposal: Propostes incloses en aquest projecte
383
+ statistics:
384
+ orders_count: Suports
385
+ projects_count: Projectes
386
+ index:
387
+ confirmed_orders_count: Recompte de vots
@@ -292,7 +292,7 @@ ca:
292
292
  other: vots
293
293
  you_voted: Has votat això
294
294
  project_budget_button:
295
- add: Afegir al teu vot
295
+ add: Afegir
296
296
  add_descriptive: Afegeix el projecte %{resource_name} al teu vot.
297
297
  added: Afegit al teu vot
298
298
  added_descriptive: El projecte %{resource_name} s'ha afegit al teu vot.
@@ -48,7 +48,7 @@ cs:
48
48
  actions:
49
49
  attachment_collections: Složky
50
50
  attachments: Přílohy
51
- confirm_destroy: Opravdu chcete tento projekt smazat?
51
+ confirm_destroy: Opravdu chcete odstranit tento projekt?
52
52
  destroy: Smazat
53
53
  edit: Upravit
54
54
  edit_projects: Spravovat projekty