decidim-blogs 0.28.3 → 0.28.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22a486bebf83e806ff85b5565cb3410835e23eeb04732e2e80baf2de6ada9f12
4
- data.tar.gz: cf159deb2290a8d85223018106890a1069e932970572e48ed77eac36e465aa6b
3
+ metadata.gz: 260eac71b1c230ba4fe9b070114c10ef925e676f12338c0492b79c09bdd83095
4
+ data.tar.gz: 85c8fee8fda910fe8a2c1ec0e0384f59172755cf88e0382967ff2dd037abef7c
5
5
  SHA512:
6
- metadata.gz: 298f66fb03478bc19e8cb9594cfdb331d8e347f27db11c3a27753a65f7e981ed715d7bc68b212bd475e7356effbb6135ad8914aeff8fb4d3e5c966a999301c80
7
- data.tar.gz: 878cf076a54c8bc6b65e9d2b2e2bb6b3b4eefe3b9e7aac943964d5d39d7872c1527dd1132a53e1bf36ccda434cf4fa1764f516d1dfd04218925eac3ba97bf161
6
+ metadata.gz: 54c224d21c32130867c54d64edc21ac04d6e05629cb14ea29a7dd85a371fbc379316b013eb43b26961347f6c7a78c8b6a11382c1758b54873a4145246cb00645
7
+ data.tar.gz: d1339f5f95cceace6d1928a7257268fa3e2f4883ad8c3f2cabdba494ca53644db812568993dc53a7dc502fe4687627a1969d1dfba940e9ac314f48253aa633ed
@@ -64,6 +64,9 @@ sv:
64
64
  title: Titel
65
65
  posts:
66
66
  index:
67
+ count:
68
+ one: "%{count} inlägg"
69
+ other: "%{count} inlägg"
67
70
  empty: Det finns inga inlägg ännu.
68
71
  components:
69
72
  blogs:
@@ -71,19 +74,19 @@ sv:
71
74
  comment: Kommentera
72
75
  create: Skapa
73
76
  destroy: Radera
74
- endorse: Instäm
77
+ endorse: Gilla
75
78
  update: Uppdatera
76
79
  name: Blogg
77
80
  settings:
78
81
  global:
79
82
  announcement: Meddelande
80
- comments_enabled: Kommentarer aktiverade
83
+ comments_enabled: Aktivera kommentarer
81
84
  comments_max_length: Maximal kommentarslängd (ange 0 för att använda standardvärdet)
82
85
  step:
83
86
  announcement: Meddelande
84
- comments_blocked: Kommentarer blockerade
85
- endorsements_blocked: Instämmanden är blockerade
86
- endorsements_enabled: Instämmanden tillåtna
87
+ comments_blocked: Stäng av kommentarer
88
+ endorsements_blocked: Blockera gilla-markeringar
89
+ endorsements_enabled: Aktivera gilla-markeringar
87
90
  events:
88
91
  blogs:
89
92
  post_created:
@@ -14,6 +14,22 @@ FactoryBot.define do
14
14
  name { generate_component_name(participatory_space.organization.available_locales, :blogs, skip_injection:) }
15
15
  manifest_name { :blogs }
16
16
  participatory_space { create(:participatory_process, :with_steps, skip_injection:, organization:) }
17
+
18
+ trait :with_endorsements_enabled do
19
+ step_settings do
20
+ {
21
+ participatory_space.active_step.id => { endorsements_enabled: true }
22
+ }
23
+ end
24
+ end
25
+
26
+ trait :with_endorsements_disabled do
27
+ step_settings do
28
+ {
29
+ participatory_space.active_step.id => { endorsements_enabled: false }
30
+ }
31
+ end
32
+ end
17
33
  end
18
34
 
19
35
  factory :post, class: "Decidim::Blogs::Post" do
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Blogs
6
6
  def self.version
7
- "0.28.3"
7
+ "0.28.4"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-blogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.3
4
+ version: 0.28.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.28.3
19
+ version: 0.28.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.28.3
26
+ version: 0.28.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: decidim-comments
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.28.3
33
+ version: 0.28.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.28.3
40
+ version: 0.28.4
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: decidim-core
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.28.3
47
+ version: 0.28.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.28.3
54
+ version: 0.28.4
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: decidim-admin
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 0.28.3
61
+ version: 0.28.4
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 0.28.3
68
+ version: 0.28.4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: decidim-assemblies
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 0.28.3
75
+ version: 0.28.4
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.28.3
82
+ version: 0.28.4
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: decidim-dev
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.28.3
89
+ version: 0.28.4
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.28.3
96
+ version: 0.28.4
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: decidim-participatory_processes
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.28.3
103
+ version: 0.28.4
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.28.3
110
+ version: 0.28.4
111
111
  description: A Blog component for decidim's participatory spaces.
112
112
  email:
113
113
  - isaac.mg@coditramuntana.com