decidim-blogs 0.13.1 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/decidim/blogs/post_cell.rb +1 -1
- data/app/views/decidim/blogs/posts/index.html.erb +1 -1
- data/app/views/decidim/blogs/posts/show.html.erb +10 -1
- data/config/locales/fi.yml +25 -25
- data/config/locales/hu.yml +77 -0
- data/config/locales/pt-BR.yml +1 -1
- data/config/locales/ru.yml +1 -1
- data/config/locales/sv.yml +15 -15
- data/config/locales/uk.yml +1 -1
- data/lib/decidim/blogs/admin_engine.rb +1 -0
- data/lib/decidim/blogs/test/factories.rb +1 -1
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +18 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46b3b2140054350a7405f0b39b56536453cac797dbe8234994a448f92a978a61
|
4
|
+
data.tar.gz: e6127985445998730f2150ff89bfcb74ee05bf53b101cec90bf64abf344812e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4cdbfa4e76dd127ed44c01608ea235f18885add6e1224548b3b04dffb55fd77d24663a01c226e6fbf9b841f7a3425f767667c8585bdb833dbee3a04b81efc2
|
7
|
+
data.tar.gz: 262a32a5592eb372af8dd59e47a26001dac818079c2289d8f2c858f42c43cd2f195831b3b83c662bb1b5bc6dfb3e8ed61820bac571e7e97aa06baf4fe02b265e
|
@@ -5,6 +5,6 @@
|
|
5
5
|
<%= render partial: "posts" %>
|
6
6
|
</div>
|
7
7
|
<div id="most-commented" class="columns medium-5 mediumlarge-4 large-4">
|
8
|
-
<%= render partial: "sidebar_blog", locals: {posts: posts_most_commented} %>
|
8
|
+
<%= render partial: "sidebar_blog", locals: { posts: posts_most_commented } %>
|
9
9
|
</div>
|
10
10
|
</div>
|
@@ -5,6 +5,15 @@
|
|
5
5
|
description: translated_attribute(post.body),
|
6
6
|
url: post_url(post.id)
|
7
7
|
}) %>
|
8
|
+
|
9
|
+
<%
|
10
|
+
edit_link(
|
11
|
+
resource_locator(post).edit,
|
12
|
+
:update,
|
13
|
+
:blogpost,
|
14
|
+
blogpost: post
|
15
|
+
)
|
16
|
+
%>
|
8
17
|
<div class="row">
|
9
18
|
<div class="columns medium-7 mediumlarge-8">
|
10
19
|
<div class="row column view-header">
|
@@ -16,7 +25,7 @@
|
|
16
25
|
</div>
|
17
26
|
</div>
|
18
27
|
<div id="most-commented" class="columns medium-5 mediumlarge-4 large-4">
|
19
|
-
<%= render partial: "sidebar_blog", locals: {posts: posts_most_commented} %>
|
28
|
+
<%= render partial: "sidebar_blog", locals: { posts: posts_most_commented } %>
|
20
29
|
</div>
|
21
30
|
</div>
|
22
31
|
|
data/config/locales/fi.yml
CHANGED
@@ -1,73 +1,73 @@
|
|
1
1
|
fi:
|
2
2
|
activemodel:
|
3
3
|
models:
|
4
|
-
decidim/blogs/create_post_event: Uusi
|
4
|
+
decidim/blogs/create_post_event: Uusi blogiviesti
|
5
5
|
activerecord:
|
6
6
|
models:
|
7
7
|
decidim/blogs/post:
|
8
|
-
one:
|
8
|
+
one: Viesti
|
9
9
|
other: Viestejä
|
10
10
|
decidim:
|
11
11
|
blogs:
|
12
12
|
actions:
|
13
13
|
confirm_destroy: Haluatko varmasti poistaa tämän viestin?
|
14
|
-
destroy:
|
15
|
-
edit:
|
14
|
+
destroy: Poista
|
15
|
+
edit: Muokkaa
|
16
16
|
new: Uusi viesti
|
17
|
-
title:
|
17
|
+
title: Toiminnot
|
18
18
|
admin:
|
19
19
|
models:
|
20
20
|
components:
|
21
|
-
body:
|
21
|
+
body: Leipäteksti
|
22
22
|
post:
|
23
|
-
name:
|
23
|
+
name: Lähetä
|
24
24
|
posts:
|
25
25
|
create:
|
26
|
-
invalid:
|
27
|
-
success:
|
26
|
+
invalid: Tämän viestin luomisessa esiintyi ongelma
|
27
|
+
success: Viesti luotu onnistuneesti
|
28
28
|
destroy:
|
29
|
-
success: Viesti onnistuneesti
|
29
|
+
success: Viesti poistettu onnistuneesti
|
30
30
|
edit:
|
31
|
-
save:
|
31
|
+
save: Päivitä
|
32
32
|
index:
|
33
33
|
title: Viestejä
|
34
34
|
new:
|
35
|
-
create:
|
35
|
+
create: Luo
|
36
36
|
title: Luo viesti
|
37
37
|
update:
|
38
|
-
invalid:
|
39
|
-
success:
|
38
|
+
invalid: Viestin tallennuksessa tapahtui virheitä.
|
39
|
+
success: Viesti tallennettu onnistuneesti
|
40
40
|
models:
|
41
41
|
post:
|
42
42
|
fields:
|
43
|
-
author:
|
44
|
-
body:
|
45
|
-
created_at: Luotu
|
43
|
+
author: Kirjoittaja
|
44
|
+
body: Leipäteksti
|
45
|
+
created_at: Luotu
|
46
46
|
title: otsikko
|
47
47
|
posts:
|
48
48
|
show:
|
49
|
-
view:
|
49
|
+
view: Näytä
|
50
50
|
sidebar_blog:
|
51
51
|
comments: kommentit
|
52
|
-
most_commented_posts: Eniten
|
52
|
+
most_commented_posts: Eniten kommentoidut viestit
|
53
53
|
read_more: Lue lisää
|
54
54
|
components:
|
55
55
|
blogs:
|
56
|
-
name:
|
56
|
+
name: Blogi
|
57
57
|
settings:
|
58
58
|
global:
|
59
59
|
announcement: Ilmoitus
|
60
|
-
comments_enabled:
|
60
|
+
comments_enabled: Kommentointi käytössä
|
61
61
|
step:
|
62
62
|
announcement: Ilmoitus
|
63
|
-
comments_blocked:
|
63
|
+
comments_blocked: Kommentointi estetty
|
64
64
|
events:
|
65
65
|
blogs:
|
66
66
|
post_created:
|
67
|
-
email_intro:
|
68
|
-
email_outro: Olet saanut tämän ilmoituksen, koska seuraat "%{participatory_space_title}". Voit
|
67
|
+
email_intro: Kohteessa "%{participatory_space_title}", jota seuraat, on julkaistu viesti "%{resource_title}".
|
68
|
+
email_outro: Olet saanut tämän ilmoituksen, koska seuraat "%{participatory_space_title}". Voit lopettaa seuraamisen edellisen linkin kautta.
|
69
69
|
email_subject: Uusi viesti julkaistiin %{participatory_space_title}
|
70
|
-
notification_title:
|
70
|
+
notification_title: Kohteessa %{participatory_space_title} on julkaistu viesti <a href="%{resource_path}">%{resource_title}</a>
|
71
71
|
pages:
|
72
72
|
home:
|
73
73
|
statistics:
|
@@ -0,0 +1,77 @@
|
|
1
|
+
hu:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: Új blogbejegyzés
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
one: Bejegyzés
|
9
|
+
other: Bejegyzések
|
10
|
+
decidim:
|
11
|
+
blogs:
|
12
|
+
actions:
|
13
|
+
confirm_destroy: Biztos, hogy törlöd ezt a bejegyzést?
|
14
|
+
destroy: Törlés
|
15
|
+
edit: Szerkesztés
|
16
|
+
new: Új bejegyzés
|
17
|
+
title: Műveletek
|
18
|
+
admin:
|
19
|
+
models:
|
20
|
+
components:
|
21
|
+
body: Szöveg
|
22
|
+
post:
|
23
|
+
name: Bejegyzés
|
24
|
+
posts:
|
25
|
+
create:
|
26
|
+
invalid: Probléma történt a bejegyzés létrehozásakor
|
27
|
+
success: Bejegyzés létrehozása sikeres
|
28
|
+
destroy:
|
29
|
+
success: Bejegyzés törlése sikeres
|
30
|
+
edit:
|
31
|
+
save: Frissítés
|
32
|
+
index:
|
33
|
+
title: Bejegyzések
|
34
|
+
new:
|
35
|
+
create: Létrehozás
|
36
|
+
title: Bejegyzés létrehozása
|
37
|
+
update:
|
38
|
+
invalid: Hiba történt a bejegyzés mentése során.
|
39
|
+
success: Bejegyzés mentése sikeres
|
40
|
+
models:
|
41
|
+
post:
|
42
|
+
fields:
|
43
|
+
author: Szerző
|
44
|
+
body: Szöveg
|
45
|
+
created_at: 'Létrehozva:'
|
46
|
+
title: cím
|
47
|
+
posts:
|
48
|
+
show:
|
49
|
+
view: Nézet
|
50
|
+
sidebar_blog:
|
51
|
+
comments: hozzászólások
|
52
|
+
most_commented_posts: Legtöbb hozzászólással
|
53
|
+
read_more: Bővebben
|
54
|
+
components:
|
55
|
+
blogs:
|
56
|
+
name: Blog
|
57
|
+
settings:
|
58
|
+
global:
|
59
|
+
announcement: Közlemény
|
60
|
+
comments_enabled: Megjegyzések engedélyezve
|
61
|
+
step:
|
62
|
+
announcement: Közlemény
|
63
|
+
comments_blocked: Megjegyzések letiltva
|
64
|
+
events:
|
65
|
+
blogs:
|
66
|
+
post_created:
|
67
|
+
email_intro: 'A(z) "%{resource_title}" című bejegyzés a következő helyen jelent meg: "%{participatory_space_title}".'
|
68
|
+
email_outro: 'Ezt az értesítést azért kaptad, mert ezt követed: "%{participatory_space_title}". Leiratkozás az előző link segítségével.'
|
69
|
+
email_subject: 'Új bejegyzés ehhez: %{participatory_space_title}'
|
70
|
+
notification_title: 'A(z) <a href="%{resource_path}">%{resource_title}</a> bejegyzés közzétéve itt: %{participatory_space_title}'
|
71
|
+
pages:
|
72
|
+
home:
|
73
|
+
statistics:
|
74
|
+
posts_count: Bejegyzések
|
75
|
+
participatory_processes:
|
76
|
+
statistics:
|
77
|
+
posts_count: Bejegyzések
|
data/config/locales/pt-BR.yml
CHANGED
data/config/locales/ru.yml
CHANGED
data/config/locales/sv.yml
CHANGED
@@ -5,7 +5,7 @@ sv:
|
|
5
5
|
activerecord:
|
6
6
|
models:
|
7
7
|
decidim/blogs/post:
|
8
|
-
one:
|
8
|
+
one: Inlägg
|
9
9
|
other: inlägg
|
10
10
|
decidim:
|
11
11
|
blogs:
|
@@ -14,19 +14,19 @@ sv:
|
|
14
14
|
destroy: Radera
|
15
15
|
edit: Redigera
|
16
16
|
new: Nytt brev
|
17
|
-
title:
|
17
|
+
title: Åtgärder
|
18
18
|
admin:
|
19
19
|
models:
|
20
20
|
components:
|
21
|
-
body:
|
21
|
+
body: Innehåll
|
22
22
|
post:
|
23
23
|
name: Posta
|
24
24
|
posts:
|
25
25
|
create:
|
26
|
-
invalid: Det har
|
27
|
-
success:
|
26
|
+
invalid: Det har blivit ett problem att skapa det här inlägget
|
27
|
+
success: Inlägg skapades framgångsrikt
|
28
28
|
destroy:
|
29
|
-
success:
|
29
|
+
success: Inlägget har tagits bort
|
30
30
|
edit:
|
31
31
|
save: Uppdatering
|
32
32
|
index:
|
@@ -35,13 +35,13 @@ sv:
|
|
35
35
|
create: Skapa
|
36
36
|
title: Skapa inlägg
|
37
37
|
update:
|
38
|
-
invalid: Det har
|
39
|
-
success:
|
38
|
+
invalid: Det har blivit fel när du sparar inlägget.
|
39
|
+
success: Inlägget sparades framgångsrikt
|
40
40
|
models:
|
41
41
|
post:
|
42
42
|
fields:
|
43
43
|
author: Författare
|
44
|
-
body:
|
44
|
+
body: Innehåll
|
45
45
|
created_at: Skapad vid
|
46
46
|
title: titel
|
47
47
|
posts:
|
@@ -53,21 +53,21 @@ sv:
|
|
53
53
|
read_more: Läs mer
|
54
54
|
components:
|
55
55
|
blogs:
|
56
|
-
name:
|
56
|
+
name: Blogg
|
57
57
|
settings:
|
58
58
|
global:
|
59
|
-
announcement:
|
59
|
+
announcement: Notis
|
60
60
|
comments_enabled: Kommentarer aktiverade
|
61
61
|
step:
|
62
|
-
announcement:
|
63
|
-
comments_blocked: Kommentarer
|
62
|
+
announcement: Notis
|
63
|
+
comments_blocked: Kommentarer blockerade
|
64
64
|
events:
|
65
65
|
blogs:
|
66
66
|
post_created:
|
67
67
|
email_intro: Posten "%{resource_title}" har publicerats i "%{participatory_space_title}" som du följer.
|
68
|
-
email_outro: Du har fått
|
68
|
+
email_outro: Du har fått det här meddelandet eftersom du följer "%{participatory_space_title}". Du kan avfölja det från föregående länken.
|
69
69
|
email_subject: Nytt inlägg publicerat i %{participatory_space_title}
|
70
|
-
notification_title:
|
70
|
+
notification_title: Inlägget <a href="%{resource_path}">%{resource_title}</a> har publicerats i %{participatory_space_title}
|
71
71
|
pages:
|
72
72
|
home:
|
73
73
|
statistics:
|
data/config/locales/uk.yml
CHANGED
@@ -7,7 +7,7 @@ require "decidim/participatory_processes/test/factories"
|
|
7
7
|
FactoryBot.define do
|
8
8
|
factory :post_component, parent: :component do
|
9
9
|
name { Decidim::Components::Namer.new(participatory_space.organization.available_locales, :blogs).i18n_name }
|
10
|
-
manifest_name :blogs
|
10
|
+
manifest_name { :blogs }
|
11
11
|
participatory_space { create(:participatory_process, :with_steps, organization: organization) }
|
12
12
|
end
|
13
13
|
|
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.
|
4
|
+
version: 0.14.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: 2018-
|
11
|
+
date: 2018-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.14.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.
|
26
|
+
version: 0.14.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.
|
33
|
+
version: 0.14.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.
|
40
|
+
version: 0.14.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.
|
47
|
+
version: 0.14.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.
|
54
|
+
version: 0.14.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: httparty
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,56 +100,56 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.14.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.
|
110
|
+
version: 0.14.1
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: decidim-assemblies
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.14.1
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.14.1
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: decidim-dev
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 0.14.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.
|
138
|
+
version: 0.14.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: decidim-participatory_processes
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.14.1
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.14.1
|
153
153
|
description: A Blog component for decidim's participatory spaces.
|
154
154
|
email:
|
155
155
|
- isaac.mg@coditramuntana.com
|
@@ -195,6 +195,7 @@ files:
|
|
195
195
|
- config/locales/fi.yml
|
196
196
|
- config/locales/fr.yml
|
197
197
|
- config/locales/gl.yml
|
198
|
+
- config/locales/hu.yml
|
198
199
|
- config/locales/it.yml
|
199
200
|
- config/locales/nl.yml
|
200
201
|
- config/locales/pl.yml
|
@@ -232,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
233
|
version: '0'
|
233
234
|
requirements: []
|
234
235
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.7.
|
236
|
+
rubygems_version: 2.7.7
|
236
237
|
signing_key:
|
237
238
|
specification_version: 4
|
238
239
|
summary: Decidim blogs module
|