decidim-participatory_processes 0.29.1 → 0.30.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- 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 +6 -36
- 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 +15 -14
- data/app/presenters/decidim/participatory_processes/admin_log/participatory_process_presenter.rb +1 -1
- data/app/presenters/decidim/participatory_processes/participatory_process_group_presenter.rb +1 -1
- data/app/presenters/decidim/participatory_processes/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_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 +3 -7
- data/config/locales/bg.yml +0 -36
- data/config/locales/bn-BD.yml +1 -0
- data/config/locales/bs-BA.yml +23 -0
- data/config/locales/ca.yml +61 -36
- data/config/locales/cs.yml +61 -36
- data/config/locales/de.yml +60 -35
- data/config/locales/el.yml +0 -36
- data/config/locales/en.yml +61 -36
- data/config/locales/es-MX.yml +60 -35
- data/config/locales/es-PY.yml +60 -35
- data/config/locales/es.yml +60 -35
- data/config/locales/eu.yml +103 -78
- data/config/locales/fi-plain.yml +61 -36
- data/config/locales/fi.yml +67 -42
- data/config/locales/fr-CA.yml +24 -35
- data/config/locales/fr.yml +24 -35
- data/config/locales/ga-IE.yml +0 -4
- data/config/locales/gl.yml +0 -7
- data/config/locales/hu.yml +0 -36
- data/config/locales/id-ID.yml +0 -7
- data/config/locales/is-IS.yml +0 -3
- data/config/locales/it.yml +0 -10
- data/config/locales/ja.yml +61 -36
- data/config/locales/lb.yml +0 -9
- data/config/locales/lt.yml +0 -36
- data/config/locales/lv.yml +0 -10
- data/config/locales/nl.yml +0 -10
- data/config/locales/no.yml +0 -36
- data/config/locales/pl.yml +0 -36
- data/config/locales/pt-BR.yml +0 -25
- data/config/locales/pt.yml +6 -10
- data/config/locales/ro-RO.yml +6 -36
- data/config/locales/ru.yml +0 -4
- data/config/locales/sk.yml +0 -10
- data/config/locales/sr-CS.yml +0 -9
- data/config/locales/sv.yml +62 -43
- data/config/locales/tr-TR.yml +0 -10
- data/config/locales/uk.yml +0 -4
- data/config/locales/zh-CN.yml +0 -10
- 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 +2 -2
- 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/query_extensions.rb +26 -0
- 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 +27 -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/sv.yml
CHANGED
@@ -10,7 +10,7 @@ sv:
|
|
10
10
|
copy_steps: Kopiera steg
|
11
11
|
decidim_area_id: Område
|
12
12
|
description: Beskrivning
|
13
|
-
developer_group:
|
13
|
+
developer_group: Arrangör
|
14
14
|
document: Dokument
|
15
15
|
domain: Domän
|
16
16
|
end_date: Slutdatum
|
@@ -21,18 +21,14 @@ sv:
|
|
21
21
|
import_components: Importera komponenter
|
22
22
|
import_steps: Importera steg
|
23
23
|
local_area: Område
|
24
|
-
meta_scope:
|
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
|
@@ -42,12 +38,12 @@ sv:
|
|
42
38
|
weight: Position i listan
|
43
39
|
participatory_process_group:
|
44
40
|
description: Beskrivning
|
45
|
-
developer_group:
|
41
|
+
developer_group: Arrangör
|
46
42
|
group_url: Webbplats
|
47
43
|
hashtag: Hashtag
|
48
44
|
hero_image: Bild
|
49
45
|
local_area: Område
|
50
|
-
meta_scope:
|
46
|
+
meta_scope: Omfattning
|
51
47
|
participatory_process_ids: Relaterade processer
|
52
48
|
participatory_scope: Vad beslutas
|
53
49
|
participatory_structure: Hur fattas beslut
|
@@ -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,10 +290,13 @@ 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:
|
313
298
|
create: "%{user_name} skapade gruppen %{resource_name}"
|
299
|
+
unpublish: "%{user_name} avpublicerade gruppen av deltagandeprocesser %{resource_name}"
|
314
300
|
update: "%{user_name} uppdaterade gruppen %{resource_name}"
|
315
301
|
participatory_process_step:
|
316
302
|
activate: "%{user_name} aktiverade steget %{resource_name} i processen %{space_name}"
|
@@ -325,6 +311,9 @@ sv:
|
|
325
311
|
create: "%{user_name} bjöd in deltagaren %{resource_name} till processen %{space_name}"
|
326
312
|
delete: "%{user_name} tog bort deltagaren %{resource_name} från processen %{space_name}"
|
327
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
|
328
317
|
events:
|
329
318
|
participatory_process:
|
330
319
|
role_assigned:
|
@@ -359,12 +348,36 @@ sv:
|
|
359
348
|
description: Antal deltagandeprocesser i organisationen
|
360
349
|
object: deltagandeprocesser
|
361
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
|
362
375
|
participatory_process_groups:
|
363
376
|
content_blocks:
|
364
377
|
extra_data:
|
365
378
|
developer_group: Stödd av
|
366
379
|
name: Metadata
|
367
|
-
participatory_scope: Vad
|
380
|
+
participatory_scope: Vad beslutas
|
368
381
|
participatory_structure: Hur fattas beslut
|
369
382
|
target: Vem deltar
|
370
383
|
html:
|
@@ -422,17 +435,16 @@ sv:
|
|
422
435
|
participatory_processes:
|
423
436
|
form:
|
424
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.
|
425
439
|
duration: Varaktighet
|
426
|
-
filters: Filter
|
427
440
|
images: Bilder
|
428
441
|
metadata: Metadata
|
429
|
-
|
442
|
+
no_taxonomy_filters_found: Inga filter för kategorier hittades.
|
443
|
+
private_notice: Du kommer att kunna hantera medlemmar om processen gjorts privat
|
430
444
|
related_processes: Relaterade processer
|
431
|
-
scope_type_max_depth_help: Begränsa djupet på filtret för indelningen.
|
432
|
-
select_an_area: Välj ett område
|
433
|
-
select_participatory_process_type: Välj typ av process
|
434
445
|
select_process_group: Välj en grupp av processer
|
435
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
|
436
448
|
title: Allmän information
|
437
449
|
visibility: Synlighet
|
438
450
|
content_blocks:
|
@@ -446,6 +458,8 @@ sv:
|
|
446
458
|
name: Relaterade processer
|
447
459
|
index:
|
448
460
|
title: Deltagandeprocesser
|
461
|
+
last_activity:
|
462
|
+
new_participatory_process: 'Ny process:'
|
449
463
|
pages:
|
450
464
|
home:
|
451
465
|
highlighted_processes:
|
@@ -458,10 +472,10 @@ sv:
|
|
458
472
|
description:
|
459
473
|
area_name: Område
|
460
474
|
data: Data från processen
|
461
|
-
developer_group:
|
475
|
+
developer_group: Arrangör
|
462
476
|
local_area: Område
|
463
477
|
meta_scope: Indelning
|
464
|
-
participatory_scope: Vad
|
478
|
+
participatory_scope: Vad beslutas
|
465
479
|
participatory_structure: Hur fattas beslut
|
466
480
|
target: Vem deltar
|
467
481
|
title: Om processen
|
@@ -495,6 +509,9 @@ sv:
|
|
495
509
|
type: Typ
|
496
510
|
show:
|
497
511
|
title: Om processen
|
512
|
+
participatory_space_private_users:
|
513
|
+
index:
|
514
|
+
title: Medlemmar
|
498
515
|
show:
|
499
516
|
belongs_to_group: Den här processen tillhör
|
500
517
|
private_space: Det här är en privat process
|
@@ -508,6 +525,8 @@ sv:
|
|
508
525
|
browse: Bläddra
|
509
526
|
browse_resource: Bläddra i processgruppen %{resource_name}
|
510
527
|
processes_count: 'Processer:'
|
528
|
+
participatory_process_navigation:
|
529
|
+
member_menu_item: Medlemmar
|
511
530
|
participatory_processes:
|
512
531
|
index:
|
513
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
|
@@ -100,11 +97,9 @@ tr:
|
|
100
97
|
attachment_collections: Klasörler
|
101
98
|
attachment_files: Dosyalar
|
102
99
|
attachments: Ekler
|
103
|
-
categories: Kategoriler
|
104
100
|
components: Bileşenler
|
105
101
|
info: Süreç Hakkında
|
106
102
|
moderations: Denetimler
|
107
|
-
private_users: Özel Kullanıcılar
|
108
103
|
process_admins: İşlemi gerçekleştiren kullanıcılar
|
109
104
|
steps: adımlar
|
110
105
|
models:
|
@@ -148,7 +143,6 @@ tr:
|
|
148
143
|
title: Yinelenen katılımcı süreç
|
149
144
|
participatory_process_groups:
|
150
145
|
destroy:
|
151
|
-
error: Katılımcı süreç grubu yok edilirken bir hata oluştu.
|
152
146
|
success: Katılımcı süreç grubu başarıyla silindi.
|
153
147
|
edit:
|
154
148
|
title: İşlem grubunu düzenle
|
@@ -340,13 +334,9 @@ tr:
|
|
340
334
|
form:
|
341
335
|
announcement_help: Buraya girdiğiniz metin, işlem bilgilerinin hemen altındaki kullanıcıya gösterilecektir.
|
342
336
|
duration: süre
|
343
|
-
filters: Filtreler
|
344
337
|
images: Görüntüler
|
345
338
|
metadata: Meta veri
|
346
|
-
other: Diğer
|
347
339
|
related_processes: İlgili süreçler
|
348
|
-
scope_type_max_depth_help: Kapsam filtresi derinliğini sınırlayın; Filtre genelden seçilen kapsam türüne kadar gösterilecektir.
|
349
|
-
select_an_area: Bir alan seçin
|
350
340
|
select_process_group: Bir işlem grubu seçin
|
351
341
|
title: Genel bilgi
|
352
342
|
content_blocks:
|
data/config/locales/uk.yml
CHANGED
@@ -21,8 +21,6 @@ uk:
|
|
21
21
|
promoted: Висвітлено
|
22
22
|
published_at: 'Оприлюднено:'
|
23
23
|
related_process_ids: Супутні рухи
|
24
|
-
scope_id: Обсяг
|
25
|
-
scopes_enabled: Обсяги увімкнено
|
26
24
|
short_description: Стислий опис
|
27
25
|
slug: Скорочена веб-адреса
|
28
26
|
start_date: Дата початку
|
@@ -87,10 +85,8 @@ uk:
|
|
87
85
|
attachment_collections: Теки
|
88
86
|
attachment_files: Вкладені файли
|
89
87
|
attachments: Вкладені файли
|
90
|
-
categories: Категорії
|
91
88
|
components: Складові
|
92
89
|
moderations: Дії з модерації
|
93
|
-
private_users: Приватні учасники
|
94
90
|
process_admins: Учасники руху
|
95
91
|
steps: Кроки
|
96
92
|
models:
|
data/config/locales/zh-CN.yml
CHANGED
@@ -23,9 +23,6 @@ zh-CN:
|
|
23
23
|
promoted: 已升级
|
24
24
|
published_at: 发布于
|
25
25
|
related_process_ids: 相关进程
|
26
|
-
scope_id: 范围
|
27
|
-
scope_type_max_depth_id: 范围过滤器深度:
|
28
|
-
scopes_enabled: 范围已启用
|
29
26
|
short_description: 简短描述
|
30
27
|
slug: URL 名称
|
31
28
|
start_date: 开始日期
|
@@ -84,10 +81,8 @@ zh-CN:
|
|
84
81
|
attachment_collections: 文件夹
|
85
82
|
attachment_files: 文件
|
86
83
|
attachments: 附件
|
87
|
-
categories: 类别管理
|
88
84
|
components: 组件
|
89
85
|
moderations: 版面
|
90
|
-
private_users: 私人参与者
|
91
86
|
process_admins: 进程管理员
|
92
87
|
steps: 阶段
|
93
88
|
models:
|
@@ -128,7 +123,6 @@ zh-CN:
|
|
128
123
|
title: 重复的参与进程
|
129
124
|
participatory_process_groups:
|
130
125
|
destroy:
|
131
|
-
error: 销毁参与性进程小组时出错。
|
132
126
|
success: 参与进程组已成功删除。
|
133
127
|
edit:
|
134
128
|
title: 编辑流程组
|
@@ -298,13 +292,9 @@ zh-CN:
|
|
298
292
|
form:
|
299
293
|
announcement_help: 您在此输入的文本将会显示给流程信息下方的用户。
|
300
294
|
duration: 期限
|
301
|
-
filters: 筛选器
|
302
295
|
images: 图像
|
303
296
|
metadata: 元数据
|
304
|
-
other: 其他
|
305
297
|
related_processes: 相关进程
|
306
|
-
scope_type_max_depth_help: 限制范围过滤器深度; 过滤器将从一般到所选范围类型显示。
|
307
|
-
select_an_area: 选择区域
|
308
298
|
select_process_group: 选择一个流程组
|
309
299
|
title: 一般信息
|
310
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
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.version = Decidim::ParticipatoryProcesses.version
|
9
9
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
10
10
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
11
|
-
s.license = "AGPL-3.0"
|
11
|
+
s.license = "AGPL-3.0-or-later"
|
12
12
|
s.homepage = "https://decidim.org"
|
13
13
|
s.metadata = {
|
14
14
|
"bug_tracker_uri" => "https://github.com/decidim/decidim/issues",
|
@@ -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
|