decidim-blogs 0.27.4 → 0.27.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/decidim/blogs/posts/index.html.erb +5 -1
- data/config/environment.rb +3 -0
- data/config/locales/ca.yml +2 -0
- data/config/locales/cs.yml +2 -0
- data/config/locales/de.yml +3 -1
- data/config/locales/en.yml +2 -0
- data/config/locales/es-MX.yml +2 -0
- data/config/locales/es-PY.yml +2 -0
- data/config/locales/es.yml +2 -0
- data/config/locales/eu.yml +17 -15
- data/config/locales/fi-plain.yml +2 -0
- data/config/locales/fi.yml +2 -0
- data/config/locales/fr-CA.yml +2 -0
- data/config/locales/fr.yml +2 -0
- data/config/locales/ja.yml +2 -0
- data/config/locales/lt.yml +6 -0
- data/config/locales/pt-BR.yml +8 -0
- data/config/locales/ru.yml +27 -0
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sv.yml +3 -0
- data/config/locales/th-TH.yml +1 -0
- data/lib/decidim/blogs/component.rb +1 -1
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +19 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6b8cab0b78bcd89d4f7d867718fffdc721ea2d1a5828d8012492396ec08f2a4
|
4
|
+
data.tar.gz: 4f40f21d607b379fb4f2d1429189b196a275339837034d5dc1aa9793b1e8429a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbdc24f7763b49db32630d4643dea2d1404f2d04269f1163ea0e8ca740791fbd7a0d1eafd2c1d09bc4904d50a3290885170e0f83ff2ffd2a2e7032bfa986e035
|
7
|
+
data.tar.gz: 6d8f47704256e5f466d39ac28dda09f00c83f8b0819da64835ba249cc29ae242cfaa7132e94dff63dcceaa836900998d46fce4e7b18159878a7c73ad09004348
|
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
<div class="row column">
|
4
4
|
<div id="blogs" class="columns medium-7 mediumlarge-8">
|
5
|
-
|
5
|
+
<% if posts.empty? %>
|
6
|
+
<%= cell("decidim/announcement", t("empty", scope: "decidim.blogs.posts.index")) %>
|
7
|
+
<% else %>
|
8
|
+
<%= render partial: "posts" %>
|
9
|
+
<% end %>
|
6
10
|
</div>
|
7
11
|
<div id="most-commented" class="columns medium-5 mediumlarge-4 large-4">
|
8
12
|
<%= render partial: "sidebar_blog", locals: { posts: posts_most_commented } %>
|
data/config/environment.rb
CHANGED
data/config/locales/ca.yml
CHANGED
data/config/locales/cs.yml
CHANGED
data/config/locales/de.yml
CHANGED
@@ -56,10 +56,12 @@ de:
|
|
56
56
|
fields:
|
57
57
|
author: Autor
|
58
58
|
body: Haupttext
|
59
|
-
created_at:
|
59
|
+
created_at: Erstellt am
|
60
60
|
official_blog_post: Offizieller Post
|
61
61
|
title: Titel
|
62
62
|
posts:
|
63
|
+
index:
|
64
|
+
empty: Es sind noch keine Beiträge vorhanden.
|
63
65
|
show:
|
64
66
|
back: Zurück zur Liste
|
65
67
|
comments: Kommentare
|
data/config/locales/en.yml
CHANGED
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/eu.yml
CHANGED
@@ -3,12 +3,12 @@ eu:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
post:
|
6
|
-
body:
|
6
|
+
body: Gorputza
|
7
7
|
decidim_author_id: Egilea
|
8
|
-
published_at: Argitaratze
|
9
|
-
title:
|
8
|
+
published_at: Argitaratze-data
|
9
|
+
title: Izenburua
|
10
10
|
models:
|
11
|
-
decidim/blogs/create_post_event: Blogeko
|
11
|
+
decidim/blogs/create_post_event: Blogeko beste argitalpen bat
|
12
12
|
activerecord:
|
13
13
|
models:
|
14
14
|
decidim/blogs/post:
|
@@ -21,7 +21,7 @@ eu:
|
|
21
21
|
confirm_destroy: Ziur zaude post hau argitalpen ezabatu nahi duzula?
|
22
22
|
destroy: Ezabatu
|
23
23
|
edit: Editatu
|
24
|
-
new:
|
24
|
+
new: Beste argitalpen bat
|
25
25
|
title: Ekintzak
|
26
26
|
admin:
|
27
27
|
models:
|
@@ -29,10 +29,10 @@ eu:
|
|
29
29
|
name: Argitalpena
|
30
30
|
posts:
|
31
31
|
create:
|
32
|
-
invalid: Arazo bat
|
33
|
-
success: Argitalpena
|
32
|
+
invalid: Arazo bat egon da argitalpen hau sortzean
|
33
|
+
success: Argitalpena zuzen sortua
|
34
34
|
destroy:
|
35
|
-
success:
|
35
|
+
success: Argitalpena behar bezala ezabatua
|
36
36
|
edit:
|
37
37
|
save: Eguneratu
|
38
38
|
title: Editatu argitalpena
|
@@ -40,26 +40,28 @@ eu:
|
|
40
40
|
title: Argitalpenak
|
41
41
|
new:
|
42
42
|
create: Sortu
|
43
|
-
title: Sortu
|
43
|
+
title: Sortu mezua
|
44
44
|
update:
|
45
|
-
invalid:
|
46
|
-
success:
|
45
|
+
invalid: Arazo bat egon da argitalpena gordetzean.
|
46
|
+
success: Argitalpena zuzen gordea
|
47
47
|
admin_log:
|
48
48
|
post:
|
49
49
|
create: "%{user_name} k %{resource_name} blogeko argitalpena sortu du %{space_name} espazioan"
|
50
50
|
delete: "%{user_name} k %{resource_name} blogeko argitalpena ezabatu du %{space_name} espazioan"
|
51
51
|
update: "%{user_name} k %{resource_name} blogeko argitalpena eguneratu egin da %{space_name} espazioan"
|
52
52
|
last_activity:
|
53
|
-
new_post_at_html: "<span>
|
53
|
+
new_post_at_html: "<span> %{link}</span>-ean emaitza berria"
|
54
54
|
models:
|
55
55
|
post:
|
56
56
|
fields:
|
57
57
|
author: Egilea
|
58
|
-
body:
|
58
|
+
body: Gorputza
|
59
59
|
created_at: Sortze-data
|
60
|
-
official_blog_post:
|
60
|
+
official_blog_post: Argitalpen ofiziala
|
61
61
|
title: Izenburua
|
62
62
|
posts:
|
63
|
+
index:
|
64
|
+
empty: Oraindik ez dago argitalpenik.
|
63
65
|
show:
|
64
66
|
back: Itzuli zerrendara
|
65
67
|
comments: Iruzkinak
|
@@ -67,7 +69,7 @@ eu:
|
|
67
69
|
sidebar_blog:
|
68
70
|
comments: iruzkinak
|
69
71
|
most_commented_posts: Gehien iruzkinatutako mezu
|
70
|
-
read_more:
|
72
|
+
read_more: Gehiago irakurri
|
71
73
|
components:
|
72
74
|
blogs:
|
73
75
|
actions:
|
data/config/locales/fi-plain.yml
CHANGED
data/config/locales/fi.yml
CHANGED
data/config/locales/fr-CA.yml
CHANGED
data/config/locales/fr.yml
CHANGED
data/config/locales/ja.yml
CHANGED
data/config/locales/lt.yml
CHANGED
@@ -3,7 +3,10 @@ lt:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
post:
|
6
|
+
body: Tekstas
|
7
|
+
decidim_author_id: Autorė(-ius)
|
6
8
|
published_at: Paskelbimo laikas
|
9
|
+
title: Pavadinimas
|
7
10
|
models:
|
8
11
|
decidim/blogs/create_post_event: Naujas tinklaraščio įrašas
|
9
12
|
activerecord:
|
@@ -57,6 +60,7 @@ lt:
|
|
57
60
|
body: Pagrindinė dalis
|
58
61
|
created_at: Sukurta
|
59
62
|
official_blog_post: Oficiali publikacija
|
63
|
+
title: Pavadinimas
|
60
64
|
posts:
|
61
65
|
show:
|
62
66
|
back: Grįžti į sąrašą
|
@@ -69,8 +73,10 @@ lt:
|
|
69
73
|
components:
|
70
74
|
blogs:
|
71
75
|
actions:
|
76
|
+
comment: Komentuoti
|
72
77
|
create: Sukurti
|
73
78
|
destroy: Ištrinti
|
79
|
+
endorse: Palaikyti
|
74
80
|
update: Atnaujinti
|
75
81
|
name: Tinklaraštis
|
76
82
|
settings:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -44,6 +44,11 @@ pt-BR:
|
|
44
44
|
update:
|
45
45
|
invalid: Falha ao salvar o post.
|
46
46
|
success: Post salvo com sucesso
|
47
|
+
admin_log:
|
48
|
+
post:
|
49
|
+
create: "%{user_name} criou a publicação no blog %{resource_name} do %{space_name}"
|
50
|
+
delete: "O %{user_name} excluiu a publicação no blog %{resource_name} do %{space_name}"
|
51
|
+
update: "%{user_name} atualizou a publicação no blog %{resource_name} do %{space_name}"
|
47
52
|
last_activity:
|
48
53
|
new_post_at_html: "<span>Nova postagem em %{link}</span>"
|
49
54
|
models:
|
@@ -55,6 +60,8 @@ pt-BR:
|
|
55
60
|
official_blog_post: Publicação oficial
|
56
61
|
title: Título
|
57
62
|
posts:
|
63
|
+
index:
|
64
|
+
empty: Não existem publicações ainda.
|
58
65
|
show:
|
59
66
|
back: Voltar para a lista
|
60
67
|
comments: Comentários
|
@@ -69,6 +76,7 @@ pt-BR:
|
|
69
76
|
comment: Comentário
|
70
77
|
create: Criar
|
71
78
|
destroy: Excluir
|
79
|
+
endorse: Endossar
|
72
80
|
name: Blog
|
73
81
|
settings:
|
74
82
|
global:
|
data/config/locales/ru.yml
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
---
|
2
2
|
ru:
|
3
3
|
activemodel:
|
4
|
+
attributes:
|
5
|
+
post:
|
6
|
+
body: Основной текст
|
7
|
+
decidim_author_id: Автор
|
8
|
+
published_at: Время публикации
|
9
|
+
title: Заголовок
|
4
10
|
models:
|
5
11
|
decidim/blogs/create_post_event: Создать пост в блоге
|
6
12
|
activerecord:
|
@@ -13,6 +19,7 @@ ru:
|
|
13
19
|
decidim:
|
14
20
|
blogs:
|
15
21
|
actions:
|
22
|
+
author_id: Создать пост как
|
16
23
|
confirm_destroy: Вы действительно хотите удалить этот пост?
|
17
24
|
destroy: Удалить
|
18
25
|
edit: Редактировать
|
@@ -30,6 +37,7 @@ ru:
|
|
30
37
|
success: Пост успешно удален
|
31
38
|
edit:
|
32
39
|
save: Обновить
|
40
|
+
title: Изменить пост
|
33
41
|
index:
|
34
42
|
title: Посты
|
35
43
|
new:
|
@@ -38,6 +46,11 @@ ru:
|
|
38
46
|
update:
|
39
47
|
invalid: При попытке сохранить пост произошли ошибки.
|
40
48
|
success: Пост успешно сохранен
|
49
|
+
admin_log:
|
50
|
+
post:
|
51
|
+
create: "%{user_name} создал пост %{resource_name} в %{space_name}"
|
52
|
+
delete: "%{user_name} удалил пост %{resource_name} в %{space_name}"
|
53
|
+
update: "%{user_name} обновил пост %{resource_name} в %{space_name}"
|
41
54
|
last_activity:
|
42
55
|
new_post_at_html: "<span>Новый пост по ссылке %{link}</span>"
|
43
56
|
models:
|
@@ -46,8 +59,11 @@ ru:
|
|
46
59
|
author: Автор
|
47
60
|
body: Основной текст
|
48
61
|
created_at: 'Создано:'
|
62
|
+
title: Название
|
49
63
|
posts:
|
50
64
|
show:
|
65
|
+
back: Назад к списку
|
66
|
+
comments: Комментарии
|
51
67
|
view: Посмотреть
|
52
68
|
sidebar_blog:
|
53
69
|
comments: комментарии
|
@@ -55,14 +71,23 @@ ru:
|
|
55
71
|
read_more: Читать подробнее
|
56
72
|
components:
|
57
73
|
blogs:
|
74
|
+
actions:
|
75
|
+
comment: Комментарий
|
76
|
+
create: Создать
|
77
|
+
destroy: Удалить
|
78
|
+
endorse: Поддержать
|
79
|
+
update: Обновить
|
58
80
|
name: Блог
|
59
81
|
settings:
|
60
82
|
global:
|
61
83
|
announcement: Объявление
|
62
84
|
comments_enabled: Комментарии включены
|
85
|
+
comments_max_length: Максимальная длина комментариев (оставьте 0 для значения по умолчанию)
|
63
86
|
step:
|
64
87
|
announcement: Объявление
|
65
88
|
comments_blocked: Комментарии отключены
|
89
|
+
endorsements_blocked: Возможность выразить поддержку отключена
|
90
|
+
endorsements_enabled: Возможность выразить поддержку включена
|
66
91
|
events:
|
67
92
|
blogs:
|
68
93
|
post_created:
|
@@ -70,3 +95,5 @@ ru:
|
|
70
95
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете перестать за ним следить, перейдя по приведенной выше ссылке.
|
71
96
|
email_subject: В %{participatory_space_title} обнародован новый пост
|
72
97
|
notification_title: В %{participatory_space_title} был обнародован пост <a href="%{resource_path}">%{resource_title}</a>
|
98
|
+
statistics:
|
99
|
+
posts_count: Посты
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
data/config/locales/sv.yml
CHANGED
@@ -3,6 +3,7 @@ sv:
|
|
3
3
|
activemodel:
|
4
4
|
attributes:
|
5
5
|
post:
|
6
|
+
body: Innehåll
|
6
7
|
decidim_author_id: Författare
|
7
8
|
title: Titel
|
8
9
|
models:
|
@@ -64,8 +65,10 @@ sv:
|
|
64
65
|
components:
|
65
66
|
blogs:
|
66
67
|
actions:
|
68
|
+
comment: Kommentera
|
67
69
|
create: Skapa
|
68
70
|
destroy: Radera
|
71
|
+
endorse: Instäm
|
69
72
|
update: Uppdatera
|
70
73
|
name: Blogg
|
71
74
|
settings:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
@@ -23,7 +23,7 @@ Decidim.register_component(:blogs) do |component|
|
|
23
23
|
component.settings(:global) do |settings|
|
24
24
|
settings.attribute :announcement, type: :text, translated: true, editor: true
|
25
25
|
settings.attribute :comments_enabled, type: :boolean, default: true
|
26
|
-
settings.attribute :comments_max_length, type: :integer, required:
|
26
|
+
settings.attribute :comments_max_length, type: :integer, required: true
|
27
27
|
end
|
28
28
|
|
29
29
|
component.settings(:step) do |settings|
|
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.27.
|
4
|
+
version: 0.27.5
|
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: 2023-
|
11
|
+
date: 2023-12-20 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.27.
|
19
|
+
version: 0.27.5
|
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.27.
|
26
|
+
version: 0.27.5
|
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.27.
|
33
|
+
version: 0.27.5
|
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.27.
|
40
|
+
version: 0.27.5
|
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.27.
|
47
|
+
version: 0.27.5
|
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.27.
|
54
|
+
version: 0.27.5
|
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.27.
|
61
|
+
version: 0.27.5
|
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.27.
|
68
|
+
version: 0.27.5
|
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.27.
|
75
|
+
version: 0.27.5
|
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.27.
|
82
|
+
version: 0.27.5
|
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.27.
|
89
|
+
version: 0.27.5
|
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.27.
|
96
|
+
version: 0.27.5
|
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.27.
|
103
|
+
version: 0.27.5
|
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.27.
|
110
|
+
version: 0.27.5
|
111
111
|
description: A Blog component for decidim's participatory spaces.
|
112
112
|
email:
|
113
113
|
- isaac.mg@coditramuntana.com
|
@@ -219,9 +219,11 @@ files:
|
|
219
219
|
- config/locales/sk.yml
|
220
220
|
- config/locales/sl.yml
|
221
221
|
- config/locales/so-SO.yml
|
222
|
+
- config/locales/sq-AL.yml
|
222
223
|
- config/locales/sr-CS.yml
|
223
224
|
- config/locales/sv.yml
|
224
225
|
- config/locales/sw-KE.yml
|
226
|
+
- config/locales/th-TH.yml
|
225
227
|
- config/locales/ti-ER.yml
|
226
228
|
- config/locales/tr-TR.yml
|
227
229
|
- config/locales/uk.yml
|
@@ -269,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
269
271
|
- !ruby/object:Gem::Version
|
270
272
|
version: '0'
|
271
273
|
requirements: []
|
272
|
-
rubygems_version: 3.
|
274
|
+
rubygems_version: 3.4.22
|
273
275
|
signing_key:
|
274
276
|
specification_version: 4
|
275
277
|
summary: Decidim blogs module
|