decidim-comments 0.26.8 → 0.26.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/environment.rb +3 -0
- data/config/locales/de.yml +1 -1
- data/config/locales/eu.yml +22 -22
- data/config/locales/ja.yml +4 -4
- data/config/locales/lt.yml +5 -0
- data/config/locales/pl.yml +9 -0
- data/config/locales/pt-BR.yml +2 -0
- data/config/locales/sq-AL.yml +1 -0
- data/config/locales/sv.yml +3 -0
- data/config/locales/th-TH.yml +1 -0
- data/lib/decidim/comments/comment_serializer.rb +2 -2
- data/lib/decidim/comments/comment_vote_serializer.rb +2 -2
- data/lib/decidim/comments/version.rb +1 -1
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9218523c10e53cfe1e88d5b9355639f8265005e9a7de02820b6aa3ace72ad64
|
4
|
+
data.tar.gz: 4d3d260a94919df22d34e659fc064e23afefe70744e378d56f9774b693292c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a2c3f1bbcd8194138aef196044ad718a4119e3515b1473ff1b3e31c60e274a7ec9715de4afa9410aff89cb0c585ff8f8bb38fd93458f668820f2e13860ca321
|
7
|
+
data.tar.gz: bc06048ebe4ac146a7d7d4241fad703f8da06c176a20d1a233482c7af4f3a06a72813e3a54ee74541da314f558a0ac86bf3c27e9ab648c534180d8b3a1c4ab02
|
data/config/environment.rb
CHANGED
data/config/locales/de.yml
CHANGED
@@ -64,7 +64,7 @@ de:
|
|
64
64
|
alignment:
|
65
65
|
against: Gegen
|
66
66
|
in_favor: Zugunsten
|
67
|
-
confirm_destroy:
|
67
|
+
confirm_destroy: Sind Sie sich sicher, dass Sie diesen Kommentar löschen möchten?
|
68
68
|
delete: Löschen
|
69
69
|
deleted_at: Kommentar gelöscht am %{date}
|
70
70
|
deleted_user: Gelöschter Benutzer
|
data/config/locales/eu.yml
CHANGED
@@ -3,7 +3,7 @@ eu:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Iruzkina
|
5
5
|
decidim/comments/comment_created_event: Iruzkina
|
6
|
-
decidim/comments/comment_upvoted_event: Iruzkina
|
6
|
+
decidim/comments/comment_upvoted_event: Iruzkina positiboki baloratua
|
7
7
|
decidim/comments/reply_created_event: Iruzkinaren erantzuna
|
8
8
|
decidim/comments/user_group_mentioned_event: Aipamena
|
9
9
|
decidim/comments/user_mentioned_event: Aipamena
|
@@ -25,19 +25,19 @@ eu:
|
|
25
25
|
start_time: Iruzkinak noiztik aktibatuta
|
26
26
|
comments:
|
27
27
|
create:
|
28
|
-
error:
|
28
|
+
error: Arazo bat egon da iruzkina sortzean.
|
29
29
|
delete:
|
30
30
|
error: Iruzkina ezin izan da ezabatu.
|
31
31
|
update:
|
32
|
-
error:
|
32
|
+
error: Arazo bat ego da iruzkina eguneratzean.
|
33
33
|
comments_count: Iruzkin kopurua
|
34
|
-
comments_title:
|
34
|
+
comments_title: Iruzkinak
|
35
35
|
last_activity:
|
36
|
-
new_comment_at_html: "<span>
|
36
|
+
new_comment_at_html: "<span>Beste iruzkin bat hemen: %{link}</span>"
|
37
37
|
view: Bistaratu
|
38
38
|
votes:
|
39
39
|
create:
|
40
|
-
error: Arazo bat
|
40
|
+
error: Arazo bat egon da iruzkina bozkatzean.
|
41
41
|
components:
|
42
42
|
add_comment_form:
|
43
43
|
account_message: <a href="%{sign_in_url}">Hasi saioa zure kontuarekin</a> o <a href="%{sign_up_url}">erregistratu</a> zure iruzkina txertatzeko.
|
@@ -59,7 +59,7 @@ eu:
|
|
59
59
|
positive_selected: Zure iritzia gai honi buruz positiboa da
|
60
60
|
remaining_characters: "%{count} karaktere geratzen dira"
|
61
61
|
remaining_characters_1: "karaktere %{count} geratzen da"
|
62
|
-
title:
|
62
|
+
title: Gehitu zure iruzkina
|
63
63
|
comment:
|
64
64
|
alignment:
|
65
65
|
against: Aurka
|
@@ -67,7 +67,7 @@ eu:
|
|
67
67
|
confirm_destroy: Ziur zaude iruzkin hau ezabatu nahi duzula?
|
68
68
|
delete: Ezabatu
|
69
69
|
deleted_at: Iruzkina ezabatu da data honetan %{date}
|
70
|
-
deleted_user: Parte
|
70
|
+
deleted_user: Parte-hartzailea ezabatua
|
71
71
|
edit: Editatu
|
72
72
|
edited: Editatuta
|
73
73
|
hide_replies: Ezkutatu erantzunak
|
@@ -90,7 +90,7 @@ eu:
|
|
90
90
|
single_comment_link_title: Lortu esteka
|
91
91
|
comment_order_selector:
|
92
92
|
order:
|
93
|
-
best_rated: Balorazio
|
93
|
+
best_rated: Balorazio onenak
|
94
94
|
most_discussed: Eztabaidatuenak
|
95
95
|
older: Zaharrenak
|
96
96
|
recent: Berrienak
|
@@ -125,18 +125,18 @@ eu:
|
|
125
125
|
comment_by_followed_user:
|
126
126
|
email_intro: "%{author_name} egileak iruzkin bat utzi du %{resource_title} helbidean. Orri honetan irakur dezakezu:"
|
127
127
|
email_outro: Jakinarazpen hau jaso duzu %{author_name} erabiltzailea jarraitzen duzulako. Nahi izatekotan erabiltzaile hori bere profil-orritik jarraitzeari utz diezaiokezu.
|
128
|
-
email_subject: '%{author_name}
|
129
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a
|
128
|
+
email_subject: '%{author_name} k beste iruzkin bat egin du hemen: %{resource_title}'
|
129
|
+
notification_title: '<a href="%{author_path}">%{author_name} %{author_nickname}</a> k iruzkin berri bat egin du hemen: <a href="%{resource_path}">%{resource_title}</a>-an.'
|
130
130
|
comment_by_followed_user_group:
|
131
131
|
email_intro: '%{author_name} k iruzkin bat utzi du hemen %{resource_title}. Orrialde honetan irakur dezakezu:'
|
132
132
|
email_outro: Jakinarazpena jaso duzu "%{author_name}" jarraitzen ari zarelako. Jarraitzeari utzi ahal diozu bere perfileko orrialdetik.
|
133
|
-
email_subject: '%{author_name} egileak iruzkin berri bat utzi du %{resource_title}
|
134
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a>egileak iruzkin berri bat utzi du <a href="%{resource_path}">%{resource_title}</a>-an.
|
133
|
+
email_subject: '%{author_name} egileak iruzkin berri bat utzi du hemen: %{resource_title}'
|
134
|
+
notification_title: '<a href="%{author_path}">%{author_name} %{author_nickname}</a>egileak iruzkin berri bat utzi du hemen: <a href="%{resource_path}">%{resource_title}</a>-an.'
|
135
135
|
comment_created:
|
136
|
-
email_intro: "%{resource_title} iruzkindu da. Orri honetan
|
136
|
+
email_intro: "%{resource_title} iruzkindu da. Orri honetan irakur dezakezu iruzkina:"
|
137
137
|
email_outro: Jakinarazpen hau jaso duzu "%{resource_title}" edo bere egilea jarraitzen duzulako. Aurreko estekan jarrai dezakezu.
|
138
|
-
email_subject: '%{author_name}
|
139
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a
|
138
|
+
email_subject: '%{author_name} k beste iruzkin berri bat egin du hemen: %{resource_title}'
|
139
|
+
notification_title: '<a href="%{author_path}">%{author_name} %{author_nickname}</a> k iruzkin berri bat egin du hemen: <a href="%{resource_path}">%{resource_title}</a></a>'
|
140
140
|
comment_downvoted:
|
141
141
|
email_intro: Zure iruzkina hemen "%{resource_title}" negatiboki bozkatu da. Orain %{upvotes} boto positibo eta %{downvotes} boto negatibo dituzu guztira.
|
142
142
|
email_outro: Jakinarazpen hau jaso duzu iruzkin honen egilea zarelako.
|
@@ -148,9 +148,9 @@ eu:
|
|
148
148
|
email_subject: Zure iruzkina hemen "%{resource_title}" positiboki bozkatu da.
|
149
149
|
notification_title: Zure <a href="%{resource_path}">iruzkina </a> "%{resource_title}"-an positiboki bozkatu da. Orain guztira %{upvotes} botos positibo eta %{downvotes} boto negatibo dituzu.
|
150
150
|
reply_created:
|
151
|
-
email_intro: "%{author_name} zure iruzkina erantzun du %{resource_title}
|
151
|
+
email_intro: "%{author_name} k zure iruzkina erantzun du hemen: %{resource_title}. Orri honetan irakur dezakezu:"
|
152
152
|
email_outro: Jakinarazpen hau jaso duzu zure iruzkina erantzun delako.
|
153
|
-
email_subject: "%{author_name}-k zure iruzkina erantzun du %{resource_title}
|
153
|
+
email_subject: "%{author_name}-k zure iruzkina erantzun du hemen: %{resource_title}"
|
154
154
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> -k zure iruzkinari erantzun dio <a href="%{resource_path}">%{resource_title}</a>
|
155
155
|
user_group_mentioned:
|
156
156
|
email_intro: Zure talde bat aipatu dute
|
@@ -159,14 +159,14 @@ eu:
|
|
159
159
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> k aipatu zaitu hemen <a href="%{resource_path}">%{resource_title}</a> <a href="%{group_path}">%{group_name} %{group_nickname}</a> taldearen kide gisa
|
160
160
|
user_mentioned:
|
161
161
|
email_intro: Aipatu zaituzte
|
162
|
-
email_outro:
|
163
|
-
email_subject: '%{resource_title}
|
164
|
-
notification_title: <a href="%{
|
162
|
+
email_outro: 'Jakinarazpen hau jaso duzu hemen: %{resource_title} aipatu zaituztelako.'
|
163
|
+
email_subject: 'Hemen: %{resource_title} aipatu zaituzte'
|
164
|
+
notification_title: 'Hemen: <a href="%{group_path}">%{group_name} %{group_nickname}</a> egile honek: <a href="%{author_path}">%{author_name} %{author_nickname}</a> aipatu zaitu'
|
165
165
|
metrics:
|
166
166
|
comments:
|
167
167
|
description: Erabiltzaileek sortutako iruzkin kopurua
|
168
168
|
object: iruzkinak
|
169
|
-
title:
|
169
|
+
title: Iruzkinak
|
170
170
|
errors:
|
171
171
|
messages:
|
172
172
|
cannot_have_comments: ezin zaio iruzkinik egin
|
data/config/locales/ja.yml
CHANGED
@@ -87,10 +87,10 @@ ja:
|
|
87
87
|
single_comment_link_title: リンク取得
|
88
88
|
comment_order_selector:
|
89
89
|
order:
|
90
|
-
best_rated:
|
91
|
-
most_discussed:
|
90
|
+
best_rated: 評価の高い順
|
91
|
+
most_discussed: 議論数の多い順
|
92
92
|
older: 古い順
|
93
|
-
recent:
|
93
|
+
recent: 新しい順
|
94
94
|
title: '並び順:'
|
95
95
|
comment_thread:
|
96
96
|
title: '%{authorName} との会話'
|
@@ -129,7 +129,7 @@ ja:
|
|
129
129
|
email_subject: '%{author_name} から %{resource_title} に対して新しいコメントがあります'
|
130
130
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> より <a href="%{resource_path}">%{resource_title} に対して新しいコメントがあります</a>.
|
131
131
|
comment_created:
|
132
|
-
email_intro: "%{resource_title}
|
132
|
+
email_intro: "%{resource_title} にコメントがありました。このページでコメントを読むことができます:"
|
133
133
|
email_outro: '"%{resource_title}" 、またはその参加者をフォローしているためこの通知を受け取りました。前のリンクからフォローを解除することができます。'
|
134
134
|
email_subject: '%{author_name} から %{resource_title} に対して新しいコメントがあります'
|
135
135
|
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> から <a href="%{resource_path}">%{resource_title} に対して新しいコメントがあります</a>
|
data/config/locales/lt.yml
CHANGED
@@ -88,6 +88,11 @@ lt:
|
|
88
88
|
offensive: Pateikiamoje informacijoje yra rasizmo, seksizmo, keiksmažodžių, asmeninių atakų, grasinimų ar kitokios neapykantos kalbos.
|
89
89
|
spam: Pateikiamoje informacijoje yra reklamos, antraščių mąsalo ar apgavysčių.
|
90
90
|
title: Pranešti apie netinkamą turinį
|
91
|
+
show_replies:
|
92
|
+
one: Rodyti atsakymą
|
93
|
+
few: Rodyti %{count} atsakymus
|
94
|
+
many: Rodyti %{count} atsakymus
|
95
|
+
other: Rodyti %{count} atsakymus
|
91
96
|
single_comment_link_title: Gauti nuorodą
|
92
97
|
comment_order_selector:
|
93
98
|
order:
|
data/config/locales/pl.yml
CHANGED
@@ -3,6 +3,7 @@ pl:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Komentarz
|
5
5
|
decidim/comments/comment_created_event: Komentarz
|
6
|
+
decidim/comments/comment_upvoted_event: Polubiono komentarz
|
6
7
|
decidim/comments/reply_created_event: Odpowiedź na komentarz
|
7
8
|
decidim/comments/user_group_mentioned_event: Wzmianka
|
8
9
|
decidim/comments/user_mentioned_event: Wzmianka
|
@@ -23,6 +24,8 @@ pl:
|
|
23
24
|
admin:
|
24
25
|
shared:
|
25
26
|
availability_fields:
|
27
|
+
enabled: Komentarze włączone
|
28
|
+
end_time: Komentarze włączone do
|
26
29
|
start_time: Komentowanie możliwe od
|
27
30
|
comments:
|
28
31
|
create:
|
@@ -84,6 +87,11 @@ pl:
|
|
84
87
|
offensive: Promuje rasizm, seksizm, nienawiść, ataki osobiste, groźby śmierci, groźby samobójcze jakąkolwiek formę mowy nienawiści.
|
85
88
|
spam: Zawiera clickbaity, reklamy, oszustwa lub skrypty botów.
|
86
89
|
title: Zgłoś niewłaściwą treść
|
90
|
+
show_replies:
|
91
|
+
one: Pokaż odpowiedź
|
92
|
+
few: Pokaż %{count} odpowiedzi
|
93
|
+
many: Pokaż %{count} odpowiedzi
|
94
|
+
other: Pokaż %{count} odpowiedzi
|
87
95
|
single_comment_link_title: Pobierz link
|
88
96
|
comment_order_selector:
|
89
97
|
order:
|
@@ -100,6 +108,7 @@ pl:
|
|
100
108
|
blocked_comments_warning: Komentarze są w tej chwili wyłączone, ale możesz przeczytać poprzednie.
|
101
109
|
comment_details_title: Szczegóły komentarza
|
102
110
|
loading: Ładowanie komentarzy ...
|
111
|
+
single_comment_warning: <a href="%{url}">Zobacz wszystkie komentarze</a>
|
103
112
|
single_comment_warning_title: Wyświetlasz teraz pojedynczy komentarz
|
104
113
|
title:
|
105
114
|
one: "%{count} komentarz"
|
data/config/locales/pt-BR.yml
CHANGED
@@ -3,6 +3,7 @@ pt-BR:
|
|
3
3
|
models:
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comente
|
5
5
|
decidim/comments/comment_created_event: Comentário
|
6
|
+
decidim/comments/comment_upvoted_event: Comentário valorizado positivamente
|
6
7
|
decidim/comments/reply_created_event: Resposta
|
7
8
|
decidim/comments/user_group_mentioned_event: Mencionar
|
8
9
|
decidim/comments/user_mentioned_event: Mencionar
|
@@ -64,6 +65,7 @@ pt-BR:
|
|
64
65
|
edit: Editar
|
65
66
|
edited: Editado
|
66
67
|
hide_replies: Ocultar respostas
|
68
|
+
moderated_at: Comentário moderado em %{date}
|
67
69
|
reply: Resposta
|
68
70
|
report:
|
69
71
|
action: Relatório
|
@@ -0,0 +1 @@
|
|
1
|
+
sq:
|
data/config/locales/sv.yml
CHANGED
@@ -84,6 +84,9 @@ sv:
|
|
84
84
|
offensive: Innehåller rasism, sexism, skällsord, personliga attacker, dödshot, uppmaningar att begå självmord eller någon form av hatpropaganda.
|
85
85
|
spam: Innehåller clickbait, reklam, bedrägerier eller skriptrobotar.
|
86
86
|
title: Rapportera olämpligt innehåll
|
87
|
+
show_replies:
|
88
|
+
one: Visa svar
|
89
|
+
other: Visa %{count} svar
|
87
90
|
single_comment_link_title: Hämta länk
|
88
91
|
comment_order_selector:
|
89
92
|
order:
|
@@ -0,0 +1 @@
|
|
1
|
+
th:
|
@@ -32,8 +32,8 @@ module Decidim
|
|
32
32
|
private
|
33
33
|
|
34
34
|
def root_commentable_url
|
35
|
-
@root_commentable_url ||= if resource.root_commentable
|
36
|
-
resource.root_commentable.polymorphic_resource_url
|
35
|
+
@root_commentable_url ||= if resource.root_commentable.respond_to?(:polymorphic_resource_url)
|
36
|
+
resource.root_commentable.polymorphic_resource_url({})
|
37
37
|
else
|
38
38
|
ResourceLocatorPresenter.new(resource.root_commentable).url
|
39
39
|
end
|
@@ -37,8 +37,8 @@ module Decidim
|
|
37
37
|
private
|
38
38
|
|
39
39
|
def root_commentable_url
|
40
|
-
@root_commentable_url ||= if resource.comment.root_commentable
|
41
|
-
resource.comment.root_commentable.polymorphic_resource_url
|
40
|
+
@root_commentable_url ||= if resource.comment.root_commentable.respond_to?(:polymorphic_resource_url)
|
41
|
+
resource.comment.root_commentable.polymorphic_resource_url({})
|
42
42
|
else
|
43
43
|
ResourceLocatorPresenter.new(resource.comment.root_commentable).url
|
44
44
|
end
|
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.10
|
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:
|
13
|
+
date: 2024-04-30 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.10
|
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.10
|
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.10
|
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.10
|
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.10
|
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.10
|
77
77
|
description: Pluggable comments system for some components.
|
78
78
|
email:
|
79
79
|
- josepjaume@gmail.com
|
@@ -233,9 +233,11 @@ files:
|
|
233
233
|
- config/locales/sk.yml
|
234
234
|
- config/locales/sl.yml
|
235
235
|
- config/locales/so-SO.yml
|
236
|
+
- config/locales/sq-AL.yml
|
236
237
|
- config/locales/sr-CS.yml
|
237
238
|
- config/locales/sv.yml
|
238
239
|
- config/locales/sw-KE.yml
|
240
|
+
- config/locales/th-TH.yml
|
239
241
|
- config/locales/ti-ER.yml
|
240
242
|
- config/locales/tr-TR.yml
|
241
243
|
- config/locales/uk.yml
|