decidim-participatory_processes 0.26.10 → 0.27.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -4
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/filters.erb +3 -3
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes/show.erb +1 -0
- data/app/cells/decidim/participatory_process_groups/content_blocks/highlighted_participatory_processes_cell.rb +6 -11
- data/app/cells/decidim/participatory_process_groups/content_blocks/title/show.erb +1 -1
- data/app/cells/decidim/participatory_process_groups/content_blocks/title_cell.rb +1 -8
- data/app/cells/decidim/participatory_process_groups/process_filters_cell.rb +15 -18
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/show.erb +1 -1
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes/single_process.erb +1 -1
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_cell.rb +1 -1
- data/app/cells/decidim/participatory_processes/filtered_participatory_processes_cell.rb +11 -7
- data/app/cells/decidim/participatory_processes/process_filters/show.erb +13 -9
- data/app/cells/decidim/participatory_processes/process_filters/type_filter.erb +17 -0
- data/app/cells/decidim/participatory_processes/process_filters_cell.rb +49 -21
- data/app/cells/decidim/participatory_processes/process_group_s/image.erb +1 -1
- data/app/cells/decidim/participatory_processes/process_s/image.erb +1 -1
- data/app/commands/decidim/participatory_processes/admin/activate_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +11 -8
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +2 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_group.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_type.rb +47 -0
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_admin.rb +1 -6
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_group.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_type.rb +49 -0
- data/app/commands/decidim/participatory_processes/admin/import_participatory_process.rb +9 -6
- data/app/commands/decidim/participatory_processes/admin/notify_role_assigned_to_participatory_process.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/publish_participatory_process.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/reorder_participatory_process_steps.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/unpublish_participatory_process.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb +2 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_group.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_step.rb +1 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_type.rb +49 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_copies_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_groups_controller.rb +3 -2
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_types_controller.rb +98 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb +1 -1
- data/app/controllers/decidim/participatory_processes/admin/reminders_controller.rb +14 -0
- data/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +8 -7
- data/app/events/decidim/participatory_process_role_assigned_event.rb +1 -1
- data/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +16 -0
- data/app/forms/decidim/participatory_processes/admin/participatory_process_import_form.rb +5 -7
- data/app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb +20 -0
- data/app/helpers/decidim/participatory_processes/participatory_process_helper.rb +2 -2
- data/app/models/decidim/participatory_process.rb +35 -6
- data/app/models/decidim/participatory_process_type.rb +27 -0
- data/app/permissions/decidim/participatory_processes/permissions.rb +14 -0
- data/app/presenters/decidim/log/value_types/participatory_process_type_presenter.rb +27 -0
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_presenter.rb +3 -2
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_type_presenter.rb +38 -0
- data/app/presenters/decidim/participatory_processes/participatory_process_group_stats_presenter.rb +4 -1
- data/app/presenters/decidim/participatory_processes/participatory_process_metric_charts_presenter.rb +5 -1
- data/app/presenters/decidim/participatory_processes/participatory_process_stats_presenter.rb +4 -1
- data/app/queries/decidim/participatory_processes/admin/admin_users.rb +1 -1
- data/app/queries/decidim/participatory_processes/admin/moderators.rb +1 -1
- data/app/queries/decidim/participatory_processes/filtered_participatory_process_groups.rb +3 -5
- data/app/queries/decidim/participatory_processes/filtered_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/group_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/group_published_participatory_processes.rb +2 -2
- data/app/queries/decidim/participatory_processes/highlighted_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/organization_participatory_process_groups.rb +1 -1
- data/app/queries/decidim/participatory_processes/organization_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/organization_prioritized_participatory_process_groups.rb +2 -2
- data/app/queries/decidim/participatory_processes/organization_prioritized_participatory_processes.rb +2 -2
- data/app/queries/decidim/participatory_processes/organization_promoted_participatory_process_groups.rb +1 -1
- data/app/queries/decidim/participatory_processes/organization_published_participatory_processes.rb +2 -2
- data/app/queries/decidim/participatory_processes/participatory_processes_by_group.rb +1 -1
- data/app/queries/decidim/participatory_processes/prioritized_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/promoted_participatory_process_groups.rb +1 -1
- data/app/queries/decidim/participatory_processes/promoted_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/published_participatory_processes.rb +1 -1
- data/app/queries/decidim/participatory_processes/stats_followers_count.rb +2 -2
- data/app/queries/decidim/participatory_processes/stats_participants_count.rb +2 -14
- data/app/queries/decidim/participatory_processes/visible_participatory_process_groups.rb +1 -1
- data/app/queries/decidim/participatory_processes/visible_participatory_processes.rb +1 -1
- data/app/serializers/decidim/participatory_processes/participatory_process_importer.rb +4 -15
- data/app/views/decidim/participatory_process_steps/_participatory_process_step.html.erb +1 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_copies/new.html.erb +2 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/_form.html.erb +1 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/edit.html.erb +0 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb +0 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/new.html.erb +0 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_steps/_form.html.erb +1 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/_form.html.erb +11 -0
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/edit.html.erb +9 -0
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/index.html.erb +60 -0
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/new.html.erb +9 -0
- data/app/views/decidim/participatory_processes/admin/participatory_processes/_form.html.erb +11 -1
- data/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb +1 -0
- data/app/views/decidim/participatory_processes/admin/participatory_processes/new.html.erb +1 -0
- data/app/views/decidim/participatory_processes/participatory_process_groups/show.html.erb +3 -1
- data/app/views/decidim/participatory_processes/participatory_process_groups/show.js.erb +9 -6
- data/app/views/decidim/participatory_processes/participatory_process_steps/index.html.erb +1 -0
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process.html.erb +1 -1
- data/app/views/decidim/participatory_processes/participatory_processes/_promoted_process_group.html.erb +1 -1
- data/app/views/decidim/participatory_processes/participatory_processes/index.html.erb +3 -1
- data/app/views/decidim/participatory_processes/participatory_processes/index.js.erb +3 -1
- data/app/views/decidim/participatory_processes/participatory_processes/show.html.erb +2 -2
- data/app/views/layouts/decidim/_process_header.html.erb +1 -1
- data/app/views/layouts/decidim/admin/participatory_process_type.html.erb +15 -0
- data/config/locales/am-ET.yml +1 -0
- data/config/locales/ar.yml +10 -13
- data/config/locales/bg.yml +1 -6
- data/config/locales/ca.yml +51 -16
- data/config/locales/cs.yml +62 -27
- data/config/locales/da.yml +1 -0
- data/config/locales/de.yml +20 -32
- data/config/locales/el.yml +9 -69
- data/config/locales/en.yml +42 -8
- data/config/locales/eo.yml +1 -0
- data/config/locales/es-MX.yml +46 -11
- data/config/locales/es-PY.yml +46 -11
- data/config/locales/es.yml +47 -12
- data/config/locales/et.yml +1 -0
- data/config/locales/eu.yml +121 -136
- data/config/locales/fi-plain.yml +48 -13
- data/config/locales/fi.yml +49 -14
- data/config/locales/fr-CA.yml +49 -14
- data/config/locales/fr.yml +51 -16
- data/config/locales/ga-IE.yml +1 -2
- data/config/locales/gl.yml +14 -10
- data/config/locales/hr.yml +1 -0
- data/config/locales/hu.yml +60 -136
- data/config/locales/id-ID.yml +10 -13
- data/config/locales/is-IS.yml +16 -6
- data/config/locales/it.yml +20 -15
- data/config/locales/ja.yml +53 -18
- data/config/locales/ko.yml +1 -0
- data/config/locales/lb.yml +8 -10
- data/config/locales/lt.yml +1 -505
- data/config/locales/lv.yml +10 -19
- data/config/locales/mt.yml +1 -0
- data/config/locales/nl.yml +16 -11
- data/config/locales/no.yml +36 -15
- data/config/locales/om-ET.yml +1 -0
- data/config/locales/pl.yml +19 -8
- data/config/locales/pt-BR.yml +14 -11
- data/config/locales/pt.yml +15 -10
- data/config/locales/ro-RO.yml +11 -15
- data/config/locales/ru.yml +10 -10
- data/config/locales/si-LK.yml +1 -0
- data/config/locales/sk.yml +11 -19
- data/config/locales/sl.yml +1 -3
- data/config/locales/so-SO.yml +1 -0
- data/config/locales/sr-CS.yml +1 -0
- data/config/locales/sv.yml +29 -13
- data/config/locales/sw-KE.yml +1 -0
- data/config/locales/ti-ER.yml +1 -0
- data/config/locales/tr-TR.yml +15 -10
- data/config/locales/uk.yml +10 -10
- data/config/locales/val-ES.yml +1 -0
- data/config/locales/vi.yml +1 -0
- data/config/locales/zh-CN.yml +10 -18
- data/config/locales/zh-TW.yml +1 -477
- data/db/migrate/20211125202008_create_decidim_participatory_process_types.rb +22 -0
- data/lib/decidim/api/participatory_process_type_type.rb +17 -0
- data/lib/decidim/participatory_processes/admin_engine.rb +12 -1
- data/lib/decidim/participatory_processes/api.rb +1 -0
- data/lib/decidim/participatory_processes/participatory_space.rb +17 -8
- data/lib/decidim/participatory_processes/query_extensions.rb +22 -0
- data/lib/decidim/participatory_processes/test/factories.rb +17 -4
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +31 -24
- data/app/services/decidim/participatory_processes/participatory_process_search.rb +0 -27
- data/config/environment.rb +0 -3
- 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 -6
- data/config/locales/lo-LA.yml +0 -1
- data/config/locales/oc-FR.yml +0 -1
- data/config/locales/sq-AL.yml +0 -1
- data/config/locales/th-TH.yml +0 -1
data/config/locales/zh-CN.yml
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
---
|
1
2
|
zh-CN:
|
2
3
|
activemodel:
|
3
4
|
attributes:
|
@@ -50,12 +51,6 @@ zh-CN:
|
|
50
51
|
email: 电子邮件地址
|
51
52
|
name: 名称
|
52
53
|
role: 作用
|
53
|
-
errors:
|
54
|
-
models:
|
55
|
-
participatory_process:
|
56
|
-
attributes:
|
57
|
-
document:
|
58
|
-
invalid_document_type: '无效的文档类型。接受的格式为: %{valid_mime_types}'
|
59
54
|
models:
|
60
55
|
decidim/participatory_process_step_activated_event: 相位激活
|
61
56
|
decidim/participatory_process_step_changed_event: 相位已更改
|
@@ -97,6 +92,7 @@ zh-CN:
|
|
97
92
|
attachments: 附件
|
98
93
|
categories: 类别管理
|
99
94
|
components: 组件
|
95
|
+
info: 信息
|
100
96
|
moderations: 版面
|
101
97
|
private_users: 私人参与者
|
102
98
|
process_admins: 进程管理员
|
@@ -138,9 +134,6 @@ zh-CN:
|
|
138
134
|
copy: 复制
|
139
135
|
select: 选择要重复的数据
|
140
136
|
title: 重复的参与进程
|
141
|
-
participatory_process_group_landing_page_content_blocks:
|
142
|
-
edit:
|
143
|
-
update: 更新
|
144
137
|
participatory_process_groups:
|
145
138
|
destroy:
|
146
139
|
error: 销毁参与性进程小组时出错。
|
@@ -298,11 +291,6 @@ zh-CN:
|
|
298
291
|
related_assemblies: 相关的会议
|
299
292
|
participatory_process_groups:
|
300
293
|
content_blocks:
|
301
|
-
metadata:
|
302
|
-
name: 元数据
|
303
|
-
participatory_scope: 决定的内容
|
304
|
-
participatory_structure: 如何决定
|
305
|
-
target: 谁参与
|
306
294
|
stats:
|
307
295
|
name: 统计
|
308
296
|
show:
|
@@ -316,14 +304,16 @@ zh-CN:
|
|
316
304
|
content_blocks:
|
317
305
|
highlighted_processes:
|
318
306
|
max_results: 显示元素的最大数量
|
319
|
-
|
307
|
+
participatory_process_copies:
|
320
308
|
form:
|
321
|
-
|
309
|
+
slug_help: 'URL slugs 用于生成指向此进程的URL。 只接受字母、数字和破折号,必须以字母开头。例如: %{url}'
|
322
310
|
participatory_process_imports:
|
323
311
|
form:
|
324
312
|
document_legend: 添加文档
|
313
|
+
slug_help: 'URL slugs 用于生成指向此进程的URL。 只接受字母、数字和破折号,必须以字母开头。例如: %{url}'
|
325
314
|
participatory_process_steps:
|
326
315
|
form:
|
316
|
+
cta_path_help: '在这里使用部分路径,不是完整的 URL。接受字母、数字、破折号和斜线,并且必须以字母开头。 如果未设置,按钮将不会显示。例如: %{url}'
|
327
317
|
cta_text_help: 如果未设置,按钮将不会显示。
|
328
318
|
participatory_processes:
|
329
319
|
form:
|
@@ -337,6 +327,7 @@ zh-CN:
|
|
337
327
|
scope_type_max_depth_help: 限制范围过滤器深度; 过滤器将从一般到所选范围类型显示。
|
338
328
|
select_an_area: 选择区域
|
339
329
|
select_process_group: 选择一个流程组
|
330
|
+
slug_help: 'URL slugs 用于生成指向此进程的URL。 只接受字母、数字和破折号,必须以字母开头。例如: %{url}'
|
340
331
|
title: 一般信息
|
341
332
|
visbility: 可见性
|
342
333
|
content_blocks:
|
@@ -349,10 +340,12 @@ zh-CN:
|
|
349
340
|
pages:
|
350
341
|
home:
|
351
342
|
highlighted_processes:
|
343
|
+
active_processes: 活动进程
|
352
344
|
active_step: 活动阶段
|
353
345
|
more_information: 更多信息
|
354
346
|
participate: 参与
|
355
347
|
participate_in: 参与进程 %{resource_name}
|
348
|
+
see_all_processes: 查看所有进程
|
356
349
|
participatory_process_steps:
|
357
350
|
index:
|
358
351
|
back_to_process: 返回进程页面
|
@@ -384,6 +377,7 @@ zh-CN:
|
|
384
377
|
dates: 日期
|
385
378
|
developer_group: 促销者组
|
386
379
|
end_date: 结束日期
|
380
|
+
local_area: 组织区域
|
387
381
|
participatory_scope: 决定的内容
|
388
382
|
participatory_structure: 如何决定
|
389
383
|
private_space: 这是一个私密进程
|
@@ -418,8 +412,6 @@ zh-CN:
|
|
418
412
|
more_info_about: 更多关于进程 %{resource_name} 的信息
|
419
413
|
take_part: 参与
|
420
414
|
take_part_in: 参与进程 %{resource_name}
|
421
|
-
promoted_process_group:
|
422
|
-
more_info: 更多信息
|
423
415
|
process_header_steps:
|
424
416
|
step: '%{current} 的 %{total} 阶段'
|
425
417
|
view_steps: 流程阶段
|
data/config/locales/zh-TW.yml
CHANGED
@@ -1,478 +1,2 @@
|
|
1
|
+
---
|
1
2
|
zh-TW:
|
2
|
-
activemodel:
|
3
|
-
attributes:
|
4
|
-
participatory_process:
|
5
|
-
announcement: 公告
|
6
|
-
area_id: 區域
|
7
|
-
banner_image: 橫幅圖片
|
8
|
-
copy_categories: 複製類別
|
9
|
-
copy_components: 複製組件
|
10
|
-
copy_steps: 複製步驟
|
11
|
-
decidim_area_id: 區域
|
12
|
-
description: 說明
|
13
|
-
developer_group: 促銷團隊
|
14
|
-
document: 文件
|
15
|
-
domain: 網域
|
16
|
-
end_date: 結束日期
|
17
|
-
hashtag: 主題標籤
|
18
|
-
hero_image: 首頁圖片
|
19
|
-
import_attachments: 匯入附件
|
20
|
-
import_categories: 匯入類別
|
21
|
-
import_components: 匯入組件
|
22
|
-
import_steps: 匯入步驟
|
23
|
-
local_area: 組織區域
|
24
|
-
meta_scope: 元數據範圍
|
25
|
-
participatory_process_group_id: 程序群組
|
26
|
-
participatory_process_type_id: 處理類型
|
27
|
-
participatory_scope: 決定了什麼
|
28
|
-
participatory_structure: 如何決定
|
29
|
-
private_space: 私有程序
|
30
|
-
promoted: 推廣
|
31
|
-
published_at: 發佈於
|
32
|
-
related_process_ids: 相關程序
|
33
|
-
scope_id: 範圍
|
34
|
-
scope_type_max_depth_id: 範圍篩選深度
|
35
|
-
scopes_enabled: 啟用範圍
|
36
|
-
short_description: 簡短說明
|
37
|
-
show_metrics: 顯示度量
|
38
|
-
show_statistics: 顯示統計資料
|
39
|
-
slug: URL網址
|
40
|
-
start_date: 開始日期
|
41
|
-
subtitle: 子標題
|
42
|
-
target: 誰參加
|
43
|
-
title: 標題
|
44
|
-
weight: 排序位置
|
45
|
-
participatory_process_group:
|
46
|
-
description: 說明
|
47
|
-
developer_group: 促銷團隊
|
48
|
-
group_url: 網站
|
49
|
-
hashtag: 主題標籤
|
50
|
-
hero_image: 圖片
|
51
|
-
local_area: 組織區域
|
52
|
-
meta_scope: 元數據範圍
|
53
|
-
participatory_process_ids: 相關程序
|
54
|
-
participatory_scope: 決定了什麼
|
55
|
-
participatory_structure: 如何決定
|
56
|
-
target: 誰參加
|
57
|
-
title: 標題
|
58
|
-
participatory_process_step:
|
59
|
-
cta_path: 呼籲操作路徑
|
60
|
-
cta_text: 呼籲操作文字
|
61
|
-
description: 說明
|
62
|
-
end_date: 結束日期
|
63
|
-
short_description: 簡短說明
|
64
|
-
start_date: 開始日期
|
65
|
-
title: 標題
|
66
|
-
participatory_process_user_role:
|
67
|
-
email: 電子郵件
|
68
|
-
name: 名稱
|
69
|
-
role: 角色
|
70
|
-
errors:
|
71
|
-
models:
|
72
|
-
participatory_process:
|
73
|
-
attributes:
|
74
|
-
document:
|
75
|
-
invalid_document_type: '文件類型無效。接受的格式為: %{valid_mime_types}'
|
76
|
-
models:
|
77
|
-
decidim/participatory_process_step_activated_event: 啟用階段
|
78
|
-
decidim/participatory_process_step_changed_event: 階段已更改
|
79
|
-
activerecord:
|
80
|
-
models:
|
81
|
-
decidim/participatory_process:
|
82
|
-
other: "One\n參與式流程\n\nOther\n參與式流程"
|
83
|
-
decidim/participatory_process_group:
|
84
|
-
other: "One\n參與式流程群組\n\nOther\n參與式流程群組"
|
85
|
-
decidim/participatory_process_step:
|
86
|
-
other: "One\n階段\n\nOther\n階段"
|
87
|
-
decidim:
|
88
|
-
admin:
|
89
|
-
actions:
|
90
|
-
activate: 啟動
|
91
|
-
configure: 配置
|
92
|
-
confirm_destroy: 確認刪除
|
93
|
-
destroy: 刪除
|
94
|
-
duplicate: 重複
|
95
|
-
edit: 編輯
|
96
|
-
filter:
|
97
|
-
all_processes: 顯示所有流程
|
98
|
-
process_groups: 程序群組
|
99
|
-
import_process: 匯入
|
100
|
-
new_process: 新的程序
|
101
|
-
new_process_group: 新的程序群組
|
102
|
-
new_process_step: 新階段
|
103
|
-
new_process_user_role: 新程序管理員
|
104
|
-
preview: 預覽
|
105
|
-
publish: 發布
|
106
|
-
resend_invitation: 重新發送邀請
|
107
|
-
unpublish: 取消發佈
|
108
|
-
menu:
|
109
|
-
participatory_process_groups: 程序群組
|
110
|
-
participatory_process_groups_submenu:
|
111
|
-
info: 資訊
|
112
|
-
landing_page: 登陸頁面
|
113
|
-
participatory_processes: 程序
|
114
|
-
participatory_processes_submenu:
|
115
|
-
attachment_collections: 資料夾
|
116
|
-
attachment_files: 檔案
|
117
|
-
attachments: 附件
|
118
|
-
categories: 類別
|
119
|
-
components: 组件
|
120
|
-
info: 資訊
|
121
|
-
moderations: 版主
|
122
|
-
private_users: 私人參與者
|
123
|
-
process_admins: 程序管理員
|
124
|
-
steps: 分類
|
125
|
-
models:
|
126
|
-
participatory_process:
|
127
|
-
fields:
|
128
|
-
created_at: 建立於
|
129
|
-
private: 隱私模式
|
130
|
-
promoted: 重點顯示
|
131
|
-
published: 已發佈
|
132
|
-
title: 標題
|
133
|
-
name: 參與程序
|
134
|
-
participatory_process_group:
|
135
|
-
fields:
|
136
|
-
title: 標題
|
137
|
-
name: 程序群組
|
138
|
-
participatory_process_step:
|
139
|
-
fields:
|
140
|
-
end_date: 結束日期
|
141
|
-
start_date: 開始日期
|
142
|
-
title: 標題
|
143
|
-
name: 參與式過程階段
|
144
|
-
participatory_process_user_role:
|
145
|
-
fields:
|
146
|
-
email: 電子郵件
|
147
|
-
name: 名稱
|
148
|
-
role: 角色
|
149
|
-
name: 參與程序管理員
|
150
|
-
roles:
|
151
|
-
admin: 管理員
|
152
|
-
collaborator: 合作者
|
153
|
-
moderator: 版主
|
154
|
-
valuator: 評估者
|
155
|
-
user:
|
156
|
-
fields:
|
157
|
-
invitation_accepted_at: 邀請已接受時間
|
158
|
-
invitation_sent_at: 邀請已發送時間
|
159
|
-
participatory_process_copies:
|
160
|
-
new:
|
161
|
-
copy: 複製
|
162
|
-
select: 請選擇您想要複製的資料
|
163
|
-
title: 重複的參與性流程
|
164
|
-
participatory_process_group_landing_page:
|
165
|
-
edit:
|
166
|
-
active_content_blocks: 啟用的內容區塊
|
167
|
-
inactive_content_blocks: 停用的內容區塊
|
168
|
-
participatory_process_group_landing_page_content_blocks:
|
169
|
-
edit:
|
170
|
-
update: 更新
|
171
|
-
participatory_process_groups:
|
172
|
-
destroy:
|
173
|
-
error: 刪除參與性流程群組時發生錯誤。
|
174
|
-
success: 參與式流程組成功刪除。
|
175
|
-
edit:
|
176
|
-
title: 編輯程序群組
|
177
|
-
update: 更新
|
178
|
-
new:
|
179
|
-
create: 建立
|
180
|
-
title: 新的程序群組
|
181
|
-
update:
|
182
|
-
error: 更新參與程序群組時出現問題。
|
183
|
-
success: 參與程序群組已成功更新。
|
184
|
-
participatory_process_imports:
|
185
|
-
create:
|
186
|
-
error: 匯入參與性流程時發生問題。
|
187
|
-
success: 參與性流程已成功匯入。
|
188
|
-
new:
|
189
|
-
import: 匯入
|
190
|
-
select: 請選擇您想匯入的資料
|
191
|
-
title: 匯入參與流程
|
192
|
-
participatory_process_publications:
|
193
|
-
create:
|
194
|
-
error: 發佈參與流程時出現問題。
|
195
|
-
success: 成功發佈參與流程。
|
196
|
-
destroy:
|
197
|
-
error: 解除發布參與程序時發生問題。
|
198
|
-
success: 成功解除發布參與程序。
|
199
|
-
participatory_process_step_activations:
|
200
|
-
create:
|
201
|
-
error: 啟動參與過程階段時發生問題。
|
202
|
-
success: 成功啟用參與程序階段。
|
203
|
-
participatory_process_steps:
|
204
|
-
create:
|
205
|
-
error: 創建新參與程序階段時出現問題。
|
206
|
-
success: 成功創建參與程序階段。
|
207
|
-
default_title: 介紹
|
208
|
-
destroy:
|
209
|
-
error:
|
210
|
-
active_step: 無法刪除進行中的階段。
|
211
|
-
last_step: 無法刪除流程的最後一階段。
|
212
|
-
success: 參與程序階段成功刪除。
|
213
|
-
edit:
|
214
|
-
title: 編輯參與式過程階段
|
215
|
-
update: 更新
|
216
|
-
index:
|
217
|
-
steps_title: 階段
|
218
|
-
new:
|
219
|
-
create: 建立
|
220
|
-
title: 新的參與式過程階段
|
221
|
-
ordering:
|
222
|
-
error: 重新排列這個參與程序階段時出現問題。
|
223
|
-
update:
|
224
|
-
error: 更新參與程序階段時出現問題。
|
225
|
-
success: 參與式階段成功更新。
|
226
|
-
participatory_process_user_roles:
|
227
|
-
create:
|
228
|
-
error: 新增參與者至此參與式過程時發生問題。
|
229
|
-
success: 管理者已成功加入此參與式過程。
|
230
|
-
destroy:
|
231
|
-
success: 管理員已成功從此參與過程中移除。
|
232
|
-
edit:
|
233
|
-
title: 更新參與程序管理員
|
234
|
-
update: 更新
|
235
|
-
index:
|
236
|
-
process_admins_title: 參與程序管理員
|
237
|
-
new:
|
238
|
-
create: 建立
|
239
|
-
title: 新的參與程序管理員
|
240
|
-
update:
|
241
|
-
error: 更新參與程序管理員時出現問題。
|
242
|
-
success: 管理員已成功更新此參與過程。
|
243
|
-
participatory_processes:
|
244
|
-
create:
|
245
|
-
error: 創建新參與程序時出現問題。
|
246
|
-
success: 參與式流程已成功建立。現在請配置其各階段。
|
247
|
-
edit:
|
248
|
-
update: 更新
|
249
|
-
index:
|
250
|
-
not_published: 未發佈
|
251
|
-
private: 隱私模式
|
252
|
-
public: 公開
|
253
|
-
published: 已發佈
|
254
|
-
new:
|
255
|
-
create: 建立
|
256
|
-
title: 新的參與程序
|
257
|
-
update:
|
258
|
-
error: 更新此參與程序時出現問題。
|
259
|
-
success: 參與程序已成功更新。
|
260
|
-
participatory_processes_copies:
|
261
|
-
create:
|
262
|
-
error: 複製參與流程時發生問題。
|
263
|
-
success: 成功複製參與過程。
|
264
|
-
participatory_processes_group:
|
265
|
-
create:
|
266
|
-
error: 創建新參與程序群組時出現問題。
|
267
|
-
success: 成功創建參與過程群組。
|
268
|
-
titles:
|
269
|
-
participatory_process_groups: 參與式流程群組
|
270
|
-
participatory_processes: 參與程序
|
271
|
-
users:
|
272
|
-
resend_invitation:
|
273
|
-
error: 重新發送邀請時發生問題。
|
274
|
-
success: 邀請成功重新發送。
|
275
|
-
admin_log:
|
276
|
-
participatory_process:
|
277
|
-
create: "%{user_name} 建立了 %{resource_name} 參與式流程"
|
278
|
-
publish: "%{user_name} 發佈了 %{resource_name} 參與式流程"
|
279
|
-
unpublish: "%{user_name} 取消發佈了 %{resource_name} 參與式流程"
|
280
|
-
update: "%{user_name} 更新了%{resource_name} 的參與性流程"
|
281
|
-
participatory_process_group:
|
282
|
-
create: "%{user_name} 創建了%{resource_name} 的參與性流程群組"
|
283
|
-
update: "%{user_name} 更新了%{resource_name} 的參與性流程群組"
|
284
|
-
participatory_process_step:
|
285
|
-
activate: "%{user_name} 在 %{space_name} 參與式流程中啟用了 %{resource_name} 階段"
|
286
|
-
create: "%{user_name} 在 %{space_name} 參與式流程中創建了 %{resource_name} 階段"
|
287
|
-
delete: "%{user_name} 刪除了 %{space_name} 參與式流程中的 %{resource_name} 階段"
|
288
|
-
update: "%{user_name} 更新了 %{space_name} 參與式流程中的 %{resource_name} 階段"
|
289
|
-
participatory_process_user_role:
|
290
|
-
create: "%{user_name} 邀請了參與者 %{resource_name} 加入 %{space_name} 參與式流程"
|
291
|
-
delete: "%{user_name} 將參與者 %{resource_name} 從 %{space_name} 參與式流程中移除"
|
292
|
-
update: "使用者 %{user_name} 變更了 %{space_name} 參與流程中參與者 %{resource_name} 的角色"
|
293
|
-
events:
|
294
|
-
participatory_process:
|
295
|
-
role_assigned:
|
296
|
-
email_intro: 您已被指派為%{resource_title} 參與流程的 %{role}。
|
297
|
-
email_outro: 您收到此通知,因為您是 "%{resource_title}" 參與流程的 %{role}。
|
298
|
-
email_subject: 您已被分配為“%{resource_title}”的 %{role}。
|
299
|
-
notification_title: 您已被分配為參與式流程<a href="%{resource_url}">%{resource_title}</a>的%{role}。
|
300
|
-
step_activated:
|
301
|
-
email_intro: '現在,%{participatory_space_title} 的%{resource_title} 階段已啟動。您可以從此頁面查看:'
|
302
|
-
email_outro: 你收到此通知是因為你正在追蹤 %{participatory_space_title}。你可以透過前面的連結停止接收通知。
|
303
|
-
email_subject: '%{participatory_space_title} 的更新'
|
304
|
-
notification_title: 在 <a href="%{resource_path}">%{participatory_space_title}</a>,%{resource_title} 階段現在已啟動。
|
305
|
-
step_changed:
|
306
|
-
email_intro: '在 %{participatory_space_title},%{resource_title} 階段的日期已更新。您可以在此頁面上查看:'
|
307
|
-
email_outro: 你收到此通知是因為你正在追蹤 %{participatory_space_title}。你可以透過前面的連結停止接收通知。
|
308
|
-
email_subject: '%{participatory_space_title} 的更新'
|
309
|
-
notification_title: 在 <a href="%{participatory_space_url}">%{participatory_space_title}</a> 的 <a href="%{resource_path}">%{resource_title}</a> 階段日期已更新。
|
310
|
-
help:
|
311
|
-
participatory_spaces:
|
312
|
-
participatory_processes:
|
313
|
-
contextual: "<p>一個<strong>參與式過程</strong>是一系列參與性活動的序列(例如,先填寫調查問卷,然後提出建議,在面對面或虛擬會議中進行討論,最終進行優先排序),旨在定義和就特定主題做出決定。</p> <p>參與式過程的例子包括:選舉委員會成員的過程(候選人首先進行介紹,然後進行辯論,最後選擇一個候選人),參與式預算(提出建議,經濟評估,使用可用的資金進行投票),戰略規劃過程,共同起草法規或標準,城市空間設計或公共政策計畫的製定。</p>\n"
|
314
|
-
page: "<p>一個<strong>參與性流程是一系列的參與性活動,(例如先填寫調查,然後提出建議,在面對面或虛擬會議中討論這些建議,最後進行優先排序),以便針對特定主題進行定義和決策。</p> <p>參與性流程的例子包括:選舉委員會成員的程序(首先提出候選人,然後進行辯論,最後選出候選人),參與式預算(提出建議,經濟評估,用可用的資金進行投票),戰略規劃流程,協作制定規則或標準,城市空間的設計或公共政策計劃的制定。</p>\n"
|
315
|
-
title: 什麼是參與式過程?
|
316
|
-
menu:
|
317
|
-
processes: 程序
|
318
|
-
metrics:
|
319
|
-
participatory_processes:
|
320
|
-
description: 此組織中的參與式過程數量
|
321
|
-
object: 參與程序
|
322
|
-
title: 參與程序
|
323
|
-
participatory_process:
|
324
|
-
show:
|
325
|
-
related_assemblies: 相關大會
|
326
|
-
participatory_process_groups:
|
327
|
-
content_blocks:
|
328
|
-
html_1:
|
329
|
-
name: 第一個 HTML 區塊
|
330
|
-
html_2:
|
331
|
-
name: 第二個 HTML 區塊
|
332
|
-
html_3:
|
333
|
-
name: 第三個 HTML 區塊
|
334
|
-
metadata:
|
335
|
-
name: 元數據
|
336
|
-
participatory_scope: 決定了什麼
|
337
|
-
participatory_structure: 如何決定
|
338
|
-
target: 誰參加
|
339
|
-
participatory_processes:
|
340
|
-
name: 參與程序
|
341
|
-
stats:
|
342
|
-
name: 統計資料
|
343
|
-
title:
|
344
|
-
meta_scope: 範圍
|
345
|
-
name: 標題、描述和標籤
|
346
|
-
participatory_processes:
|
347
|
-
other: "One\n1 個程序\n\nOther\n%{count} 個程序"
|
348
|
-
show:
|
349
|
-
title: 參與程序群組
|
350
|
-
participatory_process_steps:
|
351
|
-
index:
|
352
|
-
process_steps: 程序階段
|
353
|
-
title: 參與式過程階段
|
354
|
-
participatory_processes:
|
355
|
-
admin:
|
356
|
-
content_blocks:
|
357
|
-
highlighted_processes:
|
358
|
-
max_results: 顯示的最大元素數量
|
359
|
-
new_import:
|
360
|
-
accepted_types:
|
361
|
-
json: JSON
|
362
|
-
participatory_process_groups:
|
363
|
-
form:
|
364
|
-
metadata: 元數據
|
365
|
-
title: 基本資訊
|
366
|
-
visibility: 可見度
|
367
|
-
participatory_process_imports:
|
368
|
-
form:
|
369
|
-
document_legend: 添加文檔
|
370
|
-
participatory_process_steps:
|
371
|
-
form:
|
372
|
-
cta_text_help: 如果未設置,按鈕將不會顯示。
|
373
|
-
participatory_processes:
|
374
|
-
form:
|
375
|
-
announcement_help: 您在此處輸入的文字將顯示至使用者的正下方程序信息
|
376
|
-
duration: 持續時間
|
377
|
-
filters: 過濾器
|
378
|
-
images: 圖片
|
379
|
-
metadata: 元數據
|
380
|
-
other: 其他
|
381
|
-
related_processes: 相關程序
|
382
|
-
scope_type_max_depth_help: 限制範圍過濾器深度;過濾器將會從一般範圍到所選範圍層級進行顯示。
|
383
|
-
select_an_area: 選擇一個地區
|
384
|
-
select_process_group: 選擇一個程序群組
|
385
|
-
title: 基本資訊
|
386
|
-
visbility: 可見度
|
387
|
-
content_blocks:
|
388
|
-
highlighted_processes:
|
389
|
-
name: 精選程序
|
390
|
-
index:
|
391
|
-
title: 參與程序
|
392
|
-
last_activity:
|
393
|
-
new_participatory_process: 新的參與程序
|
394
|
-
pages:
|
395
|
-
home:
|
396
|
-
highlighted_processes:
|
397
|
-
active_step: 進行中的階段
|
398
|
-
more_information: 更多資訊
|
399
|
-
participate: 參與
|
400
|
-
participate_in: 參與程序 %{resource_name}
|
401
|
-
processes_button_title: 鏈接到顯示所有程序的程序頁面
|
402
|
-
participatory_process_steps:
|
403
|
-
index:
|
404
|
-
back_to_process: 返回程序頁
|
405
|
-
participatory_processes:
|
406
|
-
filters:
|
407
|
-
counters:
|
408
|
-
active:
|
409
|
-
other: "One\n1個進行中的流程\nOther\n%{count} 個進行中的流程"
|
410
|
-
all:
|
411
|
-
other: "One\n1 個程序\n\nOther\n%{count} 個程序"
|
412
|
-
past:
|
413
|
-
other: "One\n1 個過去的程序\nOther\n%{count} 個過去的程序"
|
414
|
-
upcoming:
|
415
|
-
other: "One\n1 個即將到來的程序\nOther\n%{count} 個即將到來的程序"
|
416
|
-
explanations:
|
417
|
-
no_active: '"沒有進行中的流程'
|
418
|
-
no_active_nor_upcoming: 沒有進行中或即將開始的流程
|
419
|
-
no_active_nor_upcoming_callout: 目前沒有進行中或即將開始的程序。以下是過去的程序清單
|
420
|
-
names:
|
421
|
-
active: 啟用中
|
422
|
-
all: 全部
|
423
|
-
past: 過去
|
424
|
-
upcoming: 即將舉行
|
425
|
-
see: 查看
|
426
|
-
index:
|
427
|
-
loading: 正在載入結果
|
428
|
-
show:
|
429
|
-
title: 關於此流程
|
430
|
-
show:
|
431
|
-
area: 區域
|
432
|
-
belongs_to_group: 此程序屬於
|
433
|
-
dates: 日期
|
434
|
-
developer_group: 促銷團隊
|
435
|
-
end_date: 結束日期
|
436
|
-
participatory_scope: 決定了什麼
|
437
|
-
participatory_structure: 如何決定
|
438
|
-
private_space: 這是不公開程序。
|
439
|
-
related_processes: 相關程序
|
440
|
-
scope: 範圍
|
441
|
-
start_date: 開始日期
|
442
|
-
target: 誰參加
|
443
|
-
unspecified: 未指定
|
444
|
-
statistics:
|
445
|
-
processes_count: 程序
|
446
|
-
layouts:
|
447
|
-
decidim:
|
448
|
-
participatory_process_groups:
|
449
|
-
participatory_process_group:
|
450
|
-
browse: 瀏覽
|
451
|
-
browse_resource: 瀏覽程序群組 %{resource_name}
|
452
|
-
processes_count: '程序:'
|
453
|
-
participatory_process_widgets:
|
454
|
-
show:
|
455
|
-
active_step: 進行中的階段
|
456
|
-
take_part: 參與
|
457
|
-
participatory_processes:
|
458
|
-
index:
|
459
|
-
promoted_processes: 精選程序
|
460
|
-
participatory_process:
|
461
|
-
active_step: '當前階段'
|
462
|
-
more_info: 更多資訊
|
463
|
-
more_info_about: 關於程序 %{resource_name} 的更多資訊
|
464
|
-
take_part: 參與
|
465
|
-
take_part_in: 參與程序 %{resource_name}
|
466
|
-
promoted_process:
|
467
|
-
active_step: '當前階段'
|
468
|
-
more_info: 更多資訊
|
469
|
-
more_info_about: 關於程序 %{resource_name} 的更多資訊
|
470
|
-
take_part: 參與
|
471
|
-
take_part_in: 參與程序 %{resource_name}
|
472
|
-
promoted_process_group:
|
473
|
-
more_info: 更多資訊
|
474
|
-
process_header_steps:
|
475
|
-
step: 第 %{current} 階段 / 共 %{total} 階段
|
476
|
-
view_steps: 程序階段
|
477
|
-
process_navigation:
|
478
|
-
process_menu_item: 該程序
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class CreateDecidimParticipatoryProcessTypes < ActiveRecord::Migration[6.0]
|
4
|
+
def change
|
5
|
+
create_table :decidim_participatory_process_types do |t|
|
6
|
+
t.jsonb :title, null: false
|
7
|
+
t.references(
|
8
|
+
:decidim_organization,
|
9
|
+
foreign_key: true,
|
10
|
+
index: { name: "index_decidim_process_types_on_decidim_organization_id" }
|
11
|
+
)
|
12
|
+
t.timestamps
|
13
|
+
end
|
14
|
+
|
15
|
+
add_reference(
|
16
|
+
:decidim_participatory_processes,
|
17
|
+
:decidim_participatory_process_type,
|
18
|
+
foreign_key: true,
|
19
|
+
index: { name: "index_decidim_processes_on_decidim_process_type_id" }
|
20
|
+
)
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module ParticipatoryProcesses
|
5
|
+
# This type represents a ParticipatoryProcessType.
|
6
|
+
class ParticipatoryProcessTypeType < Decidim::Api::Types::BaseObject
|
7
|
+
description "A participatory process type"
|
8
|
+
|
9
|
+
field :id, GraphQL::Types::ID, "Unique ID of this participatory process type", null: false
|
10
|
+
field :title, Decidim::Core::TranslatedFieldType, "The title of this participatory process type", null: true
|
11
|
+
field :created_at, Decidim::Core::DateTimeType, "The time this participatory process type was created", null: false
|
12
|
+
field :updated_at, Decidim::Core::DateTimeType, "The time this participatory process type was updated", null: false
|
13
|
+
field :processes, [Decidim::ParticipatoryProcesses::ParticipatoryProcessType, { null: true }],
|
14
|
+
description: "Lists all the participatory processes belonging to this type", null: false
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -20,6 +20,7 @@ module Decidim
|
|
20
20
|
resources :content_blocks, only: [:edit, :update], controller: "participatory_process_group_landing_page_content_blocks"
|
21
21
|
end
|
22
22
|
end
|
23
|
+
resources :participatory_process_types
|
23
24
|
resources :participatory_processes, param: :slug, except: [:show, :destroy] do
|
24
25
|
resource :publish, controller: "participatory_process_publications", only: [:create, :destroy]
|
25
26
|
resources :copies, controller: "participatory_process_copies", only: [:new, :create]
|
@@ -59,6 +60,7 @@ module Decidim
|
|
59
60
|
resources :imports, only: [:new, :create] do
|
60
61
|
get :example, on: :collection
|
61
62
|
end
|
63
|
+
resources :reminders, only: [:new, :create]
|
62
64
|
end
|
63
65
|
|
64
66
|
resources :moderations do
|
@@ -75,7 +77,9 @@ module Decidim
|
|
75
77
|
post :resend_invitation, to: "participatory_space_private_users#resend_invitation"
|
76
78
|
end
|
77
79
|
collection do
|
78
|
-
resource :
|
80
|
+
resource :participatory_space_private_users_csv_imports, only: [:new, :create], path: "csv_import" do
|
81
|
+
delete :destroy_all
|
82
|
+
end
|
79
83
|
end
|
80
84
|
end
|
81
85
|
end
|
@@ -119,6 +123,13 @@ module Decidim
|
|
119
123
|
position: 2,
|
120
124
|
if: allowed_to?(:enter, :space_area, space_name: :process_groups),
|
121
125
|
active: is_active_link?(decidim_admin_participatory_processes.participatory_process_groups_path)
|
126
|
+
|
127
|
+
menu.add_item :participatory_process_types,
|
128
|
+
I18n.t("menu.participatory_process_types", scope: "decidim.admin"),
|
129
|
+
decidim_admin_participatory_processes.participatory_process_types_path,
|
130
|
+
position: 3,
|
131
|
+
if: allowed_to?(:manage, :participatory_process_type),
|
132
|
+
active: is_active_link?(decidim_admin_participatory_processes.participatory_process_types_path)
|
122
133
|
end
|
123
134
|
end
|
124
135
|
|
@@ -7,5 +7,6 @@ module Decidim
|
|
7
7
|
autoload :ParticipatoryProcessGroupType, "decidim/api/participatory_process_group_type"
|
8
8
|
autoload :ParticipatoryProcessStepType, "decidim/api/participatory_process_step_type"
|
9
9
|
autoload :ParticipatoryProcessType, "decidim/api/participatory_process_type"
|
10
|
+
autoload :ParticipatoryProcessTypeType, "decidim/api/participatory_process_type_type"
|
10
11
|
end
|
11
12
|
end
|