decidim-comments 0.24.2 → 0.25.0.rc3
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/README.md +3 -20
- data/app/assets/javascripts/decidim/comments/bundle.js.map +1 -1
- data/app/cells/decidim/comments/comment/actions.erb +1 -1
- data/app/cells/decidim/comments/comment/deletion_data.erb +1 -0
- data/app/cells/decidim/comments/comment/show.erb +30 -21
- data/app/cells/decidim/comments/comment/utilities.erb +40 -12
- data/app/cells/decidim/comments/comment/votes.erb +6 -6
- data/app/cells/decidim/comments/comment_cell.rb +29 -0
- data/app/cells/decidim/comments/comment_form/show.erb +1 -1
- data/app/cells/decidim/comments/comments/add_comment.erb +10 -6
- data/app/cells/decidim/comments/comments/order_control.erb +4 -5
- data/app/cells/decidim/comments/comments/show.erb +2 -4
- data/app/cells/decidim/comments/comments/user_comments_blocked_warning.erb +5 -1
- data/app/cells/decidim/comments/comments_cell.rb +24 -2
- data/app/cells/decidim/comments/edit_comment_modal_form/show.erb +29 -0
- data/app/cells/decidim/comments/edit_comment_modal_form_cell.rb +53 -0
- data/app/commands/decidim/comments/create_comment.rb +2 -1
- data/app/commands/decidim/comments/delete_comment.rb +46 -0
- data/app/commands/decidim/comments/update_comment.rb +62 -0
- data/app/controllers/decidim/comments/comments_controller.rb +63 -6
- data/app/events/decidim/comments/comment_voted_event.rb +9 -0
- data/app/forms/decidim/comments/comment_form.rb +1 -1
- data/app/models/decidim/comments/comment.rb +24 -1
- data/app/packs/src/decidim/comments/comments.component.js +300 -0
- data/app/{assets/javascripts → packs/src}/decidim/comments/comments.component.test.js +116 -26
- data/app/packs/src/decidim/comments/comments.component_for_testing.js +8 -0
- data/app/packs/src/decidim/comments/comments.js +1 -0
- data/app/permissions/decidim/comments/permissions.rb +10 -1
- data/app/queries/decidim/comments/metrics/comment_participants_metric_measure.rb +1 -1
- data/app/queries/decidim/comments/metrics/comments_metric_manage.rb +1 -1
- data/app/queries/decidim/comments/sorted_comments.rb +8 -6
- data/app/views/decidim/comments/comments/_delete.html.erb +5 -0
- data/app/views/decidim/comments/comments/_edited_comment.html.erb +1 -0
- data/app/views/decidim/comments/comments/create.js.erb +4 -2
- data/app/views/decidim/comments/comments/delete.js.erb +17 -0
- data/app/views/decidim/comments/comments/deletion_error.js.erb +1 -0
- data/app/views/decidim/comments/comments/reload.js.erb +2 -0
- data/app/views/decidim/comments/comments/update.js.erb +8 -0
- data/app/views/decidim/comments/comments/update_error.js.erb +1 -0
- data/config/assets.rb +5 -0
- data/config/locales/ar.yml +0 -1
- data/config/locales/ca.yml +7 -1
- data/config/locales/cs.yml +25 -1
- data/config/locales/de.yml +7 -1
- data/config/locales/el.yml +0 -1
- data/config/locales/en.yml +25 -1
- data/config/locales/es-MX.yml +7 -1
- data/config/locales/es-PY.yml +7 -1
- data/config/locales/es.yml +7 -1
- data/config/locales/fi-plain.yml +25 -1
- data/config/locales/fi.yml +25 -1
- data/config/locales/fr-CA.yml +25 -1
- data/config/locales/fr-LU.yml +162 -0
- data/config/locales/fr.yml +25 -1
- data/config/locales/gl.yml +25 -1
- data/config/locales/hu.yml +0 -1
- data/config/locales/it.yml +38 -1
- data/config/locales/ja.yml +35 -1
- data/config/locales/lb-LU.yml +1 -0
- data/config/locales/lv.yml +0 -1
- data/config/locales/nl.yml +27 -2
- data/config/locales/no.yml +0 -1
- data/config/locales/pl.yml +7 -1
- data/config/locales/pt-BR.yml +61 -0
- data/config/locales/pt.yml +0 -1
- data/config/locales/ro-RO.yml +25 -1
- data/config/locales/sk.yml +0 -1
- data/config/locales/sr-CS.yml +0 -1
- data/config/locales/sv.yml +25 -1
- data/config/locales/tr-TR.yml +0 -1
- data/config/locales/zh-CN.yml +0 -1
- data/db/migrate/20200706123136_make_comments_handle_i18n.rb +1 -1
- data/db/migrate/20210402124534_add_participatory_process_to_comments.rb +12 -0
- data/db/migrate/20210529095942_add_deleted_at_column_to_comments.rb +7 -0
- data/lib/decidim/comments/commentable.rb +6 -1
- data/lib/decidim/comments/commentable_with_component.rb +33 -0
- data/lib/decidim/comments/engine.rb +1 -9
- data/lib/decidim/comments/test/factories.rb +1 -0
- data/lib/decidim/comments/version.rb +1 -1
- data/lib/decidim/comments.rb +1 -0
- data/lib/tasks/decidim_comments.rake +15 -0
- metadata +32 -29
- data/app/assets/config/decidim_comments_manifest.js +0 -1
- data/app/assets/javascripts/decidim/comments/comments.component.js.es6 +0 -292
- data/app/assets/javascripts/decidim/comments/comments.js.erb +0 -10
- data/config/locales/ja-JP.yml +0 -120
data/config/locales/ja-JP.yml
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
ja:
|
|
2
|
-
activemodel:
|
|
3
|
-
models:
|
|
4
|
-
decidim/comments/comment_by_followed_user_event: コメント
|
|
5
|
-
decidim/comments/comment_created_event: コメント
|
|
6
|
-
decidim/comments/reply_created_event: コメント返信
|
|
7
|
-
decidim/comments/user_group_mentioned_event: メンション
|
|
8
|
-
decidim/comments/user_mentioned_event: メンション
|
|
9
|
-
activerecord:
|
|
10
|
-
models:
|
|
11
|
-
decidim/comments/comment:
|
|
12
|
-
other: コメント
|
|
13
|
-
decidim/comments/comment_vote:
|
|
14
|
-
other: 投票
|
|
15
|
-
decidim:
|
|
16
|
-
comments:
|
|
17
|
-
comments: コメント
|
|
18
|
-
comments_count: コメント数
|
|
19
|
-
last_activity:
|
|
20
|
-
new_comment_at_html: "<span> %{link}に新しいコメント</span>"
|
|
21
|
-
votes:
|
|
22
|
-
create:
|
|
23
|
-
error: コメントに投票中に問題がありました。
|
|
24
|
-
components:
|
|
25
|
-
add_comment_form:
|
|
26
|
-
account_message: <a href="%{sign_in_url}">アカウント</a> または <a href="%{sign_up_url}">サインアップ</a> でコメントを追加します。
|
|
27
|
-
form:
|
|
28
|
-
body:
|
|
29
|
-
label: コメント
|
|
30
|
-
placeholder: これについてどう思いますか?
|
|
31
|
-
form_error: テキストは必須で、 %{length} 文字を超えることはできません。
|
|
32
|
-
submit: 送信
|
|
33
|
-
user_group_id:
|
|
34
|
-
label: 'コメント:'
|
|
35
|
-
opinion:
|
|
36
|
-
neutral: ニュートラル
|
|
37
|
-
remaining_characters: "残り %{count} 文字"
|
|
38
|
-
remaining_characters_1: "残り%{count} 文字"
|
|
39
|
-
title: コメントを追加
|
|
40
|
-
comment:
|
|
41
|
-
alignment:
|
|
42
|
-
against: <unk>
|
|
43
|
-
in_favor: <unk>
|
|
44
|
-
deleted_user: 参加者を削除しました
|
|
45
|
-
hide_replies: 返信を非表示
|
|
46
|
-
reply: 返信
|
|
47
|
-
report:
|
|
48
|
-
action: レポート
|
|
49
|
-
already_reported: このコンテンツはすでに報告されており、管理者が確認します。
|
|
50
|
-
close: 閉じる
|
|
51
|
-
description: このコンテンツは不適切ですか?
|
|
52
|
-
details: 追加コメント
|
|
53
|
-
reasons:
|
|
54
|
-
does_not_belong: 違法行為、自殺の脅威、個人情報、または %{organization_name} に属していないと思われる何かが含まれています。
|
|
55
|
-
offensive: 人種差別、性差別、スラー、個人攻撃、死の脅威、自殺要求やあらゆる形態の憎悪スピーチが含まれています。
|
|
56
|
-
spam: クリックベイト、広告、詐欺やスクリプトボットが含まれています。
|
|
57
|
-
title: 不適切なコンテンツを報告する
|
|
58
|
-
show_replies: '%{replies_count} 件の返信を表示'
|
|
59
|
-
single_comment_link_title: シングルコメントへのリンクを取得
|
|
60
|
-
comment_order_selector:
|
|
61
|
-
order:
|
|
62
|
-
best_rated: 最高評価
|
|
63
|
-
most_discussed: 最も議論されたもの
|
|
64
|
-
older: 古い順
|
|
65
|
-
recent: 最近のもの
|
|
66
|
-
title: '並び順:'
|
|
67
|
-
comment_thread:
|
|
68
|
-
title: '%{authorName} との会話'
|
|
69
|
-
comments:
|
|
70
|
-
blocked_comments_for_user_warning: 現時点ではコメントできませんが、以前のコメントを読むことができます。
|
|
71
|
-
blocked_comments_warning: コメントは現時点で無効になっていますが、以前のコメントを読むことができます。
|
|
72
|
-
comment_details_title: コメントの詳細
|
|
73
|
-
loading: コメントを読み込んでいます...
|
|
74
|
-
single_comment_warning: コメントの残りはこちら <a href="%{url}"></a>で確認できます。
|
|
75
|
-
single_comment_warning_title: 単一のコメントが表示されています
|
|
76
|
-
title: "%{count} 件のコメント"
|
|
77
|
-
down_vote_button:
|
|
78
|
-
text: このコメントに同意しない
|
|
79
|
-
up_vote_button:
|
|
80
|
-
text: このコメントに同意します
|
|
81
|
-
events:
|
|
82
|
-
comments:
|
|
83
|
-
comment_by_followed_user:
|
|
84
|
-
email_intro: "%{author_name} は %{resource_title}にコメントを残しました。このページで読むことができます:"
|
|
85
|
-
email_outro: '%{author_name}をフォローしているため、この通知を受け取りました。プロフィールページからこのユーザーのフォローを解除することができます。'
|
|
86
|
-
email_subject: '%{author_name} に %{resource_title} による新しいコメントがあります'
|
|
87
|
-
notification_title: There is a new comment by <a href="%{author_path}">%{author_name} %{author_nickname}</a> in <a href="%{resource_path}">%{resource_title}</a>.
|
|
88
|
-
comment_by_followed_user_group:
|
|
89
|
-
email_intro: 'グループ %{author_name} は %{resource_title}にコメントを残しました。このページで読むことができます:'
|
|
90
|
-
email_outro: '%{author_name}をフォローしているため、この通知を受け取りました。プロフィールページからこのグループのフォローを解除できます。'
|
|
91
|
-
email_subject: '%{author_name} に %{resource_title} による新しいコメントがあります'
|
|
92
|
-
notification_title: There is a new comment by <a href="%{author_path}">%{author_name} %{author_nickname}</a> in <a href="%{resource_path}">%{resource_title}</a>.
|
|
93
|
-
comment_created:
|
|
94
|
-
email_intro: "%{resource_title} はコメントされました。このページでコメントを読むことができます:"
|
|
95
|
-
email_outro: '"%{resource_title}" またはその著者をフォローしているため、この通知を受け取りました。前のリンクからフォローを解除することができます。'
|
|
96
|
-
email_subject: '%{author_name} に %{resource_title} から新しいコメントがあります'
|
|
97
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> から <a href="%{resource_path}">%{resource_title}に新しいコメントがあります</a>
|
|
98
|
-
reply_created:
|
|
99
|
-
email_intro: "%{author_name} は %{resource_title}であなたのコメントを返信しました。このページで読むことができます:"
|
|
100
|
-
email_outro: コメントが返信されたため、この通知を受信しました。
|
|
101
|
-
email_subject: "%{author_name} が %{resource_title} であなたのコメントに返信しました"
|
|
102
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> が <a href="%{resource_path}">%{resource_title}</a> であなたのコメントに返信しました
|
|
103
|
-
user_group_mentioned:
|
|
104
|
-
email_intro: あなたが所属しているグループがメンションされました
|
|
105
|
-
email_outro: あなたは %{group_name} でメンションされたグループ %{resource_title} のメンバーであるため、この通知を受け取りました。
|
|
106
|
-
email_subject: あなたは %{resource_title} で %{group_name} のメンバーとしてメンションされました
|
|
107
|
-
notification_title: あなたは <a href="%{resource_path}">%{resource_title}</a> に <a href="%{author_path}">%{author_name} %{author_nickname}</a> のメンバとして <a href="%{group_path}">%{group_name} %{group_nickname}</a>
|
|
108
|
-
user_mentioned:
|
|
109
|
-
email_intro: あなたはメンションされています
|
|
110
|
-
email_outro: あなたが %{resource_title}でメンションされたため、この通知を受け取りました。
|
|
111
|
-
email_subject: あなたは %{resource_title} でメンションされました
|
|
112
|
-
notification_title: あなたは <a href="%{resource_path}">%{resource_title}</a> で <a href="%{author_path}">%{author_name} %{author_nickname}によってメンションされました</a>
|
|
113
|
-
metrics:
|
|
114
|
-
comments:
|
|
115
|
-
description: 出席者によって生成されたコメント数
|
|
116
|
-
object: コメント
|
|
117
|
-
title: コメント
|
|
118
|
-
errors:
|
|
119
|
-
messages:
|
|
120
|
-
cannot_have_comments: コメントを持つことはできません
|