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 +4 -4
- data/config/locales/sv.yml +8 -5
- data/lib/decidim/blogs/test/factories.rb +16 -0
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260eac71b1c230ba4fe9b070114c10ef925e676f12338c0492b79c09bdd83095
|
4
|
+
data.tar.gz: 85c8fee8fda910fe8a2c1ec0e0384f59172755cf88e0382967ff2dd037abef7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54c224d21c32130867c54d64edc21ac04d6e05629cb14ea29a7dd85a371fbc379316b013eb43b26961347f6c7a78c8b6a11382c1758b54873a4145246cb00645
|
7
|
+
data.tar.gz: d1339f5f95cceace6d1928a7257268fa3e2f4883ad8c3f2cabdba494ca53644db812568993dc53a7dc502fe4687627a1969d1dfba940e9ac314f48253aa633ed
|
data/config/locales/sv.yml
CHANGED
@@ -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:
|
77
|
+
endorse: Gilla
|
75
78
|
update: Uppdatera
|
76
79
|
name: Blogg
|
77
80
|
settings:
|
78
81
|
global:
|
79
82
|
announcement: Meddelande
|
80
|
-
comments_enabled:
|
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:
|
85
|
-
endorsements_blocked:
|
86
|
-
endorsements_enabled:
|
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
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|