decidim-blogs 0.28.5 → 0.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/decidim/blogs/post.rb +0 -5
- data/app/views/decidim/blogs/posts/index.html.erb +9 -1
- data/config/locales/ca-IT.yml +98 -0
- data/config/locales/es-MX.yml +1 -1
- data/config/locales/es-PY.yml +1 -1
- data/config/locales/es.yml +1 -1
- data/config/locales/pt.yml +37 -0
- data/config/locales/ro-RO.yml +37 -24
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e82dfea5aae1d93264baf02a13eb4a2082aa38ebde941acebe9f7afe7cf2e2
|
4
|
+
data.tar.gz: 82a0b32a62daeea067fb380204310bff63c8c5692eae1efac53f9f32225e6d99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9684b890f314e976797e284c3dbbf6f12c404609e91318cde4ef6b3a53389f9af8ab5e1ee39355db8c7eddefc2b92d9083b1765eb3e4355b501620fe9c2ec929
|
7
|
+
data.tar.gz: 613b00cc1f75d5b7cad76774751cbcd43ed42e9642bf487b93474645995bb06c23f955d2ab452ee3e6fb12698436408d6cb6c853c763a8f3837f6215a50945a3
|
@@ -86,11 +86,6 @@ module Decidim
|
|
86
86
|
:admin
|
87
87
|
end
|
88
88
|
|
89
|
-
# Public: Overrides the `reported_content_url` Reportable concern method.
|
90
|
-
def reported_content_url
|
91
|
-
ResourceLocatorPresenter.new(self).url
|
92
|
-
end
|
93
|
-
|
94
89
|
# Public: Overrides the `reported_attributes` Reportable concern method.
|
95
90
|
def reported_attributes
|
96
91
|
[:title, :body]
|
@@ -1,4 +1,12 @@
|
|
1
|
-
<%
|
1
|
+
<% add_decidim_meta_tags(
|
2
|
+
description: translated_attribute(current_component.participatory_space.try(:description)),
|
3
|
+
title: t("decidim.components.pagination.page_title",
|
4
|
+
component_name:,
|
5
|
+
current_page: paginate_posts.current_page,
|
6
|
+
total_pages: paginate_posts.total_pages ),
|
7
|
+
url: posts_url,
|
8
|
+
resource: current_component) %>
|
9
|
+
|
2
10
|
<%= append_javascript_pack_tag "decidim_blogs" %>
|
3
11
|
<%= append_stylesheet_pack_tag "decidim_blogs" %>
|
4
12
|
|
@@ -0,0 +1,98 @@
|
|
1
|
+
---
|
2
|
+
ca-IT:
|
3
|
+
activemodel:
|
4
|
+
attributes:
|
5
|
+
post:
|
6
|
+
body: Cos del text
|
7
|
+
decidim_author_id: Autoria
|
8
|
+
published_at: Hora de publicació
|
9
|
+
title: Títol
|
10
|
+
models:
|
11
|
+
decidim/blogs/create_post_event: Nova publicació al blog
|
12
|
+
activerecord:
|
13
|
+
models:
|
14
|
+
decidim/blogs/post:
|
15
|
+
one: Publicació
|
16
|
+
other: Publicacions
|
17
|
+
decidim:
|
18
|
+
blogs:
|
19
|
+
actions:
|
20
|
+
author_id: Crear publicació com
|
21
|
+
confirm_destroy: Segur que vols eliminar aquesta publicació?
|
22
|
+
destroy: Esborrar
|
23
|
+
edit: Edita
|
24
|
+
new: Nova publicació
|
25
|
+
title: Accions
|
26
|
+
admin:
|
27
|
+
posts:
|
28
|
+
create:
|
29
|
+
invalid: S'ha produït un error en crear aquesta publicació.
|
30
|
+
success: Publicació creada correctament.
|
31
|
+
destroy:
|
32
|
+
success: La publicació s'ha eliminat correctament.
|
33
|
+
edit:
|
34
|
+
save: Actualitza
|
35
|
+
title: Editar publicació
|
36
|
+
index:
|
37
|
+
not_published_yet: No publicada encara.
|
38
|
+
title: Publicacions
|
39
|
+
new:
|
40
|
+
create: Crear
|
41
|
+
title: Crea una publicació
|
42
|
+
update:
|
43
|
+
invalid: S'ha produït un error en guardar la publicació.
|
44
|
+
success: S'ha desat la publicació correctament.
|
45
|
+
admin_log:
|
46
|
+
post:
|
47
|
+
create: "%{user_name} ha creat el post %{resource_name} al blog de %{space_name}"
|
48
|
+
delete: "%{user_name} ha eliminat el post %{resource_name} del blog de %{space_name}"
|
49
|
+
update: "%{user_name} ha actualitzat el post %{resource_name} en el blog de %{space_name}"
|
50
|
+
content_blocks:
|
51
|
+
highlighted_posts:
|
52
|
+
last_published: Darrera publicació
|
53
|
+
name: Publicacions
|
54
|
+
see_all: Veure totes les publicacions
|
55
|
+
last_activity:
|
56
|
+
new_post: 'Nova publicació:'
|
57
|
+
models:
|
58
|
+
post:
|
59
|
+
fields:
|
60
|
+
author: Autora
|
61
|
+
body: Cos
|
62
|
+
official_blog_post: Post oficial
|
63
|
+
published_at: Hora de publicació
|
64
|
+
title: Títol
|
65
|
+
posts:
|
66
|
+
index:
|
67
|
+
count:
|
68
|
+
one: "%{count} publicació"
|
69
|
+
other: "%{count} publicacions"
|
70
|
+
empty: Encara no hi ha cap publicació.
|
71
|
+
components:
|
72
|
+
blogs:
|
73
|
+
actions:
|
74
|
+
comment: Comentar
|
75
|
+
create: Crear
|
76
|
+
destroy: Esborrar
|
77
|
+
endorse: Adherir-se
|
78
|
+
update: Actualitzar
|
79
|
+
name: Blog
|
80
|
+
settings:
|
81
|
+
global:
|
82
|
+
announcement: Avís
|
83
|
+
comments_enabled: Comentaris habilitats
|
84
|
+
comments_max_length: Longitud màxima dels comentaris (deixa 0 si vols mantenir la configuració per defecte)
|
85
|
+
step:
|
86
|
+
announcement: Avís
|
87
|
+
comments_blocked: Comentaris bloquejats
|
88
|
+
endorsements_blocked: Adhesions bloquejades
|
89
|
+
endorsements_enabled: Adhesions habilitades
|
90
|
+
events:
|
91
|
+
blogs:
|
92
|
+
post_created:
|
93
|
+
email_intro: La publicació "%{resource_title}" s'ha publicat al "%{participatory_space_title}", el qual segueixes.
|
94
|
+
email_outro: Has rebut aquesta notificació perquè estàs seguint l'espai "%{participatory_space_title}". Pots deixar de seguir-lo des de l'enllaç anterior.
|
95
|
+
email_subject: Nova publicació publicada a %{participatory_space_title}
|
96
|
+
notification_title: La publicació <a href="%{resource_path}">%{resource_title}</a> ha estat publicada a %{participatory_space_title}
|
97
|
+
statistics:
|
98
|
+
posts_count: Publicacions
|
data/config/locales/es-MX.yml
CHANGED
data/config/locales/es-PY.yml
CHANGED
data/config/locales/es.yml
CHANGED
data/config/locales/pt.yml
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
---
|
2
2
|
pt:
|
3
3
|
activemodel:
|
4
|
+
attributes:
|
5
|
+
post:
|
6
|
+
body: Corpo
|
7
|
+
decidim_author_id: Autor
|
8
|
+
published_at: Hora de publicação
|
9
|
+
title: Título
|
4
10
|
models:
|
5
11
|
decidim/blogs/create_post_event: Nova publicação no blog
|
6
12
|
activerecord:
|
@@ -12,31 +18,62 @@ pt:
|
|
12
18
|
blogs:
|
13
19
|
actions:
|
14
20
|
author_id: Criar publicação como
|
21
|
+
confirm_destroy: Tem a certeza de que quer eliminar esta publicação?
|
22
|
+
destroy: Eliminar
|
15
23
|
edit: Editar
|
16
24
|
new: Nova publicação
|
17
25
|
title: Ações
|
18
26
|
admin:
|
19
27
|
posts:
|
28
|
+
create:
|
29
|
+
invalid: Ocorreu um problema ao criar esta publicação.
|
30
|
+
success: Publicação criada corretamente.
|
20
31
|
edit:
|
21
32
|
save: Actualizar
|
22
33
|
title: Editar publicação
|
23
34
|
index:
|
35
|
+
not_published_yet: Ainda não publicado
|
24
36
|
title: Publicações
|
25
37
|
new:
|
26
38
|
create: Criar
|
27
39
|
title: Criar publicação
|
28
40
|
update:
|
29
41
|
invalid: Ocorreu um problema ao guardar a publicação.
|
42
|
+
success: Publicação guardada corretamente.
|
43
|
+
admin_log:
|
44
|
+
post:
|
45
|
+
create: "%{user_name} criou a publicação %{resource_name} no espaço %{space_name}"
|
46
|
+
delete: "%{user_name} eliminou a publicação %{resource_name} no espaço %{space_name}"
|
47
|
+
update: "%{user_name} atualizou a publicação %{resource_name} no espaço %{space_name}"
|
48
|
+
content_blocks:
|
49
|
+
highlighted_posts:
|
50
|
+
last_published: Última publicação
|
51
|
+
name: Publicações
|
52
|
+
see_all: Ver todas as publicações
|
53
|
+
last_activity:
|
54
|
+
new_post: 'Nova publicação:'
|
30
55
|
models:
|
31
56
|
post:
|
32
57
|
fields:
|
33
58
|
author: Autor
|
34
59
|
body: Corpo
|
60
|
+
official_blog_post: Publicação oficial
|
61
|
+
published_at: Hora de publicação
|
62
|
+
title: Título
|
63
|
+
posts:
|
64
|
+
index:
|
65
|
+
count:
|
66
|
+
one: "%{count} publicação"
|
67
|
+
other: "%{count} publicações"
|
68
|
+
empty: Ainda não há publicações.
|
35
69
|
components:
|
36
70
|
blogs:
|
37
71
|
actions:
|
38
72
|
comment: Comentar
|
73
|
+
create: Criar
|
74
|
+
destroy: Eliminar
|
39
75
|
endorse: Apoiar
|
76
|
+
update: Atualizar
|
40
77
|
name: Blog
|
41
78
|
settings:
|
42
79
|
global:
|
data/config/locales/ro-RO.yml
CHANGED
@@ -5,7 +5,7 @@ ro:
|
|
5
5
|
post:
|
6
6
|
body: Conținut
|
7
7
|
decidim_author_id: Autor
|
8
|
-
published_at:
|
8
|
+
published_at: Dată publicare
|
9
9
|
title: Titlu
|
10
10
|
models:
|
11
11
|
decidim/blogs/create_post_event: Postare nouă pe blog
|
@@ -18,9 +18,10 @@ ro:
|
|
18
18
|
decidim:
|
19
19
|
blogs:
|
20
20
|
actions:
|
21
|
-
author_id:
|
22
|
-
|
23
|
-
|
21
|
+
author_id: Creeați postare ca
|
22
|
+
confirm_destroy: Sunteți sigur că doriți să ștergeți această postare?
|
23
|
+
destroy: Ștergeți
|
24
|
+
edit: Modificați
|
24
25
|
new: Postare nouă
|
25
26
|
title: Acțiuni
|
26
27
|
admin:
|
@@ -31,22 +32,27 @@ ro:
|
|
31
32
|
destroy:
|
32
33
|
success: Postarea a fost ștearsă cu succes.
|
33
34
|
edit:
|
34
|
-
save:
|
35
|
-
title:
|
35
|
+
save: Actualizați
|
36
|
+
title: Modificați postarea
|
36
37
|
index:
|
37
38
|
not_published_yet: Nu a fost publicat încă.
|
38
39
|
title: Postări
|
39
40
|
new:
|
40
|
-
create:
|
41
|
-
title:
|
41
|
+
create: Creați
|
42
|
+
title: Creați postare nouă
|
42
43
|
update:
|
43
|
-
invalid: A apărut o eroare la
|
44
|
-
success: Postarea a fost
|
44
|
+
invalid: A apărut o eroare la actualizarea acestei postări.
|
45
|
+
success: Postarea a fost actualizată cu succes.
|
45
46
|
admin_log:
|
46
47
|
post:
|
47
|
-
create: "%{user_name} a creat postarea
|
48
|
-
delete: "%{user_name} a șters postarea
|
49
|
-
update: "%{user_name} a actualizat postarea
|
48
|
+
create: "%{user_name} a creat postarea %{resource_name} în %{space_name}"
|
49
|
+
delete: "%{user_name} a șters postarea %{resource_name} din %{space_name}"
|
50
|
+
update: "%{user_name} a actualizat postarea %{resource_name} în %{space_name}"
|
51
|
+
content_blocks:
|
52
|
+
highlighted_posts:
|
53
|
+
last_published: Publicate recent
|
54
|
+
name: Postări
|
55
|
+
see_all: Vedeți toate postările
|
50
56
|
last_activity:
|
51
57
|
new_post: 'Postare nouă:'
|
52
58
|
models:
|
@@ -55,32 +61,39 @@ ro:
|
|
55
61
|
author: Autor
|
56
62
|
body: Conținut
|
57
63
|
official_blog_post: Postare oficială
|
58
|
-
published_at:
|
64
|
+
published_at: Dată publicare
|
59
65
|
title: Titlu
|
66
|
+
posts:
|
67
|
+
index:
|
68
|
+
count:
|
69
|
+
one: "%{count} postare"
|
70
|
+
few: "%{count} postări"
|
71
|
+
other: "%{count} postări"
|
72
|
+
empty: Nu există postări încă.
|
60
73
|
components:
|
61
74
|
blogs:
|
62
75
|
actions:
|
63
|
-
comment:
|
64
|
-
create:
|
65
|
-
destroy:
|
66
|
-
endorse:
|
67
|
-
update:
|
76
|
+
comment: Comentați
|
77
|
+
create: Creați
|
78
|
+
destroy: Ștergeți
|
79
|
+
endorse: Susțineți
|
80
|
+
update: Actualizați
|
68
81
|
name: Blog
|
69
82
|
settings:
|
70
83
|
global:
|
71
|
-
announcement:
|
84
|
+
announcement: Anunț
|
72
85
|
comments_enabled: Comentarii activate
|
73
86
|
comments_max_length: Lungimea maximă a comentariilor (lăsați 0 pentru valoarea implicită)
|
74
87
|
step:
|
75
|
-
announcement:
|
88
|
+
announcement: Anunț
|
76
89
|
comments_blocked: Comentarii blocate
|
77
|
-
endorsements_blocked: Susțineri
|
90
|
+
endorsements_blocked: Susțineri dezactivate
|
78
91
|
endorsements_enabled: Susțineri activate
|
79
92
|
events:
|
80
93
|
blogs:
|
81
94
|
post_created:
|
82
|
-
email_intro: Postarea "%{resource_title}" a fost publicată în "%{participatory_space_title}" pe care o
|
83
|
-
email_outro:
|
95
|
+
email_intro: Postarea "%{resource_title}" a fost publicată în "%{participatory_space_title}" pe care o urmăriți.
|
96
|
+
email_outro: Ați primit această notificare deoarece urmarăți „%{participatory_space_title}”. Puteți anula abonarea de la link-ul anterior.
|
84
97
|
email_subject: Postare nouă publicată în %{participatory_space_title}
|
85
98
|
notification_title: Postarea <a href="%{resource_path}">%{resource_title}</a> a fost publicată în %{participatory_space_title}
|
86
99
|
statistics:
|
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.6
|
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: 2025-
|
11
|
+
date: 2025-04-29 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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
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.6
|
111
111
|
description: A Blog component for decidim's participatory spaces.
|
112
112
|
email:
|
113
113
|
- isaac.mg@coditramuntana.com
|
@@ -163,6 +163,7 @@ files:
|
|
163
163
|
- config/locales/bg.yml
|
164
164
|
- config/locales/bn-BD.yml
|
165
165
|
- config/locales/bs-BA.yml
|
166
|
+
- config/locales/ca-IT.yml
|
166
167
|
- config/locales/ca.yml
|
167
168
|
- config/locales/cs-CZ.yml
|
168
169
|
- config/locales/cs.yml
|