decidim-blogs 0.28.1 → 0.28.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2707fefef8c642b9543e50c423fe6f7df708e6a05cad9d50a527e828f06b7769
4
- data.tar.gz: 966464d795f50f2ac2a94cc06be1b9e577766fce5cd7fa665efd3f97e064e4a1
3
+ metadata.gz: 22a486bebf83e806ff85b5565cb3410835e23eeb04732e2e80baf2de6ada9f12
4
+ data.tar.gz: cf159deb2290a8d85223018106890a1069e932970572e48ed77eac36e465aa6b
5
5
  SHA512:
6
- metadata.gz: edb47ec3e4e5cefe5df87777601d80782ca3727963f90dca9af1219c1991958cdcfe89813be78cdfe4c62b878bc114e9c24ea74ef53e536cf44792f2b652afac
7
- data.tar.gz: e88ac53492d30eaacafbc94a22c84cbb4259ed5f04d485b1679aaa181cb2aba4b5408dcbae5bd7dc48821b163b1de046d6154e14f6b07bdb2ff38dcfc235ad35
6
+ metadata.gz: 298f66fb03478bc19e8cb9594cfdb331d8e347f27db11c3a27753a65f7e981ed715d7bc68b212bd475e7356effbb6135ad8914aeff8fb4d3e5c966a999301c80
7
+ data.tar.gz: 878cf076a54c8bc6b65e9d2b2e2bb6b3b4eefe3b9e7aac943964d5d39d7872c1527dd1132a53e1bf36ccda434cf4fa1764f516d1dfd04218925eac3ba97bf161
@@ -9,10 +9,6 @@ module Decidim
9
9
 
10
10
  private
11
11
 
12
- def has_image?
13
- resource_image_path.present?
14
- end
15
-
16
12
  def show_description?
17
13
  true
18
14
  end
@@ -21,7 +17,7 @@ module Decidim
21
17
  "decidim/blogs/post_metadata_g"
22
18
  end
23
19
 
24
- def resource_image_path
20
+ def resource_image_url
25
21
  return if photo.blank?
26
22
 
27
23
  photo.url
@@ -9,10 +9,6 @@ module Decidim
9
9
 
10
10
  private
11
11
 
12
- def has_image?
13
- true
14
- end
15
-
16
12
  def has_description?
17
13
  true
18
14
  end
@@ -25,7 +21,7 @@ module Decidim
25
21
  "decidim/blogs/post_metadata"
26
22
  end
27
23
 
28
- def resource_image_path
24
+ def resource_image_url
29
25
  return if photo.blank?
30
26
 
31
27
  photo.url
@@ -1,6 +1,12 @@
1
1
  ---
2
2
  bg:
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:
@@ -11,4 +17,82 @@ bg:
11
17
  decidim:
12
18
  blogs:
13
19
  actions:
20
+ author_id: Създаване на публикация като
14
21
  confirm_destroy: Сигурни ли сте, че желаете да изтриете тази публикация?
22
+ destroy: Изтрий
23
+ edit: Редактирай
24
+ new: Нова публикация
25
+ title: Активности
26
+ admin:
27
+ posts:
28
+ create:
29
+ invalid: Възникна проблем при създаването на тази публикация.
30
+ success: Публикацията беше създадена успешно.
31
+ destroy:
32
+ success: Публикацията беше изтрита успешно.
33
+ edit:
34
+ save: Актуализация
35
+ title: Редактиране на поста
36
+ index:
37
+ not_published_yet: Не публикувано все още.
38
+ title: Публикации
39
+ new:
40
+ create: Създаване
41
+ title: Създай публикация
42
+ update:
43
+ invalid: Възникна проблем при запазването на публикацията.
44
+ success: Публикацията беше запазена успешно.
45
+ admin_log:
46
+ post:
47
+ create: "%{user_name} създаде публикацията в блога %{resource_name} в %{space_name}"
48
+ delete: "%{user_name} изтри публикацията в блога %{resource_name} от %{space_name}"
49
+ update: "%{user_name} актуализира публикацията в блога %{resource_name} в %{space_name}"
50
+ content_blocks:
51
+ highlighted_posts:
52
+ last_published: Последно публикувано
53
+ name: Публикации
54
+ see_all: Виж всички публикации
55
+ last_activity:
56
+ new_post: 'Нова публикация:'
57
+ models:
58
+ post:
59
+ fields:
60
+ author: Автор
61
+ body: Основен текст
62
+ official_blog_post: Официална публикация
63
+ published_at: Час на публикуване
64
+ title: Заглавие
65
+ posts:
66
+ index:
67
+ count:
68
+ one: "%{count} публикация"
69
+ other: "%{count} публикации"
70
+ empty: Все още няма постове.
71
+ components:
72
+ blogs:
73
+ actions:
74
+ comment: Коментар
75
+ create: Създаване
76
+ destroy: Изтрий
77
+ endorse: Подкрепете
78
+ update: Актуализация
79
+ name: Блог
80
+ settings:
81
+ global:
82
+ announcement: Обявление
83
+ comments_enabled: Коментарите са разрешени
84
+ comments_max_length: Максимална дължина на коментарите (Оставете 0 за стойност по подразбиране)
85
+ step:
86
+ announcement: Обявление
87
+ comments_blocked: Коментарите са блокирани
88
+ endorsements_blocked: Подкрепата е блокирана
89
+ endorsements_enabled: Подкрепата е активирана
90
+ events:
91
+ blogs:
92
+ post_created:
93
+ email_intro: Публикацията „%{resource_title}“ е публикувана в(ъв)%{participatory_space_title}“, което следвате.
94
+ email_outro: Получавате това известие, защото следвате "%{participatory_space_title}". Може да премахнете следването чрез предходния линк.
95
+ email_subject: Публикувана е нова публикация в(ъв) %{participatory_space_title}
96
+ notification_title: Публикацията <a href="%{resource_path}">%{resource_title}</a> е публикувана в(ъв) %{participatory_space_title}
97
+ statistics:
98
+ posts_count: Постове
@@ -51,7 +51,7 @@ es-MX:
51
51
  highlighted_posts:
52
52
  last_published: Última publicación
53
53
  name: Publicaciones
54
- see_all: Per todas las publicaciones
54
+ see_all: Ver todas las publicaciones
55
55
  last_activity:
56
56
  new_post: 'Nueva publicación:'
57
57
  models:
@@ -51,7 +51,7 @@ es-PY:
51
51
  highlighted_posts:
52
52
  last_published: Última publicación
53
53
  name: Publicaciones
54
- see_all: Per todas las publicaciones
54
+ see_all: Ver todas las publicaciones
55
55
  last_activity:
56
56
  new_post: 'Nueva publicación:'
57
57
  models:
@@ -51,7 +51,7 @@ es:
51
51
  highlighted_posts:
52
52
  last_published: Última publicación
53
53
  name: Publicaciones
54
- see_all: Per todas las publicaciones
54
+ see_all: Ver todas las publicaciones
55
55
  last_activity:
56
56
  new_post: 'Nueva publicación:'
57
57
  models:
@@ -5,6 +5,7 @@ sv:
5
5
  post:
6
6
  body: Innehåll
7
7
  decidim_author_id: Författare
8
+ published_at: Publicerad
8
9
  title: Titel
9
10
  models:
10
11
  decidim/blogs/create_post_event: Nytt blogginlägg
@@ -24,18 +25,31 @@ sv:
24
25
  title: Åtgärder
25
26
  admin:
26
27
  posts:
28
+ create:
29
+ invalid: Det gick inte att skapa inlägget.
30
+ success: Inlägget har skapats.
31
+ destroy:
32
+ success: Inlägget har raderats.
27
33
  edit:
28
34
  save: Uppdatera
29
35
  title: Redigera inlägg
30
36
  index:
37
+ not_published_yet: Ej publicerat.
31
38
  title: Inlägg
32
39
  new:
33
40
  create: Skapa
34
41
  title: Skapa inlägg
35
42
  update:
36
43
  invalid: Det gick inte att spara inlägget.
44
+ success: Inlägget har sparats.
45
+ admin_log:
46
+ post:
47
+ create: "%{user_name} skapade blogginlägget %{resource_name} i %{space_name}"
48
+ delete: "%{user_name} raderade blogginlägget %{resource_name} från %{space_name}"
49
+ update: "%{user_name} uppdaterade blogginlägget %{resource_name} i %{space_name}"
37
50
  content_blocks:
38
51
  highlighted_posts:
52
+ last_published: Senast publicerade
39
53
  name: Inlägg
40
54
  see_all: Se alla inlägg
41
55
  last_activity:
@@ -46,7 +60,11 @@ sv:
46
60
  author: Författare
47
61
  body: Innehåll
48
62
  official_blog_post: Officiellt inlägg
63
+ published_at: Publicerad
49
64
  title: Titel
65
+ posts:
66
+ index:
67
+ empty: Det finns inga inlägg ännu.
50
68
  components:
51
69
  blogs:
52
70
  actions:
@@ -60,7 +78,7 @@ sv:
60
78
  global:
61
79
  announcement: Meddelande
62
80
  comments_enabled: Kommentarer aktiverade
63
- comments_max_length: Maximal längd för kommentarer (Lämna 0 för standardvärde)
81
+ comments_max_length: Maximal kommentarslängd (ange 0 för att använda standardvärdet)
64
82
  step:
65
83
  announcement: Meddelande
66
84
  comments_blocked: Kommentarer blockerade
@@ -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.1"
7
+ "0.28.3"
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.1
4
+ version: 0.28.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-30 00:00:00.000000000 Z
11
+ date: 2024-09-10 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.1
19
+ version: 0.28.3
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.1
26
+ version: 0.28.3
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.1
33
+ version: 0.28.3
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.1
40
+ version: 0.28.3
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.1
47
+ version: 0.28.3
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.1
54
+ version: 0.28.3
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.1
61
+ version: 0.28.3
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.1
68
+ version: 0.28.3
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.1
75
+ version: 0.28.3
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.1
82
+ version: 0.28.3
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.1
89
+ version: 0.28.3
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.1
96
+ version: 0.28.3
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.1
103
+ version: 0.28.3
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.1
110
+ version: 0.28.3
111
111
  description: A Blog component for decidim's participatory spaces.
112
112
  email:
113
113
  - isaac.mg@coditramuntana.com
@@ -268,7 +268,7 @@ metadata:
268
268
  funding_uri: https://opencollective.com/decidim
269
269
  homepage_uri: https://decidim.org
270
270
  source_code_uri: https://github.com/decidim/decidim
271
- post_install_message:
271
+ post_install_message:
272
272
  rdoc_options: []
273
273
  require_paths:
274
274
  - lib
@@ -283,8 +283,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  - !ruby/object:Gem::Version
284
284
  version: '0'
285
285
  requirements: []
286
- rubygems_version: 3.5.9
287
- signing_key:
286
+ rubygems_version: 3.3.7
287
+ signing_key:
288
288
  specification_version: 4
289
289
  summary: Decidim blogs module
290
290
  test_files: []