decidim-blogs 0.26.7 → 0.26.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/decidim/blogs/post.rb +16 -0
- data/app/views/decidim/blogs/admin/posts/edit.html.erb +1 -0
- data/app/views/decidim/blogs/admin/posts/index.html.erb +1 -0
- data/app/views/decidim/blogs/admin/posts/new.html.erb +1 -0
- data/app/views/decidim/blogs/posts/show.html.erb +1 -0
- data/config/environment.rb +3 -0
- data/config/locales/de.yml +10 -1
- data/config/locales/el.yml +13 -0
- data/config/locales/eu.yml +12 -12
- data/config/locales/hu.yml +9 -0
- data/config/locales/kaa.yml +22 -0
- data/config/locales/lt.yml +6 -0
- data/config/locales/pt-BR.yml +12 -0
- data/config/locales/ru.yml +22 -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/version.rb +1 -1
- metadata +19 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 616be9a4001321e9e6d08db7e72015a6a189df7b3cdc4f52b8cac976947b94af
|
4
|
+
data.tar.gz: d85cc647a89e617031cc49264ec156ec26c5a24d7669402e971014d4b06eeb00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5970b2c8c54ec5c6facdd0d4662399770143fc5322df6d84729917b2434a9140b23c3cee9b99f64353d110f43bc3d70632c202f9896521b8791cd24530909ca
|
7
|
+
data.tar.gz: 8ba46eb191e3a5cf396029a3c933397dd84851f7f740f3ca0ab9ddbb70385b0ea045b91af5a3207fe03c28625daebc4990556d878d08c826ae9f5df6575677a8
|
@@ -14,6 +14,7 @@ module Decidim
|
|
14
14
|
include Decidim::Searchable
|
15
15
|
include Decidim::Endorsable
|
16
16
|
include Decidim::Followable
|
17
|
+
include Decidim::Reportable
|
17
18
|
include Decidim::TranslatableResource
|
18
19
|
include Traceable
|
19
20
|
include Loggable
|
@@ -65,6 +66,21 @@ module Decidim
|
|
65
66
|
def attachment_context
|
66
67
|
:admin
|
67
68
|
end
|
69
|
+
|
70
|
+
# Public: Overrides the `reported_content_url` Reportable concern method.
|
71
|
+
def reported_content_url
|
72
|
+
ResourceLocatorPresenter.new(self).url
|
73
|
+
end
|
74
|
+
|
75
|
+
# Public: Overrides the `reported_attributes` Reportable concern method.
|
76
|
+
def reported_attributes
|
77
|
+
[:title, :body]
|
78
|
+
end
|
79
|
+
|
80
|
+
# Public: Overrides the `reported_searchable_content_extras` Reportable concern method.
|
81
|
+
def reported_searchable_content_extras
|
82
|
+
[normalized_author.name]
|
83
|
+
end
|
68
84
|
end
|
69
85
|
end
|
70
86
|
end
|
data/config/locales/de.yml
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
de:
|
2
2
|
activemodel:
|
3
|
+
attributes:
|
4
|
+
post:
|
5
|
+
body: Haupttext
|
6
|
+
decidim_author_id: Autor*in
|
7
|
+
published_at: Veröffentlicht am
|
8
|
+
title: Titel
|
3
9
|
models:
|
4
10
|
decidim/blogs/create_post_event: Neuer Blogeintrag
|
5
11
|
activerecord:
|
@@ -44,7 +50,8 @@ de:
|
|
44
50
|
fields:
|
45
51
|
author: Autor
|
46
52
|
body: Haupttext
|
47
|
-
created_at:
|
53
|
+
created_at: Erstellt am
|
54
|
+
title: Titel
|
48
55
|
posts:
|
49
56
|
show:
|
50
57
|
back: Zurück zur Liste
|
@@ -57,8 +64,10 @@ de:
|
|
57
64
|
components:
|
58
65
|
blogs:
|
59
66
|
actions:
|
67
|
+
comment: Kommentieren
|
60
68
|
create: Erstellen
|
61
69
|
destroy: Löschen
|
70
|
+
endorse: Unterstützen
|
62
71
|
update: Aktualisieren
|
63
72
|
name: Blog
|
64
73
|
settings:
|
data/config/locales/el.yml
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
el:
|
2
2
|
activemodel:
|
3
|
+
attributes:
|
4
|
+
post:
|
5
|
+
body: Σώμα
|
6
|
+
decidim_author_id: Συντάκτης
|
7
|
+
published_at: Ώρα δημοσίευσης
|
8
|
+
title: Τίτλος
|
3
9
|
models:
|
4
10
|
decidim/blogs/create_post_event: Νέα ανάρτηση ιστολογίου
|
5
11
|
activerecord:
|
@@ -45,6 +51,7 @@ el:
|
|
45
51
|
author: Συντάκτης
|
46
52
|
body: Σώμα
|
47
53
|
created_at: Δημιουργήθηκε στις
|
54
|
+
title: Τίτλος
|
48
55
|
posts:
|
49
56
|
show:
|
50
57
|
back: Επιστροφή στη λίστα
|
@@ -56,6 +63,12 @@ el:
|
|
56
63
|
read_more: Διαβάστε περισσότερα
|
57
64
|
components:
|
58
65
|
blogs:
|
66
|
+
actions:
|
67
|
+
comment: Σχόλιο
|
68
|
+
create: Δημιουργία
|
69
|
+
destroy: Διαγραφή
|
70
|
+
endorse: Επιδοκιμασία
|
71
|
+
update: Ενημέρωση
|
59
72
|
name: Ιστολόγιο
|
60
73
|
settings:
|
61
74
|
global:
|
data/config/locales/eu.yml
CHANGED
@@ -2,12 +2,12 @@ eu:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
post:
|
5
|
-
body:
|
5
|
+
body: Gorputza
|
6
6
|
decidim_author_id: Egilea
|
7
|
-
published_at: Argitaratze
|
8
|
-
title:
|
7
|
+
published_at: Argitaratze-data
|
8
|
+
title: Izenburua
|
9
9
|
models:
|
10
|
-
decidim/blogs/create_post_event: Blogeko
|
10
|
+
decidim/blogs/create_post_event: Blogeko beste argitalpen bat
|
11
11
|
activerecord:
|
12
12
|
models:
|
13
13
|
decidim/blogs/post:
|
@@ -28,10 +28,10 @@ eu:
|
|
28
28
|
name: Argitalpena
|
29
29
|
posts:
|
30
30
|
create:
|
31
|
-
invalid: Arazo bat
|
32
|
-
success: Argitalpena
|
31
|
+
invalid: Arazo bat egon da argitalpen hau sortzean
|
32
|
+
success: Argitalpena zuzen sortua
|
33
33
|
destroy:
|
34
|
-
success:
|
34
|
+
success: Argitalpena behar bezala ezabatua
|
35
35
|
edit:
|
36
36
|
save: Eguneratu
|
37
37
|
title: Editatu argitalpena
|
@@ -41,15 +41,15 @@ eu:
|
|
41
41
|
create: Sortu
|
42
42
|
title: Sortu argitalpena
|
43
43
|
update:
|
44
|
-
invalid:
|
45
|
-
success:
|
44
|
+
invalid: Arazo bat egon da argitalpena gordetzean.
|
45
|
+
success: Argitalpena zuzen gordea
|
46
46
|
last_activity:
|
47
|
-
new_post_at_html: "<span>
|
47
|
+
new_post_at_html: "<span> %{link}</span>-ean emaitza berria"
|
48
48
|
models:
|
49
49
|
post:
|
50
50
|
fields:
|
51
51
|
author: Egilea
|
52
|
-
body:
|
52
|
+
body: Gorputza
|
53
53
|
created_at: Sortze-data
|
54
54
|
title: Izenburua
|
55
55
|
posts:
|
@@ -60,7 +60,7 @@ eu:
|
|
60
60
|
sidebar_blog:
|
61
61
|
comments: iruzkinak
|
62
62
|
most_commented_posts: Gehien iruzkinatutako mezu
|
63
|
-
read_more:
|
63
|
+
read_more: Gehiago irakurri
|
64
64
|
components:
|
65
65
|
blogs:
|
66
66
|
actions:
|
data/config/locales/hu.yml
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
hu:
|
2
2
|
activemodel:
|
3
|
+
attributes:
|
4
|
+
post:
|
5
|
+
body: Törzs
|
6
|
+
decidim_author_id: Szerző
|
7
|
+
published_at: Közzététel időpontja
|
8
|
+
title: Cím
|
3
9
|
models:
|
4
10
|
decidim/blogs/create_post_event: Új blogbejegyzés
|
5
11
|
activerecord:
|
@@ -45,6 +51,7 @@ hu:
|
|
45
51
|
author: Szerző
|
46
52
|
body: Szöveg
|
47
53
|
created_at: 'Létrehozva:'
|
54
|
+
title: Cím
|
48
55
|
posts:
|
49
56
|
show:
|
50
57
|
back: Vissza a listához
|
@@ -57,8 +64,10 @@ hu:
|
|
57
64
|
components:
|
58
65
|
blogs:
|
59
66
|
actions:
|
67
|
+
comment: Hozzászólás
|
60
68
|
create: Létrehozás
|
61
69
|
destroy: Törlés
|
70
|
+
endorse: Helyesel/Jóváhagy
|
62
71
|
update: Frissítés
|
63
72
|
name: Blog
|
64
73
|
settings:
|
data/config/locales/kaa.yml
CHANGED
@@ -1 +1,23 @@
|
|
1
1
|
kaa:
|
2
|
+
decidim:
|
3
|
+
blogs:
|
4
|
+
actions:
|
5
|
+
destroy: Óshiriw
|
6
|
+
edit: Ózgeris kirgiziw
|
7
|
+
title: Háreketler
|
8
|
+
admin:
|
9
|
+
posts:
|
10
|
+
edit:
|
11
|
+
save: Jańalaw
|
12
|
+
new:
|
13
|
+
create: Jaratıw
|
14
|
+
models:
|
15
|
+
post:
|
16
|
+
fields:
|
17
|
+
author: Avtor
|
18
|
+
components:
|
19
|
+
blogs:
|
20
|
+
actions:
|
21
|
+
create: Jaratıw
|
22
|
+
destroy: Óshiriw
|
23
|
+
update: Jańalaw
|
data/config/locales/lt.yml
CHANGED
@@ -2,7 +2,10 @@ lt:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
post:
|
5
|
+
body: Tekstas
|
6
|
+
decidim_author_id: Autorė(-ius)
|
5
7
|
published_at: Paskelbimo laikas
|
8
|
+
title: Pavadinimas
|
6
9
|
models:
|
7
10
|
decidim/blogs/create_post_event: Naujas tinklaraščio įrašas
|
8
11
|
activerecord:
|
@@ -50,6 +53,7 @@ lt:
|
|
50
53
|
author: Autorė(-ius)
|
51
54
|
body: Pagrindinė dalis
|
52
55
|
created_at: Sukurta
|
56
|
+
title: Pavadinimas
|
53
57
|
posts:
|
54
58
|
show:
|
55
59
|
back: Grįžti į sąrašą
|
@@ -62,8 +66,10 @@ lt:
|
|
62
66
|
components:
|
63
67
|
blogs:
|
64
68
|
actions:
|
69
|
+
comment: Komentuoti
|
65
70
|
create: Sukurti
|
66
71
|
destroy: Ištrinti
|
72
|
+
endorse: Palaikyti
|
67
73
|
update: Atnaujinti
|
68
74
|
name: Tinklaraštis
|
69
75
|
settings:
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
pt-BR:
|
2
2
|
activemodel:
|
3
|
+
attributes:
|
4
|
+
post:
|
5
|
+
body: Corpo
|
6
|
+
decidim_author_id: Autor
|
7
|
+
published_at: Horário da publicação
|
8
|
+
title: Título
|
3
9
|
models:
|
4
10
|
decidim/blogs/create_post_event: Nova postagem no blog
|
5
11
|
activerecord:
|
@@ -45,6 +51,7 @@ pt-BR:
|
|
45
51
|
author: Autor
|
46
52
|
body: Corpo
|
47
53
|
created_at: Criado em
|
54
|
+
title: Título
|
48
55
|
posts:
|
49
56
|
show:
|
50
57
|
back: Voltar para a lista
|
@@ -56,6 +63,11 @@ pt-BR:
|
|
56
63
|
read_more: Saiba mais
|
57
64
|
components:
|
58
65
|
blogs:
|
66
|
+
actions:
|
67
|
+
comment: Comentário
|
68
|
+
create: Criar
|
69
|
+
destroy: Excluir
|
70
|
+
endorse: Endossar
|
59
71
|
name: Blog
|
60
72
|
settings:
|
61
73
|
global:
|
data/config/locales/ru.yml
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
ru:
|
2
2
|
activemodel:
|
3
|
+
attributes:
|
4
|
+
post:
|
5
|
+
body: Основной текст
|
6
|
+
decidim_author_id: Автор
|
7
|
+
published_at: Время публикации
|
8
|
+
title: Заголовок
|
3
9
|
models:
|
4
10
|
decidim/blogs/create_post_event: Создать пост в блоге
|
5
11
|
activerecord:
|
@@ -17,6 +23,7 @@ ru:
|
|
17
23
|
edit: Редактировать
|
18
24
|
new: Создать новый пост
|
19
25
|
title: Действия
|
26
|
+
user_group_id: Создать пост как
|
20
27
|
admin:
|
21
28
|
models:
|
22
29
|
post:
|
@@ -29,6 +36,7 @@ ru:
|
|
29
36
|
success: Пост успешно удален
|
30
37
|
edit:
|
31
38
|
save: Обновить
|
39
|
+
title: Изменить пост
|
32
40
|
index:
|
33
41
|
title: Посты
|
34
42
|
new:
|
@@ -45,8 +53,11 @@ ru:
|
|
45
53
|
author: Автор
|
46
54
|
body: Основной текст
|
47
55
|
created_at: 'Создано:'
|
56
|
+
title: Название
|
48
57
|
posts:
|
49
58
|
show:
|
59
|
+
back: Назад к списку
|
60
|
+
comments: Комментарии
|
50
61
|
view: Посмотреть
|
51
62
|
sidebar_blog:
|
52
63
|
comments: комментарии
|
@@ -54,14 +65,23 @@ ru:
|
|
54
65
|
read_more: Читать подробнее
|
55
66
|
components:
|
56
67
|
blogs:
|
68
|
+
actions:
|
69
|
+
comment: Комментарий
|
70
|
+
create: Создать
|
71
|
+
destroy: Удалить
|
72
|
+
endorse: Поддержать
|
73
|
+
update: Обновить
|
57
74
|
name: Блог
|
58
75
|
settings:
|
59
76
|
global:
|
60
77
|
announcement: Объявление
|
61
78
|
comments_enabled: Комментарии включены
|
79
|
+
comments_max_length: Максимальная длина комментариев (оставьте 0 для значения по умолчанию)
|
62
80
|
step:
|
63
81
|
announcement: Объявление
|
64
82
|
comments_blocked: Комментарии отключены
|
83
|
+
endorsements_blocked: Возможность выразить поддержку отключена
|
84
|
+
endorsements_enabled: Возможность выразить поддержку включена
|
65
85
|
events:
|
66
86
|
blogs:
|
67
87
|
post_created:
|
@@ -69,3 +89,5 @@ ru:
|
|
69
89
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете перестать за ним следить, перейдя по приведенной выше ссылке.
|
70
90
|
email_subject: В %{participatory_space_title} обнародован новый пост
|
71
91
|
notification_title: В %{participatory_space_title} был обнародован пост <a href="%{resource_path}">%{resource_title}</a>
|
92
|
+
statistics:
|
93
|
+
posts_count: Посты
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
data/config/locales/sv.yml
CHANGED
@@ -2,6 +2,7 @@ sv:
|
|
2
2
|
activemodel:
|
3
3
|
attributes:
|
4
4
|
post:
|
5
|
+
body: Innehåll
|
5
6
|
decidim_author_id: Författare
|
6
7
|
title: Titel
|
7
8
|
models:
|
@@ -62,8 +63,10 @@ sv:
|
|
62
63
|
components:
|
63
64
|
blogs:
|
64
65
|
actions:
|
66
|
+
comment: Kommentera
|
65
67
|
create: Skapa
|
66
68
|
destroy: Radera
|
69
|
+
endorse: Instäm
|
67
70
|
update: Uppdatera
|
68
71
|
name: Blogg
|
69
72
|
settings:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
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.26.
|
4
|
+
version: 0.26.9
|
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-21 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.26.
|
19
|
+
version: 0.26.9
|
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.
|
26
|
+
version: 0.26.9
|
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.26.
|
33
|
+
version: 0.26.9
|
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.26.
|
40
|
+
version: 0.26.9
|
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.26.
|
47
|
+
version: 0.26.9
|
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.26.
|
54
|
+
version: 0.26.9
|
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.26.
|
61
|
+
version: 0.26.9
|
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.26.
|
68
|
+
version: 0.26.9
|
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.26.
|
75
|
+
version: 0.26.9
|
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.26.
|
82
|
+
version: 0.26.9
|
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.26.
|
89
|
+
version: 0.26.9
|
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.26.
|
96
|
+
version: 0.26.9
|
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.26.
|
103
|
+
version: 0.26.9
|
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.26.
|
110
|
+
version: 0.26.9
|
111
111
|
description: A Blog component for decidim's participatory spaces.
|
112
112
|
email:
|
113
113
|
- isaac.mg@coditramuntana.com
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- app/views/decidim/blogs/posts/index.html.erb
|
151
151
|
- app/views/decidim/blogs/posts/show.html.erb
|
152
152
|
- config/assets.rb
|
153
|
+
- config/environment.rb
|
153
154
|
- config/locales/am-ET.yml
|
154
155
|
- config/locales/ar-SA.yml
|
155
156
|
- config/locales/ar.yml
|
@@ -216,9 +217,11 @@ files:
|
|
216
217
|
- config/locales/sk.yml
|
217
218
|
- config/locales/sl.yml
|
218
219
|
- config/locales/so-SO.yml
|
220
|
+
- config/locales/sq-AL.yml
|
219
221
|
- config/locales/sr-CS.yml
|
220
222
|
- config/locales/sv.yml
|
221
223
|
- config/locales/sw-KE.yml
|
224
|
+
- config/locales/th-TH.yml
|
222
225
|
- config/locales/ti-ER.yml
|
223
226
|
- config/locales/tr-TR.yml
|
224
227
|
- config/locales/uk.yml
|