decidim-budgets 0.27.4 → 0.27.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/budgets/base_cell.rb +1 -1
  3. data/app/cells/decidim/budgets/budget_list_item/show.erb +1 -1
  4. data/app/cells/decidim/budgets/budgets_list/voted.erb +1 -1
  5. data/app/cells/decidim/budgets/project_list_item_cell.rb +1 -1
  6. data/app/controllers/decidim/budgets/admin/projects_controller.rb +3 -2
  7. data/app/controllers/decidim/budgets/line_items_controller.rb +15 -9
  8. data/app/models/decidim/budgets/project.rb +7 -3
  9. data/app/packs/src/decidim/budgets/exit_handler.js +1 -1
  10. data/app/views/decidim/budgets/admin/budgets/index.html.erb +6 -2
  11. data/app/views/decidim/budgets/admin/projects/_project-tr.html.erb +5 -3
  12. data/app/views/decidim/budgets/admin/projects/edit.html.erb +1 -1
  13. data/app/views/decidim/budgets/admin/projects/index.html.erb +4 -2
  14. data/app/views/decidim/budgets/admin/projects/new.html.erb +1 -1
  15. data/config/locales/ar.yml +5 -0
  16. data/config/locales/bg.yml +122 -0
  17. data/config/locales/ca.yml +7 -1
  18. data/config/locales/cs.yml +9 -1
  19. data/config/locales/de.yml +11 -5
  20. data/config/locales/en.yml +6 -0
  21. data/config/locales/es-MX.yml +6 -0
  22. data/config/locales/es-PY.yml +6 -0
  23. data/config/locales/es.yml +7 -1
  24. data/config/locales/eu.yml +87 -50
  25. data/config/locales/fi-plain.yml +6 -0
  26. data/config/locales/fi.yml +6 -0
  27. data/config/locales/fr-CA.yml +7 -1
  28. data/config/locales/fr.yml +7 -1
  29. data/config/locales/ga-IE.yml +1 -0
  30. data/config/locales/gl.yml +1 -0
  31. data/config/locales/he-IL.yml +1 -0
  32. data/config/locales/hu.yml +29 -1
  33. data/config/locales/id-ID.yml +1 -0
  34. data/config/locales/is-IS.yml +1 -0
  35. data/config/locales/it.yml +1 -0
  36. data/config/locales/ja.yml +5 -0
  37. data/config/locales/ko.yml +54 -0
  38. data/config/locales/lb.yml +1 -0
  39. data/config/locales/lt.yml +12 -0
  40. data/config/locales/lv.yml +1 -0
  41. data/config/locales/nl.yml +1 -1
  42. data/config/locales/no.yml +1 -0
  43. data/config/locales/pl.yml +66 -0
  44. data/config/locales/pt-BR.yml +62 -0
  45. data/config/locales/pt.yml +1 -0
  46. data/config/locales/ru.yml +1 -0
  47. data/config/locales/sk.yml +1 -0
  48. data/config/locales/sq-AL.yml +53 -0
  49. data/config/locales/sv.yml +2 -1
  50. data/config/locales/th-TH.yml +1 -0
  51. data/config/locales/tr-TR.yml +1 -0
  52. data/config/locales/uk.yml +1 -0
  53. data/config/locales/zh-CN.yml +1 -0
  54. data/decidim-budgets.gemspec +34 -0
  55. data/lib/decidim/budgets/component.rb +1 -1
  56. data/lib/decidim/budgets/test/factories.rb +29 -14
  57. data/lib/decidim/budgets/version.rb +1 -1
  58. metadata +21 -18
  59. data/config/environment.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 701df8761fc1cc2584cc048b10c3ca8afd6f5a1a67dc872401afbcb98250ec0f
4
- data.tar.gz: f018ec300694339ee28800995226da0bee0d2a3794824fdb60203668f54cb37f
3
+ metadata.gz: b1d3813f14e78b8280562b94beb1bc4f7bca64c713ad3110c397cc0c8379ff9f
4
+ data.tar.gz: 5b19c15cb3de4fc0431414a68a0496172af9217be43b2512775a11c26577a2c8
5
5
  SHA512:
6
- metadata.gz: 2d0622e0090d2b25ed9a80ad2e2664b17dbcd1680734b1566cd137cf209f3d5fa7048920706b6e6c6988141237f8770d8c88af8cf1569d20fd43b59e05405ed6
7
- data.tar.gz: 25fc82d64aa66504642e12a256dad1ea679a77a0c8cb7d4f09c2106b5cfe0db33c0069d8128503680d6dd5e37ad9b1c39903910d31e159d4804ba7a61ff36a48
6
+ metadata.gz: e2fe256f7a44822e8c46b4c2c050d778e6979add8b72c9f331e55ec1c668e1407a9ca0773980951df6b0310e058ee699e3cd21861bce5f50d96409a6bd641879
7
+ data.tar.gz: 1bfaa6283a053d98dc49c9f436323266a9de770037010fee9cafa82b9281a9010b4204c65ca1e95e4dcfd7bbda3bb386ecfcff39e83f1631a6c78531442a512a
@@ -13,7 +13,7 @@ module Decidim
13
13
  delegate :settings, to: :current_component
14
14
 
15
15
  def budgets_link_list(budgets)
16
- budgets.map { |budget| link_to(translated_attribute(budget.title), resource_locator(budget).path) }
16
+ budgets.map { |budget| link_to(decidim_escape_translated(budget.title), resource_locator(budget).path) }
17
17
  .to_sentence
18
18
  .html_safe
19
19
  end
@@ -2,7 +2,7 @@
2
2
  <div class="budget-list__text flex-horizontal">
3
3
  <%= link_to budget_path(budget), class: link_class do %>
4
4
  <h3 class="card--list__heading">
5
- <%= translated_attribute(title) %>
5
+ <%= decidim_escape_translated(title) %>
6
6
  </h3>
7
7
  <% end %>
8
8
 
@@ -32,7 +32,7 @@
32
32
  <% voted.each do |budget| %>
33
33
  <li>
34
34
  <%= link_to(
35
- t("cancel_order.more_than_one", scope: i18n_scope, name: translated_attribute(budget.title)),
35
+ t("cancel_order.more_than_one", scope: i18n_scope, name: decidim_escape_translated(budget.title)),
36
36
  budget_order_path(budget),
37
37
  method: :delete,
38
38
  class: "cancel-order",
@@ -21,7 +21,7 @@ module Decidim
21
21
  end
22
22
 
23
23
  def resource_title
24
- translated_attribute model.title
24
+ decidim_escape_translated model.title
25
25
  end
26
26
 
27
27
  def resource_added?
@@ -19,7 +19,8 @@ module Decidim
19
19
  def new
20
20
  enforce_permission_to :create, :project
21
21
  @form = form(ProjectForm).from_params(
22
- attachment: form(AttachmentForm).instance
22
+ { attachment: form(AttachmentForm).instance },
23
+ budget: budget
23
24
  )
24
25
  end
25
26
 
@@ -43,7 +44,7 @@ module Decidim
43
44
 
44
45
  def edit
45
46
  enforce_permission_to :update, :project, project: project
46
- @form = form(ProjectForm).from_model(project)
47
+ @form = form(ProjectForm).from_model(project, budget: budget)
47
48
  @form.attachment = form(AttachmentForm).instance
48
49
  end
49
50
 
@@ -12,15 +12,21 @@ module Decidim
12
12
  enforce_permission_to :vote, :project, project: project, budget: budget, workflow: current_workflow
13
13
 
14
14
  respond_to do |format|
15
- AddLineItem.call(persisted_current_order, project, current_user) do
16
- on(:ok) do |order|
17
- self.current_order = order
18
- format.html { redirect_back(fallback_location: budget_path(budget)) }
19
- format.js { render "update_budget" }
20
- end
21
-
22
- on(:invalid) do
23
- format.js { render "update_budget", status: :unprocessable_entity }
15
+ # Note that the user-specific lock here is important in order to
16
+ # prevent multiple simultaneous processes on different machines from
17
+ # creating multiple orders for the same user in case the button is
18
+ # pressed multiple times.
19
+ current_user.with_lock do
20
+ AddLineItem.call(persisted_current_order, project, current_user) do
21
+ on(:ok) do |order|
22
+ self.current_order = order
23
+ format.html { redirect_back(fallback_location: budget_path(budget)) }
24
+ format.js { render "update_budget" }
25
+ end
26
+
27
+ on(:invalid) do
28
+ format.js { render "update_budget", status: :unprocessable_entity }
29
+ end
24
30
  end
25
31
  end
26
32
  end
@@ -52,19 +52,23 @@ module Decidim
52
52
  # array. This is why we search for match ",2," instead to get the actual
53
53
  # position for ID 2.
54
54
  concat_ids = connection.quote(",#{ids.join(",")},")
55
- order(Arel.sql("position(concat(',', id::text, ',') in #{concat_ids})"))
55
+ order(Arel.sql("position(concat(',', decidim_budgets_projects.id::text, ',') in #{concat_ids})"))
56
56
  end
57
57
 
58
58
  def self.log_presenter_class_for(_log)
59
59
  Decidim::Budgets::AdminLog::ProjectPresenter
60
60
  end
61
61
 
62
+ def resource_locator
63
+ ::Decidim::ResourceLocatorPresenter.new([budget, self])
64
+ end
65
+
62
66
  def polymorphic_resource_path(url_params)
63
- ::Decidim::ResourceLocatorPresenter.new([budget, self]).path(url_params)
67
+ resource_locator.path(url_params)
64
68
  end
65
69
 
66
70
  def polymorphic_resource_url(url_params)
67
- ::Decidim::ResourceLocatorPresenter.new([budget, self]).url(url_params)
71
+ resource_locator.url(url_params)
68
72
  end
69
73
 
70
74
  # Public: Overrides the `comments_have_votes?` Commentable concern method.
@@ -65,7 +65,7 @@ $(() => {
65
65
  }
66
66
 
67
67
  $exitLink.attr("href", url);
68
- $exitLink.html(exitLinkText);
68
+ $exitLink.text(exitLinkText);
69
69
  $exitNotification.foundation("open");
70
70
  };
71
71
 
@@ -27,7 +27,9 @@
27
27
  <th><%= t("models.budget.fields.name", scope: "decidim.budgets") %></th>
28
28
  <th><%= t("models.budget.fields.total_budget", scope: "decidim.budgets") %></th>
29
29
  <th><%= t("models.budget.fields.projects_count", scope: "decidim.budgets") %></th>
30
- <%= th_resource_scope_label %>
30
+ <% if current_component.has_subscopes? %>
31
+ <%= th_resource_scope_label %>
32
+ <% end %>
31
33
  <th class="actions"><%= t("actions.title", scope: "decidim.budgets") %></th>
32
34
  </tr>
33
35
  </thead>
@@ -43,7 +45,9 @@
43
45
  <td>
44
46
  <%= link_to budget.projects.count, budget_projects_path(budget) %>
45
47
  </td>
46
- <%= td_resource_scope_for(budget.scope) %>
48
+ <% if current_component.has_subscopes? %>
49
+ <%= td_resource_scope_for(budget.scope) %>
50
+ <% end %>
47
51
  <td class="table-list__actions">
48
52
  <%= icon_link_to "eye", resource_locator(budget).path, t("actions.preview", scope: "decidim.budgets"), class: "action-icon--preview", target: :blank %>
49
53
 
@@ -13,15 +13,17 @@
13
13
  <%= translated_attribute project.category.name %>
14
14
  <% end %>
15
15
  </td>
16
- <%= td_resource_scope_for(project.scope) %>
16
+ <% if current_component.has_subscopes? %>
17
+ <%= td_resource_scope_for(project.scope) %>
18
+ <% end %>
17
19
  <td>
18
20
  <%= project.confirmed_orders_count %>
19
21
  </td>
20
22
  <td>
21
23
  <% if project.selected? %>
22
- <%= content_tag :strong, t("projects.index.selected", scope: "decidim.budgets.admin"), class: "text-success" %>
24
+ <%= content_tag :strong, t("yes", scope: "decidim.budgets.admin.projects.index.selected_options"), class: "label" %>
23
25
  <% else %>
24
- <%= content_tag :span, "x", class: "text-muted" %>
26
+ <%= content_tag :strong, t("no", scope: "decidim.budgets.admin.projects.index.selected_options"), class: "label secondary" %>
25
27
  <% end %>
26
28
  </td>
27
29
  <td class="table-list__actions">
@@ -1,6 +1,6 @@
1
1
  <% add_decidim_page_title("#{translated_attribute(budget.title)} - #{t(".title")}") %>
2
2
  <%= decidim_form_for([budget, @form], html: { class: "form edit_project" }) do |f| %>
3
- <%= render partial: "form", object: f, locals: { title: "#{translated_attribute(budget.title)} &gt; #{t(".title")}" } %>
3
+ <%= render partial: "form", object: f, locals: { title: "#{decidim_escape_translated(budget.title)} &gt; #{t(".title")}" } %>
4
4
 
5
5
  <div class="button--double form-general-submit">
6
6
  <%= f.submit t(".update") %>
@@ -3,7 +3,7 @@
3
3
  <div class="card-divider">
4
4
  <h2 class="card-title flex--sbc">
5
5
  <div>
6
- <%= link_to translated_attribute(budget.title), budgets_path %> &gt;
6
+ <%= link_to decidim_escape_translated(budget.title), budgets_path %> &gt;
7
7
  <%= t(".title") %>
8
8
  <span id="js-selected-resources-count" class="component-counter component-counter--inline" title="<%= t("decidim.budgets.admin.projects.index.selected") %>"></span>
9
9
  </div>
@@ -21,7 +21,9 @@
21
21
  <th><%= sort_link(query, :id, t("models.project.fields.id", scope: "decidim.budgets"), default_order: :desc) %>
22
22
  <th><%= sort_link(query, :title, t("models.project.fields.title", scope: "decidim.budgets")) %></th>
23
23
  <th><%= sort_link(query, :category_name, t("models.project.fields.category", scope: "decidim.budgets") ) %></th>
24
- <%= th_scope_sort_link %>
24
+ <% if current_component.has_subscopes? %>
25
+ <%= th_scope_sort_link %>
26
+ <% end %>
25
27
  <th><%= sort_link(query, :confirmed_orders_count, t("index.confirmed_orders_count")) %></th>
26
28
  <th><%= sort_link(query, :selected, t(".selected")) %></th>
27
29
  <th class="actions"><%= t("actions.title", scope: "decidim.budgets") %></th>
@@ -1,6 +1,6 @@
1
1
  <% add_decidim_page_title("#{translated_attribute(budget.title)} - #{t(".title")}") %>
2
2
  <%= decidim_form_for([budget, @form], html: { class: "form new_project" }) do |f| %>
3
- <%= render partial: "form", object: f, locals: { title: "#{translated_attribute(budget.title)} &gt; #{t(".title")}" } %>
3
+ <%= render partial: "form", object: f, locals: { title: "#{decidim_escape_translated(budget.title)} &gt; #{t(".title")}" } %>
4
4
 
5
5
  <div class="button--double form-general-submit">
6
6
  <%= f.submit t(".create") %>
@@ -66,7 +66,11 @@ ar:
66
66
  change_category: تغيير الفئة
67
67
  finished_orders: الانتهاء من الأصوات
68
68
  pending_orders: في انتظار الأصوات
69
+ selected_options:
70
+ 'no': 'لا'
71
+ 'yes': 'نعم'
69
72
  title: مشاريع
73
+ update: تحديث
70
74
  new:
71
75
  create: إنشاء
72
76
  title: مشروع جديد
@@ -99,6 +103,7 @@ ar:
99
103
  project:
100
104
  fields:
101
105
  category: الفئة
106
+ scope: نطاق
102
107
  title: عنوان
103
108
  projects:
104
109
  budget_confirm:
@@ -5,3 +5,125 @@ bg:
5
5
  project:
6
6
  decidim_category_id: Категория
7
7
  decidim_scope_id: Сфера
8
+ decidim:
9
+ budgets:
10
+ actions:
11
+ new: Ново %{name}
12
+ admin:
13
+ budgets:
14
+ create:
15
+ invalid: Възникна проблем при създаването на този бюджет
16
+ success: Бюджетът беше създаден успешно
17
+ destroy:
18
+ invalid: Възникна проблем при изтриването на този бюджет
19
+ success: Бюджетът беше изтрит успешно
20
+ update:
21
+ invalid: Възникна проблем при актуализирането на този бюджет
22
+ success: Бюджетът беше актуализиран успешно
23
+ projects:
24
+ create:
25
+ invalid: Възникна проблем при създаването на този проект
26
+ success: Проектът беше създаден успешно
27
+ destroy:
28
+ success: Проектът беше изтрит успешно
29
+ update:
30
+ invalid: Възникна проблем при актуализирането на този проект
31
+ success: Проектът беше актуализиран успешно
32
+ update_category:
33
+ select_a_category: Моля, изберете категория
34
+ select_a_project: Моля, изберете проект
35
+ update_scope:
36
+ select_a_project: Моля, изберете проект
37
+ select_a_scope: Моля, изберете обхват
38
+ update_selected:
39
+ select_a_project: Моля, изберете проект
40
+ select_a_selection: Моля, изберете състояние на внедряване
41
+ proposals_imports:
42
+ create:
43
+ invalid: Възникна проблем при импортирането на предложенията в проектите
44
+ success: "%{number} предложения бяха импортирани успешно в проекти"
45
+ new:
46
+ title: Импортиране на предложения
47
+ budget:
48
+ view: Преглед на всички бюджетни проекти
49
+ budget_list_item:
50
+ voting_finished: Вие гласувахте този бюджет
51
+ voting_started: Вие започнахте да гласувате за този бюджет
52
+ budgets_list:
53
+ finished_message: Завършихте процеса на гласуване. Благодарим Ви за участието!
54
+ if_change_opinion: Ако сте размислили, имате възможност
55
+ my_budgets: Моите бюджети
56
+ voted_on: Гласувахте на %{links}
57
+ last_activity:
58
+ new_vote_at_html: "<span>Ново бюджетно гласуване на %{link}</span>"
59
+ limit_announcement:
60
+ cant_vote: Не можете да гласувате за този бюджет. <a href="%{landing_path}">Опитайте с друг бюджет</a>.
61
+ models:
62
+ project:
63
+ fields:
64
+ scope: Сфера
65
+ projects:
66
+ budget_excess:
67
+ budget_excess:
68
+ description: Този проект надвишава максималния бюджет и не може да бъде добавен. Ако искате, можете да изтриете проект, който вече сте избрали, за да може да се гласува отново, според вашите предпочитания.
69
+ close: Затвори
70
+ description: Този проект надвишава максималния бюджет и не може да бъде добавен. Ако искате, можете да изтриете проект, който вече сте избрали, за да може да се гласува отново, според вашите предпочитания.
71
+ budget_summary:
72
+ assigned: 'Възложен:'
73
+ cancel_order: изтрийте гласа си и започнете отначало
74
+ checked_out:
75
+ description: Вече сте гласували за бюджета. Ако сте размислили, имате възможност %{cancel_link}.
76
+ minimum_projects_rule:
77
+ description: За кои проекти смятате, че трябва да осигурим бюджет? Изберете най-малко %{minimum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.
78
+ instruction: "<li>Изберете поне %{minimum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.</li>"
79
+ projects_rule:
80
+ description: За какви проекти смятате, че трябва да отделим бюджет? Изберете най-малко %{minimum_number}, но не повече от %{maximum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.
81
+ instruction: "<li>Изберете най-малко %{minimum_number}, но не повече от %{maximum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.</li>"
82
+ projects_rule_maximum_only:
83
+ description: За кои проекти смятате, че трябва да осигурим бюджет? Изберете не повече от %{maximum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.
84
+ instruction: "<li>Изберете не повече от %{maximum_number} желани от Вас проекта и гласувайте, според предпочитанията си за дефиниране на бюджета.</li>"
85
+ rules:
86
+ title: Бюджетни правила
87
+ title: Вие решавате бюджета
88
+ total_projects: Общ брой гласове
89
+ vote_threshold_percent_rule:
90
+ description: За кои проекти смятате, че трябва да осигурим бюджет? Присъеденете най-малко %{minimum_budget} към желаните от Вас проекти и гласувайте, според предпочитанията си за дефиниране на бюджета.
91
+ instruction: "<li>Присъеденете поне %{minimum_budget} към желаните от вас проекти и гласувайте, според предпочитанията си за дефиниране на бюджета.</li>"
92
+ filters_small_view:
93
+ filter: Филтър
94
+ filter_by: Филтрирай по
95
+ unfold: Разгъване
96
+ index:
97
+ view_project: Преглед на проекта
98
+ order_selected_projects:
99
+ remove: Премахни
100
+ selected_projects:
101
+ one: избран проект
102
+ other: избрани проекти
103
+ view: Преглед
104
+ project:
105
+ add: Добавяне на проект %{resource_name} към Вашето гласуване
106
+ remove: Премахване на проекта %{resource_name} от Вашето гласуване
107
+ view: Преглед
108
+ project_budget_button:
109
+ add: Добавяне към гласуването Ви
110
+ add_descriptive: Добавяне на проект %{resource_name} към Вашето гласуване
111
+ added: Добавено към Вашето гласуване
112
+ added_descriptive: Проектът %{resource_name} е добавен към Вашето гласуване
113
+ show:
114
+ view_all_projects: Преглед на всички проекти
115
+ components:
116
+ budgets:
117
+ settings:
118
+ global:
119
+ form:
120
+ errors:
121
+ budget_voting_rule_only_one: Трябва да бъде активирано само едно правило за гласуване
122
+ budget_voting_rule_required: Изисква се едно правило за гласуване
123
+ orders:
124
+ checkout:
125
+ error: Възникна проблем при обработването на Вашия глас
126
+ success: Вашият глас е приет успешно
127
+ destroy:
128
+ error: Възникна проблем при отмяната на гласа Ви
129
+ success: Вашият глас беше отменен успешно
@@ -21,6 +21,9 @@ ca:
21
21
  scope_id: Àmbit
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Pressupost
26
+ other: Pressupostos
24
27
  decidim/budgets/project:
25
28
  one: Projecte
26
29
  other: Projectes
@@ -100,6 +103,9 @@ ca:
100
103
  pending_orders: Vots en procés
101
104
  select_for_implementation: Seleccionat per implementar
102
105
  selected: Seleccionat
106
+ selected_options:
107
+ 'no': 'No'
108
+ 'yes': 'Sí'
103
109
  title: Projectes
104
110
  update: Actualitzar
105
111
  update_scope_button: Actualitzar àmbit
@@ -362,7 +368,7 @@ ca:
362
368
  budgets:
363
369
  budget_published:
364
370
  email_intro: 'Ja està activa la fase %{resource_title} per a %{participatory_space_title}. Pots veure-la des d''aquesta pàgina:'
365
- 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.
371
+ 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.
366
372
  email_subject: El component %{resource_title} ja està actiu per %{participatory_space_title}.
367
373
  notification_title: El pressupost <a href="%{resource_path}">%{resource_title}</a> a %{participatory_space_title} ja està actiu.
368
374
  orders:
@@ -21,6 +21,11 @@ cs:
21
21
  scope_id: Oblast působnosti
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Rozpočet
26
+ few: Rozpočty
27
+ many: Rozpočtů
28
+ other: Rozpočtů
24
29
  decidim/budgets/project:
25
30
  one: Projekt
26
31
  few: Projekty
@@ -102,6 +107,9 @@ cs:
102
107
  pending_orders: Čeká na hlasování
103
108
  select_for_implementation: Vybrat pro implementaci
104
109
  selected: Vybrané
110
+ selected_options:
111
+ 'no': 'Ne'
112
+ 'yes': 'Ano'
105
113
  title: Projekty
106
114
  update: Aktualizovat
107
115
  update_scope_button: Aktualizovat rozsah
@@ -196,7 +204,7 @@ cs:
196
204
  fields:
197
205
  category: Kategorie
198
206
  id: ID
199
- scope: Rozsah
207
+ scope: Oblast působnosti
200
208
  title: Titul
201
209
  order_summary_mailer:
202
210
  order_summary:
@@ -21,6 +21,9 @@ de:
21
21
  scope_id: Themenbereich
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Budget
26
+ other: Budgets
24
27
  decidim/budgets/project:
25
28
  one: Projekt
26
29
  other: Projekte
@@ -77,7 +80,7 @@ de:
77
80
  projects: Projekte
78
81
  models:
79
82
  budget:
80
- name: Bugdet
83
+ name: Budget
81
84
  project:
82
85
  name: Projekt
83
86
  projects:
@@ -100,6 +103,9 @@ de:
100
103
  pending_orders: Ausstehende Stimmen
101
104
  select_for_implementation: Zur Umsetzung auswählen
102
105
  selected: Ausgewählt
106
+ selected_options:
107
+ 'no': 'Nein'
108
+ 'yes': 'Ja'
103
109
  title: Projekte
104
110
  update: Aktualisieren
105
111
  update_scope_button: Themenbereich aktualisieren
@@ -192,7 +198,7 @@ de:
192
198
  fields:
193
199
  category: Kategorie
194
200
  id: ID
195
- scope: Themenbereich
201
+ scope: Umfang
196
202
  title: Titel
197
203
  order_summary_mailer:
198
204
  order_summary:
@@ -202,8 +208,8 @@ de:
202
208
  voted_on_space_with_scope: Sie haben für das %{budget_name} Budget for the %{space_name} innerhalb %{scope_name} (%{scope_type}) abgestimmt.
203
209
  projects:
204
210
  budget_confirm:
205
- are_you_sure: Wenn du deine Meinung änderst, kannst du deine Stimme nachträglich ändern.
206
- cancel: Stornieren
211
+ are_you_sure: Wenn Sie Ihre Meinung ändern, können Sie Ihre Stimme nachträglich ändern.
212
+ cancel: Abbrechen
207
213
  confirm: Bestätigen
208
214
  description: Dies sind die Projekte, die Sie für das Budget ausgewählt haben.
209
215
  title: Bestätigung der Abstimmung
@@ -379,4 +385,4 @@ de:
379
385
  orders_count: Projektauswahlen
380
386
  projects_count: Projekte
381
387
  index:
382
- confirmed_orders_count: Stimmen zählen
388
+ confirmed_orders_count: Anzahl Stimmen
@@ -21,6 +21,9 @@ en:
21
21
  scope_id: Scope
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Budget
26
+ other: Budgets
24
27
  decidim/budgets/project:
25
28
  one: Project
26
29
  other: Projects
@@ -100,6 +103,9 @@ en:
100
103
  pending_orders: Pending votes
101
104
  select_for_implementation: Select for implementation
102
105
  selected: Selected
106
+ selected_options:
107
+ 'no': 'No'
108
+ 'yes': 'Yes'
103
109
  title: Projects
104
110
  update: Update
105
111
  update_scope_button: Update scope
@@ -21,6 +21,9 @@ es-MX:
21
21
  scope_id: Ámbito
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Presupuesto
26
+ other: Presupuestos
24
27
  decidim/budgets/project:
25
28
  one: Proyecto
26
29
  other: Proyectos
@@ -100,6 +103,9 @@ es-MX:
100
103
  pending_orders: Votos pendientes
101
104
  select_for_implementation: Seleccionado para implementar
102
105
  selected: Seleccionado
106
+ selected_options:
107
+ 'no': 'No'
108
+ 'yes': 'Sí'
103
109
  title: Proyectos
104
110
  update: Actualizar
105
111
  update_scope_button: Actualizar ámbito
@@ -21,6 +21,9 @@ es-PY:
21
21
  scope_id: Ámbito
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Presupuesto
26
+ other: Presupuestos
24
27
  decidim/budgets/project:
25
28
  one: Proyecto
26
29
  other: Proyectos
@@ -100,6 +103,9 @@ es-PY:
100
103
  pending_orders: Votos pendientes
101
104
  select_for_implementation: Seleccionado para implementar
102
105
  selected: Seleccionado
106
+ selected_options:
107
+ 'no': 'No'
108
+ 'yes': 'Sí'
103
109
  title: Proyectos
104
110
  update: Actualizar
105
111
  update_scope_button: Actualizar ámbito
@@ -21,6 +21,9 @@ es:
21
21
  scope_id: Ámbito
22
22
  activerecord:
23
23
  models:
24
+ decidim/budgets/budget:
25
+ one: Presupuesto
26
+ other: Presupuestos
24
27
  decidim/budgets/project:
25
28
  one: Proyecto
26
29
  other: Proyectos
@@ -100,6 +103,9 @@ es:
100
103
  pending_orders: Votos pendientes
101
104
  select_for_implementation: Seleccionado para implementar
102
105
  selected: Seleccionado
106
+ selected_options:
107
+ 'no': 'No'
108
+ 'yes': 'Sí'
103
109
  title: Proyectos
104
110
  update: Actualizar
105
111
  update_scope_button: Actualizar ámbito
@@ -362,7 +368,7 @@ es:
362
368
  budgets:
363
369
  budget_published:
364
370
  email_intro: 'Ya está activa la fase %{resource_title} para %{participatory_space_title}. Puedes verla desde esta página:'
365
- email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
371
+ email_outro: Has recibido esta notificación porque estás siguiendo el espacio "%{participatory_space_title}". Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
366
372
  email_subject: El componente %{resource_title} está ahora activo para %{participatory_space_title}.
367
373
  notification_title: El presupuesto <a href="%{resource_path}">%{resource_title}</a> en %{participatory_space_title} ya está activo.
368
374
  orders: