decidim-blogs 0.12.0.pre → 0.12.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: ba1edd55ab92f50f43fb55ec07509195bcfd78fe4c17ebd3d45fd3cc7f2d6283
4
- data.tar.gz: 217b3b9ab458f70a6ff632fa3fb7adb80dbe1c38054d1b3b753eb757a1e7be47
3
+ metadata.gz: 9a4698fab06719b46f349ae37e0eac971e48997d67dca6c24959d623526e793f
4
+ data.tar.gz: f1452dd58f435af21a88f1c66cbb7d866efeba338e2f0256fc357dd36df7adc3
5
5
  SHA512:
6
- metadata.gz: 8d30e1dc107e5d923fc309c2d0876f02f95b2b3203e704f5f8883851cfbfea4d772313a2a5e616eaadeac34f6067bd40f76364bd0f30dc8bbcdfa5cd8faba6a5
7
- data.tar.gz: 214ff956450139af15c35cd16335e2095bff58e579facae6cade0dbad4a4b741e2cc95bf5e280d0b0e5f9eeb534033a69da4a116d3d1c9039908d953f4003f46
6
+ metadata.gz: '0181ebe44de21b0ecaeff96aaf38b616dd4665586e43571dd6ee499e575177c0d9669f955f7b9078d20a0a6bda47550b7ec07049056b39558502b8186aea9668'
7
+ data.tar.gz: 064525eded9ff4d06c0241574a886fec75af0f20d0655846dc9af9c07cb4b229a6053a21c7d5ecf00e8b3c8bd4f6930a90e1bcac61301b46495f3bf69880a0ca
@@ -6,8 +6,7 @@ module Decidim
6
6
  # Custom helpers used in posts views
7
7
  module PostsHelper
8
8
  include Decidim::ApplicationHelper
9
- # include Decidim::TranslationsHelper
10
- # include Decidim::ResourceHelper
9
+ include SanitizeHelper
11
10
 
12
11
  # Public: truncates the post body
13
12
  #
@@ -6,6 +6,7 @@ module Decidim
6
6
  #
7
7
  module ApplicationHelper
8
8
  include PaginateHelper
9
+ include SanitizeHelper
9
10
  include Decidim::Blogs::PostsHelper
10
11
  include Decidim::Comments::CommentsHelper
11
12
  end
@@ -26,7 +26,7 @@
26
26
  <%= translated_attribute(post.title) %><br />
27
27
  </td>
28
28
  <td>
29
- <%= sanitize post_description_admin(post) %>
29
+ <%= decidim_sanitize post_description_admin(post) %>
30
30
  </td>
31
31
  <td>
32
32
  <%= post.try(:author).try(:name) %>
@@ -12,7 +12,7 @@
12
12
  <%= cell "decidim/author", present(post.author), from: post %>
13
13
  </div>
14
14
  </div>
15
- <%= sanitize post_description(post) %>
15
+ <%= decidim_sanitize post_description(post) %>
16
16
  </div>
17
17
  </article>
18
18
  <% end %>
@@ -12,7 +12,7 @@
12
12
  <%= cell "decidim/author", present(post.author), from: post %>
13
13
  </div>
14
14
  <div class="section">
15
- <p><%= sanitize translated_attribute post.body %></p>
15
+ <p><%= decidim_sanitize translated_attribute post.body %></p>
16
16
  </div>
17
17
  </div>
18
18
  <div id="most-commented" class="columns medium-5 mediumlarge-4 large-4">
@@ -0,0 +1,77 @@
1
+ es-PY:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: Nueva publicación del blog
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Publicación
9
+ other: Publicaciones
10
+ decidim:
11
+ blogs:
12
+ actions:
13
+ confirm_destroy: '¿Seguro que quieres eliminar esta publicación?'
14
+ destroy: Borrar
15
+ edit: Editar
16
+ new: Nuevo
17
+ title: Comportamiento
18
+ admin:
19
+ models:
20
+ components:
21
+ body: Cuerpo
22
+ post:
23
+ name: Enviar
24
+ posts:
25
+ create:
26
+ invalid: Ha habido un problema al crear esta publicación
27
+ success: Publicación creada con éxito
28
+ destroy:
29
+ success: Publicación eliminada con éxito
30
+ edit:
31
+ save: Actualizar
32
+ index:
33
+ title: Publicaciones
34
+ new:
35
+ create: Crear
36
+ title: Crear publicación
37
+ update:
38
+ invalid: Ha habido errores al guardar la publicación.
39
+ success: Publicación guardada con éxito
40
+ models:
41
+ post:
42
+ fields:
43
+ author: Autoría
44
+ body: Cuerpo
45
+ created_at: Creado en
46
+ title: título
47
+ posts:
48
+ show:
49
+ view: Ver
50
+ sidebar_blog:
51
+ comments: comentarios
52
+ most_commented_posts: Publicaciones más comentadas
53
+ read_more: Leer más
54
+ components:
55
+ blogs:
56
+ name: Blog
57
+ settings:
58
+ global:
59
+ announcement: Anuncio
60
+ comments_enabled: Comentarios habilitados
61
+ step:
62
+ announcement: Anuncio
63
+ comments_blocked: Comentarios bloqueados
64
+ events:
65
+ blogs:
66
+ post_created:
67
+ email_intro: La publicación "%{resource_title}" se publicó en "%{participatory_space_title}" que estás siguiendo.
68
+ email_outro: Recibió esta notificación porque está siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
69
+ email_subject: Nueva publicación publicada en %{participatory_space_title}
70
+ notification_title: La publicación <a href="%{resource_path}">%{resource_title}</a> se publicó en %{participatory_space_title}.
71
+ pages:
72
+ home:
73
+ statistics:
74
+ posts_count: Publicaciones
75
+ participatory_processes:
76
+ statistics:
77
+ posts_count: Publicaciones
@@ -11,7 +11,7 @@ fr:
11
11
  blogs:
12
12
  actions:
13
13
  confirm_destroy: Êtes-vous certain de vouloir supprimer cette annonce ?
14
- destroy: Effacer
14
+ destroy: Supprimer
15
15
  edit: Modifier
16
16
  new: Nouveau
17
17
  title: Actions
@@ -50,7 +50,7 @@ fr:
50
50
  sidebar_blog:
51
51
  comments: commentaires
52
52
  most_commented_posts: Articles les plus commentés
53
- read_more: Lire la suite
53
+ read_more: Voir la suite
54
54
  components:
55
55
  blogs:
56
56
  name: Actualités
@@ -67,7 +67,7 @@ fr:
67
67
  email_intro: L'article "%{resource_title}" a été publié dans "%{participatory_space_title}" que vous suivez.
68
68
  email_outro: Vous avez reçu cette notification parce que vous suivez "%{participatory_space_title}". Vous pouvez le retirer du lien précédent.
69
69
  email_subject: Nouvel article publié dans %{participatory_space_title}
70
- notification_title: Le message <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
70
+ notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
71
71
  pages:
72
72
  home:
73
73
  statistics:
@@ -2,8 +2,78 @@ ru:
2
2
  activemodel:
3
3
  models:
4
4
  decidim/blogs/create_post_event: Создать пост в блоге
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ one: Пост
9
+ few: Поста
10
+ many: Постов
11
+ other: Постов
5
12
  decidim:
6
13
  blogs:
7
14
  actions:
8
15
  confirm_destroy: Вы действительно хотите удалить этот проект?
16
+ destroy: Удалить
17
+ edit: Редактировать
9
18
  new: Добавить
19
+ title: Действия
20
+ admin:
21
+ models:
22
+ components:
23
+ body: Основной текст
24
+ post:
25
+ name: Пост
26
+ posts:
27
+ create:
28
+ invalid: При попытке добавить этот пост произошла ошибка
29
+ success: Пост успешно создан
30
+ destroy:
31
+ success: Пост успешно удален
32
+ edit:
33
+ save: Обновить
34
+ index:
35
+ title: Посты
36
+ new:
37
+ create: Создать
38
+ title: Создать пост
39
+ update:
40
+ invalid: При попытке сохранить пост произошли ошибки.
41
+ success: Пост успешно сохранен
42
+ models:
43
+ post:
44
+ fields:
45
+ author: Автор
46
+ body: Основной текст
47
+ created_at: 'Создано:'
48
+ title: заголовок
49
+ posts:
50
+ show:
51
+ view: Посмотреть
52
+ sidebar_blog:
53
+ comments: комментарии
54
+ most_commented_posts: Наиболее комментируемые посты
55
+ read_more: Читать подробнее
56
+ components:
57
+ blogs:
58
+ name: Блог
59
+ settings:
60
+ global:
61
+ announcement: Объявление
62
+ comments_enabled: Комментарии включены
63
+ step:
64
+ announcement: Объявление
65
+ comments_blocked: Комментарии отключены
66
+ events:
67
+ blogs:
68
+ post_created:
69
+ email_intro: В "%{participatory_space_title}", за которым вы следите, обнародован пост "%{resource_title}".
70
+ email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете перестать за ним следить, перейдя по приведенной выше ссылке.
71
+ email_subject: В %{participatory_space_title} обнародован новый пост
72
+ notification_title: В %{participatory_space_title} был обнародован пост <a href="%{resource_path}">%{resource_title}</a>
73
+ pages:
74
+ home:
75
+ statistics:
76
+ posts_count: Постов
77
+ participatory_processes:
78
+ statistics:
79
+ posts_count: Постов
@@ -37,7 +37,7 @@ uk:
37
37
  create: Створити
38
38
  title: Створити допис
39
39
  update:
40
- invalid: При збереженні цього допису сталися помилки.
40
+ invalid: При спробі збереження цього допису сталися помилки.
41
41
  success: Допис успішно збережено
42
42
  models:
43
43
  post:
@@ -73,7 +73,7 @@ uk:
73
73
  pages:
74
74
  home:
75
75
  statistics:
76
- posts_count: Дописи
76
+ posts_count: Дописів
77
77
  participatory_processes:
78
78
  statistics:
79
- posts_count: Дописи
79
+ posts_count: Дописів
@@ -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.12.0.pre"
7
+ "0.12.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.12.0.pre
4
+ version: 0.12.0
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: 2018-06-06 00:00:00.000000000 Z
11
+ date: 2018-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: decidim-admin
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0.pre
19
+ version: 0.12.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.12.0.pre
26
+ version: 0.12.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.12.0.pre
33
+ version: 0.12.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.12.0.pre
40
+ version: 0.12.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.12.0.pre
47
+ version: 0.12.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.12.0.pre
54
+ version: 0.12.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: httparty
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,56 +100,56 @@ dependencies:
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.12.0.pre
103
+ version: 0.12.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.12.0.pre
110
+ version: 0.12.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: decidim-assemblies
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.12.0.pre
117
+ version: 0.12.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.12.0.pre
124
+ version: 0.12.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: decidim-dev
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.12.0.pre
131
+ version: 0.12.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.12.0.pre
138
+ version: 0.12.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: decidim-participatory_processes
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.12.0.pre
145
+ version: 0.12.0
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.12.0.pre
152
+ version: 0.12.0
153
153
  description: A Blog component for decidim's participatory spaces.
154
154
  email:
155
155
  - isaac.mg@coditramuntana.com
@@ -189,6 +189,7 @@ files:
189
189
  - app/views/decidim/blogs/posts/show.html.erb
190
190
  - config/locales/ca.yml
191
191
  - config/locales/en.yml
192
+ - config/locales/es-PY.yml
192
193
  - config/locales/es.yml
193
194
  - config/locales/eu.yml
194
195
  - config/locales/fi.yml
@@ -226,9 +227,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
226
227
  version: 2.3.1
227
228
  required_rubygems_version: !ruby/object:Gem::Requirement
228
229
  requirements:
229
- - - ">"
230
+ - - ">="
230
231
  - !ruby/object:Gem::Version
231
- version: 1.3.1
232
+ version: '0'
232
233
  requirements: []
233
234
  rubyforge_project:
234
235
  rubygems_version: 2.7.6