decidim-consultations 0.26.8 → 0.27.0.rc1
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/app/cells/decidim/consultations/consultation_m_cell.rb +3 -1
- data/app/cells/decidim/consultations/content_blocks/highlighted_consultations/show.erb +2 -2
- data/app/commands/decidim/consultations/admin/create_consultation.rb +1 -1
- data/app/commands/decidim/consultations/admin/create_question.rb +1 -1
- data/app/commands/decidim/consultations/admin/create_response.rb +1 -1
- data/app/commands/decidim/consultations/admin/create_response_group.rb +1 -1
- data/app/commands/decidim/consultations/admin/destroy_response_group.rb +1 -1
- data/app/commands/decidim/consultations/admin/publish_consultation.rb +1 -1
- data/app/commands/decidim/consultations/admin/publish_consultation_results.rb +1 -1
- data/app/commands/decidim/consultations/admin/publish_question.rb +1 -1
- data/app/commands/decidim/consultations/admin/unpublish_consultation.rb +1 -1
- data/app/commands/decidim/consultations/admin/unpublish_consultation_results.rb +1 -1
- data/app/commands/decidim/consultations/admin/unpublish_question.rb +1 -1
- data/app/commands/decidim/consultations/admin/update_consultation.rb +1 -1
- data/app/commands/decidim/consultations/admin/update_question.rb +1 -1
- data/app/commands/decidim/consultations/admin/update_question_configuration.rb +1 -1
- data/app/commands/decidim/consultations/admin/update_response.rb +1 -1
- data/app/commands/decidim/consultations/admin/update_response_group.rb +1 -1
- data/app/commands/decidim/consultations/multiple_vote_question.rb +1 -1
- data/app/commands/decidim/consultations/unvote_question.rb +1 -1
- data/app/commands/decidim/consultations/vote_question.rb +1 -1
- data/app/controllers/decidim/consultations/consultations_controller.rb +5 -12
- data/app/forms/decidim/consultations/admin/consultation_form.rb +1 -1
- data/app/helpers/decidim/consultations/consultations_helper.rb +1 -1
- data/app/helpers/decidim/consultations/questions_helper.rb +3 -3
- data/app/models/decidim/consultation.rb +9 -3
- data/app/permissions/decidim/consultations/permissions.rb +1 -3
- data/app/presenters/decidim/consultations/question_stats_presenter.rb +4 -2
- data/app/queries/decidim/consultations/admin/admin_users.rb +1 -1
- data/app/queries/decidim/consultations/organization_active_consultations.rb +1 -1
- data/app/queries/decidim/consultations/organization_consultations.rb +1 -1
- data/app/queries/decidim/consultations/organization_questions.rb +1 -1
- data/app/views/decidim/consultations/_consultation.html.erb +1 -1
- data/app/views/decidim/consultations/admin/consultations/_form.html.erb +1 -1
- data/app/views/decidim/consultations/admin/consultations/edit.html.erb +0 -1
- data/app/views/decidim/consultations/admin/consultations/index.html.erb +0 -2
- data/app/views/decidim/consultations/admin/consultations/new.html.erb +0 -1
- data/app/views/decidim/consultations/admin/question_configuration/_form.html.erb +1 -1
- data/app/views/decidim/consultations/admin/questions/_form.html.erb +3 -3
- data/app/views/decidim/consultations/admin/questions/edit.html.erb +0 -1
- data/app/views/decidim/consultations/admin/questions/index.html.erb +0 -2
- data/app/views/decidim/consultations/admin/questions/new.html.erb +0 -1
- data/app/views/decidim/consultations/admin/responses/edit.html.erb +0 -1
- data/app/views/decidim/consultations/admin/responses/index.html.erb +0 -1
- data/app/views/decidim/consultations/admin/responses/new.html.erb +0 -1
- data/app/views/decidim/consultations/consultations/_consultation_card.html.erb +1 -1
- data/app/views/decidim/consultations/consultations/_consultation_details.html.erb +2 -2
- data/app/views/decidim/consultations/consultations/_filters.html.erb +4 -4
- data/app/views/decidim/consultations/consultations/_question.html.erb +2 -2
- data/app/views/decidim/consultations/consultations/index.html.erb +3 -1
- data/app/views/decidim/consultations/question_multiple_votes/_voting_rules.html.erb +3 -1
- data/app/views/decidim/consultations/questions/_vote_button.html.erb +3 -1
- data/app/views/decidim/consultations/questions/_vote_modal.html.erb +1 -1
- data/app/views/decidim/consultations/questions/_vote_modal_confirm.html.erb +1 -0
- data/app/views/decidim/consultations/questions/show.html.erb +6 -4
- data/app/views/layouts/decidim/_consultation_header.html.erb +1 -1
- data/app/views/layouts/decidim/_question_header.html.erb +2 -2
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +2 -22
- data/config/locales/bg.yml +1 -0
- data/config/locales/ca.yml +2 -5
- data/config/locales/cs.yml +3 -6
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +2 -5
- data/config/locales/el.yml +1 -11
- data/config/locales/en.yml +1 -5
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +2 -5
- data/config/locales/es-PY.yml +2 -5
- data/config/locales/es.yml +2 -5
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +2 -2
- data/config/locales/fi-plain.yml +2 -5
- data/config/locales/fi.yml +2 -5
- data/config/locales/fr-CA.yml +3 -6
- data/config/locales/fr.yml +4 -7
- data/config/locales/ga-IE.yml +1 -1
- data/config/locales/gl.yml +2 -1
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +2 -11
- data/config/locales/id-ID.yml +1 -1
- data/config/locales/is-IS.yml +2 -1
- data/config/locales/it.yml +1 -1
- data/config/locales/ja.yml +2 -5
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +1 -3
- data/config/locales/lt.yml +1 -394
- data/config/locales/lv.yml +1 -1
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +2 -2
- data/config/locales/no.yml +1 -1
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +1 -1
- data/config/locales/pt-BR.yml +2 -2
- data/config/locales/pt.yml +1 -1
- data/config/locales/ro-RO.yml +2 -5
- data/config/locales/ru.yml +1 -3
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +1 -1
- data/config/locales/sl.yml +1 -0
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -0
- data/config/locales/sv.yml +2 -5
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +1 -1
- data/config/locales/uk.yml +1 -3
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +1 -1
- data/config/locales/zh-TW.yml +1 -368
- data/lib/decidim/consultations/participatory_space.rb +7 -7
- data/lib/decidim/consultations/version.rb +1 -1
- metadata +14 -23
- data/app/scrubbers/decidim/consultations/question_title_scrubber.rb +0 -17
- data/app/services/decidim/consultations/consultation_search.rb +0 -51
- data/config/environment.rb +0 -0
- data/config/locales/fa-IR.yml +0 -1
- data/config/locales/gn-PY.yml +0 -1
- data/config/locales/ka-GE.yml +0 -1
- data/config/locales/kaa.yml +0 -15
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
data/config/locales/si-LK.yml
CHANGED
data/config/locales/sk.yml
CHANGED
data/config/locales/sl.yml
CHANGED
data/config/locales/so-SO.yml
CHANGED
data/config/locales/sr-CS.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
sv:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -251,9 +252,9 @@ sv:
|
|
251
252
|
filters:
|
252
253
|
active: Aktiv
|
253
254
|
all: Alla
|
255
|
+
date: Datum
|
254
256
|
finished: Avslutade
|
255
257
|
search: Sök
|
256
|
-
state: Status
|
257
258
|
upcoming: Kommande
|
258
259
|
filters_small_view:
|
259
260
|
close_modal: Stäng fönstret
|
@@ -361,10 +362,6 @@ sv:
|
|
361
362
|
actions:
|
362
363
|
comment: Kommentera
|
363
364
|
vote: Rösta
|
364
|
-
question:
|
365
|
-
actions:
|
366
|
-
comment: Kommentera
|
367
|
-
vote: Rösta
|
368
365
|
statistics:
|
369
366
|
consultations_count: Samråd
|
370
367
|
votes_count: Röster
|
data/config/locales/sw-KE.yml
CHANGED
data/config/locales/ti-ER.yml
CHANGED
data/config/locales/tr-TR.yml
CHANGED
data/config/locales/uk.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
uk:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -203,7 +204,6 @@ uk:
|
|
203
204
|
all: Усі
|
204
205
|
finished: Завершені
|
205
206
|
search: Шукати
|
206
|
-
state: Стан
|
207
207
|
upcoming: Прийдешні
|
208
208
|
filters_small_view:
|
209
209
|
close_modal: Закрити вікно
|
@@ -214,8 +214,6 @@ uk:
|
|
214
214
|
title: Питання з %{scope_name}
|
215
215
|
index:
|
216
216
|
title: Консультації
|
217
|
-
last_activity:
|
218
|
-
new_consultation: Додати консультацію
|
219
217
|
pages:
|
220
218
|
home:
|
221
219
|
highlighted_consultations:
|
data/config/locales/val-ES.yml
CHANGED
data/config/locales/vi.yml
CHANGED
data/config/locales/zh-CN.yml
CHANGED
data/config/locales/zh-TW.yml
CHANGED
@@ -1,369 +1,2 @@
|
|
1
|
+
---
|
1
2
|
zh-TW:
|
2
|
-
activemodel:
|
3
|
-
attributes:
|
4
|
-
consultation:
|
5
|
-
banner_image: 橫幅圖片
|
6
|
-
decidim_highlighted_scope_id: 重點關注範圍
|
7
|
-
description: 說明
|
8
|
-
end_voting_date: 投票截止
|
9
|
-
introductory_image: 介紹圖片
|
10
|
-
introductory_video_url: 介紹視訊URL
|
11
|
-
questions: 問題
|
12
|
-
slug: URL網址別名
|
13
|
-
start_voting_date: 開始投票
|
14
|
-
subtitle: 子標題
|
15
|
-
title: 標題
|
16
|
-
question:
|
17
|
-
banner_image: 橫幅圖片
|
18
|
-
decidim_scope_id: 市政區域
|
19
|
-
hashtag: 主題標籤
|
20
|
-
hero_image: 首頁圖片
|
21
|
-
i_frame_url: 外部投票系統網址
|
22
|
-
instructions: 投票的附加說明
|
23
|
-
max_votes: 最大投票數量
|
24
|
-
min_votes: 最小投票數量
|
25
|
-
origin_scope: 範圍
|
26
|
-
origin_title: 起源
|
27
|
-
origin_url: 原始網址
|
28
|
-
participatory_scope: 參與範圍
|
29
|
-
promoter_group: 促銷團隊
|
30
|
-
question_context: 上下文
|
31
|
-
reference: 參考
|
32
|
-
scope: 市政區域
|
33
|
-
slug: URL網址別名
|
34
|
-
subtitle: 子標題
|
35
|
-
vote: 外部投票系統
|
36
|
-
what_is_decided: 決定了什麼
|
37
|
-
response:
|
38
|
-
decidim_consultations_response_group_id: 群組
|
39
|
-
errors:
|
40
|
-
models:
|
41
|
-
question:
|
42
|
-
attributes:
|
43
|
-
max_votes:
|
44
|
-
lower_than_min: 最大投票數量應該高於或等於最小投票數量。
|
45
|
-
vote:
|
46
|
-
decidim_consultations_response_id:
|
47
|
-
not_found: 找不到回應。
|
48
|
-
activerecord:
|
49
|
-
errors:
|
50
|
-
models:
|
51
|
-
decidim/consultations/vote:
|
52
|
-
attributes:
|
53
|
-
question:
|
54
|
-
invalid_num_votes: 投票數無效。
|
55
|
-
models:
|
56
|
-
decidim/consultation:
|
57
|
-
other: 諮詢
|
58
|
-
decidim/consultations/question:
|
59
|
-
other: 問題
|
60
|
-
decidim/consultations/response:
|
61
|
-
other: "One\n回應\n\nOther\n回應"
|
62
|
-
decidim/consultations/vote:
|
63
|
-
other: 投票
|
64
|
-
decidim:
|
65
|
-
admin:
|
66
|
-
actions:
|
67
|
-
back_to_responses: 返回回覆
|
68
|
-
new_consultation: 新諮詢
|
69
|
-
new_question: 新問題
|
70
|
-
new_response: 新回覆
|
71
|
-
new_response_group: 新群組
|
72
|
-
publish_results: 發佈結果
|
73
|
-
response_groups: 管理回應群組
|
74
|
-
unpublish_results: 取消發佈結果
|
75
|
-
consultation_publications:
|
76
|
-
create:
|
77
|
-
error: 發布此諮詢時出現問題。
|
78
|
-
success: 諮詢成功發佈。
|
79
|
-
destroy:
|
80
|
-
error: 取消發佈此諮詢出現問題。
|
81
|
-
success: 諮詢已成功取消發布。
|
82
|
-
consultation_results_publications:
|
83
|
-
create:
|
84
|
-
error: 發佈此諮詢的結果時出現問題。
|
85
|
-
success: 諮詢結果成功發佈。
|
86
|
-
destroy:
|
87
|
-
error: 取消發佈此諮詢的結果出現問題。
|
88
|
-
success: 諮詢結果已成功取消發布。
|
89
|
-
consultations:
|
90
|
-
create:
|
91
|
-
error: 建立新諮詢時出現問題。
|
92
|
-
success: 諮詢已成功建立。
|
93
|
-
deprecation_warning: 諮詢模組將在不久的將來被棄用。我們正在開發下一個加密安全版本,名為 Votings。
|
94
|
-
edit:
|
95
|
-
update: 更新
|
96
|
-
form:
|
97
|
-
slug_help: 'URL slugs 用於產生指向此諮詢的網址。它只接受字母、數字和連字符,且必須以字母開頭。例如: %{url}'
|
98
|
-
title: 一般資訊
|
99
|
-
index:
|
100
|
-
not_published: 未發佈
|
101
|
-
published: 已發佈
|
102
|
-
new:
|
103
|
-
create: 建立
|
104
|
-
title: 新諮詢
|
105
|
-
results:
|
106
|
-
not_visible: 結果將在諮詢結束後公佈。
|
107
|
-
participants: "%{count} 位參與者"
|
108
|
-
total_votes: '總共:%{count} 票'
|
109
|
-
update:
|
110
|
-
error: 更新此諮詢時出現問題.
|
111
|
-
success: 諮詢更新成功
|
112
|
-
menu:
|
113
|
-
consultations: 諮詢
|
114
|
-
consultations_submenu:
|
115
|
-
info: 資訊
|
116
|
-
questions: 問題
|
117
|
-
results: 結果
|
118
|
-
questions_submenu:
|
119
|
-
attachments: 附件
|
120
|
-
categories: 類別
|
121
|
-
components: 组件
|
122
|
-
configuration: 配置
|
123
|
-
consultation: 諮詢
|
124
|
-
info: 資訊
|
125
|
-
responses: 回應
|
126
|
-
models:
|
127
|
-
consultation:
|
128
|
-
fields:
|
129
|
-
created_at: 建立於
|
130
|
-
published: 已發佈
|
131
|
-
title: 標題
|
132
|
-
name:
|
133
|
-
other: "One\n諮詢\n\nOther\n諮詢"
|
134
|
-
question:
|
135
|
-
fields:
|
136
|
-
created_at: 建立於
|
137
|
-
published: 已發佈
|
138
|
-
title: 標題
|
139
|
-
name:
|
140
|
-
other: 問題
|
141
|
-
response:
|
142
|
-
fields:
|
143
|
-
created_at: 建立於
|
144
|
-
response_group: 群組
|
145
|
-
title: 標題
|
146
|
-
name:
|
147
|
-
other: 回應
|
148
|
-
question_configuration:
|
149
|
-
disable_external_voting: 請在進階配置中禁用外部投票功能。
|
150
|
-
form:
|
151
|
-
help: 通過增加參與者可以選擇的最大回應數量,來設置多選題。預設的最大值為1,意味著只能選擇一個回應進行投票。
|
152
|
-
title: 進階配置
|
153
|
-
question_publications:
|
154
|
-
create:
|
155
|
-
error: 發佈此問題時出現問題。
|
156
|
-
success: 問題成功發佈.
|
157
|
-
destroy:
|
158
|
-
error: 取消發佈問題時出了問題.
|
159
|
-
success: 問題已成功取消發佈。
|
160
|
-
questions:
|
161
|
-
create:
|
162
|
-
error: 建立新問題時出現問題。
|
163
|
-
success: 問題成功建立。
|
164
|
-
destroy:
|
165
|
-
success: 問題已成功刪除.
|
166
|
-
edit:
|
167
|
-
update: 更新
|
168
|
-
form:
|
169
|
-
title: 一般資訊
|
170
|
-
index:
|
171
|
-
not_published: 未發佈
|
172
|
-
published: 已發佈
|
173
|
-
new:
|
174
|
-
create: 建立
|
175
|
-
title: 新問題
|
176
|
-
update:
|
177
|
-
error: 更新問題時出現問題。
|
178
|
-
success: 問題成功更新.
|
179
|
-
response_groups:
|
180
|
-
create:
|
181
|
-
error: 建立新回應群組時發生問題。
|
182
|
-
success: 回應群組已成功創建.
|
183
|
-
destroy:
|
184
|
-
error: 移除回應群組時發生問題。請確認沒有任何回應依賴於該群組。
|
185
|
-
success: 回應群組已成功刪除
|
186
|
-
edit:
|
187
|
-
update: 更新
|
188
|
-
form:
|
189
|
-
title: 一般資訊
|
190
|
-
help: 使用群組來組織多個選擇題目,將其分成套裝。
|
191
|
-
new:
|
192
|
-
create: 建立
|
193
|
-
title: 新回應群組
|
194
|
-
update:
|
195
|
-
error: 更新此回應時出現問題。
|
196
|
-
success: 回應成功更新.
|
197
|
-
responses:
|
198
|
-
create:
|
199
|
-
error: 建立新回應時發生問題。
|
200
|
-
success: 回應已成功創建.
|
201
|
-
destroy:
|
202
|
-
error: 移除回應時發生問題。
|
203
|
-
success: 回應已成功刪除。
|
204
|
-
edit:
|
205
|
-
update: 更新
|
206
|
-
form:
|
207
|
-
title: 一般資訊
|
208
|
-
new:
|
209
|
-
create: 建立
|
210
|
-
title: 新回應
|
211
|
-
update:
|
212
|
-
error: 更新此回應時出現問題。
|
213
|
-
success: 回應成功更新.
|
214
|
-
titles:
|
215
|
-
consultations: 諮詢
|
216
|
-
questions: 問題
|
217
|
-
response_groups: 回應群組
|
218
|
-
responses: 回應
|
219
|
-
results: 結果
|
220
|
-
consultations:
|
221
|
-
admin:
|
222
|
-
content_blocks:
|
223
|
-
highlighted_consultations:
|
224
|
-
max_results: 顯示的最大元素數量
|
225
|
-
consultation:
|
226
|
-
start_voting_date: 開始投票
|
227
|
-
view_results: 顯示結果
|
228
|
-
consultation_card:
|
229
|
-
view_results: 顯示結果
|
230
|
-
consultations:
|
231
|
-
orders:
|
232
|
-
label: '按照以下方式對諮詢進行排序:'
|
233
|
-
random: 隨機
|
234
|
-
recent: 最近
|
235
|
-
show:
|
236
|
-
dates: 日期
|
237
|
-
content_blocks:
|
238
|
-
highlighted_consultations:
|
239
|
-
name: 重點關注諮詢
|
240
|
-
count:
|
241
|
-
title:
|
242
|
-
other: "One\n%{count} 個諮詢\nOther\n%{count} 個諮詢"
|
243
|
-
filters:
|
244
|
-
active: 生效
|
245
|
-
all: 全部
|
246
|
-
finished: 已完成
|
247
|
-
search: 搜尋
|
248
|
-
state: 狀態
|
249
|
-
upcoming: 即將舉行
|
250
|
-
filters_small_view:
|
251
|
-
close_modal: 關閉視窗
|
252
|
-
filter: 篩選器
|
253
|
-
filter_by: 篩選條件
|
254
|
-
unfold: 展開
|
255
|
-
highlighted_questions:
|
256
|
-
title: 來自於 %{scope_name} 的問題
|
257
|
-
index:
|
258
|
-
title: 諮詢
|
259
|
-
last_activity:
|
260
|
-
new_consultation: 新諮詢
|
261
|
-
new_question_at_html: "<span>有新問題,連結網址為 %{link}</span>"
|
262
|
-
pages:
|
263
|
-
home:
|
264
|
-
highlighted_consultations:
|
265
|
-
active_consultations: 進行中的諮詢
|
266
|
-
see_all_consultations: 查看所有諮詢
|
267
|
-
voting_ends_in:
|
268
|
-
other: "One\n投票截止日期:<strong>明天</strong>\n\nOther\n投票截止日期:<strong>%{count} 天後</strong>"
|
269
|
-
voting_ends_today: 投票截止日期:<strong>今天</strong>
|
270
|
-
question:
|
271
|
-
take_part: 參與
|
272
|
-
view_results: 顯示結果
|
273
|
-
votes_out_of:
|
274
|
-
other: "one\n票中的一個\n\nOther\n票中的數個"
|
275
|
-
question_multiple_votes:
|
276
|
-
results_rules:
|
277
|
-
minimum_votes_per_user:
|
278
|
-
description: 參與者可以將最少 %{votes} 票分配給不同的選項。
|
279
|
-
title: 在這個問題中,允許多個選擇。
|
280
|
-
total_participants: 總共有 %{count} 人參與了投票。
|
281
|
-
vote_limit:
|
282
|
-
description: 參與者最多可以投票給 %{limit} 個選項。
|
283
|
-
voting_rules:
|
284
|
-
minimum_votes_per_user:
|
285
|
-
description: 您必須將最少 %{votes} 票分配給不同的選項。
|
286
|
-
title: '投票受以下規則約束:'
|
287
|
-
vote_limit:
|
288
|
-
description: 您最多可以對 %{limit} 個選項進行投票。
|
289
|
-
left: 剩餘
|
290
|
-
votes: 投票
|
291
|
-
question_votes:
|
292
|
-
create:
|
293
|
-
error: 投票此問題時出現問題。
|
294
|
-
success: 您可以在諮詢結束之前更改投票。只有最後一次投票將被接受。
|
295
|
-
title_error: 投票錯誤!
|
296
|
-
title_success: 投票成功註冊。
|
297
|
-
regular_questions:
|
298
|
-
title: 此諮詢的問題
|
299
|
-
show:
|
300
|
-
badge_name:
|
301
|
-
finished: 已完成
|
302
|
-
open: 開啟
|
303
|
-
open_votes: 開放投票
|
304
|
-
published_results: 公佈結果
|
305
|
-
footer_button_text:
|
306
|
-
debate: 辯論
|
307
|
-
view: 檢視
|
308
|
-
view_results: 顯示結果
|
309
|
-
vote: 投票
|
310
|
-
unspecified: 未指定
|
311
|
-
help:
|
312
|
-
participatory_spaces:
|
313
|
-
consultations:
|
314
|
-
contextual: "<p>一個<strong>諮詢</strong>是一個空間,讓您向組織的所有成員提出明確的問題,呼籲參與諮詢,引發並組織支持或反對某個回應的討論。當諮詢日期到來時,您可以進行投票並公佈投票結果。</p> <p>例子:諮詢可以涉及影響組織的幾乎所有方面:例如,更改組織的名稱或標誌,提供多個選項,決定是否加入一個更大的組織,驗證或拒絕新的戰略計劃或工作小組的結果,或確定職位是否應該有最多 1、2 或 3 個任期。</p>\n"
|
315
|
-
page: "<p>一個<strong>諮詢</strong>是一個空間,讓您向組織的所有成員提出明確的問題,呼籲參與諮詢,引發並組織支持或反對某個回應的討論。當諮詢日期到來時,您可以進行投票並公佈投票結果。</p> <p>例子:諮詢可以涉及影響組織的幾乎任何方面:例如,更改組織的名稱或標誌,提供多個替代方案,決定是否加入一個更大的組織,驗證或拒絕新的戰略計劃或工作小組的結果,或確定組織中的職位是否應保持最多 1、2 或 3 個任期。</p>\n"
|
316
|
-
title: 什麼是諮詢?
|
317
|
-
menu:
|
318
|
-
consultations: 諮詢
|
319
|
-
questions:
|
320
|
-
next_button: 下一個問題
|
321
|
-
previous_button: 上一個問題
|
322
|
-
results:
|
323
|
-
title: 結果
|
324
|
-
show:
|
325
|
-
read_more: 顯示較多
|
326
|
-
statistics:
|
327
|
-
assistants_count_title: 助理
|
328
|
-
comments_count_title: 評論
|
329
|
-
meetings_count_title: 會議
|
330
|
-
supports_count_title: 投票
|
331
|
-
technical_info:
|
332
|
-
technical_data: 技術數據
|
333
|
-
vote_button:
|
334
|
-
already_voted: 已經投票
|
335
|
-
already_voted_hover: 撤銷投票
|
336
|
-
starting_from: 起始日期:%{date}
|
337
|
-
verification_required: 驗證您的帳戶以進行投票。
|
338
|
-
vote: 投票
|
339
|
-
vote_modal:
|
340
|
-
close_modal: 關閉視窗
|
341
|
-
contextual_help: 請, 選擇一個選項。
|
342
|
-
title: '諮詢:問題投票'
|
343
|
-
vote_modal_confirm:
|
344
|
-
change: 更改
|
345
|
-
close_modal: 關閉視窗
|
346
|
-
confirm: 確認
|
347
|
-
contextual_help: 請確認所選的選項。
|
348
|
-
title: '諮詢:確認投票'
|
349
|
-
resources:
|
350
|
-
consultations:
|
351
|
-
actions:
|
352
|
-
comment: 評論
|
353
|
-
vote: 投票
|
354
|
-
question:
|
355
|
-
actions:
|
356
|
-
comment: 評論
|
357
|
-
vote: 投票
|
358
|
-
statistics:
|
359
|
-
consultations_count: 諮詢
|
360
|
-
votes_count: 投票
|
361
|
-
layouts:
|
362
|
-
decidim:
|
363
|
-
consultation_voting_data:
|
364
|
-
start_voting_date: 開始投票
|
365
|
-
question_components:
|
366
|
-
question_menu_item: 問題
|
367
|
-
question_header:
|
368
|
-
back_to_consultation: 查看所有諮詢
|
369
|
-
back_to_question: 返回問題
|
@@ -50,7 +50,7 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
50
50
|
start_voting_date: Time.zone.today,
|
51
51
|
end_voting_date: Time.zone.today + 1.month,
|
52
52
|
organization: organization,
|
53
|
-
banner_image: ActiveStorage::Blob.
|
53
|
+
banner_image: ActiveStorage::Blob.create_and_upload!(
|
54
54
|
io: File.open(File.join(seeds_root, "city2.jpeg")),
|
55
55
|
filename: "banner_image.jpeg",
|
56
56
|
content_type: "image/jpeg",
|
@@ -82,7 +82,7 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
82
82
|
start_voting_date: Time.zone.today - 2.months,
|
83
83
|
end_voting_date: Time.zone.today - 1.month,
|
84
84
|
organization: organization,
|
85
|
-
banner_image: ActiveStorage::Blob.
|
85
|
+
banner_image: ActiveStorage::Blob.create_and_upload!(
|
86
86
|
io: File.open(File.join(seeds_root, "city2.jpeg")),
|
87
87
|
filename: "banner_image.jpeg",
|
88
88
|
content_type: "image/jpeg",
|
@@ -113,7 +113,7 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
113
113
|
start_voting_date: Time.zone.today + 1.month + 1.day,
|
114
114
|
end_voting_date: Time.zone.today + 2.months,
|
115
115
|
organization: organization,
|
116
|
-
banner_image: ActiveStorage::Blob.
|
116
|
+
banner_image: ActiveStorage::Blob.create_and_upload!(
|
117
117
|
io: File.open(File.join(seeds_root, "city2.jpeg")),
|
118
118
|
filename: "banner_image.jpeg",
|
119
119
|
content_type: "image/jpeg",
|
@@ -148,13 +148,13 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
148
148
|
Decidim::Faker::Localized.paragraph(sentence_count: 3)
|
149
149
|
end,
|
150
150
|
organization: organization,
|
151
|
-
hero_image: ActiveStorage::Blob.
|
151
|
+
hero_image: ActiveStorage::Blob.create_and_upload!(
|
152
152
|
io: File.open(File.join(seeds_root, "city.jpeg")),
|
153
153
|
filename: "hero_image.jpeg",
|
154
154
|
content_type: "image/jpeg",
|
155
155
|
metadata: nil
|
156
156
|
), # Keep after organization
|
157
|
-
banner_image: ActiveStorage::Blob.
|
157
|
+
banner_image: ActiveStorage::Blob.create_and_upload!(
|
158
158
|
io: File.open(File.join(seeds_root, "city2.jpeg")),
|
159
159
|
filename: "banner_image.jpeg",
|
160
160
|
content_type: "image/jpeg",
|
@@ -188,7 +188,7 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
188
188
|
description: Decidim::Faker::Localized.sentence(word_count: 5),
|
189
189
|
attached_to: question,
|
190
190
|
content_type: "image/jpeg",
|
191
|
-
file: ActiveStorage::Blob.
|
191
|
+
file: ActiveStorage::Blob.create_and_upload!(
|
192
192
|
io: File.open(File.join(seeds_root, "city.jpeg")),
|
193
193
|
filename: "city.jpeg",
|
194
194
|
content_type: "image/jpeg",
|
@@ -201,7 +201,7 @@ Decidim.register_participatory_space(:consultations) do |participatory_space|
|
|
201
201
|
description: Decidim::Faker::Localized.sentence(word_count: 5),
|
202
202
|
attached_to: question,
|
203
203
|
content_type: "application/pdf",
|
204
|
-
file: ActiveStorage::Blob.
|
204
|
+
file: ActiveStorage::Blob.create_and_upload!(
|
205
205
|
io: File.open(File.join(seeds_root, "Exampledocument.pdf")),
|
206
206
|
filename: "Exampledocument.pdf",
|
207
207
|
content_type: "application/pdf",
|