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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c27ac55b0fb38ea45207eb8da02efb942230dc7640eedc41bbd482911a9327a8
4
- data.tar.gz: b7bc6736d0da74994d5e42eebdf287a7432d8a01542b29e82d59b8c696f7eda4
3
+ metadata.gz: e6b8cab0b78bcd89d4f7d867718fffdc721ea2d1a5828d8012492396ec08f2a4
4
+ data.tar.gz: 4f40f21d607b379fb4f2d1429189b196a275339837034d5dc1aa9793b1e8429a
5
5
  SHA512:
6
- metadata.gz: fef349fd0f2dcf09615a5a325971008a1b407772639dfe16790847302fb6d19fa8363668118c10da1b0f0665938dee0eabb700ba99e13dde859bc034ecdff097
7
- data.tar.gz: a2ba08550a22b8dfdeebe0ece571e20fe542d598522c4ab3f5ba18ac7384a629ec04225ebe76d52bcfe90a4936eee64febd3dcb05ee5ea086fefe2afe5858c1f
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
- <%= render partial: "posts" %>
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 } %>
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Empty line for playing nice with tpope/vim-rails
@@ -60,6 +60,8 @@ ca:
60
60
  official_blog_post: Post oficial
61
61
  title: Títol
62
62
  posts:
63
+ index:
64
+ empty: Encara no hi ha cap publicació.
63
65
  show:
64
66
  back: Tornar al llistat
65
67
  comments: Comentaris
@@ -62,6 +62,8 @@ cs:
62
62
  official_blog_post: Oficiální příspěvek
63
63
  title: Název
64
64
  posts:
65
+ index:
66
+ empty: Zatím nejsou žádné příspěvky.
65
67
  show:
66
68
  back: Zpět na seznam
67
69
  comments: Komentáře
@@ -56,10 +56,12 @@ de:
56
56
  fields:
57
57
  author: Autor
58
58
  body: Haupttext
59
- created_at: Hergestellt in
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
@@ -60,6 +60,8 @@ en:
60
60
  official_blog_post: Official post
61
61
  title: Title
62
62
  posts:
63
+ index:
64
+ empty: There are no posts yet.
63
65
  show:
64
66
  back: Back to list
65
67
  comments: Comments
@@ -60,6 +60,8 @@ es-MX:
60
60
  official_blog_post: Post oficial
61
61
  title: Título
62
62
  posts:
63
+ index:
64
+ empty: Aún no hay ninguna publicación.
63
65
  show:
64
66
  back: Volver al listado
65
67
  comments: Comentarios
@@ -60,6 +60,8 @@ es-PY:
60
60
  official_blog_post: Post oficial
61
61
  title: Título
62
62
  posts:
63
+ index:
64
+ empty: Aún no hay ninguna publicación.
63
65
  show:
64
66
  back: Volver al listado
65
67
  comments: Comentarios
@@ -60,6 +60,8 @@ es:
60
60
  official_blog_post: Post oficial
61
61
  title: Título
62
62
  posts:
63
+ index:
64
+ empty: Aún no hay ninguna publicación.
63
65
  show:
64
66
  back: Volver al listado
65
67
  comments: Comentarios
@@ -3,12 +3,12 @@ eu:
3
3
  activemodel:
4
4
  attributes:
5
5
  post:
6
- body: Testua
6
+ body: Gorputza
7
7
  decidim_author_id: Egilea
8
- published_at: Argitaratze data
9
- title: Izena
8
+ published_at: Argitaratze-data
9
+ title: Izenburua
10
10
  models:
11
- decidim/blogs/create_post_event: Blogeko post berria
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: Post berria
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 izan da sarrera hau sortzeko
33
- success: Argitalpena ondo sortu da
32
+ invalid: Arazo bat egon da argitalpen hau sortzean
33
+ success: Argitalpena zuzen sortua
34
34
  destroy:
35
- success: Mezua ondo ezabatu da
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 argitalpena
43
+ title: Sortu mezua
44
44
  update:
45
- invalid: Akatsen bat gertatu da mezua gordetzean.
46
- success: Sarrera ondo gorde da
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>Post berria %{link}-ean</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: Testua
58
+ body: Gorputza
59
59
  created_at: Sortze-data
60
- official_blog_post: Blogeko argitalpen ofiziala
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: Geihago irakurri
72
+ read_more: Gehiago irakurri
71
73
  components:
72
74
  blogs:
73
75
  actions:
@@ -60,6 +60,8 @@ fi-pl:
60
60
  official_blog_post: Virallinen artikkeli
61
61
  title: Otsikko
62
62
  posts:
63
+ index:
64
+ empty: Ei yhtään artikkelia.
63
65
  show:
64
66
  back: Takaisin listaan
65
67
  comments: Kommentit
@@ -60,6 +60,8 @@ fi:
60
60
  official_blog_post: Virallinen artikkeli
61
61
  title: Otsikko
62
62
  posts:
63
+ index:
64
+ empty: Ei yhtään artikkelia.
63
65
  show:
64
66
  back: Takaisin listaan
65
67
  comments: Kommentit
@@ -60,6 +60,8 @@ fr-CA:
60
60
  official_blog_post: Article officiel
61
61
  title: Titre
62
62
  posts:
63
+ index:
64
+ empty: Il n'y a pas encore d'articles.
63
65
  show:
64
66
  back: Retour à la liste
65
67
  comments: Commentaires
@@ -60,6 +60,8 @@ fr:
60
60
  official_blog_post: Article officiel
61
61
  title: Titre
62
62
  posts:
63
+ index:
64
+ empty: Il n'y a pas encore d'articles.
63
65
  show:
64
66
  back: Retour à la liste
65
67
  comments: Commentaires
@@ -59,6 +59,8 @@ ja:
59
59
  official_blog_post: 公式ポスト
60
60
  title: タイトル
61
61
  posts:
62
+ index:
63
+ empty: 投稿はまだありません。
62
64
  show:
63
65
  back: リストに戻る
64
66
  comments: コメント
@@ -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:
@@ -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:
@@ -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:
@@ -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: false
26
+ settings.attribute :comments_max_length, type: :integer, required: true
27
27
  end
28
28
 
29
29
  component.settings(:step) do |settings|
@@ -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.27.4"
7
+ "0.27.5"
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.27.4
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-07-27 00:00:00.000000000 Z
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.2.22
274
+ rubygems_version: 3.4.22
273
275
  signing_key:
274
276
  specification_version: 4
275
277
  summary: Decidim blogs module