decidim-assemblies 0.27.9 → 0.28.0.rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/assemblies/assemblies/show.erb +16 -0
  3. data/app/cells/decidim/assemblies/assemblies_cell.rb +24 -0
  4. data/app/cells/decidim/assemblies/assembly_cell.rb +7 -2
  5. data/app/cells/decidim/assemblies/assembly_dropdown_metadata_cell.rb +19 -0
  6. data/app/cells/decidim/assemblies/assembly_g_cell.rb +23 -0
  7. data/app/cells/decidim/assemblies/assembly_member/data.erb +19 -0
  8. data/app/cells/decidim/assemblies/assembly_member/name_and_position.erb +11 -0
  9. data/app/cells/decidim/assemblies/assembly_member/show.erb +8 -52
  10. data/app/cells/decidim/assemblies/assembly_metadata_g_cell.rb +46 -0
  11. data/app/cells/decidim/assemblies/assembly_s_cell.rb +15 -0
  12. data/app/cells/decidim/assemblies/content_block_cell.rb +21 -0
  13. data/app/cells/decidim/assemblies/content_blocks/children_assemblies_cell.rb +27 -0
  14. data/app/cells/decidim/assemblies/content_blocks/dates_metadata_cell.rb +23 -0
  15. data/app/cells/decidim/assemblies/content_blocks/extra_data_cell.rb +39 -0
  16. data/app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_cell.rb +15 -23
  17. data/app/cells/decidim/assemblies/content_blocks/highlighted_assemblies_settings_form/show.erb +1 -1
  18. data/app/cells/decidim/assemblies/content_blocks/main_data_cell.rb +52 -0
  19. data/app/cells/decidim/assemblies/content_blocks/metadata_cell.rb +23 -0
  20. data/app/cells/decidim/assemblies/content_blocks/related_assemblies/content.erb +1 -0
  21. data/app/cells/decidim/assemblies/content_blocks/related_assemblies_cell.rb +34 -0
  22. data/app/cells/decidim/assemblies/content_blocks/stats_cell.rb +15 -0
  23. data/app/commands/decidim/assemblies/admin/copy_assembly.rb +2 -2
  24. data/app/commands/decidim/assemblies/admin/create_assemblies_type.rb +1 -1
  25. data/app/commands/decidim/assemblies/admin/create_assembly.rb +2 -1
  26. data/app/commands/decidim/assemblies/admin/create_assembly_member.rb +3 -3
  27. data/app/commands/decidim/assemblies/admin/destroy_assemblies_type.rb +1 -1
  28. data/app/commands/decidim/assemblies/admin/destroy_assembly_member.rb +1 -1
  29. data/app/commands/decidim/assemblies/admin/import_assembly.rb +1 -1
  30. data/app/commands/decidim/assemblies/admin/update_assemblies_type.rb +1 -1
  31. data/app/commands/decidim/assemblies/admin/update_assembly.rb +1 -1
  32. data/app/commands/decidim/assemblies/admin/update_assembly_member.rb +1 -1
  33. data/app/constraints/decidim/assemblies/current_assembly.rb +1 -1
  34. data/app/controllers/concerns/decidim/assemblies/admin/assembly_context.rb +1 -1
  35. data/app/controllers/concerns/decidim/assemblies/admin/assembly_members/filterable.rb +39 -0
  36. data/app/controllers/concerns/decidim/assemblies/assembly_breadcrumb.rb +36 -0
  37. data/app/controllers/decidim/assemblies/admin/assemblies_controller.rb +1 -0
  38. data/app/controllers/decidim/assemblies/admin/assemblies_types_controller.rb +1 -1
  39. data/app/controllers/decidim/assemblies/admin/assembly_attachment_collections_controller.rb +5 -0
  40. data/app/controllers/decidim/assemblies/admin/assembly_attachments_controller.rb +5 -0
  41. data/app/controllers/decidim/assemblies/admin/assembly_imports_controller.rb +2 -0
  42. data/app/controllers/decidim/assemblies/admin/assembly_landing_page_content_blocks_controller.rb +35 -0
  43. data/app/controllers/decidim/assemblies/admin/assembly_landing_page_controller.rb +37 -0
  44. data/app/controllers/decidim/assemblies/admin/assembly_members_controller.rb +2 -6
  45. data/app/controllers/decidim/assemblies/admin/assembly_publications_controller.rb +9 -29
  46. data/app/controllers/decidim/assemblies/admin/assembly_user_roles_controller.rb +8 -91
  47. data/app/controllers/decidim/assemblies/admin/concerns/assembly_admin.rb +1 -1
  48. data/app/controllers/decidim/assemblies/assemblies_controller.rb +12 -7
  49. data/app/controllers/decidim/assemblies/assembly_members_controller.rb +2 -0
  50. data/app/events/decidim/assemblies/create_assembly_member_event.rb +1 -1
  51. data/app/events/decidim/role_assigned_to_assembly_event.rb +11 -6
  52. data/app/forms/decidim/assemblies/admin/assembly_copy_form.rb +1 -1
  53. data/app/forms/decidim/assemblies/admin/assembly_form.rb +1 -1
  54. data/app/forms/decidim/assemblies/admin/assembly_import_form.rb +1 -1
  55. data/app/forms/decidim/assemblies/admin/assembly_user_role_form.rb +2 -18
  56. data/app/helpers/decidim/assemblies/admin/assembly_members_helper.rb +11 -0
  57. data/app/helpers/decidim/assemblies/application_helper.rb +12 -0
  58. data/app/helpers/decidim/assemblies/assemblies_helper.rb +21 -19
  59. data/app/helpers/decidim/assemblies/filter_assemblies_helper.rb +15 -30
  60. data/app/models/decidim/assembly.rb +6 -5
  61. data/app/models/decidim/assembly_user_role.rb +5 -33
  62. data/app/packs/entrypoints/decidim_assemblies.js +0 -1
  63. data/app/packs/src/decidim/assemblies/admin/assemblies.js +2 -2
  64. data/app/packs/src/decidim/assemblies/orgchart.js +0 -701
  65. data/app/permissions/decidim/assemblies/permissions.rb +14 -27
  66. data/app/presenters/decidim/assemblies/admin_log/assemblies_setting_presenter.rb +2 -2
  67. data/app/presenters/decidim/assemblies/admin_log/assemblies_type_presenter.rb +2 -2
  68. data/app/presenters/decidim/assemblies/admin_log/assembly_member_presenter.rb +2 -2
  69. data/app/presenters/decidim/assemblies/admin_log/assembly_presenter.rb +2 -2
  70. data/app/presenters/decidim/assemblies/admin_log/assembly_user_role_presenter.rb +2 -2
  71. data/app/presenters/decidim/assemblies/assembly_presenter.rb +38 -0
  72. data/app/presenters/decidim/assemblies/assembly_stats_presenter.rb +2 -41
  73. data/app/presenters/decidim/assembly_member_presenter.rb +18 -4
  74. data/app/queries/decidim/assemblies/admin/admin_users.rb +1 -1
  75. data/app/queries/decidim/assemblies/assemblies_with_user_role.rb +2 -2
  76. data/app/serializers/decidim/assemblies/assembly_importer.rb +3 -3
  77. data/app/serializers/decidim/assemblies/assembly_serializer.rb +1 -1
  78. data/app/views/decidim/assemblies/admin/assemblies/_form.html.erb +218 -176
  79. data/app/views/decidim/assemblies/admin/assemblies/edit.html.erb +25 -11
  80. data/app/views/decidim/assemblies/admin/assemblies/index.html.erb +105 -115
  81. data/app/views/decidim/assemblies/admin/assemblies/new.html.erb +16 -9
  82. data/app/views/decidim/assemblies/admin/assemblies_types/_form.html.erb +6 -8
  83. data/app/views/decidim/assemblies/admin/assemblies_types/edit.html.erb +11 -5
  84. data/app/views/decidim/assemblies/admin/assemblies_types/index.html.erb +34 -35
  85. data/app/views/decidim/assemblies/admin/assemblies_types/new.html.erb +16 -6
  86. data/app/views/decidim/assemblies/admin/assembly_copies/_form.html.erb +12 -20
  87. data/app/views/decidim/assemblies/admin/assembly_copies/new.html.erb +17 -5
  88. data/app/views/decidim/assemblies/admin/assembly_imports/_form.html.erb +28 -37
  89. data/app/views/decidim/assemblies/admin/assembly_imports/new.html.erb +17 -5
  90. data/app/views/decidim/assemblies/admin/assembly_members/_form.html.erb +45 -49
  91. data/app/views/decidim/assemblies/admin/assembly_members/edit.html.erb +17 -6
  92. data/app/views/decidim/assemblies/admin/assembly_members/index.html.erb +51 -88
  93. data/app/views/decidim/assemblies/admin/assembly_members/new.html.erb +17 -6
  94. data/app/views/decidim/assemblies/admin/assembly_user_roles/_form.html.erb +14 -18
  95. data/app/views/decidim/assemblies/admin/assembly_user_roles/edit.html.erb +17 -6
  96. data/app/views/decidim/assemblies/admin/assembly_user_roles/index.html.erb +54 -55
  97. data/app/views/decidim/assemblies/admin/assembly_user_roles/new.html.erb +17 -6
  98. data/app/views/decidim/assemblies/assemblies/_collection.html.erb +7 -0
  99. data/app/views/decidim/assemblies/assemblies/index.html.erb +20 -19
  100. data/app/views/decidim/assemblies/assemblies/index.js.erb +1 -8
  101. data/app/views/decidim/assemblies/assemblies/show.html.erb +17 -207
  102. data/app/views/decidim/assemblies/assembly_members/index.html.erb +7 -5
  103. data/app/views/decidim/assemblies/pages/user_profile/_member_of.html.erb +6 -9
  104. data/app/views/layouts/decidim/admin/_manage_assemblies.html.erb +36 -0
  105. data/app/views/layouts/decidim/admin/assemblies.html.erb +13 -11
  106. data/app/views/layouts/decidim/admin/assemblies_imports.html.erb +9 -0
  107. data/app/views/layouts/decidim/admin/assemblies_types.html.erb +17 -0
  108. data/app/views/layouts/decidim/admin/assembly.html.erb +12 -13
  109. data/app/views/layouts/decidim/assembly.html.erb +7 -14
  110. data/config/locales/ar.yml +7 -68
  111. data/config/locales/bg.yml +0 -466
  112. data/config/locales/ca.yml +62 -71
  113. data/config/locales/cs.yml +59 -66
  114. data/config/locales/de.yml +60 -69
  115. data/config/locales/el.yml +11 -61
  116. data/config/locales/en.yml +57 -66
  117. data/config/locales/es-MX.yml +57 -66
  118. data/config/locales/es-PY.yml +57 -66
  119. data/config/locales/es.yml +63 -72
  120. data/config/locales/eu.yml +57 -70
  121. data/config/locales/fi-plain.yml +58 -67
  122. data/config/locales/fi.yml +57 -66
  123. data/config/locales/fr-CA.yml +57 -66
  124. data/config/locales/fr.yml +57 -66
  125. data/config/locales/ga-IE.yml +4 -15
  126. data/config/locales/gl.yml +4 -62
  127. data/config/locales/hu.yml +33 -65
  128. data/config/locales/id-ID.yml +6 -47
  129. data/config/locales/is-IS.yml +5 -40
  130. data/config/locales/it.yml +5 -62
  131. data/config/locales/ja.yml +51 -66
  132. data/config/locales/kaa.yml +0 -8
  133. data/config/locales/ko.yml +0 -92
  134. data/config/locales/lb.yml +5 -61
  135. data/config/locales/lt.yml +40 -63
  136. data/config/locales/lv.yml +5 -57
  137. data/config/locales/nl.yml +4 -62
  138. data/config/locales/no.yml +5 -62
  139. data/config/locales/pl.yml +3 -93
  140. data/config/locales/pt-BR.yml +77 -132
  141. data/config/locales/pt.yml +5 -62
  142. data/config/locales/ro-RO.yml +20 -63
  143. data/config/locales/ru.yml +4 -44
  144. data/config/locales/sk.yml +0 -26
  145. data/config/locales/sl.yml +5 -48
  146. data/config/locales/sq-AL.yml +0 -364
  147. data/config/locales/sr-CS.yml +0 -5
  148. data/config/locales/sv.yml +132 -193
  149. data/config/locales/tr-TR.yml +8 -69
  150. data/config/locales/uk.yml +4 -44
  151. data/config/locales/zh-CN.yml +5 -60
  152. data/config/locales/zh-TW.yml +7 -63
  153. data/db/migrate/20200108123050_migrate_decidim_assembly_types.rb +1 -1
  154. data/lib/decidim/api/assemblies_type_type.rb +1 -1
  155. data/lib/decidim/api/assembly_member_type.rb +1 -1
  156. data/lib/decidim/api/assembly_type.rb +1 -1
  157. data/lib/decidim/assemblies/admin_engine.rb +21 -126
  158. data/lib/decidim/assemblies/content_blocks/registry_manager.rb +184 -0
  159. data/lib/decidim/assemblies/engine.rb +15 -21
  160. data/lib/decidim/assemblies/menu.rb +161 -0
  161. data/lib/decidim/assemblies/participatory_space.rb +7 -229
  162. data/lib/decidim/assemblies/query_extensions.rb +6 -6
  163. data/lib/decidim/assemblies/seeds.rb +161 -0
  164. data/lib/decidim/assemblies/test/factories.rb +47 -55
  165. data/lib/decidim/assemblies/version.rb +1 -1
  166. metadata +54 -51
  167. data/app/cells/decidim/assemblies/assembly_m/footer.erb +0 -15
  168. data/app/cells/decidim/assemblies/assembly_m/tags.erb +0 -1
  169. data/app/cells/decidim/assemblies/assembly_m_cell.rb +0 -77
  170. data/app/cells/decidim/assemblies/content_blocks/highlighted_assemblies/show.erb +0 -30
  171. data/app/commands/decidim/assemblies/admin/create_assembly_admin.rb +0 -54
  172. data/app/commands/decidim/assemblies/admin/destroy_assembly_admin.rb +0 -58
  173. data/app/commands/decidim/assemblies/admin/notify_role_assigned_to_assembly.rb +0 -22
  174. data/app/commands/decidim/assemblies/admin/publish_assembly.rb +0 -39
  175. data/app/commands/decidim/assemblies/admin/unpublish_assembly.rb +0 -39
  176. data/app/commands/decidim/assemblies/admin/update_assemblies_setting.rb +0 -46
  177. data/app/commands/decidim/assemblies/admin/update_assembly_admin.rb +0 -53
  178. data/app/controllers/decidim/assemblies/admin/assemblies_settings_controller.rb +0 -49
  179. data/app/controllers/decidim/assemblies/widgets_controller.rb +0 -33
  180. data/app/forms/decidim/assemblies/admin/assemblies_setting_form.rb +0 -14
  181. data/app/models/decidim/assemblies_setting.rb +0 -17
  182. data/app/queries/decidim/assemblies/admin/assembly_members.rb +0 -56
  183. data/app/views/decidim/assemblies/_filter_by_type.html.erb +0 -19
  184. data/app/views/decidim/assemblies/admin/assemblies_settings/_form.html.erb +0 -10
  185. data/app/views/decidim/assemblies/admin/assemblies_settings/edit.html.erb +0 -7
  186. data/app/views/decidim/assemblies/assemblies/_count.html.erb +0 -1
  187. data/app/views/decidim/assemblies/assemblies/_nav_breadcumb.html.erb +0 -11
  188. data/app/views/decidim/assemblies/assemblies/_parent_assemblies.html.erb +0 -15
  189. data/app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb +0 -27
  190. data/app/views/layouts/decidim/_assembly_header.html.erb +0 -27
  191. data/app/views/layouts/decidim/_assembly_navigation.html.erb +0 -24
  192. data/app/views/layouts/decidim/admin/assembly_members.html.erb +0 -18
  193. data/config/locales/he-IL.yml +0 -110
  194. data/db/seeds/Exampledocument.pdf +0 -0
  195. data/db/seeds/city.jpeg +0 -0
  196. data/db/seeds/city2.jpeg +0 -0
  197. data/db/seeds/homepage_image.jpg +0 -0
  198. data/decidim-assemblies.gemspec +0 -32
@@ -2,8 +2,6 @@
2
2
  tr:
3
3
  activemodel:
4
4
  attributes:
5
- assemblies_setting:
6
- enable_organization_chart: Organizasyon şemasını etkinleştir
7
5
  assemblies_type:
8
6
  title: Başlik / Unvani
9
7
  assembly:
@@ -76,12 +74,6 @@ tr:
76
74
  email: E-posta
77
75
  name: Adı
78
76
  role: Rol
79
- errors:
80
- models:
81
- assembly:
82
- attributes:
83
- document:
84
- allowed_file_content_types: 'Geçersiz belge. Yalnizca şu uzantılara sahip dosyalara izin verilir: %{types}'
85
77
  activerecord:
86
78
  models:
87
79
  decidim/assembly:
@@ -98,7 +90,9 @@ tr:
98
90
  actions:
99
91
  import_assembly: İçeri aktar
100
92
  new_assembly: Yeni kurul
93
+ new_assembly_member: Yeni Meclis Üyesi
101
94
  new_assembly_type: Yeni kurul türü
95
+ new_assembly_user_role: Yeni Meclis Yöneticisi
102
96
  assemblies:
103
97
  create:
104
98
  error: Yeni bir kurul oluştururken bir hata oluştu.
@@ -106,7 +100,6 @@ tr:
106
100
  edit:
107
101
  update: Güncelle
108
102
  index:
109
- not_published: Yayınlanmadı
110
103
  private: Kişisel
111
104
  public: Ortak
112
105
  published: Yayınlanan
@@ -120,10 +113,6 @@ tr:
120
113
  create:
121
114
  error: Bu kurul çoğaltırken bir hata oluştu.
122
115
  success: Kurul başarıyla kopyalandı.
123
- assemblies_settings:
124
- update:
125
- error: Ayarı değiştirirken bir hata oluştu.
126
- success: Ayarlar başarıyla güncellendi.
127
116
  assemblies_types:
128
117
  create:
129
118
  error: Yeni bir kurul türü oluşturulurken bir sorun meydana geldi.
@@ -156,13 +145,11 @@ tr:
156
145
  destroy:
157
146
  success: Üye bu kuruldan başarıyla silindi.
158
147
  edit:
159
- title: Kurul üyesini güncelle.
160
148
  update: Güncelle
161
149
  index:
162
150
  assembly_members_title: Kurul üyeleri
163
151
  new:
164
152
  create: Oluştur
165
- title: Yeni kurul üyesi.
166
153
  update:
167
154
  error: Bu kurul için üye güncellenirken bir hata oluştu.
168
155
  success: Üye bu kurul için başarıyla güncellendi.
@@ -180,13 +167,11 @@ tr:
180
167
  destroy:
181
168
  success: Yönetici bu kuruldan başarıyla kaldırıldı.
182
169
  edit:
183
- title: Kurul yöneticisini güncelleyin.
184
170
  update: Güncelle
185
171
  index:
186
172
  assembly_admins_title: Kurul yöneticileri
187
173
  new:
188
174
  create: Oluştur
189
- title: Yeni kurul yöneticisi.
190
175
  update:
191
176
  error: Bu kurul için bir yönetici güncellenirken bir sorun oluştu.
192
177
  success: Yönetici bu kurul için başarıyla güncellendi.
@@ -195,7 +180,6 @@ tr:
195
180
  label: Montaj tipi
196
181
  menu:
197
182
  assemblies: Kurullar
198
- assemblies_settings: Ayarlar
199
183
  assemblies_submenu:
200
184
  assembly_admins: Kurul yöneticileri
201
185
  assembly_members: Üyeler
@@ -204,7 +188,6 @@ tr:
204
188
  attachments: Ekler
205
189
  categories: Kategoriler
206
190
  components: Bileşenler
207
- info: Bilgi
208
191
  moderations: Yönetim
209
192
  private_users: Özel kullanıcılar
210
193
  assemblies_types: Kurul türü
@@ -286,17 +269,10 @@ tr:
286
269
  select_parent_assembly: Bağlı olduğu kurulu seçin
287
270
  social_handlers: Sosyal
288
271
  title: Genel bilgi
289
- assemblies_settings:
290
- edit:
291
- update: Güncelle
292
- form:
293
- title: Kurul ayarları
272
+ visbility: görünürlük
294
273
  assemblies_types:
295
274
  form:
296
275
  title: Başlık
297
- assembly_imports:
298
- form:
299
- document_legend: Bir belge ekle
300
276
  assembly_members:
301
277
  form:
302
278
  existing_user: Mevcut katılımcı
@@ -304,17 +280,16 @@ tr:
304
280
  select_a_position: Bir pozisyon seç
305
281
  select_user: Bir katılımcı seçin
306
282
  user_type: Katılımcı tipi
307
- index:
308
- filter:
309
- all: Tümü
310
- filter_by: Şuna göre filtrele
311
- search: Arama
312
283
  content_blocks:
313
284
  highlighted_assemblies:
314
285
  max_results: Gösterilecek maksimum öğe miktarı
315
286
  new_import:
316
287
  accepted_types:
317
288
  json: JSON
289
+ assemblies:
290
+ filters:
291
+ names:
292
+ all: Tümü
318
293
  assembly_members:
319
294
  index:
320
295
  members: Üyeler
@@ -345,41 +320,18 @@ tr:
345
320
  working_group: Çalışma Grubu
346
321
  index:
347
322
  title: Kurullar
348
- last_activity:
349
- new_assembly: Yeni kurul
350
323
  pages:
351
- home:
352
- highlighted_assemblies:
353
- assemblies_button_title: Tüm kurulları görüntüleyen Kurullar sayfasına bağlantı
354
324
  user_profile:
355
325
  member_of:
356
326
  member_of: Üyesi
357
327
  show:
358
- area: Alan
359
328
  assembly_type: Kurul türü
360
- children: Kurullar
361
- closing_date: Kapanış tarihi
362
- composition: bileştirme, kompozisyon
363
- created_by: Tarafından yaratıldı
364
- creation_date: Tarih oluşturuldu
365
- developer_group: Tanıtım grubu
366
329
  duration: Süre
367
- included_at: Dahil
368
- internal_organisation: İç organizasyon
369
330
  is_transparent:
370
331
  'false': opak
371
332
  'true': şeffaf
372
- local_area: Organizasyon alanı
373
- participatory_scope: Karar nedir
374
- participatory_structure: Nasıl karar verilir
375
333
  private_space: Bu özel bir kurul
376
- purpose_of_action: Eylem amacı
377
- read_less: Daha az oku
378
- read_more: Daha fazla oku
379
- related_participatory_processes: İlgili Katılımcı süreçler
380
- scope: kapsam
381
- social_networks: Sosyal ağlar
382
- target: Katılanlar
334
+ related_participatory_processes: İlgili katılımcı süreçleri
383
335
  assembly_members:
384
336
  assembly_member:
385
337
  designated_on: Üzerinde belirlenen
@@ -419,9 +371,6 @@ tr:
419
371
  participatory_processes:
420
372
  show:
421
373
  related_assemblies: İlgili kurullar
422
- errors:
423
- messages:
424
- cannot_be_blank: boş bırakılamaz
425
374
  layouts:
426
375
  decidim:
427
376
  assemblies:
@@ -429,20 +378,10 @@ tr:
429
378
  more_info: Daha fazla bilgi
430
379
  take_part: Yer almak
431
380
  index:
432
- children: 'Kurullar: '
433
- organizational_chart: Organizasyon şeması
434
381
  promoted_assemblies: Vurgulanan kurullar
435
- reset_chart: Sıfırla
436
382
  order_by_assemblies:
437
383
  assemblies:
438
384
  one: "%{count} kurul"
439
385
  other: "%{count} kurul"
440
- promoted_assembly:
441
- more_info: Daha fazla bilgi
442
- take_part: Yer almak
443
386
  assembly_navigation:
444
387
  assembly_member_menu_item: Üyeler
445
- assembly_menu_item: Kurul
446
- assembly_widgets:
447
- show:
448
- take_part: Yer almak
@@ -90,7 +90,6 @@ uk:
90
90
  edit:
91
91
  update: Оновити
92
92
  index:
93
- not_published: Не оприлюднено
94
93
  private: Приватні
95
94
  public: Оприлюдені
96
95
  published: Оприлюднено
@@ -119,13 +118,11 @@ uk:
119
118
  destroy:
120
119
  success: Успішно видалено члена президії цих зборів.
121
120
  edit:
122
- title: Оновити члена президії зборів.
123
121
  update: Оновити
124
122
  index:
125
123
  assembly_members_title: Члени президії зборів
126
124
  new:
127
125
  create: Додати
128
- title: Додати члена президії зборів.
129
126
  update:
130
127
  error: При спробі оновити члена президії цих зборів сталася помилка.
131
128
  success: Члена президії цих зборів успішно оновлено.
@@ -143,13 +140,11 @@ uk:
143
140
  destroy:
144
141
  success: Учасника цих зборів успішно видалено.
145
142
  edit:
146
- title: Оновити учасника зборів.
147
143
  update: Оновити
148
144
  index:
149
145
  assembly_admins_title: Учасники зборів
150
146
  new:
151
147
  create: Створити
152
- title: Додати учасника зборів.
153
148
  update:
154
149
  error: При спробі оновити учасника цих зборів сталася помилка.
155
150
  success: Учасника цих зборів успішно оновлено.
@@ -163,7 +158,6 @@ uk:
163
158
  attachments: Вкладені файли
164
159
  categories: Категорії
165
160
  components: Складові
166
- info: Відомості
167
161
  moderations: Дії з модерації
168
162
  private_users: Приватні учасники
169
163
  models:
@@ -227,9 +221,6 @@ uk:
227
221
  select_an_assembly_type: Оберіть різновид зборів
228
222
  social_handlers: Соціальні мережі
229
223
  title: Загальні відомості
230
- assemblies_settings:
231
- edit:
232
- update: Оновити
233
224
  assemblies_types:
234
225
  form:
235
226
  title: Назва
@@ -240,11 +231,10 @@ uk:
240
231
  select_a_position: Оберіть посаду
241
232
  select_user: Оберіть учасника
242
233
  user_type: Різновид учасника
243
- index:
244
- filter:
245
- all: Усі
246
- filter_by: 'Відібрати за ознакою:'
247
- search: Шукати
234
+ assemblies:
235
+ filters:
236
+ names:
237
+ all: Усі
248
238
  assembly_members:
249
239
  index:
250
240
  members: Члени президії
@@ -265,38 +255,18 @@ uk:
265
255
  public: Громадяни
266
256
  index:
267
257
  title: Збори
268
- last_activity:
269
- new_assembly: Додати збори
270
258
  pages:
271
259
  user_profile:
272
260
  member_of:
273
261
  member_of: 'Входить у склад:'
274
262
  show:
275
- area: Дільниця
276
263
  assembly_type: Різновид зборів
277
- children: Збори
278
- closing_date: Дата закриття
279
- composition: Склад
280
- created_by: 'Автор:'
281
- creation_date: Дата створення
282
- developer_group: Робочий гурт з просування
283
264
  duration: Тривалість
284
- included_at: Включено в
285
- internal_organisation: Внутрішня організація
286
265
  is_transparent:
287
266
  'false': непрозорі
288
267
  'true': прозорі
289
- local_area: Дільниця організації
290
- participatory_scope: Що вирішується
291
- participatory_structure: Як це вирішується
292
268
  private_space: Це приватні збори
293
- purpose_of_action: Мета дії
294
- read_less: Читати менше
295
- read_more: Читати далі
296
269
  related_participatory_processes: Пов'язані рухи співучасті
297
- scope: Обсяг
298
- social_networks: Соціальні мережі
299
- target: Хто бере участь
300
270
  assembly_members:
301
271
  assembly_member:
302
272
  designated_on: 'Надано повноваження:'
@@ -308,9 +278,6 @@ uk:
308
278
  not_found: 'Ці збори не знайдено в базі даних (ID: %{id})'
309
279
  menu:
310
280
  assemblies: Збори
311
- errors:
312
- messages:
313
- cannot_be_blank: не може бути порожнім
314
281
  layouts:
315
282
  decidim:
316
283
  assemblies:
@@ -324,10 +291,3 @@ uk:
324
291
  few: "%{count} зборів"
325
292
  many: "%{count} зборів"
326
293
  other: "%{count} зборів"
327
- promoted_assembly:
328
- take_part: Взяти участь
329
- assembly_navigation:
330
- assembly_menu_item: Збори
331
- assembly_widgets:
332
- show:
333
- take_part: Взяти участь
@@ -84,7 +84,6 @@ zh-CN:
84
84
  edit:
85
85
  update: 更新
86
86
  index:
87
- not_published: 未发布
88
87
  private: 非公开的
89
88
  public: 公开的
90
89
  published: 已发布
@@ -98,10 +97,6 @@ zh-CN:
98
97
  create:
99
98
  error: 复制这个组件时出现问题。
100
99
  success: 已成功复制组合。
101
- assemblies_settings:
102
- update:
103
- error: 更新设置时出现问题。
104
- success: 设置已成功更新。
105
100
  assemblies_types:
106
101
  create:
107
102
  error: 创建新组装类型时出现问题。
@@ -134,13 +129,11 @@ zh-CN:
134
129
  destroy:
135
130
  success: 成功删除此组件的会员。
136
131
  edit:
137
- title: 更新组装成员。
138
132
  update: 更新
139
133
  index:
140
134
  assembly_members_title: 大会成员
141
135
  new:
142
136
  create: 创建
143
- title: 新议会议员。
144
137
  update:
145
138
  error: 更新这个会议的成员时出现问题。
146
139
  success: 会员已成功更新此程序集。
@@ -158,19 +151,16 @@ zh-CN:
158
151
  destroy:
159
152
  success: 管理员已成功从此组件中移除。
160
153
  edit:
161
- title: 更新程序集管理员。
162
154
  update: 更新
163
155
  index:
164
156
  assembly_admins_title: 集合管理员
165
157
  new:
166
158
  create: 创建
167
- title: 新组装管理员。
168
159
  update:
169
160
  error: 更新这个会议的管理员时出现问题。
170
161
  success: 管理员已成功更新此程序集。
171
162
  menu:
172
163
  assemblies: 程序集
173
- assemblies_settings: 设置
174
164
  assemblies_submenu:
175
165
  assembly_admins: 集合管理员
176
166
  assembly_members: 成员
@@ -179,7 +169,6 @@ zh-CN:
179
169
  attachments: 附件
180
170
  categories: 类别管理
181
171
  components: 组件
182
- info: 信息
183
172
  moderations: 版面
184
173
  private_users: 私人用户
185
174
  assemblies_types: 程序集类型
@@ -259,17 +248,10 @@ zh-CN:
259
248
  select_parent_assembly: 选择父程序集
260
249
  social_handlers: 社交活动
261
250
  title: 一般信息
262
- assemblies_settings:
263
- edit:
264
- update: 更新
265
- form:
266
- title: 程序集设置
251
+ visbility: 可见性
267
252
  assemblies_types:
268
253
  form:
269
254
  title: 标题
270
- assembly_imports:
271
- form:
272
- document_legend: 添加文档
273
255
  assembly_members:
274
256
  form:
275
257
  existing_user: 现有参与者
@@ -277,14 +259,13 @@ zh-CN:
277
259
  select_a_position: 选择一个位置
278
260
  select_user: 选择一名参与者
279
261
  user_type: 参与者类型
280
- index:
281
- filter:
282
- all: 所有的
283
- filter_by: 筛选方式
284
- search: 搜索
285
262
  content_blocks:
286
263
  highlighted_assemblies:
287
264
  max_results: 显示元素的最大数量
265
+ assemblies:
266
+ filters:
267
+ names:
268
+ all: 所有的
288
269
  assembly_members:
289
270
  index:
290
271
  members: 成员
@@ -315,41 +296,18 @@ zh-CN:
315
296
  working_group: 工作组
316
297
  index:
317
298
  title: 程序集
318
- last_activity:
319
- new_assembly: 新建程序集
320
299
  pages:
321
- home:
322
- highlighted_assemblies:
323
- assemblies_button_title: 链接到显示所有程序集的程序集页面
324
300
  user_profile:
325
301
  member_of:
326
302
  member_of: 成员
327
303
  show:
328
- area: 区域
329
304
  assembly_type: 程序集类型
330
- children: 程序集
331
- closing_date: 结束日期
332
- composition: 组成
333
- created_by: 创建者
334
- creation_date: 创建日期
335
- developer_group: 促销者组
336
305
  duration: 期限
337
- included_at: 包含于
338
- internal_organisation: 内部组织
339
306
  is_transparent:
340
307
  'false': 不透明度
341
308
  'true': 透明度
342
- local_area: 组织区域
343
- participatory_scope: 决定的内容
344
- participatory_structure: 如何决定
345
309
  private_space: 这是一个私人装饰
346
- purpose_of_action: 行动的目的
347
- read_less: 阅读更多
348
- read_more: 阅读更多
349
310
  related_participatory_processes: 相关的参与进程
350
- scope: 范围
351
- social_networks: 社交网络
352
- target: 谁参与
353
311
  assembly_members:
354
312
  assembly_member:
355
313
  designated_on: 指定于
@@ -389,9 +347,6 @@ zh-CN:
389
347
  participatory_processes:
390
348
  show:
391
349
  related_assemblies: 相关的会议
392
- errors:
393
- messages:
394
- cannot_be_blank: 不能为空
395
350
  layouts:
396
351
  decidim:
397
352
  assemblies:
@@ -399,19 +354,9 @@ zh-CN:
399
354
  more_info: 更多信息
400
355
  take_part: 参与
401
356
  index:
402
- children: '程序集: '
403
- organizational_chart: 组织结构图
404
357
  promoted_assemblies: 突出显示的会议
405
- reset_chart: Reset
406
358
  order_by_assemblies:
407
359
  assemblies:
408
360
  other: "%{count} 个程序集"
409
- promoted_assembly:
410
- more_info: 更多信息
411
- take_part: 参与
412
361
  assembly_navigation:
413
362
  assembly_member_menu_item: 成员
414
- assembly_menu_item: 装饰
415
- assembly_widgets:
416
- show:
417
- take_part: 参与
@@ -2,8 +2,6 @@
2
2
  zh-TW:
3
3
  activemodel:
4
4
  attributes:
5
- assemblies_setting:
6
- enable_organization_chart: 啟用組織圖
7
5
  assemblies_type:
8
6
  title: 標題
9
7
  assembly:
@@ -81,7 +79,7 @@ zh-TW:
81
79
  assembly:
82
80
  attributes:
83
81
  document:
84
- allowed_file_content_types: '無效文件類型。只允許使用以下副檔名的文件:%{types}'
82
+ allowed_file_content_types: '無效文件類型。僅允許以下擴展名的文件:'
85
83
  activerecord:
86
84
  models:
87
85
  decidim/assembly:
@@ -103,7 +101,6 @@ zh-TW:
103
101
  edit:
104
102
  update: 更新
105
103
  index:
106
- not_published: 未發佈
107
104
  private: 不公開
108
105
  public: 公開
109
106
  published: 已發佈
@@ -117,10 +114,6 @@ zh-TW:
117
114
  create:
118
115
  error: 複製此大會時出現問題
119
116
  success: 大會已成功複製
120
- assemblies_settings:
121
- update:
122
- error: 更新設置時出現問題
123
- success: 設置更新成功
124
117
  assemblies_types:
125
118
  create:
126
119
  error: 創建新大會類型時出現問題
@@ -153,13 +146,11 @@ zh-TW:
153
146
  destroy:
154
147
  success: 該大會的成員已成功刪除
155
148
  edit:
156
- title: 更新大會成員
157
149
  update: 更新
158
150
  index:
159
151
  assembly_members_title: 大會成員
160
152
  new:
161
153
  create: 建立
162
- title: 新大會成員
163
154
  update:
164
155
  error: 更新此大會的成員時出現問題。
165
156
  success: 此大會的成員已成功更新。
@@ -177,13 +168,11 @@ zh-TW:
177
168
  destroy:
178
169
  success: 管理員已成功從此大會中刪除
179
170
  edit:
180
- title: 更新大會管理員
181
171
  update: 更新
182
172
  index:
183
173
  assembly_admins_title: 大會管理員
184
174
  new:
185
175
  create: 建立
186
- title: 新大會管理員
187
176
  update:
188
177
  error: 更新此大會的管理員時出現問題
189
178
  success: 此大會的管理員已成功更新。
@@ -192,7 +181,6 @@ zh-TW:
192
181
  label: 大會類型
193
182
  menu:
194
183
  assemblies: 大會
195
- assemblies_settings: 設定
196
184
  assemblies_submenu:
197
185
  assembly_admins: 大會管理員
198
186
  assembly_members: 成員
@@ -201,7 +189,6 @@ zh-TW:
201
189
  attachments: 附件
202
190
  categories: 類別
203
191
  components: 元件
204
- info: 資訊
205
192
  moderations: 版主
206
193
  private_users: 私人使用者
207
194
  assemblies_types: 大會類型
@@ -287,17 +274,10 @@ zh-TW:
287
274
  select_parent_assembly: 選擇父組件
288
275
  social_handlers: 社群
289
276
  title: 基本資訊
290
- assemblies_settings:
291
- edit:
292
- update: 更新
293
- form:
294
- title: 大會的設置
277
+ visbility: 可見度
295
278
  assemblies_types:
296
279
  form:
297
280
  title: 標題
298
- assembly_imports:
299
- form:
300
- document_legend: 添加文檔
301
281
  assembly_members:
302
282
  form:
303
283
  existing_user: 現有參與者
@@ -308,11 +288,6 @@ zh-TW:
308
288
  select_a_position: 選擇一個位置
309
289
  select_user: 選擇與會者:
310
290
  user_type: 參與者類型
311
- index:
312
- filter:
313
- all: 全部
314
- filter_by: 篩選條件
315
- search: 搜尋
316
291
  content_blocks:
317
292
  highlighted_assemblies:
318
293
  max_results: 顯示的最大元素數量
@@ -320,6 +295,9 @@ zh-TW:
320
295
  accepted_types:
321
296
  json: JSON
322
297
  assemblies:
298
+ filters:
299
+ names:
300
+ all: 全部
323
301
  show:
324
302
  title: 關於這個大會
325
303
  assembly_members:
@@ -353,41 +331,20 @@ zh-TW:
353
331
  index:
354
332
  title: 大會
355
333
  last_activity:
356
- new_assembly: 新大會
334
+ new_assembly: '新大會:'
357
335
  pages:
358
- home:
359
- highlighted_assemblies:
360
- assemblies_button_title: 鏈接到顯示所有大會的大會頁面
361
336
  user_profile:
362
337
  member_of:
363
338
  member_of: 的成員
364
339
  show:
365
- area: 區域
366
340
  assembly_type: 大會類型
367
- children: 大會
368
- closing_date: 截止日期
369
- composition: 組成
370
- created_by: 創建者
371
- creation_date: 創建日期
372
- developer_group: 促銷團隊
373
341
  duration: 持續時間
374
- included_at: 包含於
375
- internal_organisation: 內部組織
376
342
  is_transparent:
377
343
  'false': 不透明
378
344
  'true': 透明
379
- local_area: 組織區域
380
- participatory_scope: 決定了什麼
381
- participatory_structure: 如何決定
382
345
  private_space: 這是一個私人大會
383
- purpose_of_action: 行動目的
384
- read_less: 閱讀減少
385
- read_more: 閱讀變多
386
- related_participatory_processes: 相關參與程序
387
- scope: 範圍
388
- social_networks: 社群網路
346
+ related_participatory_processes: 相關參與過程
389
347
  social_networks_title: 訪問大會
390
- target: 誰參加
391
348
  assembly_members:
392
349
  assembly_member:
393
350
  designated_on: 指定於
@@ -430,9 +387,6 @@ zh-TW:
430
387
  related_assemblies: 相關大會
431
388
  statistics:
432
389
  assemblies_count: 大會
433
- errors:
434
- messages:
435
- cannot_be_blank: 不能為空白
436
390
  layouts:
437
391
  decidim:
438
392
  assemblies:
@@ -440,19 +394,9 @@ zh-TW:
440
394
  more_info: 更多資訊
441
395
  take_part: 參與
442
396
  index:
443
- children: '大會: '
444
- organizational_chart: 組織結構圖
445
397
  promoted_assemblies: 關注的大會
446
- reset_chart: 重置
447
398
  order_by_assemblies:
448
399
  assemblies:
449
400
  other: "%{count} 大會"
450
- promoted_assembly:
451
- more_info: 更多資訊
452
- take_part: 參與
453
401
  assembly_navigation:
454
402
  assembly_member_menu_item: 成員
455
- assembly_menu_item: 該大會
456
- assembly_widgets:
457
- show:
458
- take_part: 參與
@@ -36,7 +36,7 @@ class MigrateDecidimAssemblyTypes < ActiveRecord::Migration[5.2]
36
36
  unless type == "others"
37
37
  assembly_type = AssemblyType.find_or_create_by(
38
38
  decidim_organization_id: organization.id,
39
- title: title
39
+ title:
40
40
  )
41
41
  end
42
42
  Assembly.where(decidim_organization_id: organization.id, assembly_type: type).each do |assembly|