decidim-budgets 0.28.0 → 0.28.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) 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/controllers/decidim/budgets/admin/projects_controller.rb +3 -2
  5. data/app/controllers/decidim/budgets/line_items_controller.rb +15 -9
  6. data/app/helpers/decidim/budgets/projects_helper.rb +1 -1
  7. data/app/packs/src/decidim/budgets/exit_handler.js +1 -1
  8. data/app/views/decidim/budgets/admin/budgets/edit.html.erb +2 -2
  9. data/app/views/decidim/budgets/admin/budgets/index.html.erb +8 -4
  10. data/app/views/decidim/budgets/admin/budgets/new.html.erb +2 -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 +3 -3
  13. data/app/views/decidim/budgets/admin/projects/index.html.erb +6 -4
  14. data/app/views/decidim/budgets/admin/projects/new.html.erb +3 -3
  15. data/app/views/decidim/budgets/admin/proposals_imports/new.html.erb +2 -2
  16. data/config/locales/ar.yml +7 -0
  17. data/config/locales/ca.yml +4 -1
  18. data/config/locales/cs.yml +3 -0
  19. data/config/locales/de.yml +5 -2
  20. data/config/locales/en.yml +3 -0
  21. data/config/locales/es-MX.yml +3 -0
  22. data/config/locales/es-PY.yml +3 -0
  23. data/config/locales/es.yml +4 -1
  24. data/config/locales/eu.yml +3 -0
  25. data/config/locales/fi-plain.yml +3 -0
  26. data/config/locales/fi.yml +3 -0
  27. data/config/locales/fr-CA.yml +3 -0
  28. data/config/locales/fr.yml +3 -0
  29. data/config/locales/he-IL.yml +1 -0
  30. data/config/locales/hu.yml +12 -0
  31. data/config/locales/ja.yml +3 -0
  32. data/config/locales/ko.yml +57 -0
  33. data/config/locales/pl.yml +76 -0
  34. data/config/locales/pt-BR.yml +62 -0
  35. data/config/locales/ru.yml +3 -0
  36. data/config/locales/sk.yml +3 -0
  37. data/config/locales/sq-AL.yml +50 -0
  38. data/config/locales/uk.yml +2 -0
  39. data/decidim-budgets.gemspec +41 -0
  40. data/lib/decidim/budgets/test/factories.rb +29 -14
  41. data/lib/decidim/budgets/version.rb +1 -1
  42. metadata +20 -19
  43. data/config/environment.rb +0 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89ac6c19faae87df68dfff2ed5c37e0a56e1416fed7b6861dd6aa0f243eecdfc
4
- data.tar.gz: 58596987df45b59f635011d3b248f2dc6208bdcaf9aec8704fc88a82de66174d
3
+ metadata.gz: f74010a6407721a22ccea55ff3000474e1d75020ea72f20fe86480ee3722a5f5
4
+ data.tar.gz: 140f5940e7d92c8d23f5723889d98d5a070eb4cf56610bdbe5c0c60daaf62e87
5
5
  SHA512:
6
- metadata.gz: fafc9329e7b11770f2c72eb06c682681887c8bbecb7b1db4d50268be3a8364f65f9810198e1fbcb5c670e03fbc1651cc2570ca4f0febb161f5a31730d1865f5d
7
- data.tar.gz: a72aaea943910985ec26837978526b25a6c2486cfa62e17ac4a60397c7ee403c7b483ddb79b9baebfa51676a24b90e8ef8f118042cbbaa713443ef0f943b9d3a
6
+ metadata.gz: ceee4dca8bcfd229a88593d87d571f1aa8620ce33fe055a22e517e8c6048059dd18393995a8f0ed12b606233d72bc7530c06c168ae0e3bf5f498191796e27e05
7
+ data.tar.gz: ec189ca3f9e9b98c057fdc0e711a5ea504fa794d26c2187a9f7df1a8f23472a1c382da29756ad7baeb3577e9212e476389611ecaf3ebd9f1c76c5b179bb6edd9
@@ -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="card__highlight-text md:w-[70%] p-0">
3
3
  <%= link_to resource_path, class: "p-4" do %>
4
4
  <h3 class="h3 text-secondary inline-block align-middle">
5
- <%= translated_attribute(title) %>
5
+ <%= decidim_escape_translated(title) %>
6
6
  </h3>
7
7
  <% if voted? %>
8
8
  <%= icon "check-double-line", class: "inline-block align-middle fill-success ml-2 h-[1.5em] w-[1.5em]" %>
@@ -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:
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:)
46
- @form = form(ProjectForm).from_model(project)
47
+ @form = form(ProjectForm).from_model(project, 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:, 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
@@ -162,7 +162,7 @@ module Decidim
162
162
  references = Budget.joins(:component)
163
163
  .where(component: { participatory_space: current_participatory_space }).order(weight: :asc)
164
164
  references.map do |budget|
165
- ["#{"&nbsp;" * 4} #{translated_attribute(budget.title)}".html_safe, budget.id]
165
+ ["#{"&nbsp;" * 4} #{decidim_escape_translated(budget.title)}".html_safe, budget.id]
166
166
  end
167
167
  end
168
168
  end
@@ -68,7 +68,7 @@ $(() => {
68
68
  }
69
69
 
70
70
  $exitLink.attr("href", url);
71
- $exitLink.html(exitLinkText);
71
+ $exitLink.text(exitLinkText);
72
72
  window.Decidim.currentDialogs["exit-notification"].open();
73
73
  };
74
74
 
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,7 +1,7 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
6
  <% if allowed_to? :export, :budget %>
7
7
  <%= export_dropdown %>
@@ -13,7 +13,7 @@
13
13
  <%= link_to t("actions.new_budget", scope: "decidim.budgets"), new_budget_path, class: "button button__sm button__secondary" if allowed_to? :create, :budget %>
14
14
  </div>
15
15
  <%= render partial: "decidim/admin/components/resource_action" %>
16
- </h2>
16
+ </h1>
17
17
  </div>
18
18
  <div class="table-scroll">
19
19
  <table class="table-list">
@@ -22,7 +22,9 @@
22
22
  <th><%= t("models.budget.fields.name", scope: "decidim.budgets") %></th>
23
23
  <th><%= t("models.budget.fields.total_budget", scope: "decidim.budgets") %></th>
24
24
  <th><%= t("models.budget.fields.projects_count", scope: "decidim.budgets") %></th>
25
- <%= th_resource_scope_label %>
25
+ <% if current_component.has_subscopes? %>
26
+ <%= th_resource_scope_label %>
27
+ <% end %>
26
28
  <th class="actions"><%= t("actions.title", scope: "decidim.budgets") %></th>
27
29
  </tr>
28
30
  </thead>
@@ -42,7 +44,9 @@
42
44
  <td>
43
45
  <%= link_to budget.projects.count, budget_projects_path(budget) %>
44
46
  </td>
45
- <%= td_resource_scope_for(budget.scope) %>
47
+ <% if current_component.has_subscopes? %>
48
+ <%= td_resource_scope_for(budget.scope) %>
49
+ <% end %>
46
50
  <td class="table-list__actions">
47
51
  <% if allowed_to? :update, :budget, budget: budget %>
48
52
  <%= icon_link_to "pencil-line", edit_budget_path(budget), t("actions.edit", scope: "decidim.budgets"), class: "action-icon--edit" %>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
3
+ <h1 class="item_show__header-title">
4
4
  <%= t(".title") %>
5
- </h2>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -17,15 +17,17 @@
17
17
  <%= translated_attribute project.category.name %>
18
18
  <% end %>
19
19
  </td>
20
- <%= td_resource_scope_for(project.scope) %>
20
+ <% if current_component.has_subscopes? %>
21
+ <%= td_resource_scope_for(project.scope) %>
22
+ <% end %>
21
23
  <td>
22
24
  <%= project.confirmed_orders_count %>
23
25
  </td>
24
26
  <td>
25
27
  <% if project.selected? %>
26
- <%= content_tag :strong, t("projects.index.selected", scope: "decidim.budgets.admin"), class: "text-success" %>
28
+ <%= content_tag :strong, t("yes", scope: "decidim.budgets.admin.projects.index.selected_options"), class: "label success" %>
27
29
  <% else %>
28
- <%= content_tag :span, "close-line", class: "text-muted" %>
30
+ <%= content_tag :strong, t("no", scope: "decidim.budgets.admin.projects.index.selected_options"), class: "label" %>
29
31
  <% end %>
30
32
  </td>
31
33
  <td class="table-list__actions">
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title("#{translated_attribute(budget.title)} - #{t(".title")}") %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
4
- <%= "#{translated_attribute(budget.title)} #{t(".title")}" %>
5
- </h2>
3
+ <h1 class="item_show__header-title">
4
+ <%= "#{decidim_escape_translated(budget.title)} #{t(".title")}" %>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,14 +1,14 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
  <div class="card">
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
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>
10
10
  <%= render partial: "bulk-actions" %>
11
- </h2>
11
+ </h1>
12
12
  </div>
13
13
  <%= admin_filter_selector(:projects) %>
14
14
  <div class="table-scroll">
@@ -19,7 +19,9 @@
19
19
  <th><%= sort_link(query, :id, t("models.project.fields.id", scope: "decidim.budgets"), default_order: :desc) %></th>
20
20
  <th class="!text-left"><%= sort_link(query, :title, t("models.project.fields.title", scope: "decidim.budgets")) %></th>
21
21
  <th><%= sort_link(query, :category_name, t("models.project.fields.category", scope: "decidim.budgets") ) %></th>
22
- <%= th_scope_sort_link %>
22
+ <% if current_component.has_subscopes? %>
23
+ <%= th_scope_sort_link %>
24
+ <% end %>
23
25
  <th><%= sort_link(query, :confirmed_orders_count, t("index.confirmed_orders_count")) %></th>
24
26
  <th><%= sort_link(query, :selected, t(".selected")) %></th>
25
27
  <th class="actions"><%= t("actions.title", scope: "decidim.budgets") %></th>
@@ -1,8 +1,8 @@
1
1
  <% add_decidim_page_title("#{translated_attribute(budget.title)} - #{t(".title")}") %>
2
2
  <div class="item_show__header">
3
- <h2 class="item_show__header-title">
4
- <%= "#{translated_attribute(budget.title)} &gt; #{t(".title")}".html_safe %>
5
- </h2>
3
+ <h1 class="item_show__header-title">
4
+ <%= "#{decidim_escape_translated(budget.title)} &gt; #{t(".title")}".html_safe %>
5
+ </h1>
6
6
  </div>
7
7
  <div class="item__edit item__edit-1col">
8
8
  <div class="item__edit-form">
@@ -1,9 +1,9 @@
1
1
  <% add_decidim_page_title(t(".title")) %>
2
2
 
3
3
  <div class="item_show__header">
4
- <h2 class="item_show__header-title">
4
+ <h1 class="item_show__header-title">
5
5
  <%= t(".title") %>
6
- </h2>
6
+ </h1>
7
7
  </div>
8
8
 
9
9
  <div class="item__edit item__edit-1col">
@@ -60,7 +60,12 @@ ar:
60
60
  change_category: تغيير الفئة
61
61
  finished_orders: الانتهاء من الأصوات
62
62
  pending_orders: في انتظار الأصوات
63
+ selected_options:
64
+ 'no': 'لا'
65
+ 'yes': 'نعم'
63
66
  title: مشاريع
67
+ update: تحديث
68
+ update_budget_button: تحديث ميزانية المشروع
64
69
  new:
65
70
  create: إنشاء
66
71
  title: مشروع جديد
@@ -78,6 +83,8 @@ ar:
78
83
  budget_information_modal:
79
84
  continue: مواصلة
80
85
  more_information: المزيد من المعلومات
86
+ budgets_list:
87
+ budgets: الميزانيات
81
88
  models:
82
89
  budget:
83
90
  fields:
@@ -105,6 +105,9 @@ ca:
105
105
  pending_orders: Vots en procés
106
106
  select_for_implementation: Seleccionat per implementar
107
107
  selected: Seleccionat
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Sí'
108
111
  title: Projectes
109
112
  update: Actualitzar
110
113
  update_budget_button: Actualitzar el pressupost del projecte
@@ -358,7 +361,7 @@ ca:
358
361
  budgets:
359
362
  budget_published:
360
363
  email_intro: 'Ja està activa la fase %{resource_title} per a %{participatory_space_title}. Pots veure-la des d''aquesta pàgina:'
361
- 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.
364
+ 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.
362
365
  email_subject: El component %{resource_title} ja està actiu per %{participatory_space_title}.
363
366
  notification_title: El pressupost <a href="%{resource_path}">%{resource_title}</a> a %{participatory_space_title} ja està actiu.
364
367
  orders:
@@ -109,6 +109,9 @@ cs:
109
109
  pending_orders: Čeká na hlasování
110
110
  select_for_implementation: Vybrat pro implementaci
111
111
  selected: Vybrané
112
+ selected_options:
113
+ 'no': 'Ne'
114
+ 'yes': 'Ano'
112
115
  title: Projekty
113
116
  update: Aktualizovat
114
117
  update_budget_button: Aktualizovat rozpočet projektu
@@ -105,6 +105,9 @@ de:
105
105
  pending_orders: Ausstehende Stimmen
106
106
  select_for_implementation: Zur Umsetzung auswählen
107
107
  selected: Ausgewählt
108
+ selected_options:
109
+ 'no': 'Nein'
110
+ 'yes': 'Ja'
108
111
  title: Projekte
109
112
  update: Aktualisieren
110
113
  update_budget_button: Projektbudget aktualisieren
@@ -212,7 +215,7 @@ de:
212
215
  voted_on_space_with_scope: Sie haben für das %{budget_name} Budget for the %{space_name} innerhalb %{scope_name} (%{scope_type}) abgestimmt.
213
216
  projects:
214
217
  budget_confirm:
215
- are_you_sure: Wenn du deine Meinung änderst, kannst du deine Stimme nachträglich ändern.
218
+ are_you_sure: Wenn Sie Ihre Meinung ändern, können Sie Ihre Stimme nachträglich ändern.
216
219
  cancel: Abbrechen
217
220
  confirm: Bestätigen
218
221
  description: Dies sind die Projekte, die Sie für das Budget ausgewählt haben.
@@ -376,4 +379,4 @@ de:
376
379
  orders_count: Projektauswahlen
377
380
  projects_count: Projekte
378
381
  index:
379
- confirmed_orders_count: Stimmen zählen
382
+ confirmed_orders_count: Anzahl Stimmen
@@ -105,6 +105,9 @@ en:
105
105
  pending_orders: Pending votes
106
106
  select_for_implementation: Select for implementation
107
107
  selected: Selected
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Yes'
108
111
  title: Projects
109
112
  update: Update
110
113
  update_budget_button: Update project's budget
@@ -105,6 +105,9 @@ es-MX:
105
105
  pending_orders: Votos pendientes
106
106
  select_for_implementation: Seleccionado para implementar
107
107
  selected: Seleccionado
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Sí'
108
111
  title: Proyectos
109
112
  update: Actualizar
110
113
  update_budget_button: Actualizar el presupuesto del proyecto
@@ -105,6 +105,9 @@ es-PY:
105
105
  pending_orders: Votos pendientes
106
106
  select_for_implementation: Seleccionado para implementar
107
107
  selected: Seleccionado
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Sí'
108
111
  title: Proyectos
109
112
  update: Actualizar
110
113
  update_budget_button: Actualizar el presupuesto del proyecto
@@ -105,6 +105,9 @@ es:
105
105
  pending_orders: Votos pendientes
106
106
  select_for_implementation: Seleccionado para implementar
107
107
  selected: Seleccionado
108
+ selected_options:
109
+ 'no': 'No'
110
+ 'yes': 'Sí'
108
111
  title: Proyectos
109
112
  update: Actualizar
110
113
  update_budget_button: Actualizar el presupuesto del proyecto
@@ -358,7 +361,7 @@ es:
358
361
  budgets:
359
362
  budget_published:
360
363
  email_intro: 'Ya está activa la fase %{resource_title} para %{participatory_space_title}. Puedes verla desde esta página:'
361
- email_outro: Has recibido esta notificación porque estás siguiendo %{participatory_space_title}. Puedes dejar de recibir notificaciones siguiendo el enlace anterior.
364
+ 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.
362
365
  email_subject: El componente %{resource_title} está ahora activo para %{participatory_space_title}.
363
366
  notification_title: El presupuesto <a href="%{resource_path}">%{resource_title}</a> en %{participatory_space_title} ya está activo.
364
367
  orders:
@@ -105,6 +105,9 @@ eu:
105
105
  pending_orders: Zain dauden botoak
106
106
  select_for_implementation: Hautatu gauzatzeko
107
107
  selected: Hautatua
108
+ selected_options:
109
+ 'no': 'Ez'
110
+ 'yes': 'Bai'
108
111
  title: Proiektuak
109
112
  update: Eguneratu
110
113
  update_budget_button: Eguneratu proiektuaren aurrekontua
@@ -105,6 +105,9 @@ fi-pl:
105
105
  pending_orders: Odottavat äänet
106
106
  select_for_implementation: Valittu toteutukseen
107
107
  selected: Valittu
108
+ selected_options:
109
+ 'no': 'Ei'
110
+ 'yes': 'Kyllä'
108
111
  title: Suunnitelmat
109
112
  update: Päivitä
110
113
  update_budget_button: Päivitä hankkeen budjetti
@@ -105,6 +105,9 @@ fi:
105
105
  pending_orders: Odottavat äänet
106
106
  select_for_implementation: Valittu toteutukseen
107
107
  selected: Valittu
108
+ selected_options:
109
+ 'no': 'Ei'
110
+ 'yes': 'Kyllä'
108
111
  title: Hankkeet
109
112
  update: Päivitä
110
113
  update_budget_button: Päivitä hankkeen budjetti
@@ -105,6 +105,9 @@ fr-CA:
105
105
  pending_orders: Votes en cours
106
106
  select_for_implementation: Sélectionné pour implémentation
107
107
  selected: Sélectionné
108
+ selected_options:
109
+ 'no': 'Non'
110
+ 'yes': 'Oui'
108
111
  title: Projets
109
112
  update: Mettre à jour
110
113
  update_budget_button: Mettre à jour le budget du projet
@@ -105,6 +105,9 @@ fr:
105
105
  pending_orders: Votes en cours
106
106
  select_for_implementation: Sélectionné pour implémentation
107
107
  selected: Sélectionné
108
+ selected_options:
109
+ 'no': 'Non'
110
+ 'yes': 'Oui'
108
111
  title: Projets
109
112
  update: Mettre à jour
110
113
  update_budget_button: Mettre à jour le budget du projet
@@ -0,0 +1 @@
1
+ he:
@@ -46,6 +46,8 @@ hu:
46
46
  edit: Szerkesztés
47
47
  edit_projects: Projektek kezelése
48
48
  import: Javaslatok importálása projektekhez
49
+ new_budget: Új költségvetés
50
+ new_project: Új projekt
49
51
  preview: Előnézet
50
52
  send_voting_reminders: Szavazási emlékeztetők kiküldése
51
53
  title: Műveletek
@@ -91,6 +93,7 @@ hu:
91
93
  index:
92
94
  actions: Műveletek
93
95
  cancel: Mégsem
96
+ change_budget: Költségvetés megváltoztatása
94
97
  change_category: Kategória módosítása
95
98
  change_scope: Hatáskör megváltoztatása
96
99
  change_selected: Kijelölés módosítása
@@ -99,8 +102,11 @@ hu:
99
102
  pending_orders: Függőben lévő szavazások
100
103
  select_for_implementation: Kijelölés megvalósításra
101
104
  selected: Kiválasztva
105
+ selected_options:
106
+ 'yes': 'Igen'
102
107
  title: Projektek
103
108
  update: Frissítés
109
+ update_budget_button: A projekt költségvetésének frissítése
104
110
  update_scope_button: Hatáskör frissítése
105
111
  new:
106
112
  create: Létrehozás
@@ -108,6 +114,9 @@ hu:
108
114
  update:
109
115
  invalid: Probléma történt a projekt frissítése során.
110
116
  success: Projekt frissítése sikeres.
117
+ update_budget:
118
+ select_a_project: Kérem, válasszon projektet.
119
+ success: 'A projektek sikeresen frissültek a(z) %{subject_name} költségvetésre: %{projects}.'
111
120
  update_category:
112
121
  invalid: 'Ezeknek a javaslatoknak már megvolt a(z) %{subject_name} kategóriája: %{projects}.'
113
122
  select_a_category: Kérlek, válassz kategóriát.
@@ -136,6 +145,7 @@ hu:
136
145
  no_components: Ebben a részvételi térben nincs más javaslat-összetevő a javaslatok projektekbe való importálásához.
137
146
  origin_component_id: A komponens származása
138
147
  select_component: Válassz ki egy elemet
148
+ title: Javaslatok importálása projektekhez
139
149
  reminders:
140
150
  orders:
141
151
  description: A felhasználók egy e-mailt kapnak, amely linkeket tartalmaz a költségvetésekre, ahol függőben lévő sorrendjük van.
@@ -219,6 +229,7 @@ hu:
219
229
  projects_count:
220
230
  one: 1 projekt
221
231
  other: "%{count} projektek"
232
+ empty: Még nincsenek projektek
222
233
  exit_modal:
223
234
  cancel: Vissza a szavazáshoz
224
235
  exit: Kilépés a szavazásból
@@ -273,6 +284,7 @@ hu:
273
284
  select_projects: Projektek kiválasztása
274
285
  show:
275
286
  budget: Költségvetés
287
+ prompt: Költségvetés választása
276
288
  vote_reminder_mailer:
277
289
  vote_reminder:
278
290
  email_budgets: 'Nem fejezte be a szavazat leadását itt:'
@@ -103,6 +103,9 @@ ja:
103
103
  pending_orders: 保留中の投票
104
104
  select_for_implementation: 実装のために選択
105
105
  selected: 選択済
106
+ selected_options:
107
+ 'no': 'いいえ'
108
+ 'yes': 'はい'
106
109
  title: プロジェクト
107
110
  update: 更新
108
111
  update_budget_button: プロジェクトの予算を更新
@@ -1 +1,58 @@
1
+ ---
1
2
  ko:
3
+ activemodel:
4
+ attributes:
5
+ budget:
6
+ decidim_scope_id: 범위
7
+ description: 상세정보
8
+ title: 제목
9
+ project:
10
+ decidim_category_id: 카테고리
11
+ decidim_scope_id: 범위
12
+ description: 상세정보
13
+ proposal_ids: 포함된 제안
14
+ proposals: 제안
15
+ title: 제목
16
+ proposals_import:
17
+ scope_id: 범위
18
+ activerecord:
19
+ models:
20
+ decidim/budgets/project:
21
+ other: 프로젝트
22
+ decidim:
23
+ admin:
24
+ filters:
25
+ projects:
26
+ category_id_eq:
27
+ label: 카테고리
28
+ scope_id_eq:
29
+ label: 범위
30
+ selected_at_null:
31
+ label: 선택됨
32
+ budgets:
33
+ actions:
34
+ attachment_collections: 폴더
35
+ attachments: 첨부 파일
36
+ admin:
37
+ projects:
38
+ create:
39
+ success: 프로젝트가 성공적으로 생성되었습니다.
40
+ destroy:
41
+ success: 프로젝트가 성공적으로 삭제되었습니다.
42
+ edit:
43
+ title: 프로젝트 수정
44
+ update: 업데이트
45
+ index:
46
+ actions: 작업
47
+ cancel: 취소
48
+ change_category: 카테고리 변경
49
+ change_scope: 범위 변경
50
+ title: 프로젝트
51
+ update: 업데이트
52
+ update_scope_button: 범위 업데이트
53
+ new:
54
+ create: 생성하기
55
+ title: 새 프로젝트
56
+ update:
57
+ invalid: 이 프로젝트를 업데이트하는 동안 문제가 발생했습니다.
58
+ success: 프로젝트가 성공적으로 업데이트되었습니다.