decidim-comments 0.26.1 → 0.26.3
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/cells/decidim/comments/edit_comment_modal_form_cell.rb +1 -1
- data/app/commands/decidim/comments/update_comment.rb +0 -7
- data/app/controllers/decidim/comments/comments_controller.rb +2 -0
- data/app/packs/src/decidim/comments/comments.component.js +8 -8
- data/config/locales/ar.yml +2 -0
- data/config/locales/ca.yml +1 -0
- data/config/locales/cs.yml +1 -0
- data/config/locales/de.yml +1 -0
- data/config/locales/en.yml +1 -0
- data/config/locales/es-MX.yml +1 -0
- data/config/locales/es-PY.yml +1 -0
- data/config/locales/es.yml +1 -0
- data/config/locales/fi-plain.yml +1 -0
- data/config/locales/fi.yml +1 -0
- data/config/locales/fr-CA.yml +1 -0
- data/config/locales/fr.yml +8 -7
- data/config/locales/ja.yml +1 -0
- data/config/locales/lt.yml +175 -0
- data/config/locales/nl.yml +18 -0
- data/config/locales/oc-FR.yml +1 -0
- data/lib/decidim/comments/test/factories.rb +5 -0
- data/lib/decidim/comments/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65e556105c975a512cf38512249fa956e3d3cf26c3e78b5cda7af52b98383e3
|
4
|
+
data.tar.gz: 03d678132d3530bdbf4ee57633da83cfd245c31e6bac7b1a131baa5ca7466fb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e9b996fe98034ccf8c532c285b418e13fbd83ddb5be3e6f6000215d298138442c43f4e0461b47dbcb27bfad2e64cb63b330a08583baa915578e1d5908224120
|
7
|
+
data.tar.gz: 62c58afe19b0d2afc75f1d0771cc5d484c250ea94e3dd242a8a6897f0f8dd0c92b654972311a0e58e12e2c2a75c9e267d40a7bb85c612eab964ee77ba37f85b3
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Decidim
|
4
4
|
module Comments
|
5
|
-
# A cell to display a form for
|
5
|
+
# A cell to display a form for editing a comment.
|
6
6
|
class EditCommentModalFormCell < Decidim::ViewModel
|
7
7
|
delegate :current_user, :user_signed_in?, to: :controller
|
8
8
|
alias comment model
|
@@ -48,14 +48,7 @@ module Decidim
|
|
48
48
|
edit: true
|
49
49
|
)
|
50
50
|
|
51
|
-
mentioned_users = parsed.metadata[:user].users
|
52
|
-
mentioned_groups = parsed.metadata[:user_group].groups
|
53
51
|
CommentCreation.publish(@comment, parsed.metadata)
|
54
|
-
send_notifications(mentioned_users, mentioned_groups)
|
55
|
-
end
|
56
|
-
|
57
|
-
def send_notifications(mentioned_users, mentioned_groups)
|
58
|
-
NewCommentNotificationCreator.new(comment, mentioned_users, mentioned_groups).create
|
59
52
|
end
|
60
53
|
end
|
61
54
|
end
|
@@ -6,7 +6,9 @@ module Decidim
|
|
6
6
|
#
|
7
7
|
class CommentsController < Decidim::Comments::ApplicationController
|
8
8
|
include Decidim::ResourceHelper
|
9
|
+
include Decidim::SkipTimeoutable
|
9
10
|
|
11
|
+
prepend_before_action :skip_timeout, only: :index
|
10
12
|
before_action :authenticate_user!, only: [:create]
|
11
13
|
before_action :set_commentable, except: [:destroy, :update]
|
12
14
|
before_action :ensure_commentable!, except: [:destroy, :update]
|
@@ -200,17 +200,17 @@ export default class CommentsComponent {
|
|
200
200
|
this._stopPolling();
|
201
201
|
|
202
202
|
this.pollTimeout = setTimeout(() => {
|
203
|
-
|
203
|
+
Rails.ajax({
|
204
204
|
url: this.commentsUrl,
|
205
|
-
|
206
|
-
|
207
|
-
data: {
|
205
|
+
type: "GET",
|
206
|
+
data: new URLSearchParams({
|
208
207
|
"commentable_gid": this.commentableGid,
|
209
208
|
"root_depth": this.rootDepth,
|
210
|
-
order: this.order,
|
211
|
-
after: this.lastCommentId
|
212
|
-
}
|
213
|
-
|
209
|
+
"order": this.order,
|
210
|
+
"after": this.lastCommentId
|
211
|
+
}),
|
212
|
+
success: this._pollComments()
|
213
|
+
})
|
214
214
|
}, this.pollingInterval);
|
215
215
|
}
|
216
216
|
|
data/config/locales/ar.yml
CHANGED
data/config/locales/ca.yml
CHANGED
@@ -3,6 +3,7 @@ ca:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comentari
|
5
5
|
decidim/comments/comment_created_event: Comentari
|
6
|
+
decidim/comments/comment_upvoted_event: Comentari valorat positivament
|
6
7
|
decidim/comments/reply_created_event: Resposta al comentari
|
7
8
|
decidim/comments/user_group_mentioned_event: Mencionar
|
8
9
|
decidim/comments/user_mentioned_event: Mencionar
|
data/config/locales/cs.yml
CHANGED
@@ -3,6 +3,7 @@ cs:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Komentář
|
5
5
|
decidim/comments/comment_created_event: Komentář
|
6
|
+
decidim/comments/comment_upvoted_event: Komentář podpořen výše
|
6
7
|
decidim/comments/reply_created_event: Odpověď na komentář
|
7
8
|
decidim/comments/user_group_mentioned_event: Zmínka
|
8
9
|
decidim/comments/user_mentioned_event: Zmínka
|
data/config/locales/de.yml
CHANGED
@@ -3,6 +3,7 @@ de:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Kommentar
|
5
5
|
decidim/comments/comment_created_event: Kommentar
|
6
|
+
decidim/comments/comment_upvoted_event: Kommentar positiv bewertet
|
6
7
|
decidim/comments/reply_created_event: Kommentarantwort
|
7
8
|
decidim/comments/user_group_mentioned_event: Erwähnen
|
8
9
|
decidim/comments/user_mentioned_event: Erwähnen
|
data/config/locales/en.yml
CHANGED
@@ -4,6 +4,7 @@ en:
|
|
4
4
|
models:
|
5
5
|
decidim/comments/comment_by_followed_user_event: Comment
|
6
6
|
decidim/comments/comment_created_event: Comment
|
7
|
+
decidim/comments/comment_upvoted_event: Comment upvoted
|
7
8
|
decidim/comments/reply_created_event: Comment reply
|
8
9
|
decidim/comments/user_group_mentioned_event: Mention
|
9
10
|
decidim/comments/user_mentioned_event: Mention
|
data/config/locales/es-MX.yml
CHANGED
@@ -3,6 +3,7 @@ es-MX:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comentario
|
5
5
|
decidim/comments/comment_created_event: Comentario
|
6
|
+
decidim/comments/comment_upvoted_event: Comentario valorado positivamente
|
6
7
|
decidim/comments/reply_created_event: Respuesta al comentario
|
7
8
|
decidim/comments/user_group_mentioned_event: Mencionar
|
8
9
|
decidim/comments/user_mentioned_event: Mencionar
|
data/config/locales/es-PY.yml
CHANGED
@@ -3,6 +3,7 @@ es-PY:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comentario
|
5
5
|
decidim/comments/comment_created_event: Comentario
|
6
|
+
decidim/comments/comment_upvoted_event: Comentario valorado positivamente
|
6
7
|
decidim/comments/reply_created_event: Respuesta al comentario
|
7
8
|
decidim/comments/user_group_mentioned_event: Mencionar
|
8
9
|
decidim/comments/user_mentioned_event: Mencionar
|
data/config/locales/es.yml
CHANGED
@@ -3,6 +3,7 @@ es:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comentario
|
5
5
|
decidim/comments/comment_created_event: Comentario
|
6
|
+
decidim/comments/comment_upvoted_event: Comentario valorado positivamente
|
6
7
|
decidim/comments/reply_created_event: Respuesta al comentario
|
7
8
|
decidim/comments/user_group_mentioned_event: Mencionar
|
8
9
|
decidim/comments/user_mentioned_event: Mencionar
|
data/config/locales/fi-plain.yml
CHANGED
@@ -3,6 +3,7 @@ fi-pl:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Kommentti
|
5
5
|
decidim/comments/comment_created_event: Kommentti
|
6
|
+
decidim/comments/comment_upvoted_event: Kommenttia äänestettiin
|
6
7
|
decidim/comments/reply_created_event: Vastaus kommentiin
|
7
8
|
decidim/comments/user_group_mentioned_event: Maininta
|
8
9
|
decidim/comments/user_mentioned_event: Maininta
|
data/config/locales/fi.yml
CHANGED
@@ -3,6 +3,7 @@ fi:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Kommentti
|
5
5
|
decidim/comments/comment_created_event: Kommentti
|
6
|
+
decidim/comments/comment_upvoted_event: Kommenttia äänestettiin
|
6
7
|
decidim/comments/reply_created_event: Vastaus kommentiin
|
7
8
|
decidim/comments/user_group_mentioned_event: Maininta
|
8
9
|
decidim/comments/user_mentioned_event: Maininta
|
data/config/locales/fr-CA.yml
CHANGED
@@ -3,6 +3,7 @@ fr-CA:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Commentaire
|
5
5
|
decidim/comments/comment_created_event: Commentaire
|
6
|
+
decidim/comments/comment_upvoted_event: Vote favorable
|
6
7
|
decidim/comments/reply_created_event: Réponse à un commentaire
|
7
8
|
decidim/comments/user_group_mentioned_event: Mention
|
8
9
|
decidim/comments/user_mentioned_event: Mention
|
data/config/locales/fr.yml
CHANGED
@@ -3,6 +3,7 @@ fr:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Commentaire
|
5
5
|
decidim/comments/comment_created_event: Commentaire
|
6
|
+
decidim/comments/comment_upvoted_event: Vote favorable
|
6
7
|
decidim/comments/reply_created_event: Réponse à un commentaire
|
7
8
|
decidim/comments/user_group_mentioned_event: Mention
|
8
9
|
decidim/comments/user_mentioned_event: Mention
|
@@ -121,32 +122,32 @@ fr:
|
|
121
122
|
comments:
|
122
123
|
comment_by_followed_user:
|
123
124
|
email_intro: "%{author_name} a laissé un commentaire dans %{resource_title}. Vous pouvez le lire sur la page suivante :"
|
124
|
-
email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil
|
125
|
+
email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil, ou bien vous rendre dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
125
126
|
email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
|
126
127
|
notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
|
127
128
|
comment_by_followed_user_group:
|
128
129
|
email_intro: '%{author_name} a laissé un commentaire dans %{resource_title}. Vous pouvez le lire sur la page suivante :'
|
129
|
-
email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de
|
130
|
+
email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de ce groupe utilisateur depuis sa page de profil, ou bien vous rendre dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
130
131
|
email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
|
131
132
|
notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
|
132
133
|
comment_created:
|
133
134
|
email_intro: "%{resource_title} a été commenté. Vous pouvez lire le commentaire sur cette page :"
|
134
|
-
email_outro: Vous venez de recevoir cette notification parce que vous suivez "%{resource_title}" ou son auteur.
|
135
|
+
email_outro: Vous venez de recevoir cette notification parce que vous suivez "%{resource_title}" ou son auteur. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
135
136
|
email_subject: Un nouveau commentaire vient d'être publié par %{author_name} dans %{resource_title}
|
136
137
|
notification_title: Un nouveau commentaire de <a href="%{author_path}">%{author_name} %{author_nickname}</a> vient d'être publié dans <a href="%{resource_path}">%{resource_title}</a>
|
137
138
|
comment_downvoted:
|
138
139
|
email_intro: Votre commentaire sur "%{resource_title}" a reçu un vote défavorable. Il a maintenant un total de %{upvotes} votes positifs et %{downvotes} votes négatifs.
|
139
|
-
email_outro: Vous avez reçu cette notification parce que vous êtes l'auteur de ce commentaire.
|
140
|
+
email_outro: Vous avez reçu cette notification parce que vous êtes l'auteur de ce commentaire. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
140
141
|
email_subject: Votre commentaire sur "%{resource_title}" a reçu un vote défavorable.
|
141
142
|
notification_title: Votre <a href="%{resource_path}">commentaire</a> sur "%{resource_title}" a reçu un vote défavorable. Il a maintenant un total de %{upvotes} votes positifs et de %{downvotes} votes négatifs.
|
142
143
|
comment_upvoted:
|
143
144
|
email_intro: Votre commentaire dans "%{resource_title}" a reçu un vote favorable. Il a maintenant un total de %{upvotes} votes positifs et %{downvotes} votes négatifs.
|
144
|
-
email_outro: Vous avez reçu cette notification parce que vous êtes l'auteur de ce commentaire.
|
145
|
+
email_outro: Vous avez reçu cette notification parce que vous êtes l'auteur de ce commentaire. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
145
146
|
email_subject: Votre commentaire sur "%{resource_title}" a reçu un vote favorable.
|
146
147
|
notification_title: Votre <a href="%{resource_path}">commentaire</a> sur "%{resource_title}" a reçu un vote favorable. Il a maintenant un total de %{upvotes} votes positifs et de %{downvotes} votes négatifs.
|
147
148
|
reply_created:
|
148
149
|
email_intro: "%{author_name} a répondu à votre commentaire dans %{resource_title}. Vous pouvez le lire depuis la page suivante :"
|
149
|
-
email_outro: Vous
|
150
|
+
email_outro: Vous avez reçu cette notification parce que votre commentaire a reçu une réponse. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
150
151
|
email_subject: "%{author_name} a répondu à votre commentaire dans %{resource_title}"
|
151
152
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a réagi à votre commentaire sur <a href="%{resource_path}">%{resource_title}</a>
|
152
153
|
user_group_mentioned:
|
@@ -156,7 +157,7 @@ fr:
|
|
156
157
|
notification_title: Vous avez été mentionné dans <a href="%{resource_path}">%{resource_title}</a> par <a href="%{author_path}">%{author_name} %{author_nickname}</a> en tant que membre de <a href="%{group_path}">%{group_name} %{group_nickname}</a>
|
157
158
|
user_mentioned:
|
158
159
|
email_intro: Vous avez été mentionné
|
159
|
-
email_outro: Vous avez reçu cette notification parce que vous avez été mentionné dans %{resource_title}.
|
160
|
+
email_outro: Vous avez reçu cette notification parce que vous avez été mentionné dans %{resource_title}. Si vous souhaitez vous désabonner des notifications, connectez-vous à la plateforme, puis rendez-vous dans l'onglet “Mon compte” > “Paramètres des notifications”.
|
160
161
|
email_subject: Vous avez été mentionné dans %{resource_title}
|
161
162
|
notification_title: Vous avez été mentionné dans <a href="%{resource_path}">%{resource_title}</a> par <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
162
163
|
metrics:
|
data/config/locales/ja.yml
CHANGED
@@ -3,6 +3,7 @@ ja:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: コメント
|
5
5
|
decidim/comments/comment_created_event: コメント
|
6
|
+
decidim/comments/comment_upvoted_event: 賛成票のあったコメント
|
6
7
|
decidim/comments/reply_created_event: コメント返信
|
7
8
|
decidim/comments/user_group_mentioned_event: メンション
|
8
9
|
decidim/comments/user_mentioned_event: メンション
|
data/config/locales/lt.yml
CHANGED
@@ -1 +1,176 @@
|
|
1
1
|
lt:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/comments/comment_by_followed_user_event: Komentarai
|
5
|
+
decidim/comments/comment_created_event: Komentarai
|
6
|
+
decidim/comments/comment_upvoted_event: Komentaras palaikytas
|
7
|
+
decidim/comments/reply_created_event: Atsakymas į komentarą
|
8
|
+
decidim/comments/user_group_mentioned_event: Paminėjimas
|
9
|
+
decidim/comments/user_mentioned_event: Paminėti
|
10
|
+
activerecord:
|
11
|
+
models:
|
12
|
+
decidim/comments/comment:
|
13
|
+
one: Komentaras
|
14
|
+
few: Komentarai
|
15
|
+
many: Komentarai
|
16
|
+
other: Komentarai
|
17
|
+
decidim/comments/comment_vote:
|
18
|
+
one: Balsuoti
|
19
|
+
few: Balsai
|
20
|
+
many: Balsai
|
21
|
+
other: Balsai
|
22
|
+
decidim:
|
23
|
+
comments:
|
24
|
+
admin:
|
25
|
+
shared:
|
26
|
+
availability_fields:
|
27
|
+
enabled: Komentarai aktyvuoti
|
28
|
+
end_time: Komentarai aktyvuoti iki
|
29
|
+
start_time: Komentarai aktyvuoti nuo
|
30
|
+
comments:
|
31
|
+
create:
|
32
|
+
error: Kuriant šį komentarą iškilo problema.
|
33
|
+
delete:
|
34
|
+
error: Komentaro ištrinti nepavyko.
|
35
|
+
update:
|
36
|
+
error: Atnaujinant šį komentarą iškilo problema.
|
37
|
+
comments_count: Komentarų skaičius
|
38
|
+
comments_title: Komentarai
|
39
|
+
last_activity:
|
40
|
+
new_comment_at_html: "<span>Naujas komentaras %{link}</span>"
|
41
|
+
view: Rodyti
|
42
|
+
votes:
|
43
|
+
create:
|
44
|
+
error: Balsuojant už komentarą iškilo problema.
|
45
|
+
components:
|
46
|
+
add_comment_form:
|
47
|
+
account_message: <a href="%{sign_in_url}">Prisijunkite</a>arba<a href="%{sign_up_url}">registruokitės</a>norėdami komentuoti.
|
48
|
+
form:
|
49
|
+
body:
|
50
|
+
label: Komentaras
|
51
|
+
placeholder: Ką manote apie tai?
|
52
|
+
form_error: Tekstas būtinais ir negali viršyti %{length} simbolių.
|
53
|
+
submit: Publikuoti
|
54
|
+
user_group_id:
|
55
|
+
label: Komentuoti kaip
|
56
|
+
opinion:
|
57
|
+
label: Jūsų nuomonė šiuo klausimu
|
58
|
+
negative: Negatyvi
|
59
|
+
negative_selected: Jūsų nuomonė apie šią temą yra negatyvi
|
60
|
+
neutral: Neutrali
|
61
|
+
neutral_selected: Jūsų nuomonė apie šią temą yra neutrali
|
62
|
+
positive: Pozityvi
|
63
|
+
positive_selected: Jūsų nuomonė apie šią temą yra pozityvi
|
64
|
+
remaining_characters: "Liko %{count} simbolių"
|
65
|
+
remaining_characters_1: "Liko %{count} simbolių"
|
66
|
+
title: Pridėti komentarą
|
67
|
+
comment:
|
68
|
+
alignment:
|
69
|
+
against: Prieš
|
70
|
+
in_favor: Už
|
71
|
+
confirm_destroy: Ar tikrai norite ištrinti šį komentarą?
|
72
|
+
delete: Ištrinti
|
73
|
+
deleted_at: Komentaras ištrintas %{date}
|
74
|
+
deleted_user: Ištrintas dalyvis
|
75
|
+
edit: Redaguoti
|
76
|
+
edited: Redaguota
|
77
|
+
hide_replies: Paslėpti atsakymus
|
78
|
+
moderated_at: Komentaras moderuotas %{date}
|
79
|
+
reply: Atsakyti
|
80
|
+
report:
|
81
|
+
action: Raportuoti
|
82
|
+
already_reported: Šis turinys jau praneštas ir bus peržiūrėtas administratoriaus.
|
83
|
+
close: Uždaryti
|
84
|
+
description: Ar šis turinys netinkamas?
|
85
|
+
details: Papildomi komentarai
|
86
|
+
reasons:
|
87
|
+
does_not_belong: Pateikta informacija susijusi su neteisėta veikla, savižudybe, asmenine ar kita informacija netinkančia %{organization_name}.
|
88
|
+
offensive: Pateikiamoje informacijoje yra rasizmo, seksizmo, keiksmažodžių, asmeninių atakų, grasinimų ar kitokios neapykantos kalbos.
|
89
|
+
spam: Pateikiamoje informacijoje yra reklamos, antraščių mąsalo ar apgavysčių.
|
90
|
+
title: Pranešti apie netinkamą turinį
|
91
|
+
show_replies: Rodyti %{replies_count} atsakymus
|
92
|
+
single_comment_link_title: Gauti nuorodą
|
93
|
+
comment_order_selector:
|
94
|
+
order:
|
95
|
+
best_rated: Geriausiai įvertinti
|
96
|
+
most_discussed: Labiausiai aptarti
|
97
|
+
older: Ankstesni
|
98
|
+
recent: Paskutiniai
|
99
|
+
title: 'Rikiuoti pagal:'
|
100
|
+
comment_thread:
|
101
|
+
title: Pokalbis su %{authorName}
|
102
|
+
comments:
|
103
|
+
blocked_comments_for_unauthorized_user_warning: Norėdami komentuoti turite būti patvirtintas(-a), tačiau galite skaityti egzistuojančius komentarus.
|
104
|
+
blocked_comments_for_user_warning: Šiuo metu komentarų pateikti negalite, tačiau galite perskaityti ankstesnius komentarus.
|
105
|
+
blocked_comments_warning: Komentarai šiuo metu išjungti, tačiau galite perskaityti ankstesnius komentarus.
|
106
|
+
comment_details_title: Komentaro detalės
|
107
|
+
loading: Komentarai įkeliami...
|
108
|
+
single_comment_warning: <a href="%{url}">Peržiūrėti visus komentarus</a>
|
109
|
+
single_comment_warning_title: Matote vieną komentarą
|
110
|
+
title:
|
111
|
+
one: "%{count} komentaras"
|
112
|
+
few: "%{count} komentarai"
|
113
|
+
many: "%{count} komentarai"
|
114
|
+
other: "%{count} komentarai"
|
115
|
+
down_vote_button:
|
116
|
+
text: Nesutinku su šiuo komentaru
|
117
|
+
edit_comment_modal_form:
|
118
|
+
close: Uždaryti
|
119
|
+
form:
|
120
|
+
body:
|
121
|
+
label: Komentaras
|
122
|
+
placeholder: Ką apie tai manote?
|
123
|
+
submit: Siųsti
|
124
|
+
title: Taisyti komentarą
|
125
|
+
up_vote_button:
|
126
|
+
text: Sutinku su šiuo komentaru
|
127
|
+
events:
|
128
|
+
comments:
|
129
|
+
comment_by_followed_user:
|
130
|
+
email_intro: "%{author_name} pakomentavo %{resource_title}. Komentarą galite perskaityti:"
|
131
|
+
email_outro: Gavote šį pranešimą nes sekate %{author_name}. Galite pasirinkti nebesekti šio naudotojo jo profilio puslapyje.
|
132
|
+
email_subject: Naujas komentaras %{resource_title} iš %{author_name}
|
133
|
+
notification_title: Naujas komentaras <a href="%{resource_path}">%{resource_title}</a> iš <a href="%{author_path}">%{author_name}%{author_nickname}</a>.
|
134
|
+
comment_by_followed_user_group:
|
135
|
+
email_intro: 'Grupė %{author_name} paliko komentarą po %{resource_title}. Galite jį perskaityti šiame puslapyje:'
|
136
|
+
email_outro: Šį pranešimą gavote dėl to, kad sekate %{author_name}. Jūs galite nebesekti šios grupės pasirinkdami šį nustatymą jos profilio puslapyje.
|
137
|
+
email_subject: Naujas komentaras %{resource_title} iš %{author_name}
|
138
|
+
notification_title: Naujas komentaras <a href="%{resource_path}">%{resource_title}</a> iš <a href="%{author_path}">%{author_name}%{author_nickname}</a>.
|
139
|
+
comment_created:
|
140
|
+
email_intro: "%{resource_title} pateiktas komentaras. Komentarą galite perskaityti šiame puslapyje:"
|
141
|
+
email_outro: Šį pranešimą gavote dėl to, kad sekate „%{resource_title}“ arba jo autorių. Jūs galite jo nebesekti spustelėdami aukščiau esančią nuorodą.
|
142
|
+
email_subject: '%{author_name} paliko naują komentarą %{resource_title}'
|
143
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> paliko naują komentarą <a href="%{resource_path}">%{resource_title}</a>
|
144
|
+
comment_downvoted:
|
145
|
+
email_intro: Jūsų komentaras %{resource_title} buvo nepakaikyas. Komentaras dabar turi %{upvotes} palaikymus ir %{downvotes} nepalaikymus.
|
146
|
+
email_outro: Šį pranešimą gavote dėl to, kad esate pasiūlymo autorius.
|
147
|
+
email_subject: Jūsų komentaras %{resource_title} buvo įvertintas neigiamai.
|
148
|
+
notification_title: Jūsų <a href="%{resource_path}"> komentaras</a> %{resource_title} buvo įvertintas neigiamai. Dabar jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
|
149
|
+
comment_upvoted:
|
150
|
+
email_intro: Jūsų komentaras %{resource_title} buvo įvertintas teigiamai. Jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
|
151
|
+
email_outro: Šį pranešimą gavote nes esate komentaro autorius.
|
152
|
+
email_subject: Komentaras %{resource_title} buvo įvertintas teigiamai.
|
153
|
+
notification_title: Jūsų <a href="%{resource_path}">komentaras</a> %{resource_title} buvo įvertintas teigiamai. Jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
|
154
|
+
reply_created:
|
155
|
+
email_intro: "%{author_name} atsakė į komentarą %{resource_title}. Galite jį perskaityti:"
|
156
|
+
email_outro: Gavote šį pranešimą nes į Jūsų komentarą buvo atsakyta.
|
157
|
+
email_subject: "%{author_name} atsakė į komentarą %{resource_title}"
|
158
|
+
notification_title: <a href="%{author_path}">%{author_name}%{author_nickname}</a> atsakė į komentarą <a href="%{resource_path}">%{resource_title}</a>
|
159
|
+
user_group_mentioned:
|
160
|
+
email_intro: Grupė, kuriai priklausote, buvo paminėta
|
161
|
+
email_outro: Gavote šį pranešimą nes esate %{resource_title} paminėtos grupės %{group_name} narė(-ys).
|
162
|
+
email_subject: Buvote paminėtas %{resource_title} kaip %{group_name} narys
|
163
|
+
notification_title: Buvote paminėtas <a href="%{resource_path}">%{resource_title} <a href="%{author_path}">%{author_name}%{author_nickname}</a> kaip <a href="%{group_path}">%{group_name}%{group_nickname}</a> narį
|
164
|
+
user_mentioned:
|
165
|
+
email_intro: Buvote paminėta(-s)
|
166
|
+
email_outro: Gavote šį pranešimą nes buvote paminėta(-s) %{resource_title}.
|
167
|
+
email_subject: Buvote paminėta(-s) %{resource_title}
|
168
|
+
notification_title: Buvote paminėta(-s) <a href="%{resource_path}"> %{resource_title}</a><a href="%{author_path}">%{author_name}%{author_nickname}</a>
|
169
|
+
metrics:
|
170
|
+
comments:
|
171
|
+
description: Komentarų sugeneruotų dalyvių skaičius
|
172
|
+
object: komentarai
|
173
|
+
title: Komentarai
|
174
|
+
errors:
|
175
|
+
messages:
|
176
|
+
cannot_have_comments: negali būti komentuota
|
data/config/locales/nl.yml
CHANGED
@@ -3,6 +3,7 @@ nl:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Commentaar
|
5
5
|
decidim/comments/comment_created_event: Commentaar
|
6
|
+
decidim/comments/comment_upvoted_event: Reactie omhoog gestemd
|
6
7
|
decidim/comments/reply_created_event: Reactie antwoord
|
7
8
|
decidim/comments/user_group_mentioned_event: Vermelding
|
8
9
|
decidim/comments/user_mentioned_event: Vermelding
|
@@ -23,11 +24,14 @@ nl:
|
|
23
24
|
end_time: Reacties ingeschakeld tot
|
24
25
|
start_time: Commentaren ingeschakeld vanaf
|
25
26
|
comments:
|
27
|
+
create:
|
28
|
+
error: Er is een probleem opgetreden bij het aanmaken van de reactie.
|
26
29
|
delete:
|
27
30
|
error: De reactie kon niet worden verwijderd.
|
28
31
|
update:
|
29
32
|
error: Er is een probleem opgetreden bij het bijwerken van de reactie.
|
30
33
|
comments_count: Aantal reacties
|
34
|
+
comments_title: Reacties
|
31
35
|
last_activity:
|
32
36
|
new_comment_at_html: "<span>Nieuwe opmerking op %{link}</span>"
|
33
37
|
view: Bekijk
|
@@ -67,6 +71,7 @@ nl:
|
|
67
71
|
edit: Bewerk
|
68
72
|
edited: Bewerkt
|
69
73
|
hide_replies: Antwoorden verbergen
|
74
|
+
moderated_at: Reactie gemodereerd op %{date}
|
70
75
|
reply: Antwoord
|
71
76
|
report:
|
72
77
|
action: Melden
|
@@ -98,6 +103,9 @@ nl:
|
|
98
103
|
loading: Reacties laden...
|
99
104
|
single_comment_warning: <a href="%{url}">Bekijk alle reacties</a>
|
100
105
|
single_comment_warning_title: Je ziet een enkele reactie
|
106
|
+
title:
|
107
|
+
one: "%{count} reacties"
|
108
|
+
other: "%{count} reacties"
|
101
109
|
down_vote_button:
|
102
110
|
text: Ik ben het niet eens met deze reactie
|
103
111
|
edit_comment_modal_form:
|
@@ -127,6 +135,16 @@ nl:
|
|
127
135
|
email_outro: Je hebt deze melding ontvangen omdat je '%{resource_title}' of de auteur ervan volgt. Ontvolgen kan door te klikken op de vorige link.
|
128
136
|
email_subject: Er is een nieuwe reactie van %{author_name} in %{resource_title}
|
129
137
|
notification_title: Er is een nieuwe reactie van <a href="%{author_path}">%{author_name} %{author_nickname}</a> in <a href="%{resource_path}">%{resource_title}</a>
|
138
|
+
comment_downvoted:
|
139
|
+
email_intro: Je reactie in "%{resource_title}" kreeg een tegenstem. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
|
140
|
+
email_outro: Je hebt deze melding ontvangen omdat je de auteur bent van deze reactie.
|
141
|
+
email_subject: Je reactie in "%{resource_title}" kreeg een tegenstem.
|
142
|
+
notification_title: Je <a href="%{resource_path}">reactie</a> in "%{resource_title}" kreeg een tegenstem. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
|
143
|
+
comment_upvoted:
|
144
|
+
email_intro: Je reactie in "%{resource_title}" kreeg een stem 'voor'. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
|
145
|
+
email_outro: Je hebt deze melding ontvangen omdat je de auteur bent van deze reactie.
|
146
|
+
email_subject: Je reactie in "%{resource_title}" kreeg een stem 'voor'.
|
147
|
+
notification_title: Je <a href="%{resource_path}">reactie</a> in "%{resource_title}" kreeg een stem 'voor'. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
|
130
148
|
reply_created:
|
131
149
|
email_intro: "%{author_name} heeft gereageerd op jouw opmerking in %{resource_title}. Lees het via deze link:"
|
132
150
|
email_outro: Je hebt deze melding ontvangen omdat je reactie beantwoord is.
|
@@ -0,0 +1 @@
|
|
1
|
+
oc:
|
@@ -19,6 +19,11 @@ FactoryBot.define do
|
|
19
19
|
comment.body = Decidim::ContentProcessor.parse_with_processor(:hashtag, comment.body, current_organization: comment.root_commentable.organization).rewrite
|
20
20
|
end
|
21
21
|
|
22
|
+
trait :deleted do
|
23
|
+
created_at { 1.day.ago }
|
24
|
+
deleted_at { 1.hour.ago }
|
25
|
+
end
|
26
|
+
|
22
27
|
trait :comment_on_comment do
|
23
28
|
author { build(:user, organization: root_commentable.organization) }
|
24
29
|
commentable do
|
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.26.
|
4
|
+
version: 0.26.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep Jaume Rey Peroy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-09-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: decidim-core
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.26.
|
21
|
+
version: 0.26.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.26.
|
28
|
+
version: 0.26.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: redcarpet
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,28 +52,28 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.26.
|
55
|
+
version: 0.26.3
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.26.
|
62
|
+
version: 0.26.3
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: decidim-dev
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.26.
|
69
|
+
version: 0.26.3
|
70
70
|
type: :development
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.26.
|
76
|
+
version: 0.26.3
|
77
77
|
description: Pluggable comments system for some components.
|
78
78
|
email:
|
79
79
|
- josepjaume@gmail.com
|
@@ -215,6 +215,7 @@ files:
|
|
215
215
|
- config/locales/mt.yml
|
216
216
|
- config/locales/nl.yml
|
217
217
|
- config/locales/no.yml
|
218
|
+
- config/locales/oc-FR.yml
|
218
219
|
- config/locales/om-ET.yml
|
219
220
|
- config/locales/pl.yml
|
220
221
|
- config/locales/pt-BR.yml
|