decidim-participatory_processes 0.24.0.rc1 → 0.24.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/app/forms/decidim/participatory_processes/admin/participatory_process_form.rb +3 -1
  3. data/app/models/decidim/participatory_process.rb +2 -2
  4. data/app/presenters/decidim/participatory_processes/participatory_process_presenter.rb +4 -3
  5. data/app/views/decidim/participatory_processes/admin/participatory_process_groups/index.html.erb +3 -3
  6. data/app/views/decidim/participatory_processes/admin/participatory_processes/index.html.erb +1 -1
  7. data/config/locales/ar.yml +3 -0
  8. data/config/locales/ca.yml +50 -0
  9. data/config/locales/cs.yml +11 -11
  10. data/config/locales/de.yml +1 -1
  11. data/config/locales/el.yml +3 -0
  12. data/config/locales/es-MX.yml +56 -0
  13. data/config/locales/es-PY.yml +56 -0
  14. data/config/locales/es.yml +56 -0
  15. data/config/locales/eu.yml +3 -0
  16. data/config/locales/fi-plain.yml +1 -1
  17. data/config/locales/fi.yml +1 -1
  18. data/config/locales/fr-CA.yml +1 -1
  19. data/config/locales/fr.yml +1 -1
  20. data/config/locales/gl.yml +85 -0
  21. data/config/locales/hu.yml +3 -0
  22. data/config/locales/id-ID.yml +3 -0
  23. data/config/locales/is-IS.yml +3 -0
  24. data/config/locales/it.yml +4 -0
  25. data/config/locales/ja.yml +3 -0
  26. data/config/locales/lv.yml +3 -0
  27. data/config/locales/nl.yml +3 -1
  28. data/config/locales/no.yml +4 -0
  29. data/config/locales/pl.yml +38 -8
  30. data/config/locales/pt-BR.yml +3 -0
  31. data/config/locales/pt.yml +3 -0
  32. data/config/locales/ro-RO.yml +75 -19
  33. data/config/locales/ru.yml +4 -1
  34. data/config/locales/sk.yml +3 -0
  35. data/config/locales/sr-CS.yml +4 -0
  36. data/config/locales/sv.yml +37 -0
  37. data/config/locales/tr-TR.yml +1 -1
  38. data/config/locales/uk.yml +4 -1
  39. data/config/locales/zh-CN.yml +3 -0
  40. data/db/migrate/20201006072346_fix_attachments_titles.rb +5 -8
  41. data/db/migrate/20210310120750_add_followable_counter_cache_to_participatory_processes.rb +16 -0
  42. data/lib/decidim/participatory_processes/version.rb +1 -1
  43. metadata +11 -10
@@ -37,8 +37,12 @@ sv:
37
37
  weight: Vikt
38
38
  participatory_process_group:
39
39
  description: Beskrivning
40
+ group_url: Webbplats
41
+ hashtag: Hashtag
40
42
  hero_image: Bild
41
43
  participatory_process_ids: Relaterade dialoger
44
+ participatory_scope: Vad som bestäms
45
+ title: Titel
42
46
  participatory_process_step:
43
47
  cta_path: Uppmaningens sökväg
44
48
  cta_text: Uppmaningens text
@@ -94,6 +98,9 @@ sv:
94
98
  unpublish: Avpublicera
95
99
  menu:
96
100
  participatory_process_groups: Dialoggrupper
101
+ participatory_process_groups_submenu:
102
+ info: Info
103
+ landing_page: Landningssida
97
104
  participatory_processes: Dialoger
98
105
  participatory_processes_submenu:
99
106
  attachment_collections: Mappar
@@ -116,6 +123,8 @@ sv:
116
123
  title: Titel
117
124
  name: Dialog
118
125
  participatory_process_group:
126
+ fields:
127
+ title: Titel
119
128
  name: Dialoggrupp
120
129
  participatory_process_step:
121
130
  fields:
@@ -143,6 +152,9 @@ sv:
143
152
  copy: Kopiera
144
153
  select: Välj vilka data som du vill duplicera
145
154
  title: Duplicera dialog
155
+ participatory_process_group_landing_page_content_blocks:
156
+ edit:
157
+ update: Uppdatera
146
158
  participatory_process_groups:
147
159
  destroy:
148
160
  error: Det gick inte att radera dialoggruppen.
@@ -300,10 +312,28 @@ sv:
300
312
  related_assemblies: Relaterade sammankomster
301
313
  participatory_process_groups:
302
314
  content_blocks:
315
+ html_1:
316
+ name: Första HTML-block
317
+ html_2:
318
+ name: Andra HTML-block
319
+ html_3:
320
+ name: Tredje HTML-block
321
+ metadata:
322
+ developer_group: Annonserad av
323
+ name: Metadata
324
+ participatory_scope: Vad som bestäms
325
+ participatory_structure: Hur det bestäms
326
+ target: Vem deltar
303
327
  participatory_processes:
304
328
  name: Dialoger
305
329
  stats:
306
330
  name: Statistik
331
+ title:
332
+ meta_scope: Omfång
333
+ name: Titel, beskrivning och hashtag
334
+ participatory_processes:
335
+ one: 1 dialog
336
+ other: "%{count} dialoger"
307
337
  show:
308
338
  title: Dialoggrupper
309
339
  participatory_process_steps:
@@ -321,6 +351,11 @@ sv:
321
351
  participatory_process_copies:
322
352
  form:
323
353
  slug_help: 'URL-slugs används till att generera de URL:er som pekar på processen. Använd bara bokstäver, siffror och bindestreck, och de måste börja med en bokstav. Exempel: %{url}'
354
+ participatory_process_groups:
355
+ form:
356
+ metadata: Metadata
357
+ title: Allmän information
358
+ visibility: Synlighet
324
359
  participatory_process_imports:
325
360
  form:
326
361
  document_legend: Lägg till ett dokument
@@ -450,6 +485,8 @@ sv:
450
485
  more_info_about: Mer information om dialogen %{resource_name}
451
486
  take_part: Delta
452
487
  take_part_in: Delta i dialogen %{resource_name}
488
+ promoted_process_group:
489
+ more_info: Mer information
453
490
  process_header_steps:
454
491
  step: Steg %{current} av %{total}
455
492
  view_steps: Visa steg
@@ -335,7 +335,7 @@ tr:
335
335
  participatory_processes:
336
336
  name: Katılımcı süreçleri
337
337
  stats:
338
- name: İstatistikler
338
+ name: Aktivite
339
339
  title:
340
340
  meta_scope: Kapsam
341
341
  name: Başlık, açıklama ve etiket
@@ -254,6 +254,9 @@ uk:
254
254
  menu:
255
255
  processes: Рухи
256
256
  participatory_process_groups:
257
+ content_blocks:
258
+ stats:
259
+ name: Діяльність
257
260
  show:
258
261
  title: Сукупності рухів співучасті
259
262
  participatory_process_steps:
@@ -341,7 +344,7 @@ uk:
341
344
  orders_count: Голосів
342
345
  pages_count: Сторінок
343
346
  participants_count: Учасників
344
- processes_count: Рухів
347
+ processes_count: Рухи
345
348
  projects_count: Проектів
346
349
  proposals_count: Пропозицій
347
350
  results_count: Підсумків
@@ -295,6 +295,9 @@ zh-CN:
295
295
  show:
296
296
  related_assemblies: 相关的会议
297
297
  participatory_process_groups:
298
+ content_blocks:
299
+ stats:
300
+ name: 统计
298
301
  show:
299
302
  title: 参与性进程组
300
303
  participatory_process_steps:
@@ -15,14 +15,11 @@ class FixAttachmentsTitles < ActiveRecord::Migration[5.2]
15
15
  Decidim.default_locale
16
16
 
17
17
  # rubocop:disable Rails/SkipsModelValidations
18
- attachment.update_columns(
19
- title: {
20
- locale => attachment.title
21
- },
22
- description: {
23
- locale => attachment.description
24
- }
25
- )
18
+ values = {}
19
+ values[:title] = { locale => attachment.title } unless attachment.title.is_a?(Hash)
20
+ values[:description] = { locale => attachment.description } unless attachment.description.is_a?(Hash)
21
+
22
+ attachment.update_columns(values)
26
23
  # rubocop:enable Rails/SkipsModelValidations
27
24
  end
28
25
  end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ class AddFollowableCounterCacheToParticipatoryProcesses < ActiveRecord::Migration[5.2]
4
+ def change
5
+ add_column :decidim_participatory_processes, :follows_count, :integer, null: false, default: 0, index: true
6
+
7
+ reversible do |dir|
8
+ dir.up do
9
+ Decidim::ParticipatoryProcess.reset_column_information
10
+ Decidim::ParticipatoryProcess.find_each do |record|
11
+ record.class.reset_counters(record.id, :follows)
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-participatory_processes version.
5
5
  module ParticipatoryProcesses
6
6
  def self.version
7
- "0.24.0.rc1"
7
+ "0.24.3"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-participatory_processes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0.rc1
4
+ version: 0.24.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-03-01 00:00:00.000000000 Z
13
+ date: 2021-06-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,42 +18,42 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.24.0.rc1
21
+ version: 0.24.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.24.0.rc1
28
+ version: 0.24.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: decidim-admin
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - '='
34
34
  - !ruby/object:Gem::Version
35
- version: 0.24.0.rc1
35
+ version: 0.24.3
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
40
  - - '='
41
41
  - !ruby/object:Gem::Version
42
- version: 0.24.0.rc1
42
+ version: 0.24.3
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: decidim-dev
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
47
  - - '='
48
48
  - !ruby/object:Gem::Version
49
- version: 0.24.0.rc1
49
+ version: 0.24.3
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
54
  - - '='
55
55
  - !ruby/object:Gem::Version
56
- version: 0.24.0.rc1
56
+ version: 0.24.3
57
57
  description: Participatory processes component for decidim.
58
58
  email:
59
59
  - josepjaume@gmail.com
@@ -384,6 +384,7 @@ files:
384
384
  - db/migrate/20201013105520_rename_name_column_to_title_in_decidim_participatory_process_groups.rb
385
385
  - db/migrate/20201030133444_add_promoted_flag_to_decidim_participatory_process_groups.rb
386
386
  - db/migrate/20210204154593_add_weight_field_to_participatory_processes.rb
387
+ - db/migrate/20210310120750_add_followable_counter_cache_to_participatory_processes.rb
387
388
  - db/seeds/Exampledocument.pdf
388
389
  - db/seeds/city.jpeg
389
390
  - db/seeds/city2.jpeg
@@ -417,9 +418,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
417
418
  version: '2.7'
418
419
  required_rubygems_version: !ruby/object:Gem::Requirement
419
420
  requirements:
420
- - - ">"
421
+ - - ">="
421
422
  - !ruby/object:Gem::Version
422
- version: 1.3.1
423
+ version: '0'
423
424
  requirements: []
424
425
  rubygems_version: 3.1.2
425
426
  signing_key: