decidim-participatory_processes 0.29.3 → 0.30.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/participatory_process_groups/process_filters_cell.rb +4 -5
- data/app/cells/decidim/participatory_processes/content_blocks/highlighted_processes_settings_form/show.erb +1 -1
- data/app/cells/decidim/participatory_processes/process_dropdown_metadata_cell.rb +7 -0
- data/app/cells/decidim/participatory_processes/process_filters/show.erb +0 -1
- data/app/cells/decidim/participatory_processes/process_filters_cell.rb +6 -32
- data/app/commands/decidim/participatory_processes/admin/copy_participatory_process.rb +2 -23
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process.rb +3 -3
- data/app/commands/decidim/participatory_processes/admin/import_participatory_process.rb +0 -1
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process.rb +3 -3
- data/app/controllers/decidim/participatory_processes/admin/component_share_tokens_controller.rb +18 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_share_tokens_controller.rb +16 -0
- data/app/controllers/decidim/participatory_processes/admin/participatory_processes_controller.rb +15 -3
- data/app/controllers/decidim/participatory_processes/participatory_processes_controller.rb +2 -4
- data/app/controllers/decidim/participatory_processes/participatory_space_private_users_controller.rb +27 -0
- data/app/forms/decidim/participatory_processes/admin/participatory_process_copy_form.rb +0 -1
- data/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +3 -33
- data/app/forms/decidim/participatory_processes/admin/participatory_process_import_form.rb +0 -1
- data/app/helpers/decidim/participatory_processes/participatory_process_helper.rb +28 -20
- data/app/jobs/decidim/participatory_processes/change_active_step_job.rb +1 -1
- data/app/models/decidim/participatory_process.rb +19 -3
- data/app/permissions/decidim/participatory_processes/permissions.rb +16 -21
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_presenter.rb +1 -1
- data/app/queries/decidim/participatory_processes/metrics/participatory_process_followers_metric_measure.rb +2 -2
- data/app/queries/decidim/participatory_processes/metrics/participatory_processes_metric_manage.rb +2 -2
- data/app/serializers/decidim/participatory_processes/open_data_participatory_process_serializer.rb +47 -0
- data/app/serializers/decidim/participatory_processes/participatory_process_importer.rb +1 -43
- data/app/serializers/decidim/participatory_processes/participatory_process_serializer.rb +17 -126
- data/app/views/decidim/participatory_processes/admin/participatory_process_copies/_form.html.erb +0 -4
- data/app/views/decidim/participatory_processes/admin/participatory_process_groups/_form.html.erb +0 -1
- data/app/views/decidim/participatory_processes/admin/participatory_process_imports/_form.html.erb +0 -3
- data/app/views/decidim/participatory_processes/admin/participatory_processes/_form.html.erb +25 -60
- data/app/views/decidim/participatory_processes/admin/participatory_processes/_process_row.html.erb +83 -0
- data/app/views/decidim/participatory_processes/admin/participatory_processes/_processes_thead.html.erb +19 -0
- data/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb +16 -84
- data/app/views/decidim/participatory_processes/admin/participatory_processes/manage_trash.html.erb +20 -0
- data/app/views/decidim/participatory_processes/participatory_process_groups/show.html.erb +3 -1
- data/app/views/decidim/participatory_processes/participatory_processes/index.html.erb +3 -1
- data/app/views/decidim/participatory_processes/participatory_processes/show.html.erb +6 -6
- data/app/views/decidim/participatory_processes/participatory_space_private_users/index.html.erb +22 -0
- data/config/assets.rb +1 -2
- data/config/locales/ar.yml +0 -17
- data/config/locales/bg.yml +0 -36
- data/config/locales/bs-BA.yml +0 -9
- data/config/locales/ca.yml +61 -39
- data/config/locales/cs.yml +60 -36
- data/config/locales/de.yml +59 -37
- data/config/locales/el.yml +0 -36
- data/config/locales/en.yml +60 -38
- data/config/locales/es-MX.yml +61 -39
- data/config/locales/es-PY.yml +61 -39
- data/config/locales/es.yml +62 -40
- data/config/locales/eu.yml +141 -119
- data/config/locales/fi-plain.yml +60 -36
- data/config/locales/fi.yml +60 -36
- data/config/locales/fr-CA.yml +23 -37
- data/config/locales/fr.yml +23 -37
- data/config/locales/ga-IE.yml +0 -14
- data/config/locales/gl.yml +0 -18
- data/config/locales/hu.yml +0 -36
- data/config/locales/id-ID.yml +0 -17
- data/config/locales/is-IS.yml +0 -16
- data/config/locales/it.yml +0 -36
- data/config/locales/ja.yml +60 -38
- data/config/locales/lb.yml +0 -20
- data/config/locales/lt.yml +0 -36
- data/config/locales/lv.yml +0 -20
- data/config/locales/nl.yml +0 -21
- data/config/locales/no.yml +0 -36
- data/config/locales/pl.yml +0 -36
- data/config/locales/pt-BR.yml +0 -33
- data/config/locales/pt.yml +0 -21
- data/config/locales/ro-RO.yml +1 -38
- data/config/locales/ru.yml +0 -17
- data/config/locales/sk.yml +1 -21
- data/config/locales/sr-CS.yml +0 -9
- data/config/locales/sv.yml +52 -36
- data/config/locales/tr-TR.yml +0 -21
- data/config/locales/uk.yml +0 -17
- data/config/locales/zh-CN.yml +0 -20
- data/config/locales/zh-TW.yml +0 -36
- data/db/migrate/20210310120750_add_followable_counter_cache_to_participatory_processes.rb +1 -1
- data/db/migrate/20240822161355_add_deleted_at_to_decidim_participatory_processes.rb +8 -0
- data/db/migrate/20241108141423_remove_column_show_metrics_from_participatory_processes.rb +7 -0
- data/db/migrate/20241108141514_remove_column_banner_image_from_participatory_processes.rb +7 -0
- data/db/migrate/20241108141605_remove_column_show_statistics_from_participatory_processes.rb +7 -0
- data/decidim-participatory_processes.gemspec +1 -1
- data/lib/decidim/api/participatory_process_group_type.rb +3 -3
- data/lib/decidim/api/participatory_process_step_type.rb +7 -9
- data/lib/decidim/api/participatory_process_type.rb +18 -23
- data/lib/decidim/api/participatory_process_type_type.rb +3 -3
- data/lib/decidim/participatory_processes/admin_engine.rb +85 -59
- data/lib/decidim/participatory_processes/content_blocks/registry_manager.rb +11 -0
- data/lib/decidim/participatory_processes/engine.rb +7 -0
- data/lib/decidim/participatory_processes/menu.rb +9 -17
- data/lib/decidim/participatory_processes/participatory_space.rb +5 -2
- data/lib/decidim/participatory_processes/seeds.rb +8 -16
- data/lib/decidim/participatory_processes/test/factories.rb +14 -14
- data/lib/decidim/participatory_processes/version.rb +1 -1
- metadata +24 -26
- data/app/cells/decidim/participatory_processes/process_filters/type_filter.erb +0 -17
- data/app/commands/decidim/participatory_processes/admin/create_participatory_process_type.rb +0 -17
- data/app/commands/decidim/participatory_processes/admin/update_participatory_process_type.rb +0 -13
- data/app/controllers/decidim/participatory_processes/admin/categories_controller.rb +0 -13
- data/app/controllers/decidim/participatory_processes/admin/participatory_process_types_controller.rb +0 -117
- data/app/forms/decidim/participatory_processes/admin/participatory_process_type_form.rb +0 -20
- data/app/helpers/decidim/participatory_processes/admin/participatory_process_helper.rb +0 -24
- data/app/packs/entrypoints/decidim_participatory_processes_admin.js +0 -1
- data/app/packs/src/decidim/participatory_processes/admin/participatory_processes.js +0 -18
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/_form.html.erb +0 -9
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/edit.html.erb +0 -18
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/index.html.erb +0 -58
- data/app/views/decidim/participatory_processes/admin/participatory_process_types/new.html.erb +0 -18
- data/config/locales/ca-IT.yml +0 -524
data/config/locales/sv.yml
CHANGED
@@ -23,16 +23,12 @@ sv:
|
|
23
23
|
local_area: Område
|
24
24
|
meta_scope: Omfattning
|
25
25
|
participatory_process_group_id: Grupp av processer
|
26
|
-
participatory_process_type_id: Typ av processer
|
27
26
|
participatory_scope: Vad beslutas
|
28
27
|
participatory_structure: Hur fattas beslut
|
29
28
|
private_space: Privat process
|
30
29
|
promoted: Utvald
|
31
30
|
published_at: Publicerad
|
32
31
|
related_process_ids: Relaterade processer
|
33
|
-
scope_id: Indelning
|
34
|
-
scope_type_max_depth_id: Djup på filter
|
35
|
-
scopes_enabled: Aktivera indelningar
|
36
32
|
short_description: Kort beskrivning
|
37
33
|
slug: URL-slug
|
38
34
|
start_date: Startdatum
|
@@ -61,8 +57,6 @@ sv:
|
|
61
57
|
short_description: Kort beskrivning
|
62
58
|
start_date: Startdatum
|
63
59
|
title: Titel
|
64
|
-
participatory_process_type:
|
65
|
-
title: Titel
|
66
60
|
participatory_process_user_role:
|
67
61
|
email: E-post
|
68
62
|
name: Namn
|
@@ -92,22 +86,24 @@ sv:
|
|
92
86
|
actions:
|
93
87
|
activate: Aktivera
|
94
88
|
configure: Konfigurera
|
89
|
+
confirm_delete_process: Är du säker på att du vill ta bort den här processen? Om du ändrar dig kan du återställa den senare.
|
95
90
|
confirm_destroy: Bekräfta radering
|
96
91
|
destroy: Radera
|
97
92
|
duplicate: Duplicera
|
98
93
|
edit: Redigera
|
99
94
|
import_process: Importera
|
95
|
+
menu_hidden: Dölj
|
100
96
|
moderate: Moderera
|
101
97
|
new_process: Ny process
|
102
98
|
new_process_group: Ny grupp av processer
|
103
99
|
new_process_step: Nytt steg
|
104
|
-
new_process_type: Ny typ av process
|
105
100
|
new_process_user_role: Ny administratör för process
|
106
101
|
preview: Förhandsvisa
|
107
102
|
publish: Publicera
|
108
103
|
resend_invitation: Skicka inbjudan igen
|
109
104
|
see_process: Visa process
|
110
105
|
unpublish: Avpublicera
|
106
|
+
view_deleted_processes: Visa raderade processer
|
111
107
|
filters:
|
112
108
|
decidim_participatory_process_group_id_eq:
|
113
109
|
label: Efter processgrupp
|
@@ -116,18 +112,16 @@ sv:
|
|
116
112
|
participatory_process_groups_submenu:
|
117
113
|
info: Info
|
118
114
|
landing_page: Landningssida
|
119
|
-
participatory_process_types: Typ av processer
|
120
115
|
participatory_processes: Processer
|
121
116
|
participatory_processes_submenu:
|
122
117
|
attachment_collections: Mappar
|
123
118
|
attachment_files: Filer
|
124
119
|
attachments: Bilagor
|
125
|
-
categories: Kategorier
|
126
120
|
components: Komponenter
|
127
121
|
info: Om processen
|
128
122
|
landing_page: Landningssida
|
129
123
|
moderations: Moderering
|
130
|
-
private_users:
|
124
|
+
private_users: Medlemmar
|
131
125
|
process_admins: Administratörer för process
|
132
126
|
steps: Steg
|
133
127
|
models:
|
@@ -149,11 +143,6 @@ sv:
|
|
149
143
|
start_date: Startdatum
|
150
144
|
title: Titel
|
151
145
|
name: Steg i process
|
152
|
-
participatory_process_type:
|
153
|
-
fields:
|
154
|
-
created_at: Skapad
|
155
|
-
title: Titel
|
156
|
-
name: Typ av process
|
157
146
|
participatory_process_user_role:
|
158
147
|
fields:
|
159
148
|
email: E-post
|
@@ -169,6 +158,7 @@ sv:
|
|
169
158
|
fields:
|
170
159
|
invitation_accepted_at: Inbjudan godkänd
|
171
160
|
invitation_sent_at: Inbjudan skickad
|
161
|
+
published: Publicerad
|
172
162
|
participatory_process_copies:
|
173
163
|
new:
|
174
164
|
copy: Kopiera
|
@@ -176,7 +166,7 @@ sv:
|
|
176
166
|
title: Duplicera process
|
177
167
|
participatory_process_groups:
|
178
168
|
destroy:
|
179
|
-
error: Det gick inte att radera
|
169
|
+
error: Det gick inte att radera gruppen.
|
180
170
|
success: Gruppen för processer har raderats.
|
181
171
|
edit:
|
182
172
|
title: Redigera processgrupp
|
@@ -235,21 +225,6 @@ sv:
|
|
235
225
|
update:
|
236
226
|
error: Det gick inte att uppdatera steget i processen.
|
237
227
|
success: Steget i processen har uppdaterats.
|
238
|
-
participatory_process_types:
|
239
|
-
create:
|
240
|
-
error: Det gick inte att skapa en ny typ av process.
|
241
|
-
success: Typen av process har skapats.
|
242
|
-
destroy:
|
243
|
-
success: Typen av process har raderats.
|
244
|
-
edit:
|
245
|
-
title: Redigera typ av process
|
246
|
-
update: Uppdatera
|
247
|
-
new:
|
248
|
-
create: Skapa
|
249
|
-
title: Ny typ av process
|
250
|
-
update:
|
251
|
-
error: Det gick inte att uppdatera typen av process.
|
252
|
-
success: Typen av process har uppdaterats.
|
253
228
|
participatory_process_user_roles:
|
254
229
|
create:
|
255
230
|
error: Det gick inte att lägga till en deltagare till processen.
|
@@ -278,6 +253,8 @@ sv:
|
|
278
253
|
public: Offentlig
|
279
254
|
published: Publicerad
|
280
255
|
unpublished: Ej publicerad
|
256
|
+
manage_trash:
|
257
|
+
title: Raderade deltagandeprocesser
|
281
258
|
new:
|
282
259
|
create: Skapa
|
283
260
|
title: Ny deltagandeprocess
|
@@ -292,10 +269,16 @@ sv:
|
|
292
269
|
create:
|
293
270
|
error: Det gick inte att skapa en ny grupp för processer.
|
294
271
|
success: Gruppen har skapats.
|
272
|
+
taxonomy_filters:
|
273
|
+
space_filter_for:
|
274
|
+
participatory_processes: Alla deltagandeprocesser
|
295
275
|
titles:
|
296
276
|
participatory_process_groups: Grupper av deltagandeprocesser
|
297
277
|
participatory_process_types: Typer av deltagandeprocesser
|
298
278
|
participatory_processes: Deltagandeprocesser
|
279
|
+
participatory_processes_deleted: Raderade deltagandeprocesser
|
280
|
+
tooltips:
|
281
|
+
deleted_processes_info: En process kan endast raderas om status är "avpublicerad".
|
299
282
|
users:
|
300
283
|
resend_invitation:
|
301
284
|
error: Det gick inte att skicka inbjudan igen.
|
@@ -307,6 +290,8 @@ sv:
|
|
307
290
|
export: "%{user_name} exporterade processen %{resource_name}"
|
308
291
|
import: "%{user_name} importerade processen %{resource_name}"
|
309
292
|
publish: "%{user_name} publicerade deltagandeprocessen %{resource_name}"
|
293
|
+
restore: "%{user_name} återställde deltagandeprocessen %{resource_name}"
|
294
|
+
soft_delete: "%{user_name} raderade deltagandeprocessen %{resource_name}"
|
310
295
|
unpublish: "%{user_name} avpublicerade deltagandeprocessen %{resource_name}"
|
311
296
|
update: "%{user_name} uppdaterade deltagandeprocessen %{resource_name}"
|
312
297
|
participatory_process_group:
|
@@ -326,6 +311,9 @@ sv:
|
|
326
311
|
create: "%{user_name} bjöd in deltagaren %{resource_name} till processen %{space_name}"
|
327
312
|
delete: "%{user_name} tog bort deltagaren %{resource_name} från processen %{space_name}"
|
328
313
|
update: "%{user_name} ändrade rollen för deltagaren %{resource_name} i processen %{space_name}"
|
314
|
+
download_your_data:
|
315
|
+
show:
|
316
|
+
participatory_processes: Export av deltagandeprocesser
|
329
317
|
events:
|
330
318
|
participatory_process:
|
331
319
|
role_assigned:
|
@@ -360,6 +348,30 @@ sv:
|
|
360
348
|
description: Antal deltagandeprocesser i organisationen
|
361
349
|
object: deltagandeprocesser
|
362
350
|
title: Deltagandeprocesser
|
351
|
+
open_data:
|
352
|
+
help:
|
353
|
+
participatory_processes:
|
354
|
+
announcement: Meddelande
|
355
|
+
area: Geografiskt område för processen
|
356
|
+
created_at: Datum när processen skapades
|
357
|
+
description: Längre beskrivning av processen
|
358
|
+
developer_group: Ansvariga för processen. Organisation eller grupp som står bakom processen.
|
359
|
+
end_date: Slutdatum för processen
|
360
|
+
follows_count: Antal följare
|
361
|
+
hashtag: Processens hashtag, används för Twitter/X
|
362
|
+
id: Unikt id för processen
|
363
|
+
local_area: Geografiskt område för processen. Det område där processen genomförs.
|
364
|
+
participatory_process_group: Grupp av processer, om tillämpbart
|
365
|
+
participatory_process_type: Typ av process
|
366
|
+
published_at: Datum när processen publicerades
|
367
|
+
reference: Unikt id för processen
|
368
|
+
remote_hero_image_url: URL till processens huvudbild
|
369
|
+
scopes_enabled: Om indelningar är aktiverat eller inte
|
370
|
+
short_description: Kort beskrivning av processen
|
371
|
+
start_date: Startdatum för processen
|
372
|
+
subtitle: Undertitel för processen
|
373
|
+
title: Processens titel
|
374
|
+
url: Processens URL
|
363
375
|
participatory_process_groups:
|
364
376
|
content_blocks:
|
365
377
|
extra_data:
|
@@ -423,17 +435,16 @@ sv:
|
|
423
435
|
participatory_processes:
|
424
436
|
form:
|
425
437
|
announcement_help: Den här texten visas direkt under informationen om processen.
|
438
|
+
define_taxonomy_filters: Vänligen definiera några filter för deltagarutrymmet innan du använder den här inställningen.
|
426
439
|
duration: Varaktighet
|
427
|
-
filters: Filter
|
428
440
|
images: Bilder
|
429
441
|
metadata: Metadata
|
430
|
-
|
442
|
+
no_taxonomy_filters_found: Inga filter för kategorier hittades.
|
443
|
+
private_notice: Du kommer att kunna hantera medlemmar om processen gjorts privat
|
431
444
|
related_processes: Relaterade processer
|
432
|
-
scope_type_max_depth_help: Begränsa djupet på filtret för indelningen.
|
433
|
-
select_an_area: Välj ett område
|
434
|
-
select_participatory_process_type: Välj typ av process
|
435
445
|
select_process_group: Välj en grupp av processer
|
436
446
|
slug_help_html: 'URL-slugs används till att generera URL:er till processen. Använd bara bokstäver, siffror och bindestreck, och de måste börja med en bokstav. Exempel: %{url}'
|
447
|
+
taxonomies: Kategorisering
|
437
448
|
title: Allmän information
|
438
449
|
visibility: Synlighet
|
439
450
|
content_blocks:
|
@@ -498,6 +509,9 @@ sv:
|
|
498
509
|
type: Typ
|
499
510
|
show:
|
500
511
|
title: Om processen
|
512
|
+
participatory_space_private_users:
|
513
|
+
index:
|
514
|
+
title: Medlemmar
|
501
515
|
show:
|
502
516
|
belongs_to_group: Den här processen tillhör
|
503
517
|
private_space: Det här är en privat process
|
@@ -511,6 +525,8 @@ sv:
|
|
511
525
|
browse: Bläddra
|
512
526
|
browse_resource: Bläddra i processgruppen %{resource_name}
|
513
527
|
processes_count: 'Processer:'
|
528
|
+
participatory_process_navigation:
|
529
|
+
member_menu_item: Medlemmar
|
514
530
|
participatory_processes:
|
515
531
|
index:
|
516
532
|
promoted_processes: Viktiga processer just nu
|
data/config/locales/tr-TR.yml
CHANGED
@@ -23,9 +23,6 @@ tr:
|
|
23
23
|
promoted: Tanıtılan
|
24
24
|
published_at: Yayınlandı
|
25
25
|
related_process_ids: İlgili süreçler
|
26
|
-
scope_id: Kapsam
|
27
|
-
scope_type_max_depth_id: Kapsam filtre derinliği
|
28
|
-
scopes_enabled: Kapsamlar etkin
|
29
26
|
short_description: Kısa Açıklama
|
30
27
|
slug: URL özel bilgisi
|
31
28
|
start_date: Başlangıç tarihi
|
@@ -53,8 +50,6 @@ tr:
|
|
53
50
|
short_description: Kısa Açıklama
|
54
51
|
start_date: Başlangıç tarihi
|
55
52
|
title: Başlık
|
56
|
-
participatory_process_type:
|
57
|
-
title: Başlık
|
58
53
|
participatory_process_user_role:
|
59
54
|
email: E-posta
|
60
55
|
name: isim
|
@@ -102,11 +97,9 @@ tr:
|
|
102
97
|
attachment_collections: Klasörler
|
103
98
|
attachment_files: Dosyalar
|
104
99
|
attachments: Ekler
|
105
|
-
categories: Kategoriler
|
106
100
|
components: Bileşenler
|
107
101
|
info: Süreç Hakkında
|
108
102
|
moderations: Denetimler
|
109
|
-
private_users: Özel Kullanıcılar
|
110
103
|
process_admins: İşlemi gerçekleştiren kullanıcılar
|
111
104
|
steps: adımlar
|
112
105
|
models:
|
@@ -128,10 +121,6 @@ tr:
|
|
128
121
|
start_date: Başlangıç tarihi
|
129
122
|
title: Başlık
|
130
123
|
name: Katılımcı süreç adımı
|
131
|
-
participatory_process_type:
|
132
|
-
fields:
|
133
|
-
created_at: Düzenlendi
|
134
|
-
title: Başlık
|
135
124
|
participatory_process_user_role:
|
136
125
|
fields:
|
137
126
|
email: E-posta
|
@@ -154,7 +143,6 @@ tr:
|
|
154
143
|
title: Yinelenen katılımcı süreç
|
155
144
|
participatory_process_groups:
|
156
145
|
destroy:
|
157
|
-
error: Katılımcı süreç grubu yok edilirken bir hata oluştu.
|
158
146
|
success: Katılımcı süreç grubu başarıyla silindi.
|
159
147
|
edit:
|
160
148
|
title: İşlem grubunu düzenle
|
@@ -204,11 +192,6 @@ tr:
|
|
204
192
|
update:
|
205
193
|
error: Bu katılımcı süreç adımı güncellenirken bir hata oluştu.
|
206
194
|
success: Katılımcı süreç adımı başarıyla güncellendi.
|
207
|
-
participatory_process_types:
|
208
|
-
edit:
|
209
|
-
update: Güncelleştirme
|
210
|
-
new:
|
211
|
-
create: yaratmak
|
212
195
|
participatory_process_user_roles:
|
213
196
|
create:
|
214
197
|
error: Bu katılımcı süreç için bir kullanıcı eklenirken bir hata oluştu.
|
@@ -351,13 +334,9 @@ tr:
|
|
351
334
|
form:
|
352
335
|
announcement_help: Buraya girdiğiniz metin, işlem bilgilerinin hemen altındaki kullanıcıya gösterilecektir.
|
353
336
|
duration: süre
|
354
|
-
filters: Filtreler
|
355
337
|
images: Görüntüler
|
356
338
|
metadata: Meta veri
|
357
|
-
other: Diğer
|
358
339
|
related_processes: İlgili süreçler
|
359
|
-
scope_type_max_depth_help: Kapsam filtresi derinliğini sınırlayın; Filtre genelden seçilen kapsam türüne kadar gösterilecektir.
|
360
|
-
select_an_area: Bir alan seçin
|
361
340
|
select_process_group: Bir işlem grubu seçin
|
362
341
|
title: Genel bilgi
|
363
342
|
content_blocks:
|
data/config/locales/uk.yml
CHANGED
@@ -21,7 +21,6 @@ uk:
|
|
21
21
|
promoted: Висвітлено
|
22
22
|
published_at: 'Оприлюднено:'
|
23
23
|
related_process_ids: Супутні рухи
|
24
|
-
scopes_enabled: Обсяги увімкнено
|
25
24
|
short_description: Стислий опис
|
26
25
|
slug: Скорочена веб-адреса
|
27
26
|
start_date: Дата початку
|
@@ -38,8 +37,6 @@ uk:
|
|
38
37
|
short_description: Стислий опис
|
39
38
|
start_date: Дата початку
|
40
39
|
title: Назва
|
41
|
-
participatory_process_type:
|
42
|
-
title: Назва
|
43
40
|
participatory_process_user_role:
|
44
41
|
email: Адреса електронної пошти
|
45
42
|
name: Ім'я
|
@@ -88,10 +85,8 @@ uk:
|
|
88
85
|
attachment_collections: Теки
|
89
86
|
attachment_files: Вкладені файли
|
90
87
|
attachments: Вкладені файли
|
91
|
-
categories: Категорії
|
92
88
|
components: Складові
|
93
89
|
moderations: Дії з модерації
|
94
|
-
private_users: Приватні учасники
|
95
90
|
process_admins: Учасники руху
|
96
91
|
steps: Кроки
|
97
92
|
models:
|
@@ -110,10 +105,6 @@ uk:
|
|
110
105
|
start_date: Дата початку
|
111
106
|
title: Назва
|
112
107
|
name: Крок руху співучасті
|
113
|
-
participatory_process_type:
|
114
|
-
fields:
|
115
|
-
created_at: 'Додано:'
|
116
|
-
title: Назва
|
117
108
|
participatory_process_user_role:
|
118
109
|
fields:
|
119
110
|
email: Адреса електронної пошти
|
@@ -176,11 +167,6 @@ uk:
|
|
176
167
|
update:
|
177
168
|
error: При спробі оновити цей крок руху співучасті сталася помилка.
|
178
169
|
success: Крок руху співучасті успішно оновлено.
|
179
|
-
participatory_process_types:
|
180
|
-
edit:
|
181
|
-
update: Оновити
|
182
|
-
new:
|
183
|
-
create: Створити
|
184
170
|
participatory_process_user_roles:
|
185
171
|
create:
|
186
172
|
error: При спробі додати учасника в цей рух співучасті сталася помилка.
|
@@ -256,9 +242,6 @@ uk:
|
|
256
242
|
notification_title: Дати для кроку <a href="%{resource_path}">%{resource_title}</a> у <a href="%{participatory_space_url}">%{participatory_space_title}</a> були оновлені.
|
257
243
|
menu:
|
258
244
|
processes: Рухи
|
259
|
-
metrics:
|
260
|
-
participatory_processes:
|
261
|
-
title: Рухи співучасті
|
262
245
|
participatory_process_groups:
|
263
246
|
content_blocks:
|
264
247
|
stats:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -23,8 +23,6 @@ zh-CN:
|
|
23
23
|
promoted: 已升级
|
24
24
|
published_at: 发布于
|
25
25
|
related_process_ids: 相关进程
|
26
|
-
scope_type_max_depth_id: 范围过滤器深度:
|
27
|
-
scopes_enabled: 范围已启用
|
28
26
|
short_description: 简短描述
|
29
27
|
slug: URL 名称
|
30
28
|
start_date: 开始日期
|
@@ -43,8 +41,6 @@ zh-CN:
|
|
43
41
|
short_description: 简短描述
|
44
42
|
start_date: 开始日期
|
45
43
|
title: 标题
|
46
|
-
participatory_process_type:
|
47
|
-
title: 标题
|
48
44
|
participatory_process_user_role:
|
49
45
|
email: 电子邮件地址
|
50
46
|
name: 名称
|
@@ -85,10 +81,8 @@ zh-CN:
|
|
85
81
|
attachment_collections: 文件夹
|
86
82
|
attachment_files: 文件
|
87
83
|
attachments: 附件
|
88
|
-
categories: 类别管理
|
89
84
|
components: 组件
|
90
85
|
moderations: 版面
|
91
|
-
private_users: 私人参与者
|
92
86
|
process_admins: 进程管理员
|
93
87
|
steps: 阶段
|
94
88
|
models:
|
@@ -107,10 +101,6 @@ zh-CN:
|
|
107
101
|
start_date: 开始日期
|
108
102
|
title: 标题
|
109
103
|
name: 参与进程阶段
|
110
|
-
participatory_process_type:
|
111
|
-
fields:
|
112
|
-
created_at: 创建于
|
113
|
-
title: 标题
|
114
104
|
participatory_process_user_role:
|
115
105
|
fields:
|
116
106
|
email: 电子邮件地址
|
@@ -133,7 +123,6 @@ zh-CN:
|
|
133
123
|
title: 重复的参与进程
|
134
124
|
participatory_process_groups:
|
135
125
|
destroy:
|
136
|
-
error: 销毁参与性进程小组时出错。
|
137
126
|
success: 参与进程组已成功删除。
|
138
127
|
edit:
|
139
128
|
title: 编辑流程组
|
@@ -183,11 +172,6 @@ zh-CN:
|
|
183
172
|
update:
|
184
173
|
error: 在更新这一阶段的参与进程时遇到了问题。
|
185
174
|
success: 参与阶段更新成功。
|
186
|
-
participatory_process_types:
|
187
|
-
edit:
|
188
|
-
update: 更新
|
189
|
-
new:
|
190
|
-
create: 创建
|
191
175
|
participatory_process_user_roles:
|
192
176
|
create:
|
193
177
|
error: 在这个参与进程中增加参与者时遇到了问题。
|
@@ -308,13 +292,9 @@ zh-CN:
|
|
308
292
|
form:
|
309
293
|
announcement_help: 您在此输入的文本将会显示给流程信息下方的用户。
|
310
294
|
duration: 期限
|
311
|
-
filters: 筛选器
|
312
295
|
images: 图像
|
313
296
|
metadata: 元数据
|
314
|
-
other: 其他
|
315
297
|
related_processes: 相关进程
|
316
|
-
scope_type_max_depth_help: 限制范围过滤器深度; 过滤器将从一般到所选范围类型显示。
|
317
|
-
select_an_area: 选择区域
|
318
298
|
select_process_group: 选择一个流程组
|
319
299
|
title: 一般信息
|
320
300
|
content_blocks:
|
data/config/locales/zh-TW.yml
CHANGED
@@ -23,16 +23,12 @@ zh-TW:
|
|
23
23
|
local_area: 組織區域
|
24
24
|
meta_scope: 元數據範圍
|
25
25
|
participatory_process_group_id: 程序群組
|
26
|
-
participatory_process_type_id: 處理類型
|
27
26
|
participatory_scope: 決定了什麼
|
28
27
|
participatory_structure: 如何決定
|
29
28
|
private_space: 私有程序
|
30
29
|
promoted: 推廣
|
31
30
|
published_at: 發佈於
|
32
31
|
related_process_ids: 相關程序
|
33
|
-
scope_id: 範圍
|
34
|
-
scope_type_max_depth_id: 範圍篩選深度
|
35
|
-
scopes_enabled: 啟用範圍
|
36
32
|
short_description: 簡短說明
|
37
33
|
slug: URL網址
|
38
34
|
start_date: 開始日期
|
@@ -61,8 +57,6 @@ zh-TW:
|
|
61
57
|
short_description: 簡短說明
|
62
58
|
start_date: 開始日期
|
63
59
|
title: 標題
|
64
|
-
participatory_process_type:
|
65
|
-
title: 標題
|
66
60
|
participatory_process_user_role:
|
67
61
|
email: 電子郵件
|
68
62
|
name: 名稱
|
@@ -98,7 +92,6 @@ zh-TW:
|
|
98
92
|
new_process: 新的程序
|
99
93
|
new_process_group: 新的程序群組
|
100
94
|
new_process_step: 新階段
|
101
|
-
new_process_type: 新的處理類型
|
102
95
|
new_process_user_role: 新程序管理員
|
103
96
|
preview: 預覽
|
104
97
|
publish: 發布
|
@@ -109,16 +102,13 @@ zh-TW:
|
|
109
102
|
participatory_process_groups_submenu:
|
110
103
|
info: 資訊
|
111
104
|
landing_page: 登陸頁面
|
112
|
-
participatory_process_types: 處理類型
|
113
105
|
participatory_processes: 程序
|
114
106
|
participatory_processes_submenu:
|
115
107
|
attachment_collections: 資料夾
|
116
108
|
attachment_files: 檔案
|
117
109
|
attachments: 附件
|
118
|
-
categories: 類別
|
119
110
|
components: 组件
|
120
111
|
moderations: 版主
|
121
|
-
private_users: 私人參與者
|
122
112
|
process_admins: 程序管理員
|
123
113
|
steps: 分類
|
124
114
|
models:
|
@@ -139,11 +129,6 @@ zh-TW:
|
|
139
129
|
start_date: 開始日期
|
140
130
|
title: 標題
|
141
131
|
name: 參與式過程階段
|
142
|
-
participatory_process_type:
|
143
|
-
fields:
|
144
|
-
created_at: 建立於
|
145
|
-
title: 標題
|
146
|
-
name: 處理類型
|
147
132
|
participatory_process_user_role:
|
148
133
|
fields:
|
149
134
|
email: 電子郵件
|
@@ -166,7 +151,6 @@ zh-TW:
|
|
166
151
|
title: 重複的參與性流程
|
167
152
|
participatory_process_groups:
|
168
153
|
destroy:
|
169
|
-
error: 刪除參與性流程群組時發生錯誤。
|
170
154
|
success: 參與式流程組成功刪除。
|
171
155
|
edit:
|
172
156
|
title: 編輯程序群組
|
@@ -219,21 +203,6 @@ zh-TW:
|
|
219
203
|
update:
|
220
204
|
error: 更新參與程序階段時出現問題。
|
221
205
|
success: 參與式階段成功更新。
|
222
|
-
participatory_process_types:
|
223
|
-
create:
|
224
|
-
error: 新增程序類型時發生錯誤
|
225
|
-
success: 程序類型已成功創建
|
226
|
-
destroy:
|
227
|
-
success: 程序類型已成功刪除。
|
228
|
-
edit:
|
229
|
-
title: 編輯程序類型
|
230
|
-
update: 更新
|
231
|
-
new:
|
232
|
-
create: 建立
|
233
|
-
title: 新的處理類型
|
234
|
-
update:
|
235
|
-
error: 更新這個程序類型時發生錯誤
|
236
|
-
success: 程序類型成功更新。
|
237
206
|
participatory_process_user_roles:
|
238
207
|
create:
|
239
208
|
error: 新增參與者至此參與式過程時發生問題。
|
@@ -385,14 +354,9 @@ zh-TW:
|
|
385
354
|
form:
|
386
355
|
announcement_help: 您在此處輸入的文字將顯示至使用者的正下方程序信息
|
387
356
|
duration: 持續時間
|
388
|
-
filters: 過濾器
|
389
357
|
images: 圖片
|
390
358
|
metadata: 元數據
|
391
|
-
other: 其他
|
392
359
|
related_processes: 相關程序
|
393
|
-
scope_type_max_depth_help: 限制範圍過濾器深度;過濾器將會從一般範圍到所選範圍層級進行顯示。
|
394
|
-
select_an_area: 選擇一個地區
|
395
|
-
select_participatory_process_type: 選擇一個程序類型
|
396
360
|
select_process_group: 選擇一個程序群組
|
397
361
|
title: 基本資訊
|
398
362
|
content_blocks:
|
@@ -7,7 +7,7 @@ class AddFollowableCounterCacheToParticipatoryProcesses < ActiveRecord::Migratio
|
|
7
7
|
reversible do |dir|
|
8
8
|
dir.up do
|
9
9
|
Decidim::ParticipatoryProcess.reset_column_information
|
10
|
-
Decidim::ParticipatoryProcess.find_each do |record|
|
10
|
+
Decidim::ParticipatoryProcess.unscoped.find_each do |record|
|
11
11
|
record.class.reset_counters(record.id, :follows)
|
12
12
|
end
|
13
13
|
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class AddDeletedAtToDecidimParticipatoryProcesses < ActiveRecord::Migration[7.0]
|
4
|
+
def change
|
5
|
+
add_column :decidim_participatory_processes, :deleted_at, :datetime
|
6
|
+
add_index :decidim_participatory_processes, :deleted_at
|
7
|
+
end
|
8
|
+
end
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
"homepage_uri" => "https://decidim.org",
|
18
18
|
"source_code_uri" => "https://github.com/decidim/decidim"
|
19
19
|
}
|
20
|
-
s.required_ruby_version = "~> 3.
|
20
|
+
s.required_ruby_version = "~> 3.3.0"
|
21
21
|
|
22
22
|
s.name = "decidim-participatory_processes"
|
23
23
|
s.summary = "Decidim participatory processes module"
|
@@ -6,12 +6,12 @@ module Decidim
|
|
6
6
|
class ParticipatoryProcessGroupType < Decidim::Api::Types::BaseObject
|
7
7
|
description "A participatory process group"
|
8
8
|
|
9
|
-
field :id, GraphQL::Types::ID, "ID of this participatory process group", null: false
|
10
|
-
field :title, Decidim::Core::TranslatedFieldType, "The title of this participatory process group", null: true
|
11
9
|
field :description, Decidim::Core::TranslatedFieldType, "The description of this participatory process group", null: true
|
10
|
+
field :hero_image, GraphQL::Types::String, "The hero image for this participatory process group", null: true
|
11
|
+
field :id, GraphQL::Types::ID, "ID of this participatory process group", null: false
|
12
12
|
field :participatory_processes, [Decidim::ParticipatoryProcesses::ParticipatoryProcessType, { null: true }],
|
13
13
|
description: "Lists all the participatory processes belonging to this group", null: false
|
14
|
-
field :
|
14
|
+
field :title, Decidim::Core::TranslatedFieldType, "The title of this participatory process group", null: true
|
15
15
|
|
16
16
|
def hero_image
|
17
17
|
object.attached_uploader(:hero_image).url
|
@@ -6,18 +6,16 @@ module Decidim
|
|
6
6
|
class ParticipatoryProcessStepType < Decidim::Api::Types::BaseObject
|
7
7
|
description "A participatory process step"
|
8
8
|
|
9
|
-
field :
|
10
|
-
|
11
|
-
field :participatory_process, ParticipatoryProcessType, description: "The participatory process in which this step belongs to.", null: false
|
12
|
-
|
13
|
-
field :title, Decidim::Core::TranslatedFieldType, "The title of this step", null: false
|
14
|
-
field :description, Decidim::Core::TranslatedFieldType, "The description of this step", null: true
|
15
|
-
field :start_date, Decidim::Core::DateTimeType, "This step's start date", null: true
|
16
|
-
field :end_date, Decidim::Core::DateTimeType, "This step's end date", null: true
|
9
|
+
field :active, GraphQL::Types::Boolean, "If this step is the active one", null: true
|
17
10
|
field :call_to_action_path, GraphQL::Types::String, "A call to action URL for this step", method: :cta_path, null: true
|
18
11
|
field :call_to_action_text, Decidim::Core::TranslatedFieldType, "The call to action text for this step", method: :cta_text, null: true
|
19
|
-
field :
|
12
|
+
field :description, Decidim::Core::TranslatedFieldType, "The description of this step", null: true
|
13
|
+
field :end_date, Decidim::Core::DateTimeType, "This step's end date", null: true
|
14
|
+
field :id, GraphQL::Types::ID, "The unique ID of this step.", null: false
|
15
|
+
field :participatory_process, ParticipatoryProcessType, description: "The participatory process in which this step belongs to.", null: false
|
20
16
|
field :position, GraphQL::Types::Int, "Ordering position among all the steps", null: true
|
17
|
+
field :start_date, Decidim::Core::DateTimeType, "This step's start date", null: true
|
18
|
+
field :title, Decidim::Core::TranslatedFieldType, "The title of this step", null: false
|
21
19
|
end
|
22
20
|
end
|
23
21
|
end
|