decidim-blogs 0.25.1 → 0.26.0

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: 97132369187e2a0a9207c64526b9473118005d2dba2f7f5756f53c372802b958
4
- data.tar.gz: f077616a1d37327ca7cdbb92ee1c78e0a144e7ac1ca19dd128ef9b5c0efaf041
3
+ metadata.gz: d56a388839963fb6fdb9fe36e856835666dcd3c60438a910d0339d891b9b6613
4
+ data.tar.gz: 06aaa903c1b657ea02882d100c282bc6883f8c2271675c50f93e3d38f21e956c
5
5
  SHA512:
6
- metadata.gz: 7331fbe1128de57bbc3c155f48fc2ade29a3fe424bff1bfbd60f43aa256505485232eebd297d790d2c9ea4bc4fb436cd68bd713d8b30355bc2d513b4a9cacfb7
7
- data.tar.gz: f5bed6c41c4d7b45a1b282085d7b1b3397b7727ee342575583f9ca1979e5519ae1c50b8d638137823d72ed3e9781faff4095164f922bbd5c0c6364db370e1248
6
+ metadata.gz: bc8ddb94b5f9c84afd02fdda96ca121ad0367da7931740bb128ec5af9876210602c9b730fe0cf3411bbd9c7895a334fde9972b67cd24ef7766eab23db6cfef00
7
+ data.tar.gz: 803316768e1b1a8a7cea01fda32cb2efd8eaf0bbf4ca5ee5eb4aa1fbe621cf3dcb67cac1e2c4d0676c66c63a40aa8d15b0b16087b5c3149de07ba49c176b2304
@@ -26,7 +26,7 @@
26
26
  <%= translated_attribute(post.title) %><br>
27
27
  </td>
28
28
  <td>
29
- <%= decidim_sanitize post_description_admin(post) %>
29
+ <%= decidim_sanitize_editor post_description_admin(post) %>
30
30
  </td>
31
31
  <td>
32
32
  <%= post.try(:author).try(:name) %>
@@ -1,6 +1,9 @@
1
1
  <div class="row small-12">
2
2
  <% paginate_posts.each do |post| %>
3
3
  <div class="card card--post">
4
+ <% if post.photo.present? %>
5
+ <%= image_tag post.photo.url, class: "card__image" %>
6
+ <% end %>
4
7
  <div class="card__content">
5
8
  <div class="card__header">
6
9
  <%= link_to post, class: "card__link" do %>
@@ -12,7 +15,7 @@
12
15
  <%= cell "decidim/author", present(post.author), from: post, has_actions: true %>
13
16
  </div>
14
17
  </div>
15
- <%= decidim_sanitize post_description(post) %>
18
+ <%= decidim_sanitize_editor post_description(post) %>
16
19
  </div>
17
20
  </div>
18
21
  <% end %>
@@ -50,7 +50,7 @@
50
50
  <% end %>
51
51
  <div class="columns mediumlarge-8 <%= "mediumlarge-pull-4" if show_endorsements_card? %>">
52
52
  <div class="section">
53
- <%= decidim_sanitize translated_attribute post.body %>
53
+ <%= decidim_sanitize_editor translated_attribute post.body %>
54
54
  </div>
55
55
  <%= cell "decidim/endorsers_list", post %>
56
56
  </div>
@@ -59,6 +59,10 @@ ca:
59
59
  read_more: Llegeix més
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Crear
64
+ destroy: Esborrar
65
+ update: Actualitzar
62
66
  name: Blog
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ es-MX:
59
59
  read_more: Leer más
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Crear
64
+ destroy: Borrar
65
+ update: Actualizar
62
66
  name: Blog
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ es-PY:
59
59
  read_more: Leer más
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Crear
64
+ destroy: Borrar
65
+ update: Actualizar
62
66
  name: Blog
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ es:
59
59
  read_more: Leer más
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Crear
64
+ destroy: Borrar
65
+ update: Actualizar
62
66
  name: Blog
63
67
  settings:
64
68
  global:
@@ -11,7 +11,7 @@ eu:
11
11
  blogs:
12
12
  actions:
13
13
  confirm_destroy: Ziur mezua ezabatu nahi duzula?
14
- destroy: ezabatu
14
+ destroy: Ezabatu
15
15
  edit: Editatu
16
16
  new: Post berria
17
17
  title: Ekintzak
@@ -59,6 +59,10 @@ eu:
59
59
  read_more: Irakurri gehiago
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Sortu
64
+ destroy: Ezabatu
65
+ update: Eguneratu
62
66
  name: Bloga
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ fi-pl:
59
59
  read_more: Lue lisää
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Luo
64
+ destroy: Poista
65
+ update: Päivitä
62
66
  name: Blogi
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ fi:
59
59
  read_more: Lue lisää
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Luo
64
+ destroy: Poista
65
+ update: Päivitä
62
66
  name: Blogi
63
67
  settings:
64
68
  global:
@@ -59,6 +59,10 @@ fr-CA:
59
59
  read_more: Voir la suite
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Créer
64
+ destroy: Supprimer
65
+ update: Mettre à jour
62
66
  name: Actualités
63
67
  settings:
64
68
  global:
@@ -15,7 +15,7 @@ fr:
15
15
  edit: Modifier
16
16
  new: Nouvel article
17
17
  title: Actions
18
- user_group_id: Créer un article comme
18
+ user_group_id: Créer un article en tant que
19
19
  admin:
20
20
  models:
21
21
  components:
@@ -82,4 +82,4 @@ fr:
82
82
  email_subject: Nouvel article publié dans %{participatory_space_title}
83
83
  notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
84
84
  statistics:
85
- posts_count: Publications
85
+ posts_count: Articles
@@ -71,14 +71,14 @@ ja:
71
71
  step:
72
72
  announcement: お知らせ
73
73
  comments_blocked: コメントをブロック
74
- endorsements_blocked: 支持をブロック
75
- endorsements_enabled: 支持が有効
74
+ endorsements_blocked: オススメをブロック
75
+ endorsements_enabled: オススメが有効
76
76
  events:
77
77
  blogs:
78
78
  post_created:
79
- email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
79
+ email_intro: あなたがフォローしている "%{participatory_space_title}" で投稿 "%{resource_title}" が公開されました。
80
80
  email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
81
81
  email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
82
- notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
82
+ notification_title: '%{participatory_space_title} で投稿 <a href="%{resource_path}">%{resource_title}</a> が公開されました'
83
83
  statistics:
84
84
  posts_count: 投稿
@@ -1 +1,82 @@
1
1
  lb:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Neuer Blogeintrag
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Post
9
+ other: Beiträge
10
+ decidim:
11
+ blogs:
12
+ actions:
13
+ confirm_destroy: Möchten Sie diesen Beitrag wirklich löschen?
14
+ destroy: Löschen
15
+ edit: Bearbeiten
16
+ new: Neuer Beitrag
17
+ title: Aktionen
18
+ user_group_id: Beitrag erstellen als
19
+ admin:
20
+ models:
21
+ components:
22
+ body: Haupttext
23
+ post:
24
+ name: Post
25
+ posts:
26
+ create:
27
+ invalid: Beim Erstellen dieses Posts ist ein Problem aufgetreten
28
+ success: Post erfolgreich erstellt
29
+ destroy:
30
+ success: Beitrag wurde erfolgreich gelöscht
31
+ edit:
32
+ save: Aktualisieren
33
+ title: Post bearbeiten
34
+ index:
35
+ title: Beiträge
36
+ new:
37
+ create: Erstellen
38
+ title: Post erstellen
39
+ update:
40
+ invalid: Beim Speichern des Posts sind Fehler aufgetreten.
41
+ success: Beitrag wurde erfolgreich gespeichert
42
+ last_activity:
43
+ new_post_at_html: "<span>Neuer Beitrag bei %{link}</span>"
44
+ models:
45
+ post:
46
+ fields:
47
+ author: Autor
48
+ body: Haupttext
49
+ created_at: Hergestellt in
50
+ title: Titel
51
+ posts:
52
+ show:
53
+ back: Zurück zur Liste
54
+ comments: Kommentare
55
+ view: Anzeigen
56
+ sidebar_blog:
57
+ comments: Bemerkungen
58
+ most_commented_posts: Meist kommentierte Posts
59
+ read_more: Weiterlesen
60
+ components:
61
+ blogs:
62
+ actions:
63
+ comment: Kommentar
64
+ endorse: Bestätigen
65
+ name: Blog
66
+ settings:
67
+ global:
68
+ announcement: Ankündigung
69
+ comments_enabled: Kommentare aktiviert
70
+ comments_max_length: Maximale Länge der Kommentare (0 für Standardwert)
71
+ step:
72
+ announcement: Ankündigung
73
+ comments_blocked: Kommentare blockiert
74
+ endorsements_blocked: Unterstützung deaktiviert
75
+ endorsements_enabled: Unterstützung aktiviert
76
+ events:
77
+ blogs:
78
+ post_created:
79
+ email_intro: Der Beitrag "%{resource_title}" wurde in "%{participatory_space_title}" veröffentlicht, dem Sie folgen.
80
+ email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie "%{participatory_space_title}" folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
81
+ email_subject: Neuer Beitrag in %{participatory_space_title}
82
+ notification_title: Der Beitrag <a href="%{resource_path}">%{resource_title}</a> wurde in %{participatory_space_title} veröffentlicht
@@ -59,6 +59,10 @@ nl:
59
59
  read_more: Lees meer
60
60
  components:
61
61
  blogs:
62
+ actions:
63
+ create: Creëren
64
+ destroy: Verwijderen
65
+ update: Bijwerken
62
66
  name: blog
63
67
  settings:
64
68
  global:
@@ -15,6 +15,7 @@
15
15
  edit: Editar
16
16
  new: Nytt innlegg
17
17
  title: Handlinger
18
+ user_group_id: Opprett innlegg som
18
19
  admin:
19
20
  models:
20
21
  components:
@@ -29,6 +30,7 @@
29
30
  success: Innlegget ble slettet
30
31
  edit:
31
32
  save: Oppdater
33
+ title: Rediger innlegg
32
34
  index:
33
35
  title: Innlegg
34
36
  new:
@@ -57,6 +59,10 @@
57
59
  read_more: Les mer
58
60
  components:
59
61
  blogs:
62
+ actions:
63
+ create: Opprett
64
+ destroy: Slett
65
+ update: Oppdater
60
66
  name: Blogg
61
67
  settings:
62
68
  global:
@@ -75,3 +81,5 @@
75
81
  email_outro: Du har mottatt denne varslingen fordi du følger "%{participatory_space_title}". Du kan slutte å følge den fra den forrige lenken.
76
82
  email_subject: Nytt innlegg publisert i %{participatory_space_title}
77
83
  notification_title: Innlegget <a href="%{resource_path}">%{resource_title}</a> er blitt publisert til %{participatory_space_title}
84
+ statistics:
85
+ posts_count: Innlegg
@@ -1,4 +1,4 @@
1
- pt:
1
+ pt-BR:
2
2
  activemodel:
3
3
  models:
4
4
  decidim/blogs/create_post_event: Nova postagem no blog
@@ -11,7 +11,7 @@ ro:
11
11
  decidim:
12
12
  blogs:
13
13
  actions:
14
- confirm_destroy: Ești sigur(ă) că vrei să ştergi această postare?
14
+ confirm_destroy: Sigur dorești să ştergi această postare?
15
15
  destroy: Șterge
16
16
  edit: Editează
17
17
  new: Postare nouă
@@ -0,0 +1 @@
1
+ val:
@@ -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.25.1"
7
+ "0.26.0"
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.25.1
4
+ version: 0.26.0
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: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2022-02-22 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.25.1
19
+ version: 0.26.0
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.25.1
26
+ version: 0.26.0
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.25.1
33
+ version: 0.26.0
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.25.1
40
+ version: 0.26.0
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.25.1
47
+ version: 0.26.0
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.25.1
54
+ version: 0.26.0
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.25.1
61
+ version: 0.26.0
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.25.1
68
+ version: 0.26.0
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.25.1
75
+ version: 0.26.0
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.25.1
82
+ version: 0.26.0
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.25.1
89
+ version: 0.26.0
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.25.1
96
+ version: 0.26.0
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.25.1
103
+ version: 0.26.0
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.25.1
110
+ version: 0.26.0
111
111
  description: A Blog component for decidim's participatory spaces.
112
112
  email:
113
113
  - isaac.mg@coditramuntana.com
@@ -216,6 +216,7 @@ files:
216
216
  - config/locales/ti-ER.yml
217
217
  - config/locales/tr-TR.yml
218
218
  - config/locales/uk.yml
219
+ - config/locales/val-ES.yml
219
220
  - config/locales/vi-VN.yml
220
221
  - config/locales/vi.yml
221
222
  - config/locales/zh-CN.yml
@@ -244,7 +245,7 @@ homepage: https://github.com/decidim/decidim
244
245
  licenses:
245
246
  - AGPL-3.0
246
247
  metadata: {}
247
- post_install_message:
248
+ post_install_message:
248
249
  rdoc_options: []
249
250
  require_paths:
250
251
  - lib
@@ -259,8 +260,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
260
  - !ruby/object:Gem::Version
260
261
  version: '0'
261
262
  requirements: []
262
- rubygems_version: 3.1.2
263
- signing_key:
263
+ rubygems_version: 3.1.6
264
+ signing_key:
264
265
  specification_version: 4
265
266
  summary: Decidim blogs module
266
267
  test_files: []