decidim-budgets 0.26.5 → 0.26.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/budgets/budgets_header/show.erb +1 -1
  3. data/app/controllers/decidim/budgets/admin/application_controller.rb +0 -2
  4. data/app/controllers/decidim/budgets/admin/attachment_collections_controller.rb +3 -1
  5. data/app/controllers/decidim/budgets/admin/attachments_controller.rb +7 -1
  6. data/app/controllers/decidim/budgets/admin/budgets_controller.rb +1 -1
  7. data/app/controllers/decidim/budgets/line_items_controller.rb +2 -2
  8. data/app/controllers/decidim/budgets/orders_controller.rb +1 -1
  9. data/app/controllers/decidim/budgets/projects_controller.rb +6 -2
  10. data/app/forms/decidim/budgets/admin/budget_form.rb +2 -1
  11. data/app/models/decidim/budgets/order.rb +1 -0
  12. data/app/views/decidim/budgets/admin/budgets/_form.html.erb +1 -1
  13. data/app/views/decidim/budgets/admin/budgets/edit.html.erb +1 -0
  14. data/app/views/decidim/budgets/admin/budgets/index.html.erb +1 -0
  15. data/app/views/decidim/budgets/admin/budgets/new.html.erb +1 -0
  16. data/app/views/decidim/budgets/admin/projects/edit.html.erb +1 -0
  17. data/app/views/decidim/budgets/admin/projects/index.html.erb +1 -0
  18. data/app/views/decidim/budgets/admin/projects/new.html.erb +1 -0
  19. data/app/views/decidim/budgets/admin/proposals_imports/new.html.erb +1 -0
  20. data/app/views/decidim/budgets/order_summary_mailer/order_summary.html.erb +1 -0
  21. data/app/views/decidim/budgets/projects/show.html.erb +1 -1
  22. data/config/environment.rb +0 -0
  23. data/config/locales/ar.yml +1 -1
  24. data/config/locales/ca.yml +1 -1
  25. data/config/locales/cs.yml +2 -2
  26. data/config/locales/de.yml +8 -3
  27. data/config/locales/el.yml +33 -1
  28. data/config/locales/es-MX.yml +3 -3
  29. data/config/locales/es-PY.yml +3 -3
  30. data/config/locales/es.yml +2 -2
  31. data/config/locales/eu.yml +5 -4
  32. data/config/locales/fa-IR.yml +1 -0
  33. data/config/locales/fi-plain.yml +1 -1
  34. data/config/locales/fi.yml +47 -47
  35. data/config/locales/fr-CA.yml +1 -1
  36. data/config/locales/fr.yml +1 -1
  37. data/config/locales/ga-IE.yml +1 -1
  38. data/config/locales/hu.yml +149 -2
  39. data/config/locales/id-ID.yml +1 -1
  40. data/config/locales/is-IS.yml +1 -2
  41. data/config/locales/it.yml +2 -2
  42. data/config/locales/ja.yml +2 -2
  43. data/config/locales/kaa.yml +11 -0
  44. data/config/locales/lb.yml +5 -3
  45. data/config/locales/lt.yml +1 -1
  46. data/config/locales/lv.yml +1 -1
  47. data/config/locales/nl.yml +2 -2
  48. data/config/locales/no.yml +1 -1
  49. data/config/locales/pl.yml +3 -1
  50. data/config/locales/pt-BR.yml +18 -1
  51. data/config/locales/pt.yml +3 -1
  52. data/config/locales/ru.yml +1 -1
  53. data/config/locales/sk.yml +1 -1
  54. data/config/locales/sv.yml +1 -1
  55. data/config/locales/tr-TR.yml +3 -1
  56. data/config/locales/uk.yml +2 -2
  57. data/config/locales/zh-CN.yml +3 -0
  58. data/config/locales/zh-TW.yml +326 -0
  59. data/lib/decidim/budgets/version.rb +1 -1
  60. data/lib/decidim/budgets/workflows/all.rb +1 -1
  61. data/lib/decidim/budgets/workflows/base.rb +1 -1
  62. metadata +15 -12
@@ -163,7 +163,7 @@ lb:
163
163
  rules:
164
164
  title: Budgetregeln
165
165
  title: Sie entscheiden über das Budget
166
- total_budget: Gesamtbudget
166
+ total_budget: Gesamtbudget; Gesamtetat
167
167
  total_projects: Stimmen insgesamt
168
168
  vote_threshold_percent_rule:
169
169
  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.
@@ -172,6 +172,8 @@ lb:
172
172
  projects_count:
173
173
  one: 1 Projekt
174
174
  other: "%{count} Projekte"
175
+ exit_modal:
176
+ close_modal: Dialog schließen
175
177
  filters:
176
178
  category: Kategorie
177
179
  scope: Umfang
@@ -182,12 +184,12 @@ lb:
182
184
  not_selected: Nicht ausgewählt
183
185
  selected: Ausgewählt
184
186
  filters_small_view:
185
- close_modal: Modal schließen
187
+ close_modal: Dialog schließen
186
188
  filter: Filter
187
189
  filter_by: Filtern nach
188
190
  unfold: Aufklappen
189
191
  order_progress:
190
- vote: Abstimmung
192
+ vote: Abstimmen
191
193
  order_selected_projects:
192
194
  remove: Löschen
193
195
  selected_projects:
@@ -239,7 +239,7 @@ lt:
239
239
  few: pasirinkti projektai
240
240
  many: pasirinkti projektai
241
241
  other: pasirinkti projektai
242
- view: Peržiūra
242
+ view: Peržiūrėti
243
243
  orders:
244
244
  highest_cost: Didžiausia kaina
245
245
  label: Rikiuoti projektus pagal
@@ -87,6 +87,7 @@ lv:
87
87
  description: Jūs jau esat nobalsojis par budžetu. Ja esat mainījis savas domas, varat %{cancel_link}.
88
88
  title: Balsojums par budžetu pabeigts
89
89
  title: Jūs lemjat par budžetu
90
+ total_budget: Kopējais budžets
90
91
  count:
91
92
  projects_count:
92
93
  zero: "%{count} projekti"
@@ -97,7 +98,6 @@ lv:
97
98
  scope: Darbības tvērums
98
99
  search: Meklēt
99
100
  filters_small_view:
100
- close_modal: Aizvērt modal
101
101
  filter: Filtrēt
102
102
  filter_by: Filtrēt pēc
103
103
  unfold: Atritināt
@@ -222,12 +222,12 @@ nl:
222
222
  not_selected: Niet geselecteerd
223
223
  selected: Geselecteerd
224
224
  filters_small_view:
225
- close_modal: Dialoogvenster sluiten
225
+ close_modal: Sluit venster
226
226
  filter: Filter
227
227
  filter_by: Filteren op
228
228
  unfold: Uitvouwen
229
229
  order_progress:
230
- vote: Stem
230
+ vote: Stemmen
231
231
  order_selected_projects:
232
232
  remove: Verwijderen
233
233
  selected_projects:
@@ -213,7 +213,7 @@
213
213
  not_selected: Ikke valgt
214
214
  selected: Valgt
215
215
  filters_small_view:
216
- close_modal: Lukk modal
216
+ close_modal: Lukk dialogboks
217
217
  filter: Filter
218
218
  filter_by: Filtrer etter
219
219
  unfold: Åpne
@@ -185,6 +185,8 @@ pl:
185
185
  few: "%{count} projekty"
186
186
  many: "%{count} projektów"
187
187
  other: "%{count} projektów"
188
+ exit_modal:
189
+ close_modal: Zamknij okno
188
190
  filters:
189
191
  category: Kategoria
190
192
  scope: Zakres
@@ -200,7 +202,7 @@ pl:
200
202
  filter_by: Filtruj według
201
203
  unfold: Rozwiń
202
204
  order_progress:
203
- vote: Głosuj
205
+ vote: Wspieranie
204
206
  order_selected_projects:
205
207
  remove: Usuń
206
208
  selected_projects:
@@ -13,14 +13,29 @@ pt-BR:
13
13
  decidim_scope_id: Âmbito
14
14
  description: Descrição
15
15
  proposal_ids: Propostas relacionadas
16
+ proposals: Propostas
16
17
  selected: Selecionado para implementação
17
18
  title: Título
19
+ proposals_import:
20
+ scope_id: Escopo
18
21
  activerecord:
19
22
  models:
20
23
  decidim/budgets/project:
21
24
  one: Projeto
22
25
  other: Projetos
23
26
  decidim:
27
+ admin:
28
+ filters:
29
+ projects:
30
+ category_id_eq:
31
+ label: Categoria
32
+ scope_id_eq:
33
+ label: Escopo
34
+ selected_at_null:
35
+ label: Selecionado
36
+ values:
37
+ 'false': Selecionado para implementação
38
+ 'true': Não selecionado para implementação
24
39
  budgets:
25
40
  actions:
26
41
  attachment_collections: Pastas
@@ -180,6 +195,8 @@ pt-BR:
180
195
  projects_count:
181
196
  one: 1 projeto
182
197
  other: "%{count} projetos"
198
+ exit_modal:
199
+ close_modal: Fechar modal
183
200
  filters:
184
201
  category: Categoria
185
202
  scope: Âmbito
@@ -201,7 +218,7 @@ pt-BR:
201
218
  selected_projects:
202
219
  one: projeto selecionado
203
220
  other: projetos selecionados
204
- view: Visão
221
+ view: Ver
205
222
  orders:
206
223
  highest_cost: Custo mais alto
207
224
  label: Ordenar projetos por
@@ -183,6 +183,8 @@ pt:
183
183
  projects_count:
184
184
  one: 1 projeto
185
185
  other: "%{count} projetos"
186
+ exit_modal:
187
+ close_modal: Fechar o modal
186
188
  filters:
187
189
  category: Categoria
188
190
  scope: Âmbito
@@ -193,7 +195,7 @@ pt:
193
195
  not_selected: Não seleccionado
194
196
  selected: Seleccionado
195
197
  filters_small_view:
196
- close_modal: Fechar modal
198
+ close_modal: Fechar o modal
197
199
  filter: Filtrar
198
200
  filter_by: Filtrar por
199
201
  unfold: Desdobrar
@@ -84,6 +84,7 @@ ru:
84
84
  description: Вы уже голосовали за бюджет. Если вы передумали, вы можете %{cancel_link}.
85
85
  title: Голосование по бюджету завершено
86
86
  title: Вы определяете бюджет
87
+ total_budget: Общий бюджет
87
88
  count:
88
89
  projects_count:
89
90
  one: 1 проект
@@ -95,7 +96,6 @@ ru:
95
96
  scope: Охват
96
97
  search: Поиск
97
98
  filters_small_view:
98
- close_modal: Закрыть окошко
99
99
  filter: Отобрать
100
100
  filter_by: 'Отобрать по признаку:'
101
101
  unfold: Развернуть
@@ -87,6 +87,7 @@ sk:
87
87
  description: Už ste hlasovali za rozpočet. Ak ste zmenili názor, môžete %{cancel_link}.
88
88
  title: Hlasovanie o rozpočte dokončené
89
89
  title: Vy rozhodujete o rozpočte
90
+ total_budget: Celkový rozpočet
90
91
  count:
91
92
  projects_count:
92
93
  one: 1 projekt
@@ -98,7 +99,6 @@ sk:
98
99
  scope: Rozsah
99
100
  search: Hľadať
100
101
  filters_small_view:
101
- close_modal: Zavrieť okno
102
102
  filter: Filter
103
103
  filter_by: Filtrovať podľa
104
104
  unfold: Rozbaliť
@@ -219,7 +219,7 @@ sv:
219
219
  not_selected: Inte vald
220
220
  selected: Valda
221
221
  filters_small_view:
222
- close_modal: Stäng fönstret
222
+ close_modal: Stäng fönster
223
223
  filter: Filtrera
224
224
  filter_by: Filtrera efter
225
225
  unfold: Veckla ut
@@ -172,6 +172,8 @@ tr:
172
172
  projects_count:
173
173
  one: 1 proje
174
174
  other: "%{count} proje"
175
+ exit_modal:
176
+ close_modal: Pencereyi kapat
175
177
  filters:
176
178
  category: Kategori
177
179
  scope: Kapsam
@@ -187,7 +189,7 @@ tr:
187
189
  filter_by: Şuna göre filtrele
188
190
  unfold: Aç
189
191
  order_progress:
190
- vote: Oy ver
192
+ vote: Oy
191
193
  order_selected_projects:
192
194
  remove: Kaldır
193
195
  selected_projects:
@@ -84,6 +84,7 @@ uk:
84
84
  description: Ви вже проголосували за бюджет. Якщо ви змінили свою думку, ви можете %{cancel_link}.
85
85
  title: Голосування щодо бюджету завершено
86
86
  title: Ви визначаєте бюджет
87
+ total_budget: Загальний бюджет
87
88
  count:
88
89
  projects_count:
89
90
  one: 1 проект
@@ -95,12 +96,11 @@ uk:
95
96
  scope: Обсяг
96
97
  search: Шукати
97
98
  filters_small_view:
98
- close_modal: Закрити віконце
99
99
  filter: Відібрати
100
100
  filter_by: 'Відібрати за ознакою:'
101
101
  unfold: Розгорнути
102
102
  order_progress:
103
- vote: Голосувати
103
+ vote: Проголосувати
104
104
  order_selected_projects:
105
105
  remove: Видалити
106
106
  selected_projects:
@@ -144,9 +144,12 @@ zh-CN:
144
144
  description: 您已经投票给了预算。如果您改变了主意,您可以 %{cancel_link}。
145
145
  title: 预算投票完成
146
146
  title: 您决定预算
147
+ total_budget: 预算总额
147
148
  count:
148
149
  projects_count:
149
150
  other: "%{count} 个项目"
151
+ exit_modal:
152
+ close_modal: 关闭模式
150
153
  filters:
151
154
  category: 类别
152
155
  scope: 范围
@@ -1 +1,327 @@
1
1
  zh-TW:
2
+ activemodel:
3
+ attributes:
4
+ budget:
5
+ decidim_scope_id: 範圍
6
+ description: 說明
7
+ title: 標題
8
+ total_budget: 總預算
9
+ weight: 排序位置
10
+ project:
11
+ budget_amount: 預算金額
12
+ decidim_category_id: 類別
13
+ decidim_scope_id: 範圍
14
+ description: 說明
15
+ proposal_ids: 相關提案
16
+ proposals: 提案
17
+ selected: 選定實施
18
+ title: 標題
19
+ proposals_import:
20
+ scope_id: 範圍
21
+ activerecord:
22
+ models:
23
+ decidim/budgets/project:
24
+ other: 專案
25
+ decidim:
26
+ admin:
27
+ filters:
28
+ projects:
29
+ category_id_eq:
30
+ label: 類別
31
+ scope_id_eq:
32
+ label: 範圍
33
+ selected_at_null:
34
+ label: 已選取
35
+ values:
36
+ 'false': 選定實施
37
+ 'true': 未選擇實施
38
+ budgets:
39
+ actions:
40
+ attachment_collections: 資料夾
41
+ attachments: 附件
42
+ confirm_destroy: 你確定要刪除這個專案嗎?
43
+ destroy: 刪除
44
+ edit: 編輯
45
+ edit_projects: 管理專案
46
+ import: 將提案匯入專案
47
+ new: 新增 %{name}
48
+ preview: 預覽
49
+ title: 操作
50
+ admin:
51
+ budgets:
52
+ create:
53
+ invalid: 建立預算時發生問題
54
+ success: 預算已成功建立
55
+ destroy:
56
+ invalid: 刪除此預算時出現問題
57
+ success: 預算已成功刪除
58
+ edit:
59
+ title: 編輯預算
60
+ update: 更新預算
61
+ index:
62
+ finished_orders: 已完成投票
63
+ pending_orders: 待審核投票
64
+ title: 預算
65
+ users_with_finished_orders: 已完成投票的使用者
66
+ users_with_pending_orders: 仍在等待投票的使用者
67
+ new:
68
+ create: 建立預算
69
+ title: 新增預算
70
+ update:
71
+ invalid: 此預算更新時出了問題
72
+ success: 預算已成功更新
73
+ exports:
74
+ projects: 專案
75
+ models:
76
+ budget:
77
+ name: 預算
78
+ project:
79
+ name: 專案
80
+ projects:
81
+ create:
82
+ invalid: 這個專案創建時出了問題
83
+ success: 專案建立成功
84
+ destroy:
85
+ success: 專案刪除成功
86
+ edit:
87
+ title: 編輯專案
88
+ update: 更新
89
+ index:
90
+ finished_orders: 已完成投票
91
+ pending_orders: 待審核投票
92
+ selected: 已選取
93
+ title: 專案
94
+ new:
95
+ create: 建立
96
+ title: 新專案
97
+ update:
98
+ invalid: 更新此專案時出現問題
99
+ success: 專案更新成功
100
+ proposals_imports:
101
+ create:
102
+ invalid: 將提案匯入專案時出現問題
103
+ success: "%{number} 個提案已成功匯入專案"
104
+ new:
105
+ create: 將提案匯入專案
106
+ default_budget: 預設預算
107
+ import_all_accepted_proposals: 導入所有已接受的提案
108
+ no_components: 在此參與空間中沒有其他提案元件可以將提案匯入到專案中。
109
+ origin_component_id: 原始元件
110
+ select_component: 請選擇一個組件
111
+ title: 導入提案
112
+ admin_log:
113
+ budget:
114
+ create: "%{user_name} 在 %{space_name} 空間創建了 %{resource_name} 預算。"
115
+ delete: "%{user_name} 刪除了 %{space_name} 空間中的 %{resource_name} 預算"
116
+ update: "%{user_name} 在 %{space_name} 空間更新了 %{resource_name} 預算"
117
+ project:
118
+ create: "%{user_name} 在 %{space_name} 空間中創建了 %{resource_name} 專案"
119
+ delete: "%{user_name} 刪除了 %{space_name} 空間中的 %{resource_name} 專案。"
120
+ update: "%{user_name} 更新了 %{space_name} 空間中的 %{resource_name} 專案。"
121
+ budget:
122
+ view: 查看所有預算專案
123
+ budget_information_modal:
124
+ back_to: 返回 %{component_name}
125
+ close_modal: 關閉視窗
126
+ continue: 繼續
127
+ more_information: 更多資訊
128
+ budget_list_item:
129
+ voting_finished: 您已在此預算中投票
130
+ voting_started: 你已經開始在這個預算中投票了
131
+ budgets_list:
132
+ cancel_order:
133
+ more_than_one: 刪除您對於 %{name} 的投票並重新開始
134
+ only_one: 刪除您的投票並重新開始。
135
+ finished_message: 您已完成投票流程。感謝您的參與!
136
+ highlighted_cta: 在 %{name} 上投票
137
+ if_change_opinion: 如果您改變了主意,您可以
138
+ my_budgets: 我的預算
139
+ progress: 完成投票
140
+ show: 檢視專案
141
+ vote: 投票
142
+ voted_on: 你已經對 %{links} 投票
143
+ limit_announcement:
144
+ cant_vote: 你無法在這個預算中進行投票。<a href="%{landing_path}">嘗試在其他預算中投票</a>。
145
+ limit_reached: 您在 %{links} 上有進行中的投票。若要對此預算進行投票,您必須<a href="%{landing_path}">刪除您目前的投票並重新開始</a>。
146
+ models:
147
+ budget:
148
+ fields:
149
+ name: 姓名
150
+ projects_count: 專案數量
151
+ total_budget: 總預算
152
+ project:
153
+ fields:
154
+ category: 類別
155
+ id: ID
156
+ title: 標題
157
+ order_summary_mailer:
158
+ order_summary:
159
+ selected_projects: '你選擇的專案如下:'
160
+ subject: 您已經在 %{space_name} 參與空間投票
161
+ voted_on_space: 您已對「%{space_name}」參與空間的「%{budget_name}」預算進行投票。
162
+ voted_on_space_with_scope: 您已在%{scope_type} 的%{scope_name} 中,對%{space_name} 參與空間的%{budget_name} 預算進行了投票。
163
+ projects:
164
+ budget_confirm:
165
+ are_you_sure: 如果您改變了主意,稍後可以更改您的選票。
166
+ cancel: 撤銷
167
+ confirm: 確認
168
+ description: 這些是您選擇納入預算的專案
169
+ title: 確認投票
170
+ budget_excess:
171
+ budget_excess:
172
+ description: 這個專案超出了預算上限,無法被加入。如果您願意,您可以刪除您已經選擇的一個專案,以便能夠根據您的偏好再次進行投票。
173
+ title: 已超過最高預算
174
+ close: 關閉
175
+ description: 這個專案超出了預算上限,無法被加入。如果您願意,您可以刪除您已經選擇的一個專案,以便能夠根據您的偏好再次進行投票。
176
+ ok: 好的
177
+ projects_excess:
178
+ description: 這個專案超出了最大項目數限制,無法被添加。如果你想的話,可以刪除你已經選擇的一個專案,以便根據你的偏好再次投票
179
+ title: 超過最大專案數量
180
+ budget_summary:
181
+ are_you_sure: 您確定要取消您的投票嗎?
182
+ assigned: '已指派:'
183
+ cancel_order: 刪除你的投票並重新開始
184
+ checked_out:
185
+ description: 你已經對預算表決投票了。如果你改變了主意,你可以%{cancel_link}。
186
+ title: 預算投票完成
187
+ minimum_projects_rule:
188
+ description: 您認為我們應該撥款給哪些專案?請選擇至少 %{minimum_number} 個您想要的專案,並根據您的偏好進行投票,以定義預算。
189
+ instruction: "<li>請選擇至少 %{minimum_number} 個您認為應該分配預算的項目,並根據您的喜好進行投票以定義預算。</li>"
190
+ projects_rule:
191
+ description: 你認為我們應該為哪些專案分配預算?請至少選擇 %{minimum_number} 個專案,最多可選擇 %{maximum_number} 個項目,並根據你的喜好投票以定義預算。
192
+ instruction: "<li>請至少選擇 %{minimum_number} 個至多 %{maximum_number} 個您想要的項專案,並根據您的喜好進行投票以定義預算。</li>"
193
+ projects_rule_maximum_only:
194
+ description: 你認為我們應該為哪些專案分配預算?請選擇最多 %{maximum_number} 個專案,根據你的喜好進行投票,來定義預算。
195
+ instruction: "\"<li>選擇最多 %{maximum_number} 個您想為其分配預算的專案,並根據您的喜好進行投票,以定義預算。</li>"
196
+ rules:
197
+ title: 預算規則
198
+ title: 你決定預算
199
+ total_budget: 總預算
200
+ total_projects: 總票數
201
+ vote_threshold_percent_rule:
202
+ description: 您覺得我們應該為哪些專案分配預算?為您想要的專案分配至少 %{minimum_budget} 的預算,並按照您的喜好進行投票以定義預算。
203
+ instruction: "\"<li>指派至少 %{minimum_budget} 的預算給您想支持的專案,然後根據您的喜好進行投票以制定預算。</li>"
204
+ count:
205
+ projects_count:
206
+ other: "%{count} 專案"
207
+ exit_modal:
208
+ cancel: 返回投票
209
+ close_modal: 關閉視窗
210
+ exit: 退出投票
211
+ message: 您的投票尚未被註冊,因為您尚未完成投票程序。您確定要退出投票嗎?
212
+ title: 您尚未投票
213
+ filters:
214
+ category: 類別
215
+ scope: 範圍
216
+ search: 搜尋
217
+ status: 狀態
218
+ status_values:
219
+ all: 全部
220
+ not_selected: 未選擇
221
+ selected: 已選取
222
+ filters_small_view:
223
+ close_modal: 關閉視窗
224
+ filter: 篩選
225
+ filter_by: 篩選條件
226
+ unfold: 展開
227
+ order_progress:
228
+ vote: 投票
229
+ order_selected_projects:
230
+ remove: 移除
231
+ selected_projects:
232
+ other: 已選擇的專案
233
+ view: 檢視
234
+ orders:
235
+ highest_cost: 最高成本
236
+ label: 專案排序方式
237
+ lowest_cost: 最低成本
238
+ most_voted: 最高票
239
+ random: 隨機順序
240
+ selected: 已選取
241
+ project:
242
+ add: 將專案 %{resource_name} 加入您的投票
243
+ remove: 從您的投票中移除專案 %{resource_name}
244
+ selected: 已選取
245
+ view: 檢視
246
+ votes:
247
+ other: 投票
248
+ you_voted: 你已投票支持此
249
+ project_budget_button:
250
+ add: 加入您的投票
251
+ add_descriptive: 將專案 %{resource_name} 加入您的投票
252
+ added: 加入您的投票
253
+ added_descriptive: 將專案 %{resource_name} 加入您的投票
254
+ projects_for: 專案 %{name}
255
+ show:
256
+ budget: 預算
257
+ view_all_projects: 檢視所有專案
258
+ components:
259
+ budgets:
260
+ actions:
261
+ comment: 評論
262
+ vote: 投票
263
+ name: 預算
264
+ settings:
265
+ global:
266
+ announcement: 公告
267
+ comments_enabled: 啟用評論功能
268
+ comments_max_length: 評論字數最大長度(若要使用預設值請輸入0)
269
+ form:
270
+ errors:
271
+ budget_voting_rule_only_one: 僅能啟用一個投票規則
272
+ budget_voting_rule_required: 必須啟用一種投票規則
273
+ landing_page_content: 預算網頁首頁
274
+ more_information_modal: 更多資訊彈出式視窗
275
+ projects_per_page: 每頁顯示專案
276
+ resources_permissions_enabled: 可為每個專案設定動作權限
277
+ scope_id: 範圍
278
+ scopes_enabled: 啟用範圍
279
+ title: 標題
280
+ total_budget: 總預算
281
+ vote_minimum_budget_projects_number: 最少需要投票的專案數量
282
+ vote_rule_minimum_budget_projects_enabled: '啟用規則:投票時需要投票的最少專案數量'
283
+ vote_rule_selected_projects_enabled: '啟用規則:最少和最多投票方案數量限制'
284
+ vote_rule_threshold_percent_enabled: '啟用規則: 最低預算百分比'
285
+ vote_selected_projects_maximum: 最多可以選擇的專案數量
286
+ vote_selected_projects_minimum: 最少可以選擇的專案數量
287
+ vote_threshold_percent: 投票門檻百分比
288
+ workflow: 工作流程
289
+ workflow_choices:
290
+ all: '全部投票:允許參與者投票所有預算。'
291
+ one: '僅限投一票: 參與者可以在任意預算中投票,但僅限投一票。'
292
+ step:
293
+ announcement: 公告
294
+ comments_blocked: 留言已封鎖
295
+ highlighted_heading: 突顯標題
296
+ landing_page_content: 預算網頁首頁
297
+ list_heading: 標題清單
298
+ more_information_modal: 更多資訊彈出式視窗
299
+ show_votes: 顯示投票
300
+ title: 標題
301
+ votes: 投票
302
+ votes_choices:
303
+ disabled: 投票已停用
304
+ enabled: 已啟用投票
305
+ finished: 投票已結束
306
+ events:
307
+ budgets:
308
+ budget_published:
309
+ email_intro: '現在 %{participatory_space_title} 的 %{resource_title} 預算已啟動,您可以從此頁面查看:'
310
+ email_outro: 你收到此通知是因為你正在追蹤 %{participatory_space_title}。你可以透過前面的連結停止接收通知。
311
+ email_subject: '%{participatory_space_title}」現在啟用了「%{resource_title}」預算。'
312
+ notification_title: <a href="%{resource_path}">%{resource_title}</a> 預算現在已經在 %{participatory_space_title} 上啟動
313
+ orders:
314
+ checkout:
315
+ error: 處理您的投票時出現問題。
316
+ success: 您的投票已成功接受
317
+ destroy:
318
+ error: 取消您的投票時出現問題
319
+ success: 您的投票已成功取消
320
+ resource_links:
321
+ included_proposals:
322
+ project_proposal: 此專案中包括的提案
323
+ statistics:
324
+ orders_count: 支援
325
+ projects_count: 專案
326
+ index:
327
+ confirmed_orders_count: 投票數
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-budgets version.
5
5
  module Budgets
6
6
  def self.version
7
- "0.26.5"
7
+ "0.26.8"
8
8
  end
9
9
  end
10
10
  end
@@ -11,7 +11,7 @@ module Decidim
11
11
  end
12
12
 
13
13
  # Users can vote in all budgets with this workflow.
14
- def vote_allowed?(resource, _consider_progress: true)
14
+ def vote_allowed?(resource, consider_progress: true) # rubocop:disable Lint/UnusedMethodArgument
15
15
  !voted?(resource)
16
16
  end
17
17
  end
@@ -40,7 +40,7 @@ module Decidim
40
40
  # Using `false` allow UI to offer users to discard votes in progress to start voting in another resource.
41
41
  #
42
42
  # Returns Boolean.
43
- def vote_allowed?(_resource, _consider_progress: true)
43
+ def vote_allowed?(_resource, consider_progress: true) # rubocop:disable Lint/UnusedMethodArgument
44
44
  raise StandardError, "Not implemented"
45
45
  end
46
46