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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4ffc0b13b84d282bebd34186636d153aacfa1a9076f00384cda8649ee109514
4
- data.tar.gz: 6b4f609b3d92183e3fed05b2f5e52e974b89fbc38dbfd02c2cb02be947484e02
3
+ metadata.gz: b6e82dfea5aae1d93264baf02a13eb4a2082aa38ebde941acebe9f7afe7cf2e2
4
+ data.tar.gz: 82a0b32a62daeea067fb380204310bff63c8c5692eae1efac53f9f32225e6d99
5
5
  SHA512:
6
- metadata.gz: 242c6a29b9f948d36f7c6e5825707f6c289c97f85bba883d47f839f56951c2a8390ab0c379f891525482096631983ac8dca1bee05f4fb15c292dc7449d7dc4bc
7
- data.tar.gz: 4e4314e721c6be205fde3e36f06c484718061026b3de1ff8b607fc10fefcb7cdcf72982b22504ae807a5e3ca464204fdb357813477072aeb7fa4292cc0fad7cf
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
- <% add_decidim_page_title component_name %>
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
@@ -67,7 +67,7 @@ es-MX:
67
67
  count:
68
68
  one: "%{count} publicación"
69
69
  other: "%{count} publicaciones"
70
- empty: Aún no hay ninguna publicación.
70
+ empty: Aún no hay publicaciones.
71
71
  components:
72
72
  blogs:
73
73
  actions:
@@ -67,7 +67,7 @@ es-PY:
67
67
  count:
68
68
  one: "%{count} publicación"
69
69
  other: "%{count} publicaciones"
70
- empty: Aún no hay ninguna publicación.
70
+ empty: Aún no hay publicaciones.
71
71
  components:
72
72
  blogs:
73
73
  actions:
@@ -67,7 +67,7 @@ es:
67
67
  count:
68
68
  one: "%{count} publicación"
69
69
  other: "%{count} publicaciones"
70
- empty: Aún no hay ninguna publicación.
70
+ empty: Aún no hay publicaciones.
71
71
  components:
72
72
  blogs:
73
73
  actions:
@@ -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:
@@ -5,7 +5,7 @@ ro:
5
5
  post:
6
6
  body: Conținut
7
7
  decidim_author_id: Autor
8
- published_at: Publicat la
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: Creează postare ca
22
- destroy: Șterge
23
- edit: Editează
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: Actualizează
35
- title: Editează postarea
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: Creează
41
- title: Creează postare
41
+ create: Creați
42
+ title: Creați postare nouă
42
43
  update:
43
- invalid: A apărut o eroare la salvarea postării.
44
- success: Postarea a fost salvată cu succes.
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 de blog %{resource_name} în %{space_name}"
48
- delete: "%{user_name} a șters postarea de blog %{resource_name} din %{space_name}"
49
- update: "%{user_name} a actualizat postarea de blog %{resource_name} în %{space_name}"
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: Publicat la
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: Comentariu
64
- create: Creează
65
- destroy: Șterge
66
- endorse: Susține
67
- update: Actualizează
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: Anunţ
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: Anunţ
88
+ announcement: Anunț
76
89
  comments_blocked: Comentarii blocate
77
- endorsements_blocked: Susțineri blocate
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 urmărești.
83
- email_outro: Ai primit această notificare deoarece urmărești „%{participatory_space_title}”. Poți anula abonarea de la link-ul anterior.
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:
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-pages version.
5
5
  module Blogs
6
6
  def self.version
7
- "0.28.5"
7
+ "0.28.6"
8
8
  end
9
9
  end
10
10
  end
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.5
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-02-12 00:00:00.000000000 Z
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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.5
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