decidim-blogs 0.17.2 → 0.18.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: 1348cb3b0c1641ee4842022f305e2d7ebec92fc3e4c2c35bc87fc80c0f099804
4
- data.tar.gz: ef569250d107b656a8d73231efc52bbc7d02acd19dcc8b05d5d6e088f55086ad
3
+ metadata.gz: 53e9b05ada81032c6c8119e9e85f4fe869b464908967be6c8e23aba6eda0af7a
4
+ data.tar.gz: b6377f3046186a66f2836bf4ea2673df1e4d06278fc21154ec5932b761e86911
5
5
  SHA512:
6
- metadata.gz: 1b665d3ca4de7626fd6e682c288cefdc183a52b23298c7dee7c493940ea3f88fbbdb0dd0d9da6e18bc683d43a3e3d84872d32d0609238df0a349ea1d2c18a985
7
- data.tar.gz: 7bfdb371fae77687fbdb167b5ccffc8252ade33fe068c536d266190f9e658dfaf3621959ecf5a455916f167fce9ff1a6afcd2ba482a0b2eff40f8dfccf2f8c63
6
+ metadata.gz: fb84f5bf6b7f756a99e7e165dd61939c3fc4ba7cb20886da84a119d3c33da9853507287f781f4701e3ff4a51ee83e9f463b95d80da4dbefbbdec7ee2071d475b
7
+ data.tar.gz: aeb76dffb7109f7f18e69198eaabd57c532a089371aef9a40b142931faccfda7887286a2078b8db786465ca8e562b9770ae6d1052a172bcfde3749948a04a46d
@@ -41,6 +41,11 @@ module Decidim
41
41
  def official?
42
42
  author.nil?
43
43
  end
44
+
45
+ # Public: Whether the object can have new comments or not.
46
+ def user_allowed_to_comment?(user)
47
+ can_participate_in_space?(user)
48
+ end
44
49
  end
45
50
  end
46
51
  end
@@ -0,0 +1,83 @@
1
+ ar:
2
+ activemodel:
3
+ models:
4
+ decidim/blogs/create_post_event: بلوق وظيفة جديدة
5
+ activerecord:
6
+ models:
7
+ decidim/blogs/post:
8
+ zero: المشاركات
9
+ one: بريد
10
+ two: المشاركات
11
+ few: المشاركات
12
+ many: المشاركات
13
+ other: المشاركات
14
+ decidim:
15
+ blogs:
16
+ actions:
17
+ confirm_destroy: هل أنت متأكد أنك تريد حذف هذه المشاركة؟
18
+ destroy: حذف
19
+ edit: تعديل
20
+ new: منشور جديد
21
+ title: أفعال
22
+ admin:
23
+ models:
24
+ components:
25
+ body: الجسم
26
+ post:
27
+ name: بريد
28
+ posts:
29
+ create:
30
+ invalid: حدثت مشكلة أثناء إنشاء هذا المنشور
31
+ success: تم النشر بنجاح
32
+ destroy:
33
+ success: تم حذف المشاركة بنجاح
34
+ edit:
35
+ save: تحديث
36
+ index:
37
+ title: المشاركات
38
+ new:
39
+ create: إنشاء
40
+ title: إنشاء وظيفة
41
+ update:
42
+ invalid: حدثت مشكلة في حفظ المشاركة.
43
+ success: تم حفظ النشر بنجاح
44
+ last_activity:
45
+ new_post_at_html: "<span>وظيفة جديدة في %{link}</span>"
46
+ models:
47
+ post:
48
+ fields:
49
+ author: مؤلف
50
+ body: الجسم
51
+ created_at: أنشئت في
52
+ title: عنوان
53
+ posts:
54
+ show:
55
+ view: رأي
56
+ sidebar_blog:
57
+ comments: تعليقات
58
+ most_commented_posts: الأكثر تعليقًا عليها
59
+ read_more: قراءة المزيد
60
+ components:
61
+ blogs:
62
+ name: مدونة
63
+ settings:
64
+ global:
65
+ announcement: إعلان
66
+ comments_enabled: تم تمكين التعليقات
67
+ step:
68
+ announcement: إعلان
69
+ comments_blocked: تم حظر التعليقات
70
+ events:
71
+ blogs:
72
+ post_created:
73
+ email_intro: تم نشر المنشور "%{resource_title}" في "%{participatory_space_title}" الذي تتابعه.
74
+ email_outro: لقد تلقيت هذا الإشعار لأنك تتابع "%{participatory_space_title}". يمكنك إلغاء تتبعه من الرابط السابق.
75
+ email_subject: منشور جديد منشور في %{participatory_space_title}
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: المشاركات
@@ -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.17.2"
7
+ "0.18.0"
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: decidim-blogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.2
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Massot Gil
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.2
19
+ version: 0.18.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.17.2
26
+ version: 0.18.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.17.2
33
+ version: 0.18.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.17.2
40
+ version: 0.18.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.17.2
47
+ version: 0.18.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.17.2
54
+ version: 0.18.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.17.2
103
+ version: 0.18.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.17.2
110
+ version: 0.18.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.17.2
117
+ version: 0.18.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.17.2
124
+ version: 0.18.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.17.2
131
+ version: 0.18.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.17.2
138
+ version: 0.18.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.17.2
145
+ version: 0.18.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.17.2
152
+ version: 0.18.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/index.html.erb
190
190
  - app/views/decidim/blogs/posts/show.html.erb
191
191
  - config/locales/ar-SA.yml
192
+ - config/locales/ar.yml
192
193
  - config/locales/ca.yml
193
194
  - config/locales/cs-CZ.yml
194
195
  - config/locales/cs.yml