decidim-blogs 0.24.0 → 0.25.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/commands/decidim/blogs/admin/create_post.rb +1 -1
- data/app/commands/decidim/blogs/admin/update_post.rb +2 -1
- data/app/controllers/decidim/blogs/admin/posts_controller.rb +2 -0
- data/app/forms/decidim/blogs/admin/post_form.rb +17 -0
- data/app/models/decidim/blogs/post.rb +6 -16
- data/app/packs/entrypoints/decidim_blogs.js +2 -0
- data/app/{assets/images/decidim/blogs/icon.svg → packs/images/decidim/blogs/decidim_blogs.svg} +0 -0
- data/app/views/decidim/blogs/admin/posts/_form.html.erb +5 -0
- data/app/views/decidim/blogs/admin/posts/index.html.erb +2 -0
- data/app/views/decidim/blogs/posts/_posts.html.erb +1 -1
- data/config/assets.rb +8 -0
- data/config/locales/ar.yml +0 -7
- data/config/locales/ca.yml +3 -7
- data/config/locales/cs.yml +3 -7
- data/config/locales/de.yml +3 -7
- data/config/locales/el.yml +0 -7
- data/config/locales/en.yml +8 -7
- data/config/locales/es-MX.yml +3 -7
- data/config/locales/es-PY.yml +3 -7
- data/config/locales/es.yml +3 -7
- data/config/locales/eu.yml +0 -7
- data/config/locales/fi-plain.yml +3 -7
- data/config/locales/fi.yml +3 -7
- data/config/locales/fr-CA.yml +1 -7
- data/config/locales/fr-LU.yml +79 -0
- data/config/locales/fr.yml +1 -7
- data/config/locales/gl.yml +3 -7
- data/config/locales/hu.yml +0 -7
- data/config/locales/id-ID.yml +0 -7
- data/config/locales/is-IS.yml +0 -7
- data/config/locales/it.yml +4 -7
- data/config/locales/ja.yml +3 -7
- data/config/locales/lb-LU.yml +1 -0
- data/config/locales/lv.yml +0 -7
- data/config/locales/nl.yml +3 -7
- data/config/locales/no.yml +0 -7
- data/config/locales/pl.yml +3 -7
- data/config/locales/pt-BR.yml +10 -8
- data/config/locales/pt.yml +0 -7
- data/config/locales/ro-RO.yml +3 -7
- data/config/locales/ru.yml +0 -7
- data/config/locales/sk.yml +0 -7
- data/config/locales/sv.yml +4 -7
- data/config/locales/tr-TR.yml +0 -7
- data/config/locales/uk.yml +0 -7
- data/config/locales/zh-CN.yml +0 -7
- data/lib/decidim/blogs/component.rb +3 -3
- data/lib/decidim/blogs/engine.rb +0 -2
- data/lib/decidim/blogs/version.rb +1 -1
- metadata +24 -55
- data/config/locales/ja-JP.yml +0 -83
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64516bfa5d6933d21c066c2faf7a88bbfee71eb0909a39816f96e0f2cdd650e9
|
4
|
+
data.tar.gz: 3eb683aece58e9e9d80bbf8704e9bc8c742a15231aeb031f174c5ab760e1494c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab903913efd95d49d35c80ab67edc3a37360b00691222aab53e48a6cfb1053c8aaded026429e872549e5f22c69d2ee0679042c659d86a2a6f1637791e1769f1
|
7
|
+
data.tar.gz: e1627fa2ec459e190a5e53d686753611e3b4a1ef35fe46c4597965aabc8117e806fe43a1973ff80fe2b8ae91e6a9ae085a5e30b300e877ad56836a06b5b93ddf
|
@@ -10,8 +10,25 @@ module Decidim
|
|
10
10
|
translatable_attribute :title, String
|
11
11
|
translatable_attribute :body, String
|
12
12
|
|
13
|
+
attribute :user_group_id, Integer
|
14
|
+
|
13
15
|
validates :title, translatable_presence: true
|
14
16
|
validates :body, translatable_presence: true
|
17
|
+
|
18
|
+
def map_model(post)
|
19
|
+
self.user_group_id = post.author.id if post.author.is_a?(Decidim::UserGroup)
|
20
|
+
end
|
21
|
+
|
22
|
+
def user_group
|
23
|
+
@user_group ||= Decidim::UserGroup.find_by(
|
24
|
+
organization: current_organization,
|
25
|
+
id: user_group_id.to_i
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
def author
|
30
|
+
user_group || current_user
|
31
|
+
end
|
15
32
|
end
|
16
33
|
end
|
17
34
|
end
|
@@ -10,7 +10,7 @@ module Decidim
|
|
10
10
|
include Decidim::HasAttachmentCollections
|
11
11
|
include Decidim::HasComponent
|
12
12
|
include Decidim::Authorable
|
13
|
-
include Decidim::Comments::
|
13
|
+
include Decidim::Comments::CommentableWithComponent
|
14
14
|
include Decidim::Searchable
|
15
15
|
include Decidim::Endorsable
|
16
16
|
include Decidim::Followable
|
@@ -39,16 +39,6 @@ module Decidim
|
|
39
39
|
participatory_space.try(:visible?) && component.try(:published?)
|
40
40
|
end
|
41
41
|
|
42
|
-
# Public: Overrides the `commentable?` Commentable concern method.
|
43
|
-
def commentable?
|
44
|
-
component.settings.comments_enabled?
|
45
|
-
end
|
46
|
-
|
47
|
-
# Public: Overrides the `accepts_new_comments?` Commentable concern method.
|
48
|
-
def accepts_new_comments?
|
49
|
-
commentable? && !component.current_settings.comments_blocked
|
50
|
-
end
|
51
|
-
|
52
42
|
# Public: Overrides the `comments_have_alignment?` Commentable concern method.
|
53
43
|
def comments_have_alignment?
|
54
44
|
true
|
@@ -59,13 +49,13 @@ module Decidim
|
|
59
49
|
true
|
60
50
|
end
|
61
51
|
|
62
|
-
|
63
|
-
|
52
|
+
# Public: Overrides the `allow_resource_permissions?` Resourceable concern method.
|
53
|
+
def allow_resource_permissions?
|
54
|
+
true
|
64
55
|
end
|
65
56
|
|
66
|
-
|
67
|
-
|
68
|
-
can_participate_in_space?(user)
|
57
|
+
def official?
|
58
|
+
author.nil?
|
69
59
|
end
|
70
60
|
|
71
61
|
def users_to_notify_on_comment_created
|
data/app/{assets/images/decidim/blogs/icon.svg → packs/images/decidim/blogs/decidim_blogs.svg}
RENAMED
File without changes
|
@@ -3,6 +3,11 @@
|
|
3
3
|
<h2 class="card-title"><%= title %></h2>
|
4
4
|
</div>
|
5
5
|
<div class="card-section">
|
6
|
+
<% if current_organization.user_groups_enabled? && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %>
|
7
|
+
<div class="field">
|
8
|
+
<%= user_group_select_field form, :user_group_id, label: t("decidim.blogs.actions.user_group_id") %>
|
9
|
+
</div>
|
10
|
+
<% end %>
|
6
11
|
<div class="row column">
|
7
12
|
<%= form.translated :text_field, :title, autofocus: true %>
|
8
13
|
</div>
|
@@ -47,6 +47,8 @@
|
|
47
47
|
<%= icon_link_to "paperclip", post_attachments_path(post), t("actions.attachments", scope: "decidim.meetings"), class: "action-icon--attachments" %>
|
48
48
|
<% end %>
|
49
49
|
|
50
|
+
<%= resource_permissions_link(post) %>
|
51
|
+
|
50
52
|
<% if allowed_to? :destroy, :blogpost, blog_post: post %>
|
51
53
|
<%= icon_link_to "circle-x", post_path(post), t("actions.destroy", scope: "decidim.blogs"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.blogs") } %>
|
52
54
|
<% end %>
|
@@ -9,7 +9,7 @@
|
|
9
9
|
</h3>
|
10
10
|
<% end %>
|
11
11
|
<div class="card__author">
|
12
|
-
<%= cell "decidim/author", present(post.author), from: post %>
|
12
|
+
<%= cell "decidim/author", present(post.author), from: post, has_actions: true %>
|
13
13
|
</div>
|
14
14
|
</div>
|
15
15
|
<%= decidim_sanitize post_description(post) %>
|
data/config/assets.rb
ADDED
data/config/locales/ar.yml
CHANGED
@@ -74,10 +74,3 @@ ar:
|
|
74
74
|
email_outro: لقد تلقيت هذا الإشعار لأنك تتابع "%{participatory_space_title}". يمكنك إلغاء تتبعه من الرابط السابق.
|
75
75
|
email_subject: منشور جديد منشور في %{participatory_space_title}
|
76
76
|
notification_title: تم نشر المنشور <a href="%{resource_path}">%{resource_title}</a> في %{participatory_space_title}
|
77
|
-
pages:
|
78
|
-
home:
|
79
|
-
statistics:
|
80
|
-
posts_count: المشاركات
|
81
|
-
participatory_processes:
|
82
|
-
statistics:
|
83
|
-
posts_count: المشاركات
|
data/config/locales/ca.yml
CHANGED
@@ -15,6 +15,7 @@ ca:
|
|
15
15
|
edit: Edita
|
16
16
|
new: Nova publicació
|
17
17
|
title: Accions
|
18
|
+
user_group_id: Crear publicació com
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ ca:
|
|
76
77
|
email_outro: Has rebut aquesta notificació perquè estàs seguint "%{participatory_space_title}". Pots deixar de seguir-lo des de l'enllaç anterior.
|
77
78
|
email_subject: Nova publicació publicada a %{participatory_space_title}
|
78
79
|
notification_title: La publicació <a href="%{resource_path}">%{resource_title}</a> ha estat publicada a %{participatory_space_title}
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Publicacions
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Publicacions
|
80
|
+
statistics:
|
81
|
+
posts_count: Publicacions
|
data/config/locales/cs.yml
CHANGED
@@ -17,6 +17,7 @@ cs:
|
|
17
17
|
edit: Upravit
|
18
18
|
new: Nový příspěvek
|
19
19
|
title: Akce
|
20
|
+
user_group_id: Vytvořit příspěvek jako
|
20
21
|
admin:
|
21
22
|
models:
|
22
23
|
components:
|
@@ -78,10 +79,5 @@ cs:
|
|
78
79
|
email_outro: Obdrželi jste toto oznámení, protože sledujete "%{participatory_space_title}". Můžete ho zrušit z předchozího odkazu.
|
79
80
|
email_subject: Nový příspěvek publikován v %{participatory_space_title}
|
80
81
|
notification_title: Příspěvek <a href="%{resource_path}">%{resource_title}</a> byl zveřejněn ve %{participatory_space_title}
|
81
|
-
|
82
|
-
|
83
|
-
statistics:
|
84
|
-
posts_count: Příspěvky
|
85
|
-
participatory_processes:
|
86
|
-
statistics:
|
87
|
-
posts_count: Příspěvky
|
82
|
+
statistics:
|
83
|
+
posts_count: Příspěvky
|
data/config/locales/de.yml
CHANGED
@@ -15,6 +15,7 @@ de:
|
|
15
15
|
edit: Bearbeiten
|
16
16
|
new: Neuer Beitrag
|
17
17
|
title: Aktionen
|
18
|
+
user_group_id: Beitrag erstellen als
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ de:
|
|
76
77
|
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.
|
77
78
|
email_subject: Neuer Beitrag in %{participatory_space_title}
|
78
79
|
notification_title: Der Beitrag <a href="%{resource_path}">%{resource_title}</a> wurde in %{participatory_space_title} veröffentlicht
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Beiträge
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Beiträge
|
80
|
+
statistics:
|
81
|
+
posts_count: Beiträge
|
data/config/locales/el.yml
CHANGED
@@ -75,10 +75,3 @@ el:
|
|
75
75
|
email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον χώρο συμμετοχής «%{participatory_space_title}». Μπορείτε να σταματήσετε να τον ακολουθείτε από τον προηγούμενο σύνδεσμο.
|
76
76
|
email_subject: Νέα δημοσίευση δημοσιεύτηκε στον χώρο συμμετοχής %{participatory_space_title}
|
77
77
|
notification_title: Η δημοσίευση <a href="%{resource_path}">%{resource_title}</a> δημοσιεύτηκε στον χώρο συμμετοχής %{participatory_space_title}
|
78
|
-
pages:
|
79
|
-
home:
|
80
|
-
statistics:
|
81
|
-
posts_count: Δημοσιεύσεις
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Δημοσιεύσεις
|
data/config/locales/en.yml
CHANGED
@@ -16,6 +16,7 @@ en:
|
|
16
16
|
edit: Edit
|
17
17
|
new: New post
|
18
18
|
title: Actions
|
19
|
+
user_group_id: Create post as
|
19
20
|
admin:
|
20
21
|
models:
|
21
22
|
components:
|
@@ -59,6 +60,11 @@ en:
|
|
59
60
|
read_more: Read more
|
60
61
|
components:
|
61
62
|
blogs:
|
63
|
+
actions:
|
64
|
+
amend: Amend
|
65
|
+
comment: Comment
|
66
|
+
endorse: Endorse
|
67
|
+
vote: Vote
|
62
68
|
name: Blog
|
63
69
|
settings:
|
64
70
|
global:
|
@@ -77,10 +83,5 @@ en:
|
|
77
83
|
email_outro: You have received this notification because you are following "%{participatory_space_title}". You can unfollow it from the previous link.
|
78
84
|
email_subject: New post published in %{participatory_space_title}
|
79
85
|
notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
|
80
|
-
|
81
|
-
|
82
|
-
statistics:
|
83
|
-
posts_count: Posts
|
84
|
-
participatory_processes:
|
85
|
-
statistics:
|
86
|
-
posts_count: Posts
|
86
|
+
statistics:
|
87
|
+
posts_count: Posts
|
data/config/locales/es-MX.yml
CHANGED
@@ -15,6 +15,7 @@ es-MX:
|
|
15
15
|
edit: Editar
|
16
16
|
new: Nueva publicación
|
17
17
|
title: Comportamiento
|
18
|
+
user_group_id: Crear publicación como
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ es-MX:
|
|
76
77
|
email_outro: Recibió esta notificación porque está siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
|
77
78
|
email_subject: Nueva publicación publicada en %{participatory_space_title}
|
78
79
|
notification_title: La publicación <a href="%{resource_path}">%{resource_title}</a> se publicó en %{participatory_space_title}.
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Publicaciones
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Publicaciones
|
80
|
+
statistics:
|
81
|
+
posts_count: Publicaciones
|
data/config/locales/es-PY.yml
CHANGED
@@ -15,6 +15,7 @@ es-PY:
|
|
15
15
|
edit: Editar
|
16
16
|
new: Nueva publicación
|
17
17
|
title: Comportamiento
|
18
|
+
user_group_id: Crear publicación como
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ es-PY:
|
|
76
77
|
email_outro: Recibió esta notificación porque está siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
|
77
78
|
email_subject: Nueva publicación publicada en %{participatory_space_title}
|
78
79
|
notification_title: La publicación <a href="%{resource_path}">%{resource_title}</a> se publicó en %{participatory_space_title}.
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Publicaciones
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Publicaciones
|
80
|
+
statistics:
|
81
|
+
posts_count: Publicaciones
|
data/config/locales/es.yml
CHANGED
@@ -15,6 +15,7 @@ es:
|
|
15
15
|
edit: Editar
|
16
16
|
new: Nueva publicación
|
17
17
|
title: Acciones
|
18
|
+
user_group_id: Crear publicación como
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ es:
|
|
76
77
|
email_outro: Recibió esta notificación porque está siguiendo "%{participatory_space_title}". Puedes dejar de seguirlo desde el enlace anterior.
|
77
78
|
email_subject: Nueva publicación publicada en %{participatory_space_title}
|
78
79
|
notification_title: La publicación <a href="%{resource_path}">%{resource_title}</a> se publicó en %{participatory_space_title}.
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Publicaciones
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Publicaciones
|
80
|
+
statistics:
|
81
|
+
posts_count: Publicaciones
|
data/config/locales/eu.yml
CHANGED
@@ -70,10 +70,3 @@ eu:
|
|
70
70
|
email_outro: Jakinarazpena jaso duzu "%{participatory_space_title}" jarraitzen ari zarenagatik. Aurreko esteka estekan jarrai dezakezu.
|
71
71
|
email_subject: '%{participatory_space_title} urtean argitaratutako mezu berria'
|
72
72
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> post %{participatory_space_title} argitaratu da
|
73
|
-
pages:
|
74
|
-
home:
|
75
|
-
statistics:
|
76
|
-
posts_count: Mezuak
|
77
|
-
participatory_processes:
|
78
|
-
statistics:
|
79
|
-
posts_count: Mezuak
|
data/config/locales/fi-plain.yml
CHANGED
@@ -15,6 +15,7 @@ fi-pl:
|
|
15
15
|
edit: Muokkaa
|
16
16
|
new: Uusi artikkeli
|
17
17
|
title: Toiminnot
|
18
|
+
user_group_id: Luo artikkeli käyttäjänä
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ fi-pl:
|
|
76
77
|
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta "%{participatory_space_title}". Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
|
77
78
|
email_subject: Uusi artikkeli julkaistiin tilassa %{participatory_space_title}
|
78
79
|
notification_title: Kohteessa %{participatory_space_title} on julkaistu artikkeli <a href="%{resource_path}">%{resource_title}</a>
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Artikkelit
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Artikkelit
|
80
|
+
statistics:
|
81
|
+
posts_count: Artikkelia
|
data/config/locales/fi.yml
CHANGED
@@ -15,6 +15,7 @@ fi:
|
|
15
15
|
edit: Muokkaa
|
16
16
|
new: Uusi artikkeli
|
17
17
|
title: Toiminnot
|
18
|
+
user_group_id: Luo artikkeli käyttäjänä
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ fi:
|
|
76
77
|
email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat kohdetta "%{participatory_space_title}". Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
|
77
78
|
email_subject: Uusi artikkeli julkaistiin osallistumistilassa %{participatory_space_title}
|
78
79
|
notification_title: Kohteessa %{participatory_space_title} on julkaistu artikkeli <a href="%{resource_path}">%{resource_title}</a>
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Artikkelit
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Artikkelit
|
80
|
+
statistics:
|
81
|
+
posts_count: Artikkelia
|
data/config/locales/fr-CA.yml
CHANGED
@@ -15,6 +15,7 @@ fr-CA:
|
|
15
15
|
edit: Modifier
|
16
16
|
new: Nouvel article
|
17
17
|
title: Actions
|
18
|
+
user_group_id: Créer un article comme
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,3 @@ fr-CA:
|
|
76
77
|
email_outro: Vous avez reçu cette notification parce que vous suivez "%{participatory_space_title}". Vous pouvez le retirer du lien précédent.
|
77
78
|
email_subject: Nouvel article publié dans %{participatory_space_title}
|
78
79
|
notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
|
79
|
-
pages:
|
80
|
-
home:
|
81
|
-
statistics:
|
82
|
-
posts_count: Articles
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Articles
|
@@ -0,0 +1,79 @@
|
|
1
|
+
fr-LU:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/blogs/create_post_event: Nouvel article
|
5
|
+
activerecord:
|
6
|
+
models:
|
7
|
+
decidim/blogs/post:
|
8
|
+
one: Article
|
9
|
+
other: Articles
|
10
|
+
decidim:
|
11
|
+
blogs:
|
12
|
+
actions:
|
13
|
+
confirm_destroy: Êtes-vous certain de vouloir supprimer cet article ?
|
14
|
+
destroy: Supprimer
|
15
|
+
edit: Modifier
|
16
|
+
new: Nouvel article
|
17
|
+
title: Actions
|
18
|
+
user_group_id: Créer un article comme
|
19
|
+
admin:
|
20
|
+
models:
|
21
|
+
components:
|
22
|
+
body: Corps du texte
|
23
|
+
post:
|
24
|
+
name: Publier
|
25
|
+
posts:
|
26
|
+
create:
|
27
|
+
invalid: Un problème est survenu lors de la création de cet article
|
28
|
+
success: Article créé avec succès
|
29
|
+
destroy:
|
30
|
+
success: Article supprimé avec succès
|
31
|
+
edit:
|
32
|
+
save: Mettre à jour
|
33
|
+
title: Éditer le post
|
34
|
+
index:
|
35
|
+
title: Articles
|
36
|
+
new:
|
37
|
+
create: Créer
|
38
|
+
title: Créer un article
|
39
|
+
update:
|
40
|
+
invalid: Il y a eu des erreurs lors de l'enregistrement de l'article.
|
41
|
+
success: Article enregistré avec succès
|
42
|
+
last_activity:
|
43
|
+
new_post_at_html: "<span>Nouvel article à %{link}</span>"
|
44
|
+
models:
|
45
|
+
post:
|
46
|
+
fields:
|
47
|
+
author: Auteur
|
48
|
+
body: Corps du texte
|
49
|
+
created_at: Créé à
|
50
|
+
title: titre
|
51
|
+
posts:
|
52
|
+
show:
|
53
|
+
back: Retour à la liste
|
54
|
+
comments: Commentaires
|
55
|
+
view: Voir
|
56
|
+
sidebar_blog:
|
57
|
+
comments: commentaires
|
58
|
+
most_commented_posts: Articles les plus commentés
|
59
|
+
read_more: Voir la suite
|
60
|
+
components:
|
61
|
+
blogs:
|
62
|
+
name: Actualités
|
63
|
+
settings:
|
64
|
+
global:
|
65
|
+
announcement: Annonce
|
66
|
+
comments_enabled: Activer le module de commentaire
|
67
|
+
comments_max_length: Longueur max des commentaires (laisser 0 pour la valeur par défaut)
|
68
|
+
step:
|
69
|
+
announcement: Annonce
|
70
|
+
comments_blocked: Commentaires désactivés
|
71
|
+
endorsements_blocked: Soutiens bloqués
|
72
|
+
endorsements_enabled: Soutiens activés
|
73
|
+
events:
|
74
|
+
blogs:
|
75
|
+
post_created:
|
76
|
+
email_intro: L'article "%{resource_title}" a été publié dans "%{participatory_space_title}" que vous suivez.
|
77
|
+
email_outro: Vous avez reçu cette notification parce que vous suivez "%{participatory_space_title}". Vous pouvez le retirer du lien précédent.
|
78
|
+
email_subject: Nouvel article publié dans %{participatory_space_title}
|
79
|
+
notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
|
data/config/locales/fr.yml
CHANGED
@@ -15,6 +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
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,3 @@ fr:
|
|
76
77
|
email_outro: Vous avez reçu cette notification parce que vous suivez "%{participatory_space_title}". Vous pouvez le retirer du lien précédent.
|
77
78
|
email_subject: Nouvel article publié dans %{participatory_space_title}
|
78
79
|
notification_title: L'article <a href="%{resource_path}">%{resource_title}</a> a été publié dans %{participatory_space_title}
|
79
|
-
pages:
|
80
|
-
home:
|
81
|
-
statistics:
|
82
|
-
posts_count: Articles
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Articles
|
data/config/locales/gl.yml
CHANGED
@@ -15,6 +15,7 @@ gl:
|
|
15
15
|
edit: Editar
|
16
16
|
new: Nova publicación
|
17
17
|
title: Accións
|
18
|
+
user_group_id: Crear publicación como
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ gl:
|
|
76
77
|
email_outro: Recibiches esta notificación porque estás seguindo "%{participatory_space_title}". Podes deixar de seguir dende a ligazón anterior.
|
77
78
|
email_subject: Nova publicación publicada en %{participatory_space_title}
|
78
79
|
notification_title: A publicación <a href="%{resource_path}">%{resource_title}</a> publicouse en %{participatory_space_title}
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: Publicacións
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Publicacións
|
80
|
+
statistics:
|
81
|
+
posts_count: Publicacións
|
data/config/locales/hu.yml
CHANGED
@@ -74,10 +74,3 @@ hu:
|
|
74
74
|
email_outro: 'Ezt az értesítést azért kaptad, mert ezt követed: "%{participatory_space_title}". Leiratkozás az előző link segítségével.'
|
75
75
|
email_subject: 'Új bejegyzés ehhez: %{participatory_space_title}'
|
76
76
|
notification_title: 'A(z) <a href="%{resource_path}">%{resource_title}</a> bejegyzés közzétéve itt: %{participatory_space_title}'
|
77
|
-
pages:
|
78
|
-
home:
|
79
|
-
statistics:
|
80
|
-
posts_count: Bejegyzések
|
81
|
-
participatory_processes:
|
82
|
-
statistics:
|
83
|
-
posts_count: Bejegyzések
|
data/config/locales/id-ID.yml
CHANGED
@@ -69,10 +69,3 @@ id:
|
|
69
69
|
email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti "%{participatory_space_title}". Anda dapat berhenti mengikutinya dari tautan sebelumnya.
|
70
70
|
email_subject: Posting baru diterbitkan pada %{participatory_space_title}
|
71
71
|
notification_title: Posting <a href="%{resource_path}">%{resource_title}</a> telah diterbitkan dalam %{participatory_space_title}
|
72
|
-
pages:
|
73
|
-
home:
|
74
|
-
statistics:
|
75
|
-
posts_count: Posting
|
76
|
-
participatory_processes:
|
77
|
-
statistics:
|
78
|
-
posts_count: Posting
|
data/config/locales/is-IS.yml
CHANGED
@@ -51,10 +51,3 @@ is-IS:
|
|
51
51
|
email_outro: Þú hefur fengið þessa tilkynningu vegna þess að þú fylgist með "%{participatory_space_title}". Þú getur sleppt því frá fyrri tengilinn.
|
52
52
|
email_subject: Ný staða birt í %{participatory_space_title}
|
53
53
|
notification_title: Staða <a href="%{resource_path}">%{resource_title}</a> hefur verið birt í %{participatory_space_title}
|
54
|
-
pages:
|
55
|
-
home:
|
56
|
-
statistics:
|
57
|
-
posts_count: Innlegg
|
58
|
-
participatory_processes:
|
59
|
-
statistics:
|
60
|
-
posts_count: Innlegg
|
data/config/locales/it.yml
CHANGED
@@ -15,6 +15,7 @@ it:
|
|
15
15
|
edit: Modifica
|
16
16
|
new: Nuovo post
|
17
17
|
title: Azioni
|
18
|
+
user_group_id: Crea post come
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -29,6 +30,7 @@ it:
|
|
29
30
|
success: Posta cancellata con successo
|
30
31
|
edit:
|
31
32
|
save: Aggiornare
|
33
|
+
title: Modifica post
|
32
34
|
index:
|
33
35
|
title: Messaggi
|
34
36
|
new:
|
@@ -75,10 +77,5 @@ it:
|
|
75
77
|
email_outro: Hai ricevuto questa notifica perché stai seguendo "%{participatory_space_title}". Puoi smettere di seguirlo dal link precedente.
|
76
78
|
email_subject: Nuovo post pubblicato su %{participatory_space_title}
|
77
79
|
notification_title: Il post <a href="%{resource_path}">%{resource_title}</a> è stato pubblicato su %{participatory_space_title}
|
78
|
-
|
79
|
-
|
80
|
-
statistics:
|
81
|
-
posts_count: Messaggi
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Messaggi
|
80
|
+
statistics:
|
81
|
+
posts_count: Post
|
data/config/locales/ja.yml
CHANGED
@@ -14,6 +14,7 @@ ja:
|
|
14
14
|
edit: 編集
|
15
15
|
new: 新規投稿
|
16
16
|
title: アクション
|
17
|
+
user_group_id: 次のように投稿を作成
|
17
18
|
admin:
|
18
19
|
models:
|
19
20
|
components:
|
@@ -75,10 +76,5 @@ ja:
|
|
75
76
|
email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
|
76
77
|
email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
|
77
78
|
notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
|
78
|
-
|
79
|
-
|
80
|
-
statistics:
|
81
|
-
posts_count: 投稿
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: 投稿
|
79
|
+
statistics:
|
80
|
+
posts_count: 投稿
|
@@ -0,0 +1 @@
|
|
1
|
+
lb:
|
data/config/locales/lv.yml
CHANGED
@@ -75,10 +75,3 @@ lv:
|
|
75
75
|
email_outro: Jūs saņēmāt šo paziņojumu, jo sekojat "%{participatory_space_title}". Jūs varat atsekot tai no iepriekšējās saites.
|
76
76
|
email_subject: Telpā %{participatory_space_title} ir publicēta jauna ziņa
|
77
77
|
notification_title: Ziņa <a href="%{resource_path}">%{resource_title}</a> ir publicēta telpā %{participatory_space_title}
|
78
|
-
pages:
|
79
|
-
home:
|
80
|
-
statistics:
|
81
|
-
posts_count: Ziņas
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Ziņas
|
data/config/locales/nl.yml
CHANGED
@@ -15,6 +15,7 @@ nl:
|
|
15
15
|
edit: Bewerk
|
16
16
|
new: Nieuw bericht
|
17
17
|
title: acties
|
18
|
+
user_group_id: Bericht aanmaken als
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -76,10 +77,5 @@ nl:
|
|
76
77
|
email_outro: Je hebt deze melding ontvangen omdat je "%{participatory_space_title}" volgt. Ontvolgen kan door te klikken op de voorgaande link.
|
77
78
|
email_subject: Nieuw bericht gepubliceerd in %{participatory_space_title}
|
78
79
|
notification_title: Het bericht <a href="%{resource_path}">%{resource_title}</a> is gepubliceerd in %{participatory_space_title}
|
79
|
-
|
80
|
-
|
81
|
-
statistics:
|
82
|
-
posts_count: berichten
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: berichten
|
80
|
+
statistics:
|
81
|
+
posts_count: Berichten
|
data/config/locales/no.yml
CHANGED
@@ -75,10 +75,3 @@
|
|
75
75
|
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
76
|
email_subject: Nytt innlegg publisert i %{participatory_space_title}
|
77
77
|
notification_title: Innlegget <a href="%{resource_path}">%{resource_title}</a> er blitt publisert til %{participatory_space_title}
|
78
|
-
pages:
|
79
|
-
home:
|
80
|
-
statistics:
|
81
|
-
posts_count: Innlegg
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Innlegg
|
data/config/locales/pl.yml
CHANGED
@@ -17,6 +17,7 @@ pl:
|
|
17
17
|
edit: Edytuj
|
18
18
|
new: Nowy wpis
|
19
19
|
title: Działania
|
20
|
+
user_group_id: Utwórz wpis jako
|
20
21
|
admin:
|
21
22
|
models:
|
22
23
|
components:
|
@@ -78,10 +79,5 @@ pl:
|
|
78
79
|
email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz "%{participatory_space_title}". Możesz zrezygnować z obserwowania klikając w poprzedni link.
|
79
80
|
email_subject: Opublikowano nowy wpis w %{participatory_space_title}
|
80
81
|
notification_title: Wpis <a href="%{resource_path}">%{resource_title}</a> został opublikowany w %{participatory_space_title}
|
81
|
-
|
82
|
-
|
83
|
-
statistics:
|
84
|
-
posts_count: Wpisy
|
85
|
-
participatory_processes:
|
86
|
-
statistics:
|
87
|
-
posts_count: Wpisy
|
82
|
+
statistics:
|
83
|
+
posts_count: Wpisy
|
data/config/locales/pt-BR.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
pt:
|
2
2
|
activemodel:
|
3
3
|
models:
|
4
|
-
decidim/blogs/create_post_event:
|
4
|
+
decidim/blogs/create_post_event: Nova postagem no blog
|
5
5
|
activerecord:
|
6
6
|
models:
|
7
7
|
decidim/blogs/post:
|
@@ -15,6 +15,7 @@ pt:
|
|
15
15
|
edit: Editar
|
16
16
|
new: Nova postagem
|
17
17
|
title: Ações
|
18
|
+
user_group_id: Criar publicação como
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -29,6 +30,7 @@ pt:
|
|
29
30
|
success: Postagem excluída com sucesso
|
30
31
|
edit:
|
31
32
|
save: Atualizar
|
33
|
+
title: Editar publicação
|
32
34
|
index:
|
33
35
|
title: Postagens
|
34
36
|
new:
|
@@ -48,6 +50,8 @@ pt:
|
|
48
50
|
title: título
|
49
51
|
posts:
|
50
52
|
show:
|
53
|
+
back: Voltar para a lista
|
54
|
+
comments: Comentários
|
51
55
|
view: Visualizar
|
52
56
|
sidebar_blog:
|
53
57
|
comments: comentários
|
@@ -60,9 +64,12 @@ pt:
|
|
60
64
|
global:
|
61
65
|
announcement: Anúncio
|
62
66
|
comments_enabled: Comentários ativados
|
67
|
+
comments_max_length: Tamanho máximo de comentários (deixe 0 para o valor padrão)
|
63
68
|
step:
|
64
69
|
announcement: Anúncio
|
65
70
|
comments_blocked: Comentários bloqueados
|
71
|
+
endorsements_blocked: Endossos bloqueados
|
72
|
+
endorsements_enabled: Endossos ativados
|
66
73
|
events:
|
67
74
|
blogs:
|
68
75
|
post_created:
|
@@ -70,10 +77,5 @@ pt:
|
|
70
77
|
email_outro: Você recebeu esta notificação porque está seguindo "%{participatory_space_title}". Você pode deixar de segui-lo no link anterior.
|
71
78
|
email_subject: Nova postagem publicada em %{participatory_space_title}
|
72
79
|
notification_title: A postagem <a href="%{resource_path}">%{resource_title}</a> foi publicada em %{participatory_space_title}
|
73
|
-
|
74
|
-
|
75
|
-
statistics:
|
76
|
-
posts_count: Postagens
|
77
|
-
participatory_processes:
|
78
|
-
statistics:
|
79
|
-
posts_count: Postagens
|
80
|
+
statistics:
|
81
|
+
posts_count: Postagens
|
data/config/locales/pt.yml
CHANGED
@@ -75,10 +75,3 @@ pt:
|
|
75
75
|
email_outro: Recebeu esta notificação porque segue "%{participatory_space_title}". Pode deixar de segui-lo através da hiperligação anterior.
|
76
76
|
email_subject: Nova publicação publicada em %{participatory_space_title}
|
77
77
|
notification_title: A publicação <a href="%{resource_path}">%{resource_title}</a> foi publicada em %{participatory_space_title}
|
78
|
-
pages:
|
79
|
-
home:
|
80
|
-
statistics:
|
81
|
-
posts_count: Publicações
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Publicações
|
data/config/locales/ro-RO.yml
CHANGED
@@ -16,6 +16,7 @@ ro:
|
|
16
16
|
edit: Editare
|
17
17
|
new: Postare nouă
|
18
18
|
title: Acțiuni
|
19
|
+
user_group_id: Creează postare ca
|
19
20
|
admin:
|
20
21
|
models:
|
21
22
|
components:
|
@@ -77,10 +78,5 @@ ro:
|
|
77
78
|
email_outro: Ați primit această notificare deoarece urmăriți „%{participatory_space_title}”. O puteți anula de la link-ul anterior.
|
78
79
|
email_subject: Postare nouă publicată în %{participatory_space_title}
|
79
80
|
notification_title: Postarea <a href="%{resource_path}">%{resource_title}</a> a fost publicată în %{participatory_space_title}
|
80
|
-
|
81
|
-
|
82
|
-
statistics:
|
83
|
-
posts_count: Mesaje
|
84
|
-
participatory_processes:
|
85
|
-
statistics:
|
86
|
-
posts_count: Mesaje
|
81
|
+
statistics:
|
82
|
+
posts_count: Postări
|
data/config/locales/ru.yml
CHANGED
@@ -72,10 +72,3 @@ ru:
|
|
72
72
|
email_outro: Вы получили это уведомление, потому что вы следите за «%{participatory_space_title}». Вы можете перестать за ним следить, перейдя по приведенной выше ссылке.
|
73
73
|
email_subject: В %{participatory_space_title} обнародован новый пост
|
74
74
|
notification_title: В %{participatory_space_title} был обнародован пост <a href="%{resource_path}">%{resource_title}</a>
|
75
|
-
pages:
|
76
|
-
home:
|
77
|
-
statistics:
|
78
|
-
posts_count: Посты
|
79
|
-
participatory_processes:
|
80
|
-
statistics:
|
81
|
-
posts_count: Посты
|
data/config/locales/sk.yml
CHANGED
@@ -76,10 +76,3 @@ sk:
|
|
76
76
|
email_outro: Túto notifikáciu ste dostali, pretože sledujete priestor "%{participatory_space_title}". Notifikácie môžete zrušiť po kliknutí na predchádzajúci odkaz.
|
77
77
|
email_subject: Nový príspevok publikovaný v %{participatory_space_title}
|
78
78
|
notification_title: Príspevok <a href="%{resource_path}">%{resource_title}</a> bol publikovaný v %{participatory_space_title}
|
79
|
-
pages:
|
80
|
-
home:
|
81
|
-
statistics:
|
82
|
-
posts_count: Príspevky
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Príspevky
|
data/config/locales/sv.yml
CHANGED
@@ -15,6 +15,7 @@ sv:
|
|
15
15
|
edit: Redigera
|
16
16
|
new: Nytt inlägg
|
17
17
|
title: Åtgärder
|
18
|
+
user_group_id: Skapa inlägg som
|
18
19
|
admin:
|
19
20
|
models:
|
20
21
|
components:
|
@@ -29,6 +30,7 @@ sv:
|
|
29
30
|
success: Inlägget har raderats
|
30
31
|
edit:
|
31
32
|
save: Uppdatera
|
33
|
+
title: Redigera inlägg
|
32
34
|
index:
|
33
35
|
title: Inlägg
|
34
36
|
new:
|
@@ -75,10 +77,5 @@ sv:
|
|
75
77
|
email_outro: Du har fått det här meddelandet eftersom du följer "%{participatory_space_title}". Du kan sluta att följa det från den föregående länken.
|
76
78
|
email_subject: Ett nytt inlägg har publicerats i %{participatory_space_title}
|
77
79
|
notification_title: Inlägget <a href="%{resource_path}">%{resource_title}</a> har publicerats i %{participatory_space_title}
|
78
|
-
|
79
|
-
|
80
|
-
statistics:
|
81
|
-
posts_count: Inlägg
|
82
|
-
participatory_processes:
|
83
|
-
statistics:
|
84
|
-
posts_count: Inlägg
|
80
|
+
statistics:
|
81
|
+
posts_count: Inlägg
|
data/config/locales/tr-TR.yml
CHANGED
@@ -76,10 +76,3 @@ tr:
|
|
76
76
|
email_outro: Bu bildirimi aldınız çünkü "%{participatory_space_title}" u takip ediyorsun. Bunu önceki linkten takip edebilirsiniz.
|
77
77
|
email_subject: '%{participatory_space_title}yayınlanan yeni gönderi'
|
78
78
|
notification_title: <a href="%{resource_path}">%{resource_title}</a> sonrası %{participatory_space_title}olarak yayınlandı.
|
79
|
-
pages:
|
80
|
-
home:
|
81
|
-
statistics:
|
82
|
-
posts_count: Mesajlar
|
83
|
-
participatory_processes:
|
84
|
-
statistics:
|
85
|
-
posts_count: Mesajlar
|
data/config/locales/uk.yml
CHANGED
@@ -70,10 +70,3 @@ uk:
|
|
70
70
|
email_outro: Ви отримали це сповіщення, тому що ви стежите за "%{participatory_space_title}". Ви можете припинити стежити за ним, перейшовши за наведеним вище посиланням.
|
71
71
|
email_subject: В %{participatory_space_title} оприлюднено новий допис
|
72
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: Дописи
|
data/config/locales/zh-CN.yml
CHANGED
@@ -74,10 +74,3 @@ zh-CN:
|
|
74
74
|
email_outro: 您收到此通知是因为您正在关注 "%{participatory_space_title}"。您可以从上一个链接取消关注它。
|
75
75
|
email_subject: 新帖子发布于 %{participatory_space_title}
|
76
76
|
notification_title: 帖子 <a href="%{resource_path}">%{resource_title}</a> 已经在 %{participatory_space_title} 中发布
|
77
|
-
pages:
|
78
|
-
home:
|
79
|
-
statistics:
|
80
|
-
posts_count: 员额
|
81
|
-
participatory_processes:
|
82
|
-
statistics:
|
83
|
-
posts_count: 员额
|
@@ -5,7 +5,7 @@ require "decidim/components/namer"
|
|
5
5
|
Decidim.register_component(:blogs) do |component|
|
6
6
|
component.engine = Decidim::Blogs::Engine
|
7
7
|
component.admin_engine = Decidim::Blogs::AdminEngine
|
8
|
-
component.icon = "
|
8
|
+
component.icon = "media/images/decidim_blogs.svg"
|
9
9
|
component.permissions_class_name = "Decidim::Blog::Permissions"
|
10
10
|
|
11
11
|
component.query_type = "Decidim::Blogs::BlogsType"
|
@@ -18,7 +18,7 @@ Decidim.register_component(:blogs) do |component|
|
|
18
18
|
Decidim::Blogs::Post.where(component: components).count
|
19
19
|
end
|
20
20
|
|
21
|
-
component.actions = %w(endorse vote create withdraw amend)
|
21
|
+
component.actions = %w(endorse vote create withdraw amend comment)
|
22
22
|
|
23
23
|
component.settings(:global) do |settings|
|
24
24
|
settings.attribute :announcement, type: :text, translated: true, editor: true
|
@@ -36,7 +36,7 @@ Decidim.register_component(:blogs) do |component|
|
|
36
36
|
component.register_resource(:blogpost) do |resource|
|
37
37
|
resource.model_class_name = "Decidim::Blogs::Post"
|
38
38
|
resource.card = "decidim/blogs/post"
|
39
|
-
resource.actions = %w(endorse vote amend)
|
39
|
+
resource.actions = %w(endorse vote amend comment)
|
40
40
|
resource.searchable = true
|
41
41
|
end
|
42
42
|
|
data/lib/decidim/blogs/engine.rb
CHANGED
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.
|
4
|
+
version: 0.25.0.rc1
|
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: 2021-
|
11
|
+
date: 2021-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: decidim-admin
|
@@ -16,132 +16,98 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.25.0.rc1
|
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.
|
26
|
+
version: 0.25.0.rc1
|
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.
|
33
|
+
version: 0.25.0.rc1
|
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.
|
40
|
+
version: 0.25.0.rc1
|
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.
|
47
|
+
version: 0.25.0.rc1
|
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.
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: jquery-tmpl-rails
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.1'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '1.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: kaminari
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.2'
|
76
|
-
- - ">="
|
77
|
-
- !ruby/object:Gem::Version
|
78
|
-
version: 1.2.1
|
79
|
-
type: :runtime
|
80
|
-
prerelease: false
|
81
|
-
version_requirements: !ruby/object:Gem::Requirement
|
82
|
-
requirements:
|
83
|
-
- - "~>"
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version: '1.2'
|
86
|
-
- - ">="
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 1.2.1
|
54
|
+
version: 0.25.0.rc1
|
89
55
|
- !ruby/object:Gem::Dependency
|
90
56
|
name: decidim-admin
|
91
57
|
requirement: !ruby/object:Gem::Requirement
|
92
58
|
requirements:
|
93
59
|
- - '='
|
94
60
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
61
|
+
version: 0.25.0.rc1
|
96
62
|
type: :development
|
97
63
|
prerelease: false
|
98
64
|
version_requirements: !ruby/object:Gem::Requirement
|
99
65
|
requirements:
|
100
66
|
- - '='
|
101
67
|
- !ruby/object:Gem::Version
|
102
|
-
version: 0.
|
68
|
+
version: 0.25.0.rc1
|
103
69
|
- !ruby/object:Gem::Dependency
|
104
70
|
name: decidim-assemblies
|
105
71
|
requirement: !ruby/object:Gem::Requirement
|
106
72
|
requirements:
|
107
73
|
- - '='
|
108
74
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
75
|
+
version: 0.25.0.rc1
|
110
76
|
type: :development
|
111
77
|
prerelease: false
|
112
78
|
version_requirements: !ruby/object:Gem::Requirement
|
113
79
|
requirements:
|
114
80
|
- - '='
|
115
81
|
- !ruby/object:Gem::Version
|
116
|
-
version: 0.
|
82
|
+
version: 0.25.0.rc1
|
117
83
|
- !ruby/object:Gem::Dependency
|
118
84
|
name: decidim-dev
|
119
85
|
requirement: !ruby/object:Gem::Requirement
|
120
86
|
requirements:
|
121
87
|
- - '='
|
122
88
|
- !ruby/object:Gem::Version
|
123
|
-
version: 0.
|
89
|
+
version: 0.25.0.rc1
|
124
90
|
type: :development
|
125
91
|
prerelease: false
|
126
92
|
version_requirements: !ruby/object:Gem::Requirement
|
127
93
|
requirements:
|
128
94
|
- - '='
|
129
95
|
- !ruby/object:Gem::Version
|
130
|
-
version: 0.
|
96
|
+
version: 0.25.0.rc1
|
131
97
|
- !ruby/object:Gem::Dependency
|
132
98
|
name: decidim-participatory_processes
|
133
99
|
requirement: !ruby/object:Gem::Requirement
|
134
100
|
requirements:
|
135
101
|
- - '='
|
136
102
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.
|
103
|
+
version: 0.25.0.rc1
|
138
104
|
type: :development
|
139
105
|
prerelease: false
|
140
106
|
version_requirements: !ruby/object:Gem::Requirement
|
141
107
|
requirements:
|
142
108
|
- - '='
|
143
109
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.
|
110
|
+
version: 0.25.0.rc1
|
145
111
|
description: A Blog component for decidim's participatory spaces.
|
146
112
|
email:
|
147
113
|
- isaac.mg@coditramuntana.com
|
@@ -151,7 +117,6 @@ extra_rdoc_files: []
|
|
151
117
|
files:
|
152
118
|
- README.md
|
153
119
|
- Rakefile
|
154
|
-
- app/assets/images/decidim/blogs/icon.svg
|
155
120
|
- app/cells/decidim/blogs/post_activity_cell.rb
|
156
121
|
- app/cells/decidim/blogs/post_cell.rb
|
157
122
|
- app/cells/decidim/blogs/post_m/footer.erb
|
@@ -171,6 +136,8 @@ files:
|
|
171
136
|
- app/helpers/decidim/blogs/posts_helper.rb
|
172
137
|
- app/models/decidim/blogs/application_record.rb
|
173
138
|
- app/models/decidim/blogs/post.rb
|
139
|
+
- app/packs/entrypoints/decidim_blogs.js
|
140
|
+
- app/packs/images/decidim/blogs/decidim_blogs.svg
|
174
141
|
- app/permissions/decidim/blog/permissions.rb
|
175
142
|
- app/presenters/decidim/blogs/post_presenter.rb
|
176
143
|
- app/views/decidim/blogs/admin/posts/_form.html.erb
|
@@ -182,6 +149,7 @@ files:
|
|
182
149
|
- app/views/decidim/blogs/posts/_sidebar_blog.html.erb
|
183
150
|
- app/views/decidim/blogs/posts/index.html.erb
|
184
151
|
- app/views/decidim/blogs/posts/show.html.erb
|
152
|
+
- config/assets.rb
|
185
153
|
- config/locales/am-ET.yml
|
186
154
|
- config/locales/ar-SA.yml
|
187
155
|
- config/locales/ar.yml
|
@@ -208,6 +176,7 @@ files:
|
|
208
176
|
- config/locales/fi-plain.yml
|
209
177
|
- config/locales/fi.yml
|
210
178
|
- config/locales/fr-CA.yml
|
179
|
+
- config/locales/fr-LU.yml
|
211
180
|
- config/locales/fr.yml
|
212
181
|
- config/locales/ga-IE.yml
|
213
182
|
- config/locales/gl.yml
|
@@ -218,10 +187,10 @@ files:
|
|
218
187
|
- config/locales/is-IS.yml
|
219
188
|
- config/locales/is.yml
|
220
189
|
- config/locales/it.yml
|
221
|
-
- config/locales/ja-JP.yml
|
222
190
|
- config/locales/ja.yml
|
223
191
|
- config/locales/ko-KR.yml
|
224
192
|
- config/locales/ko.yml
|
193
|
+
- config/locales/lb-LU.yml
|
225
194
|
- config/locales/lt-LT.yml
|
226
195
|
- config/locales/lt.yml
|
227
196
|
- config/locales/lv.yml
|
@@ -285,11 +254,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
254
|
version: '2.7'
|
286
255
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
287
256
|
requirements:
|
288
|
-
- - "
|
257
|
+
- - ">"
|
289
258
|
- !ruby/object:Gem::Version
|
290
|
-
version:
|
259
|
+
version: 1.3.1
|
291
260
|
requirements: []
|
292
|
-
rubygems_version: 3.1.
|
261
|
+
rubygems_version: 3.1.4
|
293
262
|
signing_key:
|
294
263
|
specification_version: 4
|
295
264
|
summary: Decidim blogs module
|
data/config/locales/ja-JP.yml
DELETED
@@ -1,83 +0,0 @@
|
|
1
|
-
ja:
|
2
|
-
activemodel:
|
3
|
-
models:
|
4
|
-
decidim/blogs/create_post_event: 新しいブログ投稿
|
5
|
-
activerecord:
|
6
|
-
models:
|
7
|
-
decidim/blogs/post:
|
8
|
-
other: 投稿
|
9
|
-
decidim:
|
10
|
-
blogs:
|
11
|
-
actions:
|
12
|
-
confirm_destroy: この投稿を削除してもよろしいですか?
|
13
|
-
destroy: 削除
|
14
|
-
edit: 編集
|
15
|
-
new: 新規投稿
|
16
|
-
title: アクション
|
17
|
-
admin:
|
18
|
-
models:
|
19
|
-
components:
|
20
|
-
body: 本文
|
21
|
-
post:
|
22
|
-
name: 投稿
|
23
|
-
posts:
|
24
|
-
create:
|
25
|
-
invalid: この投稿を作成する際に問題が発生しました
|
26
|
-
success: 投稿を作成しました
|
27
|
-
destroy:
|
28
|
-
success: 投稿を削除しました
|
29
|
-
edit:
|
30
|
-
save: 更新
|
31
|
-
index:
|
32
|
-
title: 投稿
|
33
|
-
new:
|
34
|
-
create: 作成
|
35
|
-
title: 投稿を作成
|
36
|
-
update:
|
37
|
-
invalid: 投稿の保存中に問題が発生しました。
|
38
|
-
success: 投稿を保存しました
|
39
|
-
last_activity:
|
40
|
-
new_post_at_html: "<span> %{link}に新しい投稿</span>"
|
41
|
-
models:
|
42
|
-
post:
|
43
|
-
fields:
|
44
|
-
author: 作成者
|
45
|
-
body: 本文
|
46
|
-
created_at: 作成日時
|
47
|
-
title: タイトル
|
48
|
-
posts:
|
49
|
-
show:
|
50
|
-
back: リストに戻る
|
51
|
-
comments: コメント
|
52
|
-
view: 表示
|
53
|
-
sidebar_blog:
|
54
|
-
comments: コメント
|
55
|
-
most_commented_posts: 最もコメントされた投稿
|
56
|
-
read_more: もっと読む
|
57
|
-
components:
|
58
|
-
blogs:
|
59
|
-
name: ブログ
|
60
|
-
settings:
|
61
|
-
global:
|
62
|
-
announcement: お知らせ
|
63
|
-
comments_enabled: コメントは有効です
|
64
|
-
comments_max_length: コメント最大長 (デフォルト値は 0 のまま)
|
65
|
-
step:
|
66
|
-
announcement: お知らせ
|
67
|
-
comments_blocked: コメントがブロックされました
|
68
|
-
endorsements_blocked: エンドースメントがブロックされました
|
69
|
-
endorsements_enabled: エンドースメントを有効にする
|
70
|
-
events:
|
71
|
-
blogs:
|
72
|
-
post_created:
|
73
|
-
email_intro: The post "%{resource_title}" has been published in "%{participatory_space_title}" that you are following.
|
74
|
-
email_outro: '「%{participatory_space_title}」をフォローしているため、この通知を受け取りました。前のリンクからこの通知をアンフォローすることができます。'
|
75
|
-
email_subject: '%{participatory_space_title} に新しい投稿が公開されました'
|
76
|
-
notification_title: The post <a href="%{resource_path}">%{resource_title}</a> has been published in %{participatory_space_title}
|
77
|
-
pages:
|
78
|
-
home:
|
79
|
-
statistics:
|
80
|
-
posts_count: 投稿
|
81
|
-
participatory_processes:
|
82
|
-
statistics:
|
83
|
-
posts_count: 投稿
|