decidim-comments 0.32.0.rc3 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/packs/src/decidim/comments/comments.component.test.js +1 -2
- data/app/packs/src/decidim/comments/comments.js +1 -1
- data/app/packs/stylesheets/comments.scss +1 -1
- data/config/locales/ja.yml +4 -0
- data/decidim-comments.gemspec +1 -1
- data/lib/decidim/comments/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 509a087a9cf0e0167a9786ef6d597f94a0a966463c66bf183e4d66c8194b950c
|
|
4
|
+
data.tar.gz: 3393e98d9c93d8d945fef5bfe8e3fb8b182d0916da9258eb4cdc55d0aeea0673
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ed1729f77a05da1cadf47c3ecc04c5f6ac5ad2669201479b58dc4ea80d5dc4f6a9fcf53d911f96c86b48c8de8374bdb7076233215d5c90f53cb67d36b095f82
|
|
7
|
+
data.tar.gz: d019bbc66c7cbe6ccda9740073726b1f2fe5614d47e2b8966ee9c0a2bfb986a8de8f08f4119bb064825ee08d914f75cc3f65b38e909103af0b458c2018381a46
|
|
@@ -112,8 +112,7 @@ describe("CommentsComponent", () => {
|
|
|
112
112
|
data-input-emoji="true"
|
|
113
113
|
name="comment[body]"
|
|
114
114
|
aria-describedby="add-comment-${modelName}-${modelId}-remaining-characters_sr"
|
|
115
|
-
data-input-emoji-initialized="true"
|
|
116
|
-
data-tribute="true">
|
|
115
|
+
data-input-emoji-initialized="true">
|
|
117
116
|
</textarea>
|
|
118
117
|
<span class="emoji__trigger">
|
|
119
118
|
<button class="emoji__button" type="button" aria-label="Add emoji">
|
|
@@ -99,5 +99,5 @@ const commentsInitializer = () => {
|
|
|
99
99
|
window.addEventListener("resize", handleResize);
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
//
|
|
102
|
+
// Keep this on turbo load so comments are mounted after each visit
|
|
103
103
|
document.addEventListener("turbo:load", commentsInitializer);
|
data/config/locales/ja.yml
CHANGED
|
@@ -161,10 +161,12 @@ ja:
|
|
|
161
161
|
email_intro: "%{author_name} は %{resource_title}にコメントを残しました。このページで読むことができます:"
|
|
162
162
|
email_outro: '%{author_name}をフォローしているため、この通知を受け取りました。プロフィールページからこのユーザーのフォローを解除することができます。'
|
|
163
163
|
email_subject: '%{author_name} から %{resource_title} に対して新しいコメントがあります'
|
|
164
|
+
notification_title: <a href="%{author_path}">%{author_name}</a> が<a href="%{resource_path}">%{resource_title}</a> にコメントしました。
|
|
164
165
|
comment_created:
|
|
165
166
|
email_intro: "%{resource_title} にコメントがありました。このページでコメントを読むことができます:"
|
|
166
167
|
email_outro: '"%{resource_title}" 、またはその参加者をフォローしているためこの通知を受け取りました。前のリンクからフォローを解除することができます。'
|
|
167
168
|
email_subject: '%{author_name} から %{resource_title} に対して新しいコメントがあります'
|
|
169
|
+
notification_title: <a href="%{author_path}">%{author_name}</a> が<a href="%{resource_path}">%{resource_title}</a> にコメントしました
|
|
168
170
|
comment_downvoted:
|
|
169
171
|
email_intro: '"%{resource_title}" でのあなたの意見への反対票がありました。現在の合計は、賛成票が %{upvotes} 件、反対票が %{downvotes} 件です。'
|
|
170
172
|
email_outro: このコメントの作成者であるため、この通知を受け取りました。
|
|
@@ -179,10 +181,12 @@ ja:
|
|
|
179
181
|
email_intro: "%{author_name} は %{resource_title}であなたのコメントを返信しました。このページで読むことができます:"
|
|
180
182
|
email_outro: コメントが返信されたため、この通知を受信しました。
|
|
181
183
|
email_subject: "%{author_name} が %{resource_title} であなたのコメントに返信しました"
|
|
184
|
+
notification_title: <a href="%{author_path}">%{author_name}</a> が<a href="%{resource_path}">%{resource_title}</a> でのあなたのコメントに返答しました
|
|
182
185
|
user_mentioned:
|
|
183
186
|
email_intro: あなたはメンションされています
|
|
184
187
|
email_outro: あなたが %{resource_title}でメンションされたため、この通知を受け取りました。
|
|
185
188
|
email_subject: あなたは %{resource_title} でメンションされました
|
|
189
|
+
notification_title: <a href="%{author_path}">%{author_name}</a> が<a href="%{resource_path}">%{resource_title}</a> でのコメントであなたに言及しました
|
|
186
190
|
errors:
|
|
187
191
|
messages:
|
|
188
192
|
cannot_have_comments: コメントを持つことはできません
|
data/decidim-comments.gemspec
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
$LOAD_PATH.push File.expand_path("lib", __dir__)
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |s|
|
|
6
|
-
version = "0.32.0
|
|
6
|
+
version = "0.32.0"
|
|
7
7
|
s.version = version
|
|
8
8
|
s.authors = ["Josep Jaume Rey Peroy", "Marc Riera Casals", "Oriol Gual Oliva"]
|
|
9
9
|
s.email = ["josepjaume@gmail.com", "mrc2407@gmail.com", "oriolgual@gmail.com"]
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-comments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.32.0
|
|
4
|
+
version: 0.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josep Jaume Rey Peroy
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - '='
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: 0.32.0
|
|
20
|
+
version: 0.32.0
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - '='
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: 0.32.0
|
|
27
|
+
version: 0.32.0
|
|
28
28
|
- !ruby/object:Gem::Dependency
|
|
29
29
|
name: redcarpet
|
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -51,28 +51,28 @@ dependencies:
|
|
|
51
51
|
requirements:
|
|
52
52
|
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0.32.0
|
|
54
|
+
version: 0.32.0
|
|
55
55
|
type: :development
|
|
56
56
|
prerelease: false
|
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - '='
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.32.0
|
|
61
|
+
version: 0.32.0
|
|
62
62
|
- !ruby/object:Gem::Dependency
|
|
63
63
|
name: decidim-dev
|
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - '='
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.32.0
|
|
68
|
+
version: 0.32.0
|
|
69
69
|
type: :development
|
|
70
70
|
prerelease: false
|
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.32.0
|
|
75
|
+
version: 0.32.0
|
|
76
76
|
description: Pluggable comments system for some components.
|
|
77
77
|
email:
|
|
78
78
|
- josepjaume@gmail.com
|