decidim-budgets 0.10.1 → 0.11.0.pre1
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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/assets/javascripts/decidim/budgets/projects.js.es6 +10 -10
- data/app/commands/decidim/budgets/add_line_item.rb +4 -4
- data/app/commands/decidim/budgets/admin/create_project.rb +4 -2
- data/app/commands/decidim/budgets/admin/destroy_project.rb +42 -0
- data/app/commands/decidim/budgets/admin/update_project.rb +3 -1
- data/app/commands/decidim/budgets/checkout.rb +3 -3
- data/app/controllers/concerns/decidim/budgets/needs_current_order.rb +1 -1
- data/app/controllers/decidim/budgets/admin/application_controller.rb +3 -3
- data/app/controllers/decidim/budgets/admin/attachment_collections_controller.rb +2 -2
- data/app/controllers/decidim/budgets/admin/attachments_controller.rb +1 -1
- data/app/controllers/decidim/budgets/admin/projects_controller.rb +8 -7
- data/app/controllers/decidim/budgets/application_controller.rb +2 -2
- data/app/controllers/decidim/budgets/line_items_controller.rb +1 -1
- data/app/controllers/decidim/budgets/orders_controller.rb +1 -1
- data/app/controllers/decidim/budgets/projects_controller.rb +2 -2
- data/app/forms/decidim/budgets/admin/project_form.rb +2 -2
- data/app/models/decidim/budgets/line_item.rb +3 -3
- data/app/models/decidim/budgets/order.rb +10 -10
- data/app/models/decidim/budgets/project.rb +11 -5
- data/app/presenters/decidim/budgets/admin_log/project_presenter.rb +42 -0
- data/app/queries/decidim/budgets/filtered_projects.rb +9 -9
- data/app/services/decidim/budgets/project_search.rb +2 -2
- data/app/views/decidim/budgets/admin/projects/_form.html.erb +6 -7
- data/app/views/decidim/budgets/admin/projects/edit.html.erb +2 -2
- data/app/views/decidim/budgets/admin/projects/index.html.erb +5 -5
- data/app/views/decidim/budgets/admin/projects/new.html.erb +2 -3
- data/app/views/decidim/budgets/projects/_budget_confirm.html.erb +6 -6
- data/app/views/decidim/budgets/projects/_budget_excess.html.erb +4 -4
- data/app/views/decidim/budgets/projects/_budget_summary.html.erb +11 -11
- data/app/views/decidim/budgets/projects/_filters.html.erb +4 -4
- data/app/views/decidim/budgets/projects/_filters_small_view.html.erb +1 -1
- data/app/views/decidim/budgets/projects/_order_progress.html.erb +6 -6
- data/app/views/decidim/budgets/projects/_order_selected_projects.html.erb +3 -3
- data/app/views/decidim/budgets/projects/_project.html.erb +6 -6
- data/app/views/decidim/budgets/projects/_project_budget_button.html.erb +3 -3
- data/app/views/decidim/budgets/projects/_projects.html.erb +1 -1
- data/app/views/decidim/budgets/projects/index.html.erb +3 -3
- data/app/views/decidim/budgets/projects/show.html.erb +4 -4
- data/config/locales/ca.yml +7 -1
- data/config/locales/en.yml +7 -1
- data/config/locales/es.yml +8 -2
- data/config/locales/eu.yml +9 -3
- data/config/locales/fi.yml +9 -3
- data/config/locales/fr.yml +8 -2
- data/config/locales/gl.yml +7 -1
- data/config/locales/it.yml +8 -2
- data/config/locales/nl.yml +11 -5
- data/config/locales/pl.yml +7 -1
- data/config/locales/pt-BR.yml +7 -1
- data/config/locales/pt.yml +7 -1
- data/config/locales/ru.yml +0 -7
- data/config/locales/sv.yml +7 -1
- data/config/locales/uk.yml +0 -7
- data/db/migrate/20170215132708_add_reference_to_projects.rb +5 -1
- data/db/migrate/20180305133340_rename_features_to_components_at_budgets.rb +17 -0
- data/lib/decidim/budgets/{feature.rb → component.rb} +23 -22
- data/lib/decidim/budgets/test/factories.rb +6 -6
- data/lib/decidim/budgets/version.rb +1 -1
- data/lib/decidim/budgets.rb +1 -1
- metadata +18 -15
@@ -1,12 +1,12 @@
|
|
1
1
|
<div class="reveal" data-reveal id="budget-confirm">
|
2
2
|
<% if current_order.present? %>
|
3
3
|
<div class="reveal__header">
|
4
|
-
<h3 class="reveal__title"><%= t(
|
5
|
-
<button class="close-button" data-close aria-label="<%= t(
|
4
|
+
<h3 class="reveal__title"><%= t(".title") %></h3>
|
5
|
+
<button class="close-button" data-close aria-label="<%= t(".cancel") %>" type="button">
|
6
6
|
<span aria-hidden="true">×</span>
|
7
7
|
</button>
|
8
8
|
</div>
|
9
|
-
<p><%= t(
|
9
|
+
<p><%= t(".description") %></p>
|
10
10
|
<div class="card card--secondary">
|
11
11
|
<ul class="card__content">
|
12
12
|
<% current_order.projects.each do |project| %>
|
@@ -19,14 +19,14 @@
|
|
19
19
|
<% end %>
|
20
20
|
</ul>
|
21
21
|
</div>
|
22
|
-
<p class="text-center"><%= t(
|
22
|
+
<p class="text-center"><%= t(".are_you_sure") %></p>
|
23
23
|
<div class="row">
|
24
24
|
<div class="columns medium-8 medium-offset-2">
|
25
|
-
<%= button_to t(
|
25
|
+
<%= button_to t(".confirm"), checkout_order_path, class: "button expanded", data: { disable: true } %>
|
26
26
|
</div>
|
27
27
|
</div>
|
28
28
|
<div class="text-center">
|
29
|
-
<button class="link" data-close><%= t(
|
29
|
+
<button class="link" data-close><%= t(".cancel") %></button>
|
30
30
|
</div>
|
31
31
|
<% end %>
|
32
32
|
</div>
|
@@ -1,14 +1,14 @@
|
|
1
1
|
<div class="reveal" data-reveal id="budget-excess">
|
2
2
|
<div class="reveal__header">
|
3
|
-
<h3 class="reveal__title"><%= t(
|
4
|
-
<button class="close-button" data-close aria-label="<%= t(
|
3
|
+
<h3 class="reveal__title"><%= t(".title") %></h3>
|
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(
|
8
|
+
<p><%= t(".description") %></p>
|
9
9
|
<div class="row">
|
10
10
|
<div class="columns medium-8 medium-offset-2">
|
11
|
-
<button data-close class="button expanded"><%= t(
|
11
|
+
<button data-close class="button expanded"><%= t(".ok") %></button>
|
12
12
|
</div>
|
13
13
|
</div>
|
14
14
|
</div>
|
@@ -2,35 +2,35 @@
|
|
2
2
|
<div class="card__content">
|
3
3
|
<% if include_heading %>
|
4
4
|
<% if current_order_checked_out? %>
|
5
|
-
<h3 class="heading3"><%= t(
|
5
|
+
<h3 class="heading3"><%= t(".checked_out.title") %></h3>
|
6
6
|
<p>
|
7
|
-
<%= raw t(
|
7
|
+
<%= raw t(".checked_out.description", cancel_link: link_to(t(".cancel_order"), order_path, method: :delete, class: "cancel-order", data: { confirm: t(".are_you_sure") })) %>
|
8
8
|
</p>
|
9
9
|
<% else %>
|
10
|
-
<h3 class="heading3"><%= t(
|
11
|
-
<p><%= t(
|
10
|
+
<h3 class="heading3"><%= t(".title") %></h3>
|
11
|
+
<p><%= t(".description", minimum_budget: budget_to_currency(current_order&.minimum_budget)) %></p>
|
12
12
|
<% end %>
|
13
13
|
<% end %>
|
14
14
|
|
15
|
-
<div class="budget-summary__total" data-total-budget="<%=
|
16
|
-
<span class="mini-title"><%= t(
|
15
|
+
<div class="budget-summary__total" data-total-budget="<%= component_settings.total_budget %>">
|
16
|
+
<span class="mini-title"><%= t("total_budget") %>
|
17
17
|
<strong class="mini-title__strong mini-title__strong--highlight">
|
18
|
-
<%= budget_to_currency(
|
18
|
+
<%= budget_to_currency(component_settings.total_budget) %>
|
19
19
|
</strong>
|
20
20
|
</span>
|
21
21
|
</div>
|
22
22
|
|
23
|
-
<%= render partial:
|
23
|
+
<%= render partial: "order_progress" %>
|
24
24
|
|
25
25
|
<div>
|
26
26
|
<span class="mini-title">
|
27
|
-
<%= t(
|
28
|
-
<%= render partial:
|
27
|
+
<%= t(".assigned") %>
|
28
|
+
<%= render partial: "order_total_budget" %>
|
29
29
|
</span>
|
30
30
|
</div>
|
31
31
|
</div>
|
32
32
|
|
33
|
-
<%= render partial:
|
33
|
+
<%= render partial: "order_selected_projects" %>
|
34
34
|
</div>
|
35
35
|
|
36
36
|
<%= render partial: "budget_excess" %>
|
@@ -2,10 +2,10 @@
|
|
2
2
|
<div class="filters__section">
|
3
3
|
<div class="filters__search">
|
4
4
|
<div class="input-group">
|
5
|
-
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(
|
5
|
+
<%= form.search_field :search_text, label: false, class: "input-group-field", placeholder: t(".search") %>
|
6
6
|
<div class="input-group-button">
|
7
7
|
<button type="submit" class="button button--muted">
|
8
|
-
<%= icon "magnifying-glass", aria_label: t(
|
8
|
+
<%= icon "magnifying-glass", aria_label: t(".search") %>
|
9
9
|
</button>
|
10
10
|
</div>
|
11
11
|
</div>
|
@@ -16,8 +16,8 @@
|
|
16
16
|
<%= scopes_picker_filter form, :scope_id %>
|
17
17
|
<% end %>
|
18
18
|
|
19
|
-
<% if
|
20
|
-
<%= form.categories_select :category_id,
|
19
|
+
<% if current_component.categories.any? %>
|
20
|
+
<%= form.categories_select :category_id, current_component.categories, legend_title: t(".category"), disable_parents: false, label: false, prompt: t(".category_prompt") %>
|
21
21
|
<% end %>
|
22
22
|
|
23
23
|
<%= form.hidden_field :random_seed %>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<div class="filters-controls hide-for-mediumlarge">
|
2
2
|
<button data-open="filter-box" class="filters-controls__trigger">
|
3
3
|
<%= t ".filter" %>
|
4
|
-
<%= icon "caret-bottom", class: "icon--small float-right", aria_label: t(
|
4
|
+
<%= icon "caret-bottom", class: "icon--small float-right", aria_label: t(".unfold"), role: "img" %>
|
5
5
|
</button>
|
6
6
|
</div>
|
7
7
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div id="order-progress">
|
2
2
|
<div class="budget-summary__progressbox" data-current-budget="<%= current_order ? current_order.total_budget : 0 %>">
|
3
|
-
<div class="progress budget-progress" role="progressbar" tabindex="0" aria-valuenow="<%= current_order_budget_percent %>" aria-valuemin="<%=
|
3
|
+
<div class="progress budget-progress" role="progressbar" tabindex="0" aria-valuenow="<%= current_order_budget_percent %>" aria-valuemin="<%= component_settings.vote_threshold_percent %>" aria-valuetext="<%= current_order_budget_percent %>%" aria-valuemax="100">
|
4
4
|
<div class="progress-meter progress-meter--minimum" style="width: <%= 100 - current_order_budget_percent %>%"></div>
|
5
5
|
<!--Change width and text dynamically.-->
|
6
6
|
<div class="progress-meter budget-progress__meter" style="width: <%= current_order_budget_percent %>%">
|
@@ -9,16 +9,16 @@
|
|
9
9
|
</div>
|
10
10
|
<% unless current_order_checked_out? %>
|
11
11
|
<% if current_order_can_be_checked_out? %>
|
12
|
-
<button class="button small button--sc" data-toggle="budget-confirm"><%= t(
|
12
|
+
<button class="button small button--sc" data-toggle="budget-confirm"><%= t(".vote") %></button>
|
13
13
|
<% else %>
|
14
|
-
<button class="button small button--sc" data-toggle="budget-confirm" disabled><%= t(
|
14
|
+
<button class="button small button--sc" data-toggle="budget-confirm" disabled><%= t(".vote") %></button>
|
15
15
|
<% end %>
|
16
16
|
<% end %>
|
17
17
|
</div>
|
18
18
|
|
19
19
|
<div class="progressbox-fixed-wrapper" data-progressbox-fixed>
|
20
20
|
<div class="budget-summary__progressbox budget-summary__progressbox--fixed">
|
21
|
-
<div class="progress budget-progress budget-progress--fixed" role="progressbar" tabindex="0" aria-valuenow="<%= current_order_budget_percent %>" aria-valuemin="<%=
|
21
|
+
<div class="progress budget-progress budget-progress--fixed" role="progressbar" tabindex="0" aria-valuenow="<%= current_order_budget_percent %>" aria-valuemin="<%= component_settings.vote_threshold_percent %>" aria-valuetext="<%= current_order_budget_percent %>%" aria-valuemax="100">
|
22
22
|
<div class="progress-meter progress-meter--minimum" style="width: <%= 100 - current_order_budget_percent %>%"></div>
|
23
23
|
<div class="progress-meter budget-progress__meter" style="width: <%= current_order_budget_percent %>%">
|
24
24
|
<p class="progress-meter-text progress-meter-text--right"><%= current_order_budget_percent %>%</p>
|
@@ -26,9 +26,9 @@
|
|
26
26
|
</div>
|
27
27
|
<% unless current_order_checked_out? %>
|
28
28
|
<% if current_order_can_be_checked_out? %>
|
29
|
-
<button class="button small button--sc" data-toggle="budget-confirm"><%= t(
|
29
|
+
<button class="button small button--sc" data-toggle="budget-confirm"><%= t(".vote") %></button>
|
30
30
|
<% else %>
|
31
|
-
<button class="button small button--sc" data-toggle="budget-confirm" disabled><%= t(
|
31
|
+
<button class="button small button--sc" data-toggle="budget-confirm" disabled><%= t(".vote") %></button>
|
32
32
|
<% end %>
|
33
33
|
<% end %>
|
34
34
|
</div>
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<% if current_order&.projects&.any? %>
|
3
3
|
<div class="card__content budget-summary__selected">
|
4
4
|
<button data-toggle="reveal-selected">
|
5
|
-
<strong><%= current_order.projects.size %> </strong><%= t(
|
6
|
-
<%= icon("caret-bottom", class:"icon--small", aria_label: t(
|
5
|
+
<strong><%= current_order.projects.size %> </strong><%= t(".selected_projects", count: current_order.projects.size) %>
|
6
|
+
<%= icon("caret-bottom", class:"icon--small", aria_label: t(".view"), role: "img") %>
|
7
7
|
</button>
|
8
8
|
<div id="reveal-selected" class="hide" data-toggler=".hide">
|
9
9
|
<ul class="budget-summary__selected-list">
|
@@ -15,7 +15,7 @@
|
|
15
15
|
</strong>
|
16
16
|
<% unless current_order_checked_out? %>
|
17
17
|
<%= button_to order_line_item_path(project_id: project), method: :delete, remote: true, data: { disable: true }, form: { style: "display: inline" } do %>
|
18
|
-
<%= icon("trash", aria_label: t(
|
18
|
+
<%= icon("trash", aria_label: t(".remove"), role: "img") %>
|
19
19
|
<% end %>
|
20
20
|
<% end %>
|
21
21
|
</li>
|
@@ -16,11 +16,11 @@
|
|
16
16
|
<%= budget_to_currency(project.budget) %>
|
17
17
|
</span>
|
18
18
|
<%= action_authorized_button_to "vote", order_line_item_path(project_id: project), method: :delete, remote: true, data: { disable: true, budget: project.budget, "redirect-url": project_path(project) }, disabled: !current_settings.votes_enabled? || current_order_checked_out?, class: "button tiny budget--list__action success" do %>
|
19
|
-
<%= icon("check", class: "icon--small", aria_label: t(
|
19
|
+
<%= icon("check", class: "icon--small", aria_label: t(".remove"), role: "img") %>
|
20
20
|
<% end %>
|
21
21
|
<% if current_settings.show_votes? %>
|
22
22
|
<div class="card__support" style="width: 7em">
|
23
|
-
<span><%= t(
|
23
|
+
<span><%= t(".count", count: project.confirmed_orders_count) %></span>
|
24
24
|
</div>
|
25
25
|
<% end %>
|
26
26
|
</div>
|
@@ -30,11 +30,11 @@
|
|
30
30
|
<%= budget_to_currency(project.budget) %>
|
31
31
|
</span>
|
32
32
|
<%= action_authorized_button_to "vote", order_line_item_path(project_id: project), method: :post, remote: true, data: { disable: true, budget: project.budget, add: true, "redirect-url": project_path(project) }, disabled: !current_settings.votes_enabled? || current_order_checked_out?, class: "button tiny hollow budget--list__action" do %>
|
33
|
-
<%= icon("check", class: "icon--small", aria_label: t(
|
33
|
+
<%= icon("check", class: "icon--small", aria_label: t(".add"), role: "img") %>
|
34
34
|
<% end %>
|
35
35
|
<% if current_settings.show_votes? %>
|
36
36
|
<div class="card__support" style="width: 7em">
|
37
|
-
<span><%= t(
|
37
|
+
<span><%= t(".count", count: project.confirmed_orders_count) %></span>
|
38
38
|
</div>
|
39
39
|
<% end %>
|
40
40
|
</div>
|
@@ -45,11 +45,11 @@
|
|
45
45
|
<%= budget_to_currency(project.budget) %>
|
46
46
|
</span>
|
47
47
|
<a href="#" class="button tiny hollow budget--list__action disabled" data-toggle="loginModal">
|
48
|
-
<%= icon("check", class: "icon--small", aria_label: t(
|
48
|
+
<%= icon("check", class: "icon--small", aria_label: t(".add"), role: "img") %>
|
49
49
|
</a>
|
50
50
|
<% if current_settings.show_votes? %>
|
51
51
|
<div class="card__support" style="width: 7em">
|
52
|
-
<span><%= t(
|
52
|
+
<span><%= t(".count", count: project.confirmed_orders_count) %></span>
|
53
53
|
</div>
|
54
54
|
<% end %>
|
55
55
|
</div>
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<% if current_user.present? %>
|
2
2
|
<% if current_order && current_order.projects.include?(project) %>
|
3
|
-
<%= action_authorized_button_to "vote", t(
|
3
|
+
<%= action_authorized_button_to "vote", t(".added"), order_line_item_path(project_id: project), method: :delete, remote: true, data: { disable: true, budget: project.budget, "redirect-url": project_path(project) }, disabled: !current_settings.votes_enabled? || current_order_checked_out?, class: "button expanded button--sc success budget--list__action" %>
|
4
4
|
<% else %>
|
5
|
-
<%= action_authorized_button_to "vote", t(
|
5
|
+
<%= action_authorized_button_to "vote", t(".add"), order_line_item_path(project_id: project), method: :post, remote: true, data: { disable: true, budget: project.budget, add: true, "redirect-url": project_path(project) }, disabled: !current_settings.votes_enabled? || current_order_checked_out?, class: "button expanded button--sc budget--list__action" %>
|
6
6
|
<% end %>
|
7
7
|
<% else %>
|
8
|
-
<button class="button expanded button--sc disabled" data-toggle="loginModal"><%= t(
|
8
|
+
<button class="button expanded button--sc disabled" data-toggle="loginModal"><%= t(".add") %></button>
|
9
9
|
<% end %>
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<div class="card card--list budget-list">
|
2
2
|
<% projects.each do |project| %>
|
3
|
-
<%= render partial:
|
3
|
+
<%= render partial: "project", locals: { project: project } %>
|
4
4
|
<% end %>
|
5
5
|
</div>
|
6
6
|
<%= decidim_paginate projects, random_seed: random_seed %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<%= render partial: "decidim/shared/
|
1
|
+
<%= render partial: "decidim/shared/component_announcement" %>
|
2
2
|
|
3
3
|
<% if current_user.present? && current_settings.votes_enabled? %>
|
4
4
|
<div class="row column">
|
@@ -12,8 +12,8 @@
|
|
12
12
|
</div>
|
13
13
|
<div class="row">
|
14
14
|
<div class="columns mediumlarge-4 large-3">
|
15
|
-
<%= render partial: "filters_small_view"%>
|
16
|
-
<div class="card card--secondary show-for-mediumlarge"
|
15
|
+
<%= render partial: "filters_small_view" %>
|
16
|
+
<div class="card card--secondary show-for-mediumlarge">
|
17
17
|
<%= render partial: "filters" %>
|
18
18
|
</div>
|
19
19
|
</div>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
<% end %>
|
10
10
|
<%= link_to projects_path, class: "muted-link" do %>
|
11
11
|
<%= icon "chevron-left", class: "icon--small" %>
|
12
|
-
<%= t(
|
12
|
+
<%= t(".view_all_projects") %>
|
13
13
|
<% end %>
|
14
14
|
<h2 class="heading2"><%= translated_attribute project.title %></h2>
|
15
15
|
</div>
|
@@ -19,16 +19,16 @@
|
|
19
19
|
<div class="card extra">
|
20
20
|
<div class="card__content">
|
21
21
|
<div class="m-bottom">
|
22
|
-
<span class="definition-data__title"><%= t(
|
22
|
+
<span class="definition-data__title"><%= t(".budget") %></span>
|
23
23
|
<span class="definition-data__number"><%= budget_to_currency project.budget %></span>
|
24
24
|
</div>
|
25
25
|
<% if current_settings.show_votes? %>
|
26
26
|
<div class="card__support__data">
|
27
|
-
<span><%= t(
|
27
|
+
<span><%= t("decidim.budgets.projects.project.count", count: project.confirmed_orders_count) %></span>
|
28
28
|
</div>
|
29
29
|
<% end %>
|
30
30
|
<div id="project-<%= project.id %>-budget-button">
|
31
|
-
<%= render partial:
|
31
|
+
<%= render partial: "project_budget_button", locals: { project: project } %>
|
32
32
|
</div>
|
33
33
|
<%= render partial: "decidim/shared/follow_button", locals: { followable: project } %>
|
34
34
|
</div>
|
data/config/locales/ca.yml
CHANGED
@@ -42,6 +42,11 @@ ca:
|
|
42
42
|
update:
|
43
43
|
invalid: Hi ha hagut un problema actualitzant aquest projecte
|
44
44
|
success: Projecte actualitzat correctament
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} ha creat el projecte %{resource_name} a l'espai %{space_name}"
|
48
|
+
delete: "%{user_name} ha eliminat el projecte %{resource_name} de l'espai %{space_name}"
|
49
|
+
update: "%{user_name} ha actualitzat el projecte %{resource_name} de l'espai %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,7 +105,7 @@ ca:
|
|
100
105
|
show:
|
101
106
|
budget: Pressupost
|
102
107
|
view_all_projects: Veure tots els projectes
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
111
|
vote: Donar suport
|
@@ -109,6 +114,7 @@ ca:
|
|
109
114
|
global:
|
110
115
|
announcement: Anunci
|
111
116
|
comments_enabled: Comentaris habilitats
|
117
|
+
projects_per_page: Projectes per pàgina
|
112
118
|
total_budget: Pressupost total
|
113
119
|
vote_threshold_percent: Percentatge del pressupost mínim per fer el vot
|
114
120
|
step:
|
data/config/locales/en.yml
CHANGED
@@ -43,6 +43,11 @@ en:
|
|
43
43
|
update:
|
44
44
|
invalid: There's been a problem updating this project
|
45
45
|
success: Project successfully updated
|
46
|
+
admin_log:
|
47
|
+
project:
|
48
|
+
create: "%{user_name} created the %{resource_name} project in the %{space_name} space"
|
49
|
+
delete: "%{user_name} deleted the %{resource_name} project in the %{space_name} space"
|
50
|
+
update: "%{user_name} updated the %{resource_name} project in the %{space_name} space"
|
46
51
|
models:
|
47
52
|
project:
|
48
53
|
fields:
|
@@ -101,7 +106,7 @@ en:
|
|
101
106
|
show:
|
102
107
|
budget: Budget
|
103
108
|
view_all_projects: View all projects
|
104
|
-
|
109
|
+
components:
|
105
110
|
budgets:
|
106
111
|
actions:
|
107
112
|
vote: Vote
|
@@ -110,6 +115,7 @@ en:
|
|
110
115
|
global:
|
111
116
|
announcement: Announcement
|
112
117
|
comments_enabled: Comments enabled
|
118
|
+
projects_per_page: Projects per page
|
113
119
|
total_budget: Total budget
|
114
120
|
vote_threshold_percent: Vote threshold percent
|
115
121
|
step:
|
data/config/locales/es.yml
CHANGED
@@ -42,6 +42,11 @@ es:
|
|
42
42
|
update:
|
43
43
|
invalid: Ha habido un problema al actualizar este proyecto
|
44
44
|
success: Proyecto actualizado correctamente
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} creó el proyecto %{resource_name} en el espacio %{space_name}"
|
48
|
+
delete: "%{user_name} borró el proyecto %{resource_name} en el espacio %{space_name}"
|
49
|
+
update: "%{user_name} actualizó el proyecto %{resource_name} en el espacio %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,15 +105,16 @@ es:
|
|
100
105
|
show:
|
101
106
|
budget: Presupuesto
|
102
107
|
view_all_projects: Ver todos los proyectos
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
|
-
vote:
|
111
|
+
vote: Votar
|
107
112
|
name: Presupuestos
|
108
113
|
settings:
|
109
114
|
global:
|
110
115
|
announcement: Anuncio
|
111
116
|
comments_enabled: Comentarios habilitados
|
117
|
+
projects_per_page: Proyectos por página
|
112
118
|
total_budget: Presupuesto total
|
113
119
|
vote_threshold_percent: Porcentaje de votos
|
114
120
|
step:
|
data/config/locales/eu.yml
CHANGED
@@ -42,6 +42,11 @@ eu:
|
|
42
42
|
update:
|
43
43
|
invalid: Arazo bat izan da proiektu hau eguneratzean
|
44
44
|
success: Proiektua zuzen eguneratu da
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} %{resource_name} proiektua %{space_name} espazioan sortu zen"
|
48
|
+
delete: "%{user_name} %{resource_name} proiektua %{space_name} espazioan ezabatu da"
|
49
|
+
update: "%{user_name} %{resource_name} proiektuaren %{space_name} espazio eguneratu du"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,16 +105,17 @@ eu:
|
|
100
105
|
show:
|
101
106
|
budget: Aurrekontua
|
102
107
|
view_all_projects: Ikusi proiektu guztiak
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
|
-
vote:
|
111
|
+
vote: Bozkatu
|
107
112
|
name: Aurrekontuak
|
108
113
|
settings:
|
109
114
|
global:
|
110
115
|
announcement: Anuntzio
|
111
116
|
comments_enabled: Iruzkinak gaituta
|
112
|
-
|
117
|
+
projects_per_page: Orrialde bakoitzeko proiektuak
|
118
|
+
total_budget: Aurrekontu osoa
|
113
119
|
vote_threshold_percent: Votuen ehuneko atalasea
|
114
120
|
step:
|
115
121
|
announcement: Anuntzio
|
data/config/locales/fi.yml
CHANGED
@@ -42,6 +42,11 @@ fi:
|
|
42
42
|
update:
|
43
43
|
invalid: Tämän projektin päivityksessä tapahtui virhe
|
44
44
|
success: Projekti päivitetty onnistuneesti
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} loi %{resource_name} -projektin %{space_name} -tilaan"
|
48
|
+
delete: "%{user_name} poistanut %{resource_name} -projektin %{space_name} -tilassa"
|
49
|
+
update: "%{user_name} päivitti %{resource_name} -projektin %{space_name} -tilaan"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,16 +105,17 @@ fi:
|
|
100
105
|
show:
|
101
106
|
budget: Budjetti
|
102
107
|
view_all_projects: Näytä kaikki projektit
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
|
-
vote:
|
111
|
+
vote: Äänestys
|
107
112
|
name: budjetit
|
108
113
|
settings:
|
109
114
|
global:
|
110
115
|
announcement: Ilmoitus
|
111
116
|
comments_enabled: Kommentit ovat käytössä
|
112
|
-
|
117
|
+
projects_per_page: Hankkeet sivua kohden
|
118
|
+
total_budget: Kokonaisbudjetti
|
113
119
|
vote_threshold_percent: Äänestä kynnysarvoa
|
114
120
|
step:
|
115
121
|
announcement: Ilmoitus
|
data/config/locales/fr.yml
CHANGED
@@ -42,6 +42,11 @@ fr:
|
|
42
42
|
update:
|
43
43
|
invalid: Il y a eu un problème de mise à jour de ce projet
|
44
44
|
success: Projet mis à jour avec succès
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} a créé le projet %{resource_name} dans l'espace %{space_name}"
|
48
|
+
delete: "%{user_name} a supprimé le projet %{resource_name} dans l'espace %{space_name}"
|
49
|
+
update: "%{user_name} a mis à jour le projet %{resource_name} dans l'espace %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,7 +105,7 @@ fr:
|
|
100
105
|
show:
|
101
106
|
budget: Budget
|
102
107
|
view_all_projects: Voir tous les projets
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
111
|
vote: Voter
|
@@ -109,10 +114,11 @@ fr:
|
|
109
114
|
global:
|
110
115
|
announcement: Message d'annonce
|
111
116
|
comments_enabled: Activer le module de commentaire
|
117
|
+
projects_per_page: Projets par page
|
112
118
|
total_budget: Budget total
|
113
119
|
vote_threshold_percent: Pourcentage du budget à atteindre pour voter
|
114
120
|
step:
|
115
|
-
announcement:
|
121
|
+
announcement: Annonce
|
116
122
|
comments_blocked: Bloquer la création de nouveaux commentaires
|
117
123
|
show_votes: Afficher les votes
|
118
124
|
votes_enabled: Autoriser les utilisateurs à voter pour le budget
|
data/config/locales/gl.yml
CHANGED
@@ -42,6 +42,11 @@ gl:
|
|
42
42
|
update:
|
43
43
|
invalid: Produciuse un problema ao actualizar este proxecto
|
44
44
|
success: Proxecto actualizado correctamente
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} creou o proxecto %{resource_name} no espazo %{space_name}"
|
48
|
+
delete: "%{user_name} eliminou o %{resource_name} proxecto no espazo %{space_name}"
|
49
|
+
update: "%{user_name} actualizou o proxecto %{resource_name} no espazo %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,7 +105,7 @@ gl:
|
|
100
105
|
show:
|
101
106
|
budget: Orzamento
|
102
107
|
view_all_projects: Ver todos os proxectos
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
111
|
vote: Vota
|
@@ -109,6 +114,7 @@ gl:
|
|
109
114
|
global:
|
110
115
|
announcement: Anuncio
|
111
116
|
comments_enabled: Comentarios habilitados
|
117
|
+
projects_per_page: Proxectos por páxina
|
112
118
|
total_budget: Orzamento total
|
113
119
|
vote_threshold_percent: Porcentaxe de límite de voto
|
114
120
|
step:
|
data/config/locales/it.yml
CHANGED
@@ -42,6 +42,11 @@ it:
|
|
42
42
|
update:
|
43
43
|
invalid: C'è stato un problema durante l'aggiornamento di questo progetto.
|
44
44
|
success: OK, progetto aggiornato.
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} ha creato il progetto %{resource_name} nello spazio %{space_name}"
|
48
|
+
delete: "%{user_name} eliminato il progetto %{resource_name} nello spazio %{space_name}"
|
49
|
+
update: "%{user_name} ha aggiornato il progetto %{resource_name} nello spazio %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,15 +105,16 @@ it:
|
|
100
105
|
show:
|
101
106
|
budget: Budget
|
102
107
|
view_all_projects: Visualizza tutti i progetti
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
|
-
vote:
|
111
|
+
vote: Votazione
|
107
112
|
name: i bilanci
|
108
113
|
settings:
|
109
114
|
global:
|
110
115
|
announcement: Annuncio
|
111
116
|
comments_enabled: Commenti abilitati
|
117
|
+
projects_per_page: Progetti per pagina
|
112
118
|
total_budget: Budget totale
|
113
119
|
vote_threshold_percent: Vota la percentuale di soglia
|
114
120
|
step:
|
data/config/locales/nl.yml
CHANGED
@@ -42,6 +42,11 @@ nl:
|
|
42
42
|
update:
|
43
43
|
invalid: Er is een probleem opgetreden bij het bijwerken van dit project
|
44
44
|
success: Project succesvol bijgewerkt
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} heeft het project %{resource_name} in de ruimte %{space_name} gemaakt"
|
48
|
+
delete: "%{user_name} verwijderde het %{resource_name} project in de %{space_name} ruimte"
|
49
|
+
update: "%{user_name} heeft het project %{resource_name} bijgewerkt in de ruimte %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -100,17 +105,18 @@ nl:
|
|
100
105
|
show:
|
101
106
|
budget: Begroting
|
102
107
|
view_all_projects: Bekijk alle projecten
|
103
|
-
|
108
|
+
components:
|
104
109
|
budgets:
|
105
110
|
actions:
|
106
|
-
vote:
|
107
|
-
name:
|
111
|
+
vote: Stemmen
|
112
|
+
name: Budgetten
|
108
113
|
settings:
|
109
114
|
global:
|
110
115
|
announcement: Aankondiging
|
111
116
|
comments_enabled: Reacties ingeschakeld
|
112
|
-
|
113
|
-
|
117
|
+
projects_per_page: Projecten per pagina
|
118
|
+
total_budget: Totale budget
|
119
|
+
vote_threshold_percent: Percentage van het budget dat bereikt moet worden om te kunnen stemmen
|
114
120
|
step:
|
115
121
|
announcement: Aankondiging
|
116
122
|
comments_blocked: Reacties geblokkeerd
|
data/config/locales/pl.yml
CHANGED
@@ -42,6 +42,11 @@ pl:
|
|
42
42
|
update:
|
43
43
|
invalid: Wystąpił problem z aktualizacją tego projektu
|
44
44
|
success: Zaktualizowano projekt
|
45
|
+
admin_log:
|
46
|
+
project:
|
47
|
+
create: "%{user_name} utworzył projekt %{resource_name} w przestrzeni %{space_name}"
|
48
|
+
delete: "%{user_name} usunął projekt %{resource_name} z przestrzeni %{space_name}"
|
49
|
+
update: "%{user_name} zaktualizował projekt %{resource_name} w przestrzeni %{space_name}"
|
45
50
|
models:
|
46
51
|
project:
|
47
52
|
fields:
|
@@ -90,7 +95,7 @@ pl:
|
|
90
95
|
show:
|
91
96
|
budget: Budżet
|
92
97
|
view_all_projects: Wyświetl wszystkie projekty
|
93
|
-
|
98
|
+
components:
|
94
99
|
budgets:
|
95
100
|
actions:
|
96
101
|
vote: Głosować
|
@@ -99,6 +104,7 @@ pl:
|
|
99
104
|
global:
|
100
105
|
announcement: Ogłoszenie
|
101
106
|
comments_enabled: Komentarze włączone
|
107
|
+
projects_per_page: Projekty na stronę
|
102
108
|
total_budget: Cały budżet
|
103
109
|
vote_threshold_percent: Procent progu głosowania
|
104
110
|
step:
|