decidim-blogs 0.29.0.rc4 → 0.29.1
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 +27 -6
- data/lib/decidim/blogs/test/factories.rb +16 -0
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd8e4941f6fd9d4356b444c98e0c2231fb92255c0f11b2771871ee9a340ebbe4
|
4
|
+
data.tar.gz: 03211e3c91f678cb1e4ffd49995e1c6eaa4cf04974d79a6b1f827466242c68de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2a341585ff2edd24454796eb4fe2fc301fa10320e937ad520c6da11e4954ae05ca843610647a24b8cddf8b966cb7d0d59238fb0c624f318e8a1a2df98f34c51
|
7
|
+
data.tar.gz: cb235a139923a61bc535f6ca9d220ede655c278848217323483bfced299d42c9cf959e5973c84bb643ff09c0ed648227e741e17f16928f7b3688db1552d6e0b3
|
data/config/locales/sv.yml
CHANGED
@@ -5,6 +5,7 @@ sv:
|
|
5
5
|
post:
|
6
6
|
body: Innehåll
|
7
7
|
decidim_author_id: Författare
|
8
|
+
published_at: Publicerad
|
8
9
|
title: Titel
|
9
10
|
models:
|
10
11
|
decidim/blogs/create_post_event: Nytt blogginlägg
|
@@ -24,18 +25,31 @@ sv:
|
|
24
25
|
title: Åtgärder
|
25
26
|
admin:
|
26
27
|
posts:
|
28
|
+
create:
|
29
|
+
invalid: Det gick inte att skapa inlägget.
|
30
|
+
success: Inlägget har skapats.
|
31
|
+
destroy:
|
32
|
+
success: Inlägget har raderats.
|
27
33
|
edit:
|
28
34
|
save: Uppdatera
|
29
35
|
title: Redigera inlägg
|
30
36
|
index:
|
37
|
+
not_published_yet: Ej publicerat.
|
31
38
|
title: Inlägg
|
32
39
|
new:
|
33
40
|
create: Skapa
|
34
41
|
title: Skapa inlägg
|
35
42
|
update:
|
36
43
|
invalid: Det gick inte att spara inlägget.
|
44
|
+
success: Inlägget har sparats.
|
45
|
+
admin_log:
|
46
|
+
post:
|
47
|
+
create: "%{user_name} skapade blogginlägget %{resource_name} i %{space_name}"
|
48
|
+
delete: "%{user_name} raderade blogginlägget %{resource_name} från %{space_name}"
|
49
|
+
update: "%{user_name} uppdaterade blogginlägget %{resource_name} i %{space_name}"
|
37
50
|
content_blocks:
|
38
51
|
highlighted_posts:
|
52
|
+
last_published: Senast publicerade
|
39
53
|
name: Inlägg
|
40
54
|
see_all: Se alla inlägg
|
41
55
|
last_activity:
|
@@ -46,26 +60,33 @@ sv:
|
|
46
60
|
author: Författare
|
47
61
|
body: Innehåll
|
48
62
|
official_blog_post: Officiellt inlägg
|
63
|
+
published_at: Publicerad
|
49
64
|
title: Titel
|
65
|
+
posts:
|
66
|
+
index:
|
67
|
+
count:
|
68
|
+
one: "%{count} inlägg"
|
69
|
+
other: "%{count} inlägg"
|
70
|
+
empty: Det finns inga inlägg ännu.
|
50
71
|
components:
|
51
72
|
blogs:
|
52
73
|
actions:
|
53
74
|
comment: Kommentera
|
54
75
|
create: Skapa
|
55
76
|
destroy: Radera
|
56
|
-
endorse:
|
77
|
+
endorse: Gilla
|
57
78
|
update: Uppdatera
|
58
79
|
name: Blogg
|
59
80
|
settings:
|
60
81
|
global:
|
61
82
|
announcement: Meddelande
|
62
|
-
comments_enabled:
|
63
|
-
comments_max_length: Maximal
|
83
|
+
comments_enabled: Aktivera kommentarer
|
84
|
+
comments_max_length: Maximal kommentarslängd (ange 0 för att använda standardvärdet)
|
64
85
|
step:
|
65
86
|
announcement: Meddelande
|
66
|
-
comments_blocked:
|
67
|
-
endorsements_blocked:
|
68
|
-
endorsements_enabled:
|
87
|
+
comments_blocked: Stäng av kommentarer
|
88
|
+
endorsements_blocked: Blockera gilla-markeringar
|
89
|
+
endorsements_enabled: Aktivera gilla-markeringar
|
69
90
|
events:
|
70
91
|
blogs:
|
71
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.29.
|
4
|
+
version: 0.29.1
|
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.29.
|
19
|
+
version: 0.29.1
|
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.29.
|
26
|
+
version: 0.29.1
|
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.29.
|
33
|
+
version: 0.29.1
|
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.29.
|
40
|
+
version: 0.29.1
|
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.29.
|
47
|
+
version: 0.29.1
|
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.29.
|
54
|
+
version: 0.29.1
|
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.29.
|
61
|
+
version: 0.29.1
|
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.29.
|
68
|
+
version: 0.29.1
|
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.29.
|
75
|
+
version: 0.29.1
|
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.29.
|
82
|
+
version: 0.29.1
|
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.29.
|
89
|
+
version: 0.29.1
|
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.29.
|
96
|
+
version: 0.29.1
|
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.29.
|
103
|
+
version: 0.29.1
|
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.29.
|
110
|
+
version: 0.29.1
|
111
111
|
description: A Blog component for decidim's participatory spaces.
|
112
112
|
email:
|
113
113
|
- isaac.mg@coditramuntana.com
|
@@ -279,9 +279,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
279
279
|
version: 3.2.0
|
280
280
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
281
281
|
requirements:
|
282
|
-
- - "
|
282
|
+
- - ">="
|
283
283
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
284
|
+
version: '0'
|
285
285
|
requirements: []
|
286
286
|
rubygems_version: 3.4.10
|
287
287
|
signing_key:
|