decidim-budgets 0.23.3 → 0.24.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/budgets/projects.js.es6 +30 -13
- data/app/cells/decidim/budgets/limit_announcement_cell.rb +1 -1
- data/app/cells/decidim/budgets/project_list_item/project_data_vote_button.erb +1 -0
- data/app/cells/decidim/budgets/project_list_item_cell.rb +4 -0
- data/app/commands/decidim/budgets/admin/import_proposals_to_budgets.rb +8 -1
- data/app/controllers/decidim/budgets/admin/budgets_controller.rb +22 -1
- data/app/controllers/decidim/budgets/orders_controller.rb +1 -1
- data/app/forms/decidim/budgets/admin/component_form.rb +57 -10
- data/app/forms/decidim/budgets/admin/project_form.rb +3 -2
- data/app/forms/decidim/budgets/admin/project_import_proposals_form.rb +11 -0
- data/app/helpers/decidim/budgets/projects_helper.rb +45 -1
- data/app/models/decidim/budgets/order.rb +94 -18
- data/app/permissions/decidim/budgets/admin/permissions.rb +1 -1
- data/app/views/decidim/budgets/admin/budgets/index.html.erb +22 -5
- data/app/views/decidim/budgets/admin/projects/index.html.erb +13 -6
- data/app/views/decidim/budgets/admin/proposals_imports/new.html.erb +6 -1
- data/app/views/decidim/budgets/projects/_budget_excess.html.erb +2 -2
- data/app/views/decidim/budgets/projects/_budget_summary.html.erb +32 -12
- data/app/views/decidim/budgets/projects/_order_progress.html.erb +1 -1
- data/app/views/decidim/budgets/projects/_order_total_budget.html.erb +5 -1
- data/config/locales/ar.yml +2 -5
- data/config/locales/ca.yml +6 -8
- data/config/locales/cs.yml +34 -6
- data/config/locales/de.yml +34 -6
- data/config/locales/el.yml +2 -6
- data/config/locales/en.yml +35 -7
- data/config/locales/es-MX.yml +26 -8
- data/config/locales/es-PY.yml +26 -8
- data/config/locales/es.yml +26 -8
- data/config/locales/eu.yml +2 -5
- data/config/locales/fi-plain.yml +34 -6
- data/config/locales/fi.yml +34 -6
- data/config/locales/fr-CA.yml +35 -7
- data/config/locales/fr.yml +35 -7
- data/config/locales/gl.yml +7 -7
- data/config/locales/hu.yml +2 -5
- data/config/locales/id-ID.yml +2 -5
- data/config/locales/is-IS.yml +2 -4
- data/config/locales/it.yml +2 -6
- data/config/locales/ja.yml +3 -7
- data/config/locales/lv.yml +2 -6
- data/config/locales/nl.yml +49 -7
- data/config/locales/no.yml +2 -7
- data/config/locales/pl.yml +38 -10
- data/config/locales/pt-BR.yml +2 -5
- data/config/locales/pt.yml +2 -6
- data/config/locales/ro-RO.yml +2 -6
- data/config/locales/ru.yml +2 -5
- data/config/locales/sk.yml +2 -6
- data/config/locales/sr-CS.yml +0 -2
- data/config/locales/sv.yml +26 -7
- data/config/locales/tr-TR.yml +31 -7
- data/config/locales/uk.yml +2 -5
- data/config/locales/zh-CN.yml +2 -7
- data/db/migrate/20200804175222_votes_enabled_to_votes_choices.rb +4 -4
- data/lib/decidim/api/budget_type.rb +21 -0
- data/lib/decidim/api/budgets_type.rb +26 -0
- data/lib/decidim/api/project_type.rb +23 -0
- data/lib/decidim/budgets.rb +2 -0
- data/lib/decidim/budgets/api.rb +9 -0
- data/lib/decidim/budgets/component.rb +31 -14
- data/lib/decidim/budgets/project_serializer.rb +81 -0
- data/lib/decidim/budgets/test/factories.rb +35 -1
- data/lib/decidim/budgets/version.rb +1 -1
- data/lib/decidim/budgets/workflows/all.rb +1 -1
- data/lib/decidim/budgets/workflows/base.rb +3 -3
- data/lib/decidim/budgets/workflows/one.rb +1 -1
- metadata +21 -19
- data/app/types/decidim/budgets/budget_type.rb +0 -24
- data/app/types/decidim/budgets/budgets_type.rb +0 -32
- data/app/types/decidim/budgets/project_type.rb +0 -26
@@ -1,9 +1,17 @@
|
|
1
|
-
<div class="card">
|
1
|
+
<div class="card with-overflow">
|
2
2
|
<div class="card-divider">
|
3
|
-
<h2 class="card-title">
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
<h2 class="card-title flex--sbc">
|
4
|
+
<div>
|
5
|
+
<%= t(".title") %>
|
6
|
+
</div>
|
7
|
+
<div class="flex--cc flex-gap--1">
|
8
|
+
<% if allowed_to? :export, :budget %>
|
9
|
+
<%= export_dropdown %>
|
10
|
+
<% end %>
|
11
|
+
<div id="js-other-actions-wrapper">
|
12
|
+
<%= link_to t("actions.new", scope: "decidim.budgets", name: t("models.budget.name", scope: "decidim.budgets.admin")), new_budget_path, class: "button tiny button--title" if allowed_to? :create, :budget %>
|
13
|
+
</div>
|
14
|
+
</div>
|
7
15
|
</h2>
|
8
16
|
</div>
|
9
17
|
|
@@ -55,4 +63,13 @@
|
|
55
63
|
</table>
|
56
64
|
</div>
|
57
65
|
</div>
|
66
|
+
<div class="card-divider">
|
67
|
+
<strong><%= t ".finished_orders" %>: </strong><span><%= finished_orders.count %></span>
|
68
|
+
<span> | </span>
|
69
|
+
<strong><%= t ".pending_orders" %>: </strong><span><%= pending_orders.count %></span>
|
70
|
+
<span> | </span>
|
71
|
+
<strong><%= t ".users_with_finished_orders" %>: </strong><span><%= users_with_finished_orders.count %></span>
|
72
|
+
<span> | </span>
|
73
|
+
<strong><%= t ".users_with_pending_orders" %>: </strong><span><%= users_with_pending_orders.count %></span>
|
74
|
+
</div>
|
58
75
|
</div>
|
@@ -1,10 +1,17 @@
|
|
1
|
-
<div class="card">
|
1
|
+
<div class="card with-overflow">
|
2
2
|
<div class="card-divider">
|
3
|
-
<h2 class="card-title">
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
<h2 class="card-title flex--sbc">
|
4
|
+
<div>
|
5
|
+
<%= link_to translated_attribute(budget.title), budgets_path %> >
|
6
|
+
<%= t(".title") %>
|
7
|
+
</div>
|
8
|
+
<div class="flex--cc flex-gap--1">
|
9
|
+
<%= link_to t("actions.import", scope: "decidim.budgets", name: t("models.project.name", scope: "decidim.budgets.admin")), new_budget_proposals_import_path(budget), class: "button tiny button--title" if allowed_to? :import_proposals, :project %>
|
10
|
+
<% if allowed_to? :export, :budget %>
|
11
|
+
<%= export_dropdown(current_component, budget.id) %>
|
12
|
+
<% end %>
|
13
|
+
<%= link_to t("actions.new", scope: "decidim.budgets", name: t("models.project.name", scope: "decidim.budgets.admin")), new_budget_project_path, class: "button tiny button--title new" if allowed_to? :create, :project %>
|
14
|
+
</div>
|
8
15
|
</h2>
|
9
16
|
</div>
|
10
17
|
|
@@ -2,13 +2,18 @@
|
|
2
2
|
<% if @form.origin_components.any? %>
|
3
3
|
<div class="card">
|
4
4
|
<div class="card-divider">
|
5
|
-
<h2 class="card-title"><%= title %></h2>
|
5
|
+
<h2 class="card-title"><%= t(".title") %></h2>
|
6
6
|
</div>
|
7
7
|
|
8
8
|
<div class="card-section">
|
9
9
|
<div class="row column">
|
10
10
|
<%= f.select :origin_component_id, @form.origin_components_collection, prompt: t(".select_component") %>
|
11
11
|
</div>
|
12
|
+
<% if current_component.scopes_enabled? %>
|
13
|
+
<div class="row column">
|
14
|
+
<%= scopes_picker_field f, :scope_id, root: budget.scope %>
|
15
|
+
</div>
|
16
|
+
<% end %>
|
12
17
|
<div class="row column">
|
13
18
|
<%= f.number_field :default_budget %>
|
14
19
|
</div>
|
@@ -1,11 +1,11 @@
|
|
1
1
|
<div class="reveal" data-reveal id="budget-excess">
|
2
2
|
<div class="reveal__header">
|
3
|
-
<h3 class="reveal__title"><%= t(".title") %></h3>
|
3
|
+
<h3 class="reveal__title"><%= current_order.projects_rule? ? t(".projects_excess.title") : t(".budget_excess.title") %></h3>
|
4
4
|
<button class="close-button" data-close aria-label="<%= t(".close") %>" type="button">
|
5
5
|
<span aria-hidden="true">×</span>
|
6
6
|
</button>
|
7
7
|
</div>
|
8
|
-
<p><%= t(".description") %></p>
|
8
|
+
<p><%= current_order.projects_rule? ? t(".projects_excess.description") : t(".budget_excess.description") %></p>
|
9
9
|
<div class="row">
|
10
10
|
<div class="columns medium-8 medium-offset-2">
|
11
11
|
<button data-close class="button expanded"><%= t(".ok") %></button>
|
@@ -1,3 +1,17 @@
|
|
1
|
+
<div class="row column voting-rules">
|
2
|
+
<div class="callout warning">
|
3
|
+
<div class="row">
|
4
|
+
<div class="columns medium-8 large-9">
|
5
|
+
<h3 class="heading3">
|
6
|
+
<%= t(".rules.title") %>
|
7
|
+
</h3>
|
8
|
+
<ul>
|
9
|
+
<%= raw current_rule_explanation %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
</div>
|
13
|
+
</div>
|
14
|
+
</div>
|
1
15
|
<div class="card budget-summary" data-progress-reference data-safe-url="<%= budget_url(budget) %>">
|
2
16
|
<div class="card__content">
|
3
17
|
<% if include_heading %>
|
@@ -20,22 +34,28 @@
|
|
20
34
|
<% end %>
|
21
35
|
</h3>
|
22
36
|
<p>
|
23
|
-
|
24
|
-
<%= t(".description_minimum_projects_rule", minimum_number: current_order.minimum_projects) %>
|
25
|
-
<% else %>
|
26
|
-
<%= t(".description", minimum_budget: budget_to_currency(current_order.minimum_budget)) %>
|
27
|
-
<% end %>
|
37
|
+
<%= raw current_rule_description %>
|
28
38
|
</p>
|
29
39
|
<% end %>
|
30
40
|
<% end %>
|
31
41
|
|
32
|
-
|
33
|
-
<
|
34
|
-
<
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
42
|
+
<% if current_order.projects_rule? %>
|
43
|
+
<div class="budget-summary__total" data-total-allocation="<%= current_order.available_allocation %>">
|
44
|
+
<span class="mini-title"><%= t(".total_projects") %>
|
45
|
+
<strong class="mini-title__strong mini-title__strong--highlight">
|
46
|
+
<%= current_order.maximum_projects %>
|
47
|
+
</strong>
|
48
|
+
</span>
|
49
|
+
</div>
|
50
|
+
<% else %>
|
51
|
+
<div class="budget-summary__total" data-total-allocation="<%= current_order.available_allocation %>" data-total-budget="<%= budget.total_budget %>">
|
52
|
+
<span class="mini-title"><%= t(".total_budget") %>
|
53
|
+
<strong class="mini-title__strong mini-title__strong--highlight">
|
54
|
+
<%= budget_to_currency(budget.total_budget) %>
|
55
|
+
</strong>
|
56
|
+
</span>
|
57
|
+
</div>
|
58
|
+
<% end %>
|
39
59
|
|
40
60
|
<%= render partial: "order_progress" %>
|
41
61
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<div id="order-progress">
|
2
|
-
<div class="budget-summary__progressbox" data-current-
|
2
|
+
<div class="budget-summary__progressbox" data-current-allocation="<%= current_order ? current_order.total : 0 %>">
|
3
3
|
<div class="progress budget-progress" role="progressbar" aria-valuenow="<%= current_order_budget_percent %>" aria-valuetext="<%= current_order_budget_percent %>%" aria-valuemin="0" aria-valuemax="100">
|
4
4
|
<div class="progress-meter progress-meter--minimum" style="width: <%= current_order_budget_percent_minimum %>%"></div>
|
5
5
|
<!--Change width and text dynamically.-->
|
@@ -1,3 +1,7 @@
|
|
1
1
|
<strong id="order-total-budget" class="mini-title__strong">
|
2
|
-
|
2
|
+
<% if current_order.projects_rule? %>
|
3
|
+
<%= current_order.projects.count %> / <%= current_order.maximum_projects %>
|
4
|
+
<% else %>
|
5
|
+
<%= budget_to_currency current_order&.total_budget.to_f %>
|
6
|
+
<% end %>
|
3
7
|
</strong>
|
data/config/locales/ar.yml
CHANGED
@@ -74,10 +74,10 @@ ar:
|
|
74
74
|
description: هذه هي المشاريع التي اخترتها لتكون جزءًا من الميزانية.
|
75
75
|
title: تأكيد التصويت
|
76
76
|
budget_excess:
|
77
|
+
budget_excess:
|
78
|
+
title: تم تجاوز الحد الأقصى للميزانية
|
77
79
|
close: قريب
|
78
|
-
description: هذا المشروع يتجاوز الحد الأقصى للميزانية ولا يمكن إضافته. إذا كنت تريد ، يمكنك حذف مشروع قمت باختياره بالفعل لإضافته أو إجراء تصويتك وفقًا لتفضيلاتك.
|
79
80
|
ok: حسنا
|
80
|
-
title: تم تجاوز الحد الأقصى للميزانية
|
81
81
|
budget_summary:
|
82
82
|
are_you_sure: هل أنت متأكد أنك تريد إلغاء تصويتك؟
|
83
83
|
assigned: 'تعيين:'
|
@@ -85,7 +85,6 @@ ar:
|
|
85
85
|
checked_out:
|
86
86
|
description: لقد قمت بالتصويت بالفعل على الميزانية. إذا غيرت رأيك ، يمكنك %{cancel_link}.
|
87
87
|
title: اكتمال التصويت في الميزانية
|
88
|
-
description: ما هي المشاريع التي تعتقد أنه يجب علينا تخصيص ميزانية لها؟ قم بتعيين %{minimum_budget} على الأقل للمشروعات التي تريدها وقم بالتصويت مع تفضيلاتك لتحديد الميزانية.
|
89
88
|
title: عليك أن تقرر الميزانية
|
90
89
|
count:
|
91
90
|
projects_count:
|
@@ -131,7 +130,6 @@ ar:
|
|
131
130
|
announcement: إعلان
|
132
131
|
comments_enabled: تم تمكين التعليقات
|
133
132
|
projects_per_page: مشاريع لكل صفحة
|
134
|
-
resources_permissions_enabled: يمكن تعيين أذونات الإجراءات لكل اجتماع
|
135
133
|
total_budget: الميزانية الإجمالية
|
136
134
|
vote_threshold_percent: التصويت عتبة المئة
|
137
135
|
step:
|
@@ -152,4 +150,3 @@ ar:
|
|
152
150
|
project_proposal: 'المقترحات المدرجة في هذا المشروع:'
|
153
151
|
index:
|
154
152
|
confirmed_orders_count: عدد الأصوات
|
155
|
-
total_budget: الميزانية الإجمالية
|
data/config/locales/ca.yml
CHANGED
@@ -13,7 +13,6 @@ ca:
|
|
13
13
|
decidim_scope_id: Àmbit
|
14
14
|
description: Descripció
|
15
15
|
proposal_ids: Propostes relacionades
|
16
|
-
selected: Seleccionat per implementar
|
17
16
|
title: Títol
|
18
17
|
activerecord:
|
19
18
|
models:
|
@@ -52,6 +51,8 @@ ca:
|
|
52
51
|
update:
|
53
52
|
invalid: S'ha produït un error en actualitzar aquest pressupost
|
54
53
|
success: Pressupost actualitzat correctament
|
54
|
+
exports:
|
55
|
+
projects: Projectes
|
55
56
|
models:
|
56
57
|
budget:
|
57
58
|
name: Pressupost
|
@@ -136,10 +137,10 @@ ca:
|
|
136
137
|
description: Aquests són els projectes que has seleccionat per formar part del pressupost.
|
137
138
|
title: Confirmar vot
|
138
139
|
budget_excess:
|
140
|
+
budget_excess:
|
141
|
+
title: Pressupost excedit
|
139
142
|
close: Tancar
|
140
|
-
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 donar suport amb les seves preferències.
|
141
143
|
ok: D'acord
|
142
|
-
title: Pressupost excedit
|
143
144
|
budget_summary:
|
144
145
|
are_you_sure: Segur que vols cancel·lar el teu vot?
|
145
146
|
assigned: 'Assignat:'
|
@@ -147,8 +148,6 @@ ca:
|
|
147
148
|
checked_out:
|
148
149
|
description: Ja has votat pel pressupost. Si has canviat d'idea, pots %{cancel_link}.
|
149
150
|
title: Vot pels pressupostos completat
|
150
|
-
description: En quins projectes creus que hem de destinar el pressupost? Assigna com a mínim %{minimum_budget} als projectes que desitges i vota per definir el pressupost.
|
151
|
-
description_minimum_projects_rule: A quins projectes creus que hem de destinar el pressupost? Selecciona com a mínim %{minimum_number} projectes i vota segons les teves preferències per a definir el pressupost.
|
152
151
|
title: Tu decideixes el pressupost
|
153
152
|
count:
|
154
153
|
projects_count:
|
@@ -191,7 +190,6 @@ ca:
|
|
191
190
|
votes:
|
192
191
|
one: vot
|
193
192
|
other: vots
|
194
|
-
you_voted: Has votat
|
195
193
|
project_budget_button:
|
196
194
|
add: Afegir al teu vot
|
197
195
|
add_descriptive: Afegir el projecte %{resource_name} al teu vot
|
@@ -218,7 +216,6 @@ ca:
|
|
218
216
|
landing_page_content: Pàgina d'inici de pressupostos
|
219
217
|
more_information_modal: Finestra de "Més informació"
|
220
218
|
projects_per_page: Projectes per pàgina
|
221
|
-
resources_permissions_enabled: Es poden establir permisos d'accions per a cada trobada
|
222
219
|
scope_id: Àmbit
|
223
220
|
scopes_enabled: Àmbits habilitats
|
224
221
|
title: Títol
|
@@ -226,6 +223,8 @@ ca:
|
|
226
223
|
vote_minimum_budget_projects_number: Número màxim de projectes a votar
|
227
224
|
vote_rule_minimum_budget_projects_enabled: 'Activar norma: Número mínim de projectes a votar'
|
228
225
|
vote_rule_threshold_percent_enabled: 'Activar norma: percentatge mínim del pressupost'
|
226
|
+
vote_selected_projects_maximum: Màxim nombre de projectes a seleccionar
|
227
|
+
vote_selected_projects_minimum: Mínim nombre de projectes a seleccionar
|
229
228
|
vote_threshold_percent: Percentatge del pressupost mínim per fer el vot
|
230
229
|
workflow: Workflow
|
231
230
|
workflow_choices:
|
@@ -264,4 +263,3 @@ ca:
|
|
264
263
|
project_proposal: 'Propostes incloses en aquest projecte:'
|
265
264
|
index:
|
266
265
|
confirmed_orders_count: Recompte de vots
|
267
|
-
total_budget: Pressupost total
|
data/config/locales/cs.yml
CHANGED
@@ -47,13 +47,19 @@ cs:
|
|
47
47
|
title: Upravit rozpočet
|
48
48
|
update: Aktualizovat rozpočet
|
49
49
|
index:
|
50
|
+
finished_orders: Dokončené hlasy
|
51
|
+
pending_orders: Čekající hlasy
|
50
52
|
title: Rozpočty
|
53
|
+
users_with_finished_orders: Uživatelé s dokončenými hlasy
|
54
|
+
users_with_pending_orders: Uživatelé s čekajícími hlasy
|
51
55
|
new:
|
52
56
|
create: Vytvořit rozpočet
|
53
57
|
title: Nový rozpočet
|
54
58
|
update:
|
55
59
|
invalid: Při aktualizaci tohoto rozpočtu došlo k chybě
|
56
60
|
success: Rozpočet byl úspěšně aktualizován
|
61
|
+
exports:
|
62
|
+
projects: Projekty
|
57
63
|
models:
|
58
64
|
budget:
|
59
65
|
name: Rozpočet
|
@@ -87,6 +93,7 @@ cs:
|
|
87
93
|
create: Návrhy na projekty
|
88
94
|
no_components: V tomto participativním prostoru neexistují jiné komponenty návrhu, které by mohly importovat návrhy do projektů.
|
89
95
|
select_component: Vyberte součást
|
96
|
+
title: Importovat návrhy
|
90
97
|
admin_log:
|
91
98
|
budget:
|
92
99
|
create: "%{user_name} vytvořil %{resource_name} rozpočet ve skupině %{space_name}"
|
@@ -138,10 +145,15 @@ cs:
|
|
138
145
|
description: Jedná se o projekty, které jste zvolili jako součást rozpočtu.
|
139
146
|
title: Potvrďte hlasování
|
140
147
|
budget_excess:
|
148
|
+
budget_excess:
|
149
|
+
description: Tento projekt překračuje maximální rozpočet a nemůže být přidán. Pokud chcete, můžete smazat projekt, který jste již vybrali pro přidání nebo hlasování podle vašich preferencí.
|
150
|
+
title: Maximální rozpočet byl překročen
|
141
151
|
close: Zavřít
|
142
|
-
description: Tento projekt překračuje maximální rozpočet a nemůže být přidán. Pokud chcete, můžete smazat projekt, který jste již
|
152
|
+
description: Tento projekt překračuje maximální rozpočet a nemůže být přidán. Pokud chcete, můžete smazat projekt, který jste již vybrali pro přidání nebo hlasování podle vašich preferencí.
|
143
153
|
ok: OK
|
144
|
-
|
154
|
+
projects_excess:
|
155
|
+
description: Tento projekt překračuje maximální počet projektů a nemůže být přidán. Pokud chcete, můžete smazat projekt, který jste již vybrali pro přidání nebo hlasování podle vašich preferencí.
|
156
|
+
title: Byl překročen maximální počet projektů
|
145
157
|
budget_summary:
|
146
158
|
are_you_sure: Opravdu chcete zrušit hlasování?
|
147
159
|
assigned: 'Přiřazeno:'
|
@@ -149,9 +161,23 @@ cs:
|
|
149
161
|
checked_out:
|
150
162
|
description: Už jste hlasovali pro rozpočet. Pokud jste změnili názor, můžete %{cancel_link}.
|
151
163
|
title: Hlasování o rozpočtu bylo dokončeno
|
152
|
-
|
153
|
-
|
164
|
+
minimum_projects_rule:
|
165
|
+
description: Na jaké projekty bychom podle vás měli vyčlenit rozpočet? Vyberte alespoň %{minimum_number} projektů, které chcete a hlasujte podle vašich preferencí pro definování rozpočtu.
|
166
|
+
instruction: "<li>Vyberte alespoň %{minimum_number} projektů, které chcete a hlasujte podle vašich preferencí, abyste mohli definovat rozpočet.</li>"
|
167
|
+
projects_rule:
|
168
|
+
description: Na jaké projekty bychom podle vás měli vyčlenit rozpočet? Vyberte alespoň %{minimum_number} až %{maximum_number} projektů, které chcete a hlasujte podle vašich preferencí pro definování rozpočtu.
|
169
|
+
instruction: "<li>Vyberte alespoň %{minimum_number} až %{maximum_number} projektů, které chcete, a hlasujte podle vašich preferencí pro definování rozpočtu</li>"
|
170
|
+
projects_rule_maximum_only:
|
171
|
+
description: Na jaké projekty bychom podle vás měli vyčlenit rozpočet? Vyberte až %{maximum_number} projektů, které chcete a hlasujte podle vašich preferencí pro definování rozpočtu.
|
172
|
+
instruction: "<li>Vyberte až %{maximum_number} projektů, které chcete a hlasujte podle vašich preferencí pro definování rozpočtu</li>"
|
173
|
+
rules:
|
174
|
+
title: Rozpočtová pravidla
|
154
175
|
title: Rozhodujete o rozpočtu
|
176
|
+
total_budget: Celkový rozpočet
|
177
|
+
total_projects: Celkem hlasů
|
178
|
+
vote_threshold_percent_rule:
|
179
|
+
description: Na jaké projekty bychom podle vás měli vyčlenit rozpočet? Přiřaďte k projektům, které chcete alespoň %{minimum_budget} a hlasujte podle vašich preferencí pro definování rozpočtu.
|
180
|
+
instruction: "<li>Přiřaďte alespoň %{minimum_budget} projektům, které chcete a hlasovat podle vašich preferencí pro definování rozpočtu</li>"
|
155
181
|
count:
|
156
182
|
projects_count:
|
157
183
|
one: 1 projekt
|
@@ -226,14 +252,17 @@ cs:
|
|
226
252
|
landing_page_content: Úvodní stránka rozpočtů
|
227
253
|
more_information_modal: Více informací
|
228
254
|
projects_per_page: Počet projektů na stránku
|
229
|
-
resources_permissions_enabled:
|
255
|
+
resources_permissions_enabled: Oprávnění k akcím lze nastavit pro každý projekt
|
230
256
|
scope_id: Oblast působnosti
|
231
257
|
scopes_enabled: Oblasti působnosti povoleny
|
232
258
|
title: Název
|
233
259
|
total_budget: Celkový rozpočet
|
234
260
|
vote_minimum_budget_projects_number: Minimální počet projektů k hlasování
|
235
261
|
vote_rule_minimum_budget_projects_enabled: 'Povolit pravidlo: Minimální počet projektů, o kterých se má hlasovat'
|
262
|
+
vote_rule_selected_projects_enabled: 'Povolit pravidlo: Vybrané projekty s minimálním a maximálním počtem projektů, o kterých se má hlasovat'
|
236
263
|
vote_rule_threshold_percent_enabled: 'Povolit pravidlo: minimální procento rozpočtu'
|
264
|
+
vote_selected_projects_maximum: Maximální počet projektů, které mají být vybrány
|
265
|
+
vote_selected_projects_minimum: Minimální počet projektů, které mají být vybrány
|
237
266
|
vote_threshold_percent: Prahová hodnota pro hlasování v procentech
|
238
267
|
workflow: Pracovní postup
|
239
268
|
workflow_choices:
|
@@ -272,4 +301,3 @@ cs:
|
|
272
301
|
project_proposal: 'Návrhy zahrnuté do tohoto projektu:'
|
273
302
|
index:
|
274
303
|
confirmed_orders_count: Počet hlasů
|
275
|
-
total_budget: Celkový rozpočet
|
data/config/locales/de.yml
CHANGED
@@ -45,13 +45,19 @@ de:
|
|
45
45
|
title: Budget bearbeiten
|
46
46
|
update: Budget aktualisieren
|
47
47
|
index:
|
48
|
+
finished_orders: Abgeschlossene Stimmen
|
49
|
+
pending_orders: Ausstehende Stimmen
|
48
50
|
title: Budgets
|
51
|
+
users_with_finished_orders: Benutzer mit abgeschlossenen Stimmen
|
52
|
+
users_with_pending_orders: Benutzer mit ausstehenden Stimmen
|
49
53
|
new:
|
50
54
|
create: Budget erstellen
|
51
55
|
title: Neues Budget
|
52
56
|
update:
|
53
57
|
invalid: Es gab ein Problem beim Aktualisieren dieses Budgets
|
54
58
|
success: Budget erfolgreich aktualisiert
|
59
|
+
exports:
|
60
|
+
projects: Projekte
|
55
61
|
models:
|
56
62
|
budget:
|
57
63
|
name: Bugdet
|
@@ -85,6 +91,7 @@ de:
|
|
85
91
|
create: Importieren Sie Vorschläge in Projekte
|
86
92
|
no_components: Es gibt keine weiteren Vorschlagskomponenten in diesem partizipativen Raum, um die Vorschläge in Projekte zu importieren.
|
87
93
|
select_component: Bitte wählen Sie eine Komponente aus
|
94
|
+
title: Vorschläge importieren
|
88
95
|
admin_log:
|
89
96
|
budget:
|
90
97
|
create: "%{user_name} hat das Budget %{resource_name} in %{space_name} erstellt"
|
@@ -136,10 +143,15 @@ de:
|
|
136
143
|
description: Dies sind die Projekte, die Sie für das Budget ausgewählt haben.
|
137
144
|
title: Bestätigung der Abstimmung
|
138
145
|
budget_excess:
|
146
|
+
budget_excess:
|
147
|
+
description: Dieses Projekt überschreitet das maximale Budget und kann nicht hinzugefügt werden. Wenn Sie möchten können Sie ein bereits gewähltes Projekt wieder entfernen, oder gemäss Ihren Präferenzen abstimmen.
|
148
|
+
title: Maximales Budget überschritten
|
139
149
|
close: Schließen
|
140
150
|
description: Dieses Projekt überschreitet das maximale Budget und kann nicht hinzugefügt werden. Wenn Sie möchten können Sie ein bereits gewähltes Projekt wieder entfernen, oder gemäss Ihren Präferenzen abstimmen.
|
141
151
|
ok: OK
|
142
|
-
|
152
|
+
projects_excess:
|
153
|
+
description: Dieses Projekt überschreitet die maximale Anzahl Projekte und kann nicht hinzugefügt werden. Wenn Sie möchten können Sie ein bereits gewähltes Projekt wieder entfernen, oder gemäss Ihren Präferenzen abstimmen.
|
154
|
+
title: Maximale Anzahl Projekte überschritten
|
143
155
|
budget_summary:
|
144
156
|
are_you_sure: Sind Sie sicher, dass Sie Ihre Stimme zurückziehen wollen?
|
145
157
|
assigned: 'Zugewiesen:'
|
@@ -147,9 +159,23 @@ de:
|
|
147
159
|
checked_out:
|
148
160
|
description: Sie haben bereits für die Verteilung dieses Budget gestimmt. Wenn Sie Ihre Meinung geändert haben, können Sie %{cancel_link}.
|
149
161
|
title: Budget-Abstimmung abgeschlossen
|
150
|
-
|
151
|
-
|
162
|
+
minimum_projects_rule:
|
163
|
+
description: Welche Projekte sollen finanziert werden? Wählen Sie mindestens %{minimum_number} Projekte aus und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget festzulegen.
|
164
|
+
instruction: "<li>Wählen Sie mindestens %{minimum_number} Projekte, die Sie unterstützen möchten, und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget zu definieren.</li>"
|
165
|
+
projects_rule:
|
166
|
+
description: Welche Projekte sollen finanziert werden? Wählen Sie mindestens %{minimum_number} und bis zu %{maximum_number} Projekte aus und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget festzulegen.
|
167
|
+
instruction: "<li>Wählen Sie mindestens %{minimum_number} und bis zu %{maximum_number} Projekte, die Sie wünschen und stimmen Sie nach Ihren Präferenzen ab, um das Budget zu definieren.</li>"
|
168
|
+
projects_rule_maximum_only:
|
169
|
+
description: Welche Projekte sollen finanziert werden? Wählen Sie bis zu %{maximum_number} Projekte aus und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget festzulegen.
|
170
|
+
instruction: "<li>Wählen Sie bis zu %{maximum_number} Projekte, die Sie unterstützen möchten, und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget zu definieren.</li>"
|
171
|
+
rules:
|
172
|
+
title: Budgetregeln
|
152
173
|
title: Sie entscheiden über das Budget
|
174
|
+
total_budget: Gesamtbudget
|
175
|
+
total_projects: Stimmen insgesamt
|
176
|
+
vote_threshold_percent_rule:
|
177
|
+
description: Welche Projekte sollen finanziert werden? Wählen Sie Projekte im Wert von mindestens %{minimum_budget} aus und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget festzulegen.
|
178
|
+
instruction: "<li>Wählen Sie Projekte im Wert von mindestens %{minimum_budget} aus und stimmen Sie entsprechend Ihren Präferenzen ab, um das Budget festzulegen.</li>"
|
153
179
|
count:
|
154
180
|
projects_count:
|
155
181
|
one: 1 Projekt
|
@@ -191,7 +217,7 @@ de:
|
|
191
217
|
votes:
|
192
218
|
one: Abstimmung
|
193
219
|
other: Abstimmungen
|
194
|
-
you_voted: Du hast
|
220
|
+
you_voted: Du hast für dieses gestimmt
|
195
221
|
project_budget_button:
|
196
222
|
add: Zur Abstimmung hinzufügen
|
197
223
|
add_descriptive: Projekt %{resource_name} Ihrer Stimme hinzufügen
|
@@ -218,14 +244,17 @@ de:
|
|
218
244
|
landing_page_content: Budgets Landingpage
|
219
245
|
more_information_modal: Weitere Informationen
|
220
246
|
projects_per_page: Projekte pro Seite
|
221
|
-
resources_permissions_enabled:
|
247
|
+
resources_permissions_enabled: Berechtigungen können für jedes Projekt festgelegt werden
|
222
248
|
scope_id: Bereich
|
223
249
|
scopes_enabled: Bereiche aktiviert
|
224
250
|
title: Titel
|
225
251
|
total_budget: Gesamtbudget; Gesamtetat
|
226
252
|
vote_minimum_budget_projects_number: Mindestanzahl von Projekten, um abzustimmen
|
227
253
|
vote_rule_minimum_budget_projects_enabled: 'Regel aktivieren: Mindestanzahl von Projekten, um abzustimmen'
|
254
|
+
vote_rule_selected_projects_enabled: 'Regel aktivieren: Minimale und maximale Anzahl Projekte, für die gestimmt werden soll'
|
228
255
|
vote_rule_threshold_percent_enabled: 'Regel aktivieren: Minimaler Budgetprozentsatz'
|
256
|
+
vote_selected_projects_maximum: Maximale Anzahl auszuwählender Projekte
|
257
|
+
vote_selected_projects_minimum: Minimale Anzahl auszuwählender Projekte
|
229
258
|
vote_threshold_percent: Abstimmungsschwelle in Prozent
|
230
259
|
workflow: Workflow
|
231
260
|
workflow_choices:
|
@@ -264,4 +293,3 @@ de:
|
|
264
293
|
project_proposal: 'Vorschläge in diesem Projekt:'
|
265
294
|
index:
|
266
295
|
confirmed_orders_count: Stimmen zählen
|
267
|
-
total_budget: Gesamtbudget; Gesamtetat
|