decidim-assemblies 0.28.1 → 0.29.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/assemblies/content_blocks/highlighted_assemblies_cell.rb +0 -4
- data/app/cells/decidim/assemblies/content_blocks/stats_cell.rb +1 -1
- data/app/commands/decidim/assemblies/admin/create_assemblies_type.rb +3 -31
- data/app/commands/decidim/assemblies/admin/create_assembly.rb +30 -89
- data/app/commands/decidim/assemblies/admin/create_assembly_member.rb +14 -66
- data/app/commands/decidim/assemblies/admin/destroy_assembly_member.rb +5 -37
- data/app/commands/decidim/assemblies/admin/import_assembly.rb +1 -1
- data/app/commands/decidim/assemblies/admin/update_assemblies_type.rb +2 -35
- data/app/commands/decidim/assemblies/admin/update_assembly.rb +22 -99
- data/app/commands/decidim/assemblies/admin/update_assembly_member.rb +8 -69
- data/app/controllers/decidim/assemblies/admin/assemblies_controller.rb +1 -1
- data/app/controllers/decidim/assemblies/admin/assemblies_types_controller.rb +4 -4
- data/app/controllers/decidim/assemblies/admin/assembly_members_controller.rb +1 -1
- data/app/controllers/decidim/assemblies/admin/participatory_space_private_users_controller.rb +1 -1
- data/app/controllers/decidim/assemblies/admin/participatory_space_private_users_csv_imports_controller.rb +1 -1
- data/app/controllers/decidim/assemblies/application_controller.rb +4 -1
- data/app/controllers/decidim/assemblies/assemblies_controller.rb +0 -3
- data/app/controllers/decidim/assemblies/assembly_members_controller.rb +0 -2
- data/app/forms/decidim/assemblies/admin/assembly_form.rb +0 -1
- data/app/helpers/decidim/assemblies/assemblies_helper.rb +0 -26
- data/app/permissions/decidim/assemblies/permissions.rb +1 -1
- data/app/presenters/decidim/assemblies/admin_log/assembly_presenter.rb +0 -1
- data/app/serializers/decidim/assemblies/assembly_importer.rb +0 -1
- data/app/serializers/decidim/assemblies/assembly_serializer.rb +1 -2
- data/app/views/decidim/assemblies/admin/assemblies/_form.html.erb +5 -9
- data/app/views/decidim/assemblies/admin/assemblies/index.html.erb +2 -0
- data/app/views/decidim/assemblies/admin/assembly_members/index.html.erb +1 -1
- data/app/views/decidim/assemblies/admin/assembly_user_roles/_form.html.erb +1 -1
- data/app/views/decidim/assemblies/admin/assembly_user_roles/index.html.erb +1 -1
- data/app/views/decidim/assemblies/assemblies/show.html.erb +21 -17
- data/app/views/decidim/assemblies/assembly_members/index.html.erb +2 -1
- data/config/locales/ar.yml +0 -7
- data/config/locales/bg.yml +441 -4
- data/config/locales/ca.yml +2 -7
- data/config/locales/cs.yml +2 -7
- data/config/locales/de.yml +3 -8
- data/config/locales/el.yml +0 -7
- data/config/locales/en.yml +3 -8
- data/config/locales/es-MX.yml +6 -11
- data/config/locales/es-PY.yml +5 -10
- data/config/locales/es.yml +6 -11
- data/config/locales/eu.yml +3 -8
- data/config/locales/fi-plain.yml +2 -7
- data/config/locales/fi.yml +2 -7
- data/config/locales/fr-CA.yml +3 -8
- data/config/locales/fr.yml +3 -8
- data/config/locales/ga-IE.yml +0 -3
- data/config/locales/gl.yml +0 -7
- data/config/locales/he-IL.yml +0 -4
- data/config/locales/hu.yml +1 -8
- data/config/locales/id-ID.yml +0 -6
- data/config/locales/is-IS.yml +0 -4
- data/config/locales/it.yml +1 -7
- data/config/locales/ja.yml +3 -8
- data/config/locales/lb.yml +0 -6
- data/config/locales/lt.yml +0 -7
- data/config/locales/lv.yml +0 -6
- data/config/locales/nl.yml +0 -7
- data/config/locales/no.yml +0 -7
- data/config/locales/pl.yml +2 -7
- data/config/locales/pt-BR.yml +0 -7
- data/config/locales/pt.yml +0 -7
- data/config/locales/ro-RO.yml +0 -7
- data/config/locales/ru.yml +0 -6
- data/config/locales/sk.yml +0 -3
- data/config/locales/sl.yml +0 -2
- data/config/locales/sq-AL.yml +323 -1
- data/config/locales/sv.yml +0 -7
- data/config/locales/tr-TR.yml +0 -6
- data/config/locales/uk.yml +0 -6
- data/config/locales/zh-CN.yml +0 -6
- data/config/locales/zh-TW.yml +0 -7
- data/db/migrate/20240712061153_change_show_statistics_from_decidim_assemblies.rb +11 -0
- data/decidim-assemblies.gemspec +1 -1
- data/lib/decidim/api/assembly_type.rb +3 -4
- data/lib/decidim/assemblies/content_blocks/registry_manager.rb +1 -1
- data/lib/decidim/assemblies/engine.rb +1 -0
- data/lib/decidim/assemblies/menu.rb +11 -0
- data/lib/decidim/assemblies/seeds.rb +1 -11
- data/lib/decidim/assemblies/test/factories.rb +0 -1
- data/lib/decidim/assemblies/version.rb +1 -1
- metadata +20 -21
- data/app/commands/decidim/assemblies/admin/destroy_assemblies_type.rb +0 -45
- data/app/views/layouts/decidim/assembly.html.erb +0 -18
data/config/locales/sq-AL.yml
CHANGED
@@ -9,10 +9,13 @@ sq:
|
|
9
9
|
area_id: Zona
|
10
10
|
assembly_type: Lloji i asamblesë
|
11
11
|
assembly_type_other: Lloji i asamblesë tjetër
|
12
|
+
banner_image: Imazhi ballor
|
12
13
|
closing_date: Data e mbylljes
|
13
14
|
closing_date_reason: Arsyeja e datës së mbylljes
|
14
15
|
composition: Përbërja
|
15
16
|
copy_categories: Kopjo kategoritë
|
17
|
+
copy_components: Kopjo komponentet
|
18
|
+
copy_features: Kopjo veçoritë
|
16
19
|
created_by: Krijuar nga
|
17
20
|
created_by_other: Krijuar nga tjetër
|
18
21
|
creation_date: Data e krijimit
|
@@ -37,6 +40,7 @@ sq:
|
|
37
40
|
is_transparent: Është transparente
|
38
41
|
local_area: Zona e organizatës
|
39
42
|
parent_id: Asambleja e përgjithshme
|
43
|
+
participatory_processes_ids: Procese pjesëmarrëse të përafërta
|
40
44
|
participatory_scope: Çfarë u vendos
|
41
45
|
participatory_structure: Si u vendos
|
42
46
|
private_space: Hapësirë private
|
@@ -46,23 +50,341 @@ sq:
|
|
46
50
|
scope_id: Qëllimi
|
47
51
|
scopes_enabled: Fushveprimet e aktivizuara
|
48
52
|
short_description: Përshkrim i shkurtër
|
49
|
-
show_statistics: Trego statistikat
|
50
53
|
slug: Identifikues URL-je
|
51
54
|
special_features: Karaktersitika të veçanta
|
52
55
|
subtitle: Nëntitull
|
53
56
|
target: Kush merr pjesë
|
54
57
|
title: Titulli
|
55
58
|
twitter: X
|
59
|
+
weight: Pozicioni në rradhë
|
56
60
|
youtube: YouTube
|
57
61
|
assembly_member:
|
58
62
|
birthday: Datëlindje
|
59
63
|
birthplace: Vendi i lindjes
|
64
|
+
ceased_date: Data e përfundimit
|
65
|
+
designation_date: Data e dezignimit
|
60
66
|
full_name: Emri i plotë
|
61
67
|
gender: Gjinia
|
62
68
|
non_user_avatar: Avatar
|
63
69
|
position: Pozicioni
|
64
70
|
user_id: Perdorues ose grup
|
71
|
+
weight: Pozicioni në rradhë
|
65
72
|
assembly_user_role:
|
66
73
|
email: Email
|
67
74
|
name: Emri
|
68
75
|
role: Roli
|
76
|
+
errors:
|
77
|
+
models:
|
78
|
+
assembly:
|
79
|
+
attributes:
|
80
|
+
document:
|
81
|
+
allowed_file_content_types: 'Tip i pavlefshëm dokumenti. Lejohen vetëm prapashtesat e listuara: %{types}.'
|
82
|
+
decidim:
|
83
|
+
admin:
|
84
|
+
actions:
|
85
|
+
import_assembly: Importo
|
86
|
+
new_assembly: Asamble e re
|
87
|
+
new_assembly_member: Anëtar i ri asambleje
|
88
|
+
new_assembly_type: Tip i ri asambleje
|
89
|
+
new_assembly_user_role: Administrator i ri asambleje
|
90
|
+
assemblies:
|
91
|
+
create:
|
92
|
+
error: Ndodhi një gabim gjatë krijimit të asamblesë.
|
93
|
+
success: Asambleja u krijua me sukses.
|
94
|
+
edit:
|
95
|
+
update: Përditëso
|
96
|
+
index:
|
97
|
+
private: Private
|
98
|
+
public: Publike
|
99
|
+
published: E publikuar
|
100
|
+
unpublished: E papublikuar
|
101
|
+
new:
|
102
|
+
create: Krijo
|
103
|
+
title: Asamble e re
|
104
|
+
update:
|
105
|
+
error: Ndodhi një gabim gjatë përditësimit të asamblesë.
|
106
|
+
success: Asambleja u përditësua me sukses.
|
107
|
+
assemblies_copies:
|
108
|
+
create:
|
109
|
+
error: Ndodhi një gabim gjatë duplikimit të asamblesë.
|
110
|
+
success: Asambleja e duplikua me sukses.
|
111
|
+
assemblies_types:
|
112
|
+
create:
|
113
|
+
error: Ndodhi një gabim gjatë krijimit të tipit të ri të asamblesë.
|
114
|
+
success: Tipi i asamblesë u krijua me sukses.
|
115
|
+
destroy:
|
116
|
+
success: Tipi i asamblesë u fshi me sukses.
|
117
|
+
new:
|
118
|
+
create: Krijo
|
119
|
+
title: Tip i ri asambleje
|
120
|
+
update:
|
121
|
+
error: Ndodhi një gabim gjatë përditësimit të tipit të asamblesë.
|
122
|
+
success: Tipi i asamblesë u përditësua me sukses.
|
123
|
+
assembly_copies:
|
124
|
+
new:
|
125
|
+
copy: Kopjo
|
126
|
+
select: Zgjidh cilën të dhënë dëshiron të duplikosh
|
127
|
+
title: Dupliko asamblenë
|
128
|
+
assembly_imports:
|
129
|
+
create:
|
130
|
+
error: Ndodhi një gabim gjatë importimit të asamblesë.
|
131
|
+
success: Asambleja u importua me sukses.
|
132
|
+
new:
|
133
|
+
import: Importo
|
134
|
+
select: Zgjidh të dhënat që dëshiron të importosh
|
135
|
+
title: Importo asamblenë
|
136
|
+
assembly_members:
|
137
|
+
create:
|
138
|
+
error: Ndodhi një gabim gjatë shtimit të anëtarit të asamblesë.
|
139
|
+
success: Anëtari i asamblesl u krijua me sukses.
|
140
|
+
destroy:
|
141
|
+
success: Anëtari i asamblesë u fshi me sukses.
|
142
|
+
edit:
|
143
|
+
title: Përditëso anëtarin e asamblesë
|
144
|
+
update: Përditëso
|
145
|
+
index:
|
146
|
+
assembly_members_title: Anëtarët e asamblesë
|
147
|
+
new:
|
148
|
+
create: Krijo
|
149
|
+
title: Anëtar i ri asambleje
|
150
|
+
update:
|
151
|
+
error: Ndodhi një gabim gjatë përditësimit të anëtarit të asamblesë.
|
152
|
+
success: Anëtari i asamblesë u përditësuar me sukses.
|
153
|
+
assembly_publications:
|
154
|
+
create:
|
155
|
+
error: Ndodhi një gabim gjatë publikimit të asamblesë.
|
156
|
+
success: Asambleja u publikua me sukses.
|
157
|
+
destroy:
|
158
|
+
error: Ndodhi një gabim gjatë çpublikimit të asamblesë.
|
159
|
+
success: Asambleja u çpublikua me sukses.
|
160
|
+
assembly_user_roles:
|
161
|
+
create:
|
162
|
+
error: Ndodhi një gabim gjatë shtimit të administratorit të asamblesë.
|
163
|
+
success: Administratori i asamblesë u shtua me sukses.
|
164
|
+
destroy:
|
165
|
+
success: Administratori i asamblesë u hoq me sukses.
|
166
|
+
edit:
|
167
|
+
title: Përditëso administratorin e asamblesë
|
168
|
+
update: Përditëso
|
169
|
+
index:
|
170
|
+
assembly_admins_title: Administratorët e asamblesë
|
171
|
+
new:
|
172
|
+
create: Krijo
|
173
|
+
title: Administrator i ri i asamblesë
|
174
|
+
update:
|
175
|
+
error: Ndodhi një gabim gjatë përditësimit të administratorit të asamblesë.
|
176
|
+
success: Administratori i asamblesë u përditësua me sukses.
|
177
|
+
filters:
|
178
|
+
ceased_date_not_null:
|
179
|
+
label: Përfunduar
|
180
|
+
values:
|
181
|
+
'false': E papërfunduar
|
182
|
+
'true': Përfunduar
|
183
|
+
decidim_assemblies_type_id_eq:
|
184
|
+
label: Tipi i asamblesë
|
185
|
+
search_placeholder:
|
186
|
+
full_name_or_user_name_or_user_nickname_cont: Kërko me emër ose nofkë
|
187
|
+
menu:
|
188
|
+
assemblies: Asambletë
|
189
|
+
assemblies_submenu:
|
190
|
+
assembly_admins: Administratorët e asamblesë
|
191
|
+
assembly_members: Anëtarët
|
192
|
+
attachment_collections: Skedarët
|
193
|
+
attachment_files: Skedat
|
194
|
+
attachments: Skedat e bashkëlidhura
|
195
|
+
categories: Kategoritë
|
196
|
+
components: Komponentet
|
197
|
+
info: Rreth asamblesë
|
198
|
+
landing_page: Faqja hyrëse
|
199
|
+
moderations: Moderimet
|
200
|
+
see_assembly: Shiko asamblenë
|
201
|
+
assemblies_types: Tipet e asambleve
|
202
|
+
models:
|
203
|
+
assemblies_types:
|
204
|
+
fields:
|
205
|
+
created_at: Krijuar më
|
206
|
+
title: Titulli
|
207
|
+
assembly:
|
208
|
+
fields:
|
209
|
+
actions: Veprimet
|
210
|
+
created_at: Krijuar më
|
211
|
+
private: Private
|
212
|
+
promoted: Në pah
|
213
|
+
published: E publikuar
|
214
|
+
title: Titulli
|
215
|
+
name: Asambleja
|
216
|
+
assembly_member:
|
217
|
+
fields:
|
218
|
+
ceased_date: Data e përfundimit
|
219
|
+
designation_date: Data e dezignimit
|
220
|
+
full_name: Emri
|
221
|
+
position: Pozicioni
|
222
|
+
name: Anëtar
|
223
|
+
positions:
|
224
|
+
other: Tjetër
|
225
|
+
president: Presidenti/ja
|
226
|
+
secretary: Sekretari/ja
|
227
|
+
vice_president: Zëvendës presidenti/ja
|
228
|
+
assembly_user_role:
|
229
|
+
fields:
|
230
|
+
email: Email
|
231
|
+
name: Emri
|
232
|
+
role: Roli
|
233
|
+
name: Administratori/ja i/e asamblesë
|
234
|
+
roles:
|
235
|
+
admin: Administrator
|
236
|
+
collaborator: Bashkëpunëtor/e
|
237
|
+
moderator: Moderator/e
|
238
|
+
valuator: Vlerësues/e
|
239
|
+
titles:
|
240
|
+
assemblies: Asambletë
|
241
|
+
assemblies_types: Tipet e asambleve
|
242
|
+
admin_log:
|
243
|
+
assembly:
|
244
|
+
create: "%{user_name} krijoi asamblenë %{resource_name}"
|
245
|
+
duplicate: "%{user_name} duplikoi asamblenë %{resource_name}"
|
246
|
+
export: "%{user_name} eksportoi asamblenë %{resource_name}"
|
247
|
+
import: "%{user_name} importoi asamblenë %{resource_name}"
|
248
|
+
publish: "%{user_name} publikoi asamblenë %{resource_name}"
|
249
|
+
unpublish: "%{user_name} çpublikoi asamblenë %{resource_name}"
|
250
|
+
update: "%{user_name} përditësoi asamblenë %{resource_name}"
|
251
|
+
assembly_member:
|
252
|
+
create: "%{user_name} krijoi përdoruesin %{resource_name} në asamblenë %{space_name}"
|
253
|
+
delete: "%{user_name} hoqi përdoruesin %{resource_name} në asamblenë %{space_name}"
|
254
|
+
update: "%{user_name} përditësoi përdoruesin %{resource_name} në asamblenë %{space_name}"
|
255
|
+
assembly_setting:
|
256
|
+
update: "%{user_name} përditësoi konfigurimet e asamblesë"
|
257
|
+
assembly_type:
|
258
|
+
create: "%{user_name} krijoi tipin e asamblesë %{resource_name}"
|
259
|
+
delete: "%{user_name} hoqi tipin e asamblesë %{resource_name}"
|
260
|
+
publish: "%{user_name} publikoi tipin e asamblesë %{resource_name}"
|
261
|
+
unpublish: "%{user_name} çpublikoi tipin e asamblesë %{resource_name}"
|
262
|
+
update: "%{user_name} përditësoi tipin e asamblesë %{resource_name}"
|
263
|
+
assembly_user_role:
|
264
|
+
create: "%{user_name} ftoi %{resource_name} në asamblenë %{space_name}"
|
265
|
+
delete: "%{user_name} hoqi pjesëmarrësin %{resource_name} nga asambleja %{space_name}"
|
266
|
+
update: "%{user_name} ndryshoi rolin e %{resource_name} në asamblenë %{space_name}"
|
267
|
+
assemblies:
|
268
|
+
admin:
|
269
|
+
assemblies:
|
270
|
+
form:
|
271
|
+
announcement_help: Teksti që vendosni këtu do i shfaqet përdoruesit nën informacionin e asamblesë.
|
272
|
+
duration: Kohëzgjatja
|
273
|
+
duration_help: Nëse kohëzgjatja e asamblesë është e kufizuar, zgjidh datën e përfundimit. Përndryshe, do shfaqet si e papërcaktuar.
|
274
|
+
filters: Filtrat
|
275
|
+
images: Imazhet
|
276
|
+
included_at_help: Zgjidh datën e shtimit të asamblesë në platformë. Nuk ka pse të jetë e njejtë me datën e krijimit.
|
277
|
+
metadata: Metadata
|
278
|
+
other: Të tjera
|
279
|
+
select_a_created_by: Zgjidh krijuesin
|
280
|
+
select_an_area: Zgjidh një sektor
|
281
|
+
select_an_assembly_type: Zgjidh një tip asambleje
|
282
|
+
select_parent_assembly: Zgjidh asamblenë prind
|
283
|
+
slug_help_html: 'Për gjenerimin e URL së kësaj asambleje përdoren URL slugs. Pranohen vetëm gërma, numra dhe viza horizontale, dhe duhet të fillojë me gërmë. Shembull: %{url}'
|
284
|
+
social_handlers: Rrjete sociale
|
285
|
+
title: Informacion i përgjithshëm
|
286
|
+
visibility: Vizibiliteti
|
287
|
+
assemblies_types:
|
288
|
+
form:
|
289
|
+
title: Modifiko tipin e asamblesë
|
290
|
+
assembly_copies:
|
291
|
+
form:
|
292
|
+
slug_help_html: 'Për gjenerimin e URL së kësaj asambleje përdoren URL slugs. Pranohen vetëm gërma, numra dhe viza horizontale, dhe duhet të fillojë me gërmë. Shembull: %{url}'
|
293
|
+
assembly_imports:
|
294
|
+
form:
|
295
|
+
slug_help_html: 'Për gjenerimin e URL së kësaj asambleje përdoren URL slugs. Pranohen vetëm gërma, numra dhe viza horizontale, dhe duhet të fillojë me gërmë. Shembull: %{url}'
|
296
|
+
assembly_members:
|
297
|
+
form:
|
298
|
+
existing_user: Pjesëmarrës ekzistues
|
299
|
+
explanation: 'Udhëzime për imazhin:'
|
300
|
+
image_guide: Preferohet imazh me format portret (vertikal) pa tekst.
|
301
|
+
non_user: Mospjesëmarrës
|
302
|
+
non_user_avatar_help: Duhet të marrësh pëlqimin e personit para se ta publikosh si anëtar.
|
303
|
+
select_a_position: Zgjidh një pozicion
|
304
|
+
select_user: Zgjidh një pjesëmarrës
|
305
|
+
user_type: Lloji i pjesëmarrësit
|
306
|
+
content_blocks:
|
307
|
+
highlighted_assemblies:
|
308
|
+
max_results: Numri maksimal i elementeve që do shfaqen
|
309
|
+
new_import:
|
310
|
+
accepted_types:
|
311
|
+
json: JSON
|
312
|
+
assemblies:
|
313
|
+
description:
|
314
|
+
area_name: Sektori
|
315
|
+
closing_date: Data e mbylljes
|
316
|
+
created_by: Krijuar nga
|
317
|
+
creation_date: Data e krijimit
|
318
|
+
data: Të dhënat e asamblesë
|
319
|
+
developer_group: Grupi promovues
|
320
|
+
duration: Kohëzgjatja
|
321
|
+
included_at: Përfshirë në
|
322
|
+
indefinite_duration: E pacaktuar
|
323
|
+
local_area: Sektori i organizatës
|
324
|
+
meta_scope: Fushëveprimi
|
325
|
+
participatory_scope: Çfarë do vendoset
|
326
|
+
participatory_structure: Si do vendoset
|
327
|
+
target: Kush merr pjesë
|
328
|
+
title: Rreth asamblesë
|
329
|
+
filters:
|
330
|
+
type: Tipi
|
331
|
+
show:
|
332
|
+
title: Rreth asamblesë
|
333
|
+
assembly_members:
|
334
|
+
index:
|
335
|
+
members: Anëtarët
|
336
|
+
assembly_types:
|
337
|
+
commission: Komisioni
|
338
|
+
consultative_advisory: Këshilluese
|
339
|
+
executive: Ekzekutive
|
340
|
+
government: Qeverisja
|
341
|
+
others: Tjetër
|
342
|
+
participatory: Pjesëmarrëse
|
343
|
+
working_group: Grup pune
|
344
|
+
content_blocks:
|
345
|
+
children_assemblies:
|
346
|
+
name: Asambletë
|
347
|
+
dates_metadata:
|
348
|
+
name: Metadatat e datave
|
349
|
+
extra_data:
|
350
|
+
name: Tipi dhe kohëzgjatja
|
351
|
+
highlighted_assemblies:
|
352
|
+
name: Asambletë në pah
|
353
|
+
related_assemblies:
|
354
|
+
name: Asambletë e ngjashme
|
355
|
+
created_by:
|
356
|
+
city_council: Këshilli bashkiak
|
357
|
+
others: Të tjerët
|
358
|
+
public: Publiku
|
359
|
+
filter:
|
360
|
+
all: Gjithë tipet
|
361
|
+
commission: Komisioni
|
362
|
+
consultative_advisory: Këshilluese
|
363
|
+
executive: Ekzekutive
|
364
|
+
government: Qeverisja
|
365
|
+
help: 'Shfaq:'
|
366
|
+
others: Të tjera
|
367
|
+
participatory: Pjesëmarrëse
|
368
|
+
working_group: Grup pune
|
369
|
+
index:
|
370
|
+
title: Asambletë
|
371
|
+
last_activity:
|
372
|
+
new_assembly: 'Asamble e re:'
|
373
|
+
pages:
|
374
|
+
home:
|
375
|
+
highlighted_assemblies:
|
376
|
+
active_spaces: Asambletë aktive
|
377
|
+
see_all_spaces: Shiko gjithë asambletë
|
378
|
+
user_profile:
|
379
|
+
member_of:
|
380
|
+
member_of: Anëtar i
|
381
|
+
show:
|
382
|
+
assembly_type: Tipi i asamblesë
|
383
|
+
duration: Kohëzgjatja
|
384
|
+
private_space: Kjo është asamble private
|
385
|
+
social_networks_title: Vizito asamblenë në
|
386
|
+
assembly_members:
|
387
|
+
assembly_member:
|
388
|
+
designated_on: Caktuar më
|
389
|
+
index:
|
390
|
+
title: Anëtarët
|
data/config/locales/sv.yml
CHANGED
@@ -49,7 +49,6 @@ sv:
|
|
49
49
|
scope_id: Omfång
|
50
50
|
scopes_enabled: Omfång är aktiverade
|
51
51
|
short_description: Kort beskrivning
|
52
|
-
show_statistics: Visa statistik
|
53
52
|
slug: URL-slug
|
54
53
|
special_features: Specialfunktioner
|
55
54
|
subtitle: Underrubrik
|
@@ -185,7 +184,6 @@ sv:
|
|
185
184
|
categories: Kategorier
|
186
185
|
components: Komponenter
|
187
186
|
moderations: Moderering
|
188
|
-
private_users: Privata användare
|
189
187
|
assemblies_types: Typer av grupper
|
190
188
|
models:
|
191
189
|
assemblies_types:
|
@@ -273,7 +271,6 @@ sv:
|
|
273
271
|
form:
|
274
272
|
existing_user: Befintlig deltagare
|
275
273
|
explanation: 'Vägledning för bild:'
|
276
|
-
image_guide: Helst en porträttbild utan text.
|
277
274
|
non_user: Ej deltagande
|
278
275
|
non_user_avatar_help: Du bör få samtycke av personerna innan du publicerar dem som medlem.
|
279
276
|
select_a_position: Välj en position
|
@@ -343,11 +340,7 @@ sv:
|
|
343
340
|
show:
|
344
341
|
assembly_type: Typ av grupp
|
345
342
|
duration: Varaktighet
|
346
|
-
is_transparent:
|
347
|
-
'false': ogenomskinlig
|
348
|
-
'true': transparent
|
349
343
|
private_space: Detta är en privat grupp
|
350
|
-
related_participatory_processes: Relaterade dialoger
|
351
344
|
assembly_members:
|
352
345
|
assembly_member:
|
353
346
|
designated_on: Utsedd den
|
data/config/locales/tr-TR.yml
CHANGED
@@ -51,7 +51,6 @@ tr:
|
|
51
51
|
scope_id: kapsam
|
52
52
|
scopes_enabled: Kapsamlar etkin
|
53
53
|
short_description: Kısa Açıklama
|
54
|
-
show_statistics: İstatistikleri göster
|
55
54
|
slug: URL sümüklü böcek
|
56
55
|
special_features: Özel özellikler
|
57
56
|
subtitle: Alt Başlık
|
@@ -189,7 +188,6 @@ tr:
|
|
189
188
|
categories: Kategoriler
|
190
189
|
components: Bileşenler
|
191
190
|
moderations: Yönetim
|
192
|
-
private_users: Özel kullanıcılar
|
193
191
|
assemblies_types: Kurul türü
|
194
192
|
models:
|
195
193
|
assemblies_types:
|
@@ -326,11 +324,7 @@ tr:
|
|
326
324
|
show:
|
327
325
|
assembly_type: Kurul türü
|
328
326
|
duration: Süre
|
329
|
-
is_transparent:
|
330
|
-
'false': opak
|
331
|
-
'true': şeffaf
|
332
327
|
private_space: Bu özel bir kurul
|
333
|
-
related_participatory_processes: İlgili Katılımcı süreçler
|
334
328
|
assembly_members:
|
335
329
|
assembly_member:
|
336
330
|
designated_on: Üzerinde belirlenen
|
data/config/locales/uk.yml
CHANGED
@@ -43,7 +43,6 @@ uk:
|
|
43
43
|
scope_id: Обсяг
|
44
44
|
scopes_enabled: Обсяги увімкнено
|
45
45
|
short_description: Стислий опис
|
46
|
-
show_statistics: Показувати статистику
|
47
46
|
slug: Скорочена веб-адреса
|
48
47
|
special_features: Особливості
|
49
48
|
subtitle: Підзаголовок
|
@@ -159,7 +158,6 @@ uk:
|
|
159
158
|
categories: Категорії
|
160
159
|
components: Складові
|
161
160
|
moderations: Дії з модерації
|
162
|
-
private_users: Приватні учасники
|
163
161
|
models:
|
164
162
|
assemblies_types:
|
165
163
|
fields:
|
@@ -262,11 +260,7 @@ uk:
|
|
262
260
|
show:
|
263
261
|
assembly_type: Різновид зборів
|
264
262
|
duration: Тривалість
|
265
|
-
is_transparent:
|
266
|
-
'false': непрозорі
|
267
|
-
'true': прозорі
|
268
263
|
private_space: Це приватні збори
|
269
|
-
related_participatory_processes: Пов'язані рухи співучасті
|
270
264
|
assembly_members:
|
271
265
|
assembly_member:
|
272
266
|
designated_on: 'Надано повноваження:'
|
data/config/locales/zh-CN.yml
CHANGED
@@ -44,7 +44,6 @@ zh-CN:
|
|
44
44
|
scope_id: 范围
|
45
45
|
scopes_enabled: 范围已启用
|
46
46
|
short_description: 简短描述
|
47
|
-
show_statistics: 显示统计
|
48
47
|
slug: URL 名称
|
49
48
|
special_features: 特殊功能
|
50
49
|
subtitle: 字幕
|
@@ -170,7 +169,6 @@ zh-CN:
|
|
170
169
|
categories: 类别管理
|
171
170
|
components: 组件
|
172
171
|
moderations: 版面
|
173
|
-
private_users: 私人用户
|
174
172
|
assemblies_types: 程序集类型
|
175
173
|
models:
|
176
174
|
assemblies_types:
|
@@ -302,11 +300,7 @@ zh-CN:
|
|
302
300
|
show:
|
303
301
|
assembly_type: 程序集类型
|
304
302
|
duration: 期限
|
305
|
-
is_transparent:
|
306
|
-
'false': 不透明度
|
307
|
-
'true': 透明度
|
308
303
|
private_space: 这是一个私人装饰
|
309
|
-
related_participatory_processes: 相关的参与进程
|
310
304
|
assembly_members:
|
311
305
|
assembly_member:
|
312
306
|
designated_on: 指定于
|
data/config/locales/zh-TW.yml
CHANGED
@@ -51,7 +51,6 @@ zh-TW:
|
|
51
51
|
scope_id: 範圍
|
52
52
|
scopes_enabled: 啟用範圍
|
53
53
|
short_description: 簡短說明
|
54
|
-
show_statistics: 顯示統計資料
|
55
54
|
slug: URL名稱
|
56
55
|
special_features: 特殊功能
|
57
56
|
subtitle: 子標題
|
@@ -190,7 +189,6 @@ zh-TW:
|
|
190
189
|
categories: 類別
|
191
190
|
components: 元件
|
192
191
|
moderations: 版主
|
193
|
-
private_users: 私人使用者
|
194
192
|
assemblies_types: 大會類型
|
195
193
|
models:
|
196
194
|
assemblies_types:
|
@@ -281,7 +279,6 @@ zh-TW:
|
|
281
279
|
form:
|
282
280
|
existing_user: 現有參與者
|
283
281
|
explanation: '圖像的指導'
|
284
|
-
image_guide: 最好是沒有任何文字的肖像圖像
|
285
282
|
non_user: 非參與者
|
286
283
|
non_user_avatar_help: 在發佈他們為會員之前,您應該徵得他們的同意
|
287
284
|
select_a_position: 選擇一個位置
|
@@ -338,11 +335,7 @@ zh-TW:
|
|
338
335
|
show:
|
339
336
|
assembly_type: 大會類型
|
340
337
|
duration: 持續時間
|
341
|
-
is_transparent:
|
342
|
-
'false': 不透明
|
343
|
-
'true': 透明
|
344
338
|
private_space: 這是一個私人大會
|
345
|
-
related_participatory_processes: 相關參與程序
|
346
339
|
social_networks_title: 訪問大會
|
347
340
|
assembly_members:
|
348
341
|
assembly_member:
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class ChangeShowStatisticsFromDecidimAssemblies < ActiveRecord::Migration[7.0]
|
4
|
+
def up
|
5
|
+
change_column_default :decidim_assemblies, :show_statistics, from: false, to: true
|
6
|
+
end
|
7
|
+
|
8
|
+
def down
|
9
|
+
change_column_default :decidim_assemblies, :show_statistics, from: true, to: false
|
10
|
+
end
|
11
|
+
end
|
data/decidim-assemblies.gemspec
CHANGED
@@ -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.2.0"
|
21
21
|
|
22
22
|
s.name = "decidim-assemblies"
|
23
23
|
s.summary = "Decidim assemblies module"
|
@@ -31,7 +31,6 @@ module Decidim
|
|
31
31
|
field :target, Decidim::Core::TranslatedFieldType, "Who participates in this assembly", null: true
|
32
32
|
field :participatory_scope, Decidim::Core::TranslatedFieldType, "What is decided on this assembly", null: true
|
33
33
|
field :participatory_structure, Decidim::Core::TranslatedFieldType, "How it is decided on this assembly", null: true
|
34
|
-
field :show_statistics, Boolean, "If this assembly should show statistics", null: true
|
35
34
|
field :scopes_enabled, Boolean, "If this assembly has scopes enabled", null: true
|
36
35
|
field :private_space, Boolean, "If this assembly is a private space", null: true
|
37
36
|
field :area, Decidim::Core::AreaApiType, "Area of this assembly", null: true
|
@@ -54,12 +53,12 @@ module Decidim
|
|
54
53
|
field :twitter_handler, String, "Twitter handler", null: true
|
55
54
|
field :instagram_handler, String, "Instagram handler", null: true
|
56
55
|
field :facebook_handler, String, "Facebook handler", null: true
|
57
|
-
field :youtube_handler, String, "
|
58
|
-
field :github_handler, String, "
|
56
|
+
field :youtube_handler, String, "YouTube handler", null: true
|
57
|
+
field :github_handler, String, "GitHub handler", null: true
|
59
58
|
field :announcement, Decidim::Core::TranslatedFieldType, "Highlighted announcement for this assembly", null: true
|
60
59
|
|
61
60
|
field :members, [Decidim::Assemblies::AssemblyMemberType, { null: true }], "Members of this assembly", null: false
|
62
|
-
field :children, [Decidim::Assemblies::AssemblyType, { null: true }], "
|
61
|
+
field :children, [Decidim::Assemblies::AssemblyType, { null: true }], "Children of this assembly", null: false
|
63
62
|
|
64
63
|
def hero_image
|
65
64
|
object.attached_uploader(:hero_image).path
|
@@ -82,7 +82,7 @@ module Decidim
|
|
82
82
|
content_block.public_name_key = "decidim.content_blocks.last_activity.name"
|
83
83
|
content_block.settings_form_cell = "decidim/content_blocks/last_activity_settings_form"
|
84
84
|
content_block.settings do |settings|
|
85
|
-
settings.attribute :max_last_activity_users, type: :integer, default: Decidim
|
85
|
+
settings.attribute :max_last_activity_users, type: :integer, default: Decidim.default_max_last_activity_users
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
@@ -14,6 +14,17 @@ module Decidim
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
+
def self.register_mobile_menu!
|
18
|
+
Decidim.menu :mobile_menu do |menu|
|
19
|
+
menu.add_item :assemblies,
|
20
|
+
I18n.t("menu.assemblies", scope: "decidim"),
|
21
|
+
decidim_assemblies.assemblies_path,
|
22
|
+
position: 2.2,
|
23
|
+
if: OrganizationPublishedAssemblies.new(current_organization, current_user).any?,
|
24
|
+
active: :inclusive
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
17
28
|
def self.register_home_content_block_menu!
|
18
29
|
Decidim.menu :home_content_block_menu do |menu|
|
19
30
|
menu.add_item :assemblies,
|
@@ -111,17 +111,7 @@ module Decidim
|
|
111
111
|
# Create users with specific roles
|
112
112
|
Decidim::AssemblyUserRole::ROLES.each do |role|
|
113
113
|
email = "assembly_#{assembly.id}_#{role}@example.org"
|
114
|
-
|
115
|
-
user = Decidim::User.find_or_initialize_by(email:)
|
116
|
-
user.update!(
|
117
|
-
name: ::Faker::Name.name,
|
118
|
-
nickname: ::Faker::Twitter.unique.screen_name,
|
119
|
-
password: "decidim123456789",
|
120
|
-
organization:,
|
121
|
-
confirmed_at: Time.current,
|
122
|
-
locale: I18n.default_locale,
|
123
|
-
tos_agreement: true
|
124
|
-
)
|
114
|
+
user = find_or_initialize_user_by(email:)
|
125
115
|
|
126
116
|
Decidim::AssemblyUserRole.find_or_create_by!(
|
127
117
|
user:,
|
@@ -35,7 +35,6 @@ FactoryBot.define do
|
|
35
35
|
target { generate_localized_title(:assembly_target, skip_injection:) }
|
36
36
|
participatory_scope { generate_localized_title(:assembly_participatory_scope, skip_injection:) }
|
37
37
|
participatory_structure { generate_localized_title(:assembly_participatory_structure, skip_injection:) }
|
38
|
-
show_statistics { true }
|
39
38
|
private_space { false }
|
40
39
|
purpose_of_action { generate_localized_description(:assembly_purpose_of_action, skip_injection:) }
|
41
40
|
composition { generate_localized_description(:assembly_composition, skip_injection:) }
|