decidim-comments 0.16.0 → 0.16.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/decidim/comments/bundle.js +21 -21
- data/app/assets/javascripts/decidim/comments/bundle.js.map +1 -1
- data/app/queries/decidim/comments/sorted_comments.rb +1 -1
- data/config/locales/ar-SA.yml +102 -0
- data/config/locales/cs-CZ.yml +103 -0
- data/config/locales/es-MX.yml +99 -0
- data/config/locales/id-ID.yml +91 -0
- data/config/locales/tr-TR.yml +98 -0
- data/lib/decidim/comments/api/comment_type.rb +1 -1
- data/lib/decidim/comments/comment_serializer.rb +2 -1
- data/lib/decidim/comments/version.rb +1 -1
- metadata +11 -8
data/config/locales/id-ID.yml
CHANGED
@@ -1 +1,92 @@
|
|
1
1
|
id:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/comments/comment_by_followed_user_event: Komentar
|
5
|
+
decidim/comments/comment_created_event: Komentar
|
6
|
+
decidim/comments/reply_created_event: Balasan komentar
|
7
|
+
decidim/comments/user_mentioned_event: Menyebut
|
8
|
+
activerecord:
|
9
|
+
models:
|
10
|
+
decidim/comments/comment:
|
11
|
+
other: Komentar
|
12
|
+
decidim/comments/comment_vote:
|
13
|
+
other: Voting
|
14
|
+
decidim:
|
15
|
+
comments:
|
16
|
+
comments: Komentar
|
17
|
+
last_activity:
|
18
|
+
new_comment_at_html: "<span>Komentar baru di %{link}</span>"
|
19
|
+
components:
|
20
|
+
add_comment_form:
|
21
|
+
account_message: <a href="%{sign_in_url}">Masuk dengan akun Anda</a> atau <a href="%{sign_up_url}">mendaftar</a> untuk menambahkan komentar Anda.
|
22
|
+
form:
|
23
|
+
body:
|
24
|
+
label: Komentar
|
25
|
+
placeholder: Apa yang Anda pikirkan tentang ini?
|
26
|
+
form_error: Teks diperlukan dan tidak boleh lebih dari %{length} karakter.
|
27
|
+
submit: Kirim
|
28
|
+
user_group_id:
|
29
|
+
label: Beri komentar sebagai
|
30
|
+
opinion:
|
31
|
+
neutral: Netral
|
32
|
+
remaining_characters: "%{count} karakter tersisa"
|
33
|
+
remaining_characters_1: "%{count} karakter tersisa"
|
34
|
+
title: Tambahkan komentar Anda
|
35
|
+
comment:
|
36
|
+
alignment:
|
37
|
+
against: Melawan
|
38
|
+
in_favor: Mendukung
|
39
|
+
reply: Balasan
|
40
|
+
report:
|
41
|
+
action: Melaporkan
|
42
|
+
already_reported: Konten ini sudah dilaporkan dan akan ditinjau oleh admin.
|
43
|
+
close: Dekat
|
44
|
+
description: Apakah konten ini tidak pantas?
|
45
|
+
details: Komentar tambahan
|
46
|
+
reasons:
|
47
|
+
does_not_belong: Berisi aktivitas ilegal, ancaman bunuh diri, informasi pribadi, atau sesuatu yang menurut Anda bukan milik %{organization_name}
|
48
|
+
offensive: Berisi rasisme, seksisme, penghinaan, serangan pribadi, ancaman kematian, permintaan bunuh diri atau segala bentuk pidato kebencian.
|
49
|
+
spam: Berisi clickbait, iklan, penipuan atau bot skrip.
|
50
|
+
title: Laporkan masalah
|
51
|
+
comment_order_selector:
|
52
|
+
order:
|
53
|
+
best_rated: Nilai terbaik
|
54
|
+
most_discussed: Paling banyak dibicarakan
|
55
|
+
older: Lebih tua
|
56
|
+
recent: Baru
|
57
|
+
title: 'Dipesan oleh:'
|
58
|
+
comment_thread:
|
59
|
+
title: Percakapan dengan %{authorName}
|
60
|
+
comments:
|
61
|
+
blocked_comments_warning: Komentar dinonaktifkan saat ini, tetapi Anda dapat membaca yang sebelumnya.
|
62
|
+
loading: Memuat komentar ...
|
63
|
+
title: "%{count} komentar"
|
64
|
+
events:
|
65
|
+
comments:
|
66
|
+
comment_by_followed_user:
|
67
|
+
email_intro: "%{author_name} telah menulis komentar dalam %{resource_title}. Anda dapat membacanya di halaman ini:"
|
68
|
+
email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti %{author_name}. Anda dapat berhenti mengikuti pengguna ini dari halaman profil mereka.
|
69
|
+
email_subject: Ada komentar baru dengan %{author_name} in %{resource_title}
|
70
|
+
notification_title: Ada komentar baru oleh <a href="%{author_path}">%{author_name} %{author_nickname}</a> di <a href="%{resource_path}">%{resource_title}</a>.
|
71
|
+
comment_created:
|
72
|
+
email_intro: "%{resource_title} telah dikomentari. Anda dapat membaca komentar di halaman ini:"
|
73
|
+
email_outro: Anda telah menerima pemberitahuan ini karena Anda mengikuti "%{resource_title}" atau penulisnya. Anda dapat berhenti mengikutinya dari tautan sebelumnya.
|
74
|
+
email_subject: Ada komentar baru dari %{author_name} in %{resource_title}
|
75
|
+
notification_title: Ada komentar baru dari <a href="%{author_path}">%{author_name} %{author_nickname}</a> di <a href="%{resource_path}">%{resource_title}</a>
|
76
|
+
reply_created:
|
77
|
+
email_intro: "%{author_name} telah membalas komentar Anda dalam %{resource_title}. Anda dapat membacanya di halaman ini:"
|
78
|
+
email_outro: Anda telah menerima pemberitahuan ini karena komentar Anda dijawab.
|
79
|
+
email_subject: "%{author_name} telah membalas komentar Anda dalam %{resource_title}"
|
80
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> telah menjawab komentar Anda di <a href="%{resource_path}">%{resource_title}</a>
|
81
|
+
user_mentioned:
|
82
|
+
email_intro: Anda telah disebutkan
|
83
|
+
email_outro: Anda telah menerima pemberitahuan ini karena Anda telah disebutkan dalam %{resource_title}.
|
84
|
+
email_subject: Anda telah disebutkan dalam %{resource_title}
|
85
|
+
notification_title: Anda telah disebutkan dalam <a href="%{resource_path}">%{resource_title}</a> oleh <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
86
|
+
metrics:
|
87
|
+
comments:
|
88
|
+
object: komentar
|
89
|
+
title: Komentar
|
90
|
+
errors:
|
91
|
+
messages:
|
92
|
+
cannot_have_comments: tidak dapat memiliki komentar
|
data/config/locales/tr-TR.yml
CHANGED
@@ -1 +1,99 @@
|
|
1
1
|
tr:
|
2
|
+
activemodel:
|
3
|
+
models:
|
4
|
+
decidim/comments/comment_by_followed_user_event: Yorum Yap
|
5
|
+
decidim/comments/comment_created_event: Yorum Yap
|
6
|
+
decidim/comments/reply_created_event: Yorum cevabı
|
7
|
+
decidim/comments/user_mentioned_event: Anma
|
8
|
+
activerecord:
|
9
|
+
models:
|
10
|
+
decidim/comments/comment:
|
11
|
+
one: Yorum Yap
|
12
|
+
other: Yorumlar
|
13
|
+
decidim/comments/comment_vote:
|
14
|
+
one: Oy
|
15
|
+
other: oy
|
16
|
+
decidim:
|
17
|
+
comments:
|
18
|
+
comments: Yorumlar
|
19
|
+
last_activity:
|
20
|
+
new_comment_at_html: "<span> %{link}</span>yeni yorum"
|
21
|
+
votes:
|
22
|
+
create:
|
23
|
+
error: Gönderi kaydedilirken hatalar oluştu.
|
24
|
+
components:
|
25
|
+
add_comment_form:
|
26
|
+
account_message: <a href="%{sign_in_url}">Yorumunuzu eklemek için</a> veya <a href="%{sign_up_url}">hesabınızla giriş yapın</a>.
|
27
|
+
form:
|
28
|
+
body:
|
29
|
+
label: Yorum Yap
|
30
|
+
placeholder: Bunun hakkında ne düşünüyorsun?
|
31
|
+
form_error: Metin gereklidir ve %{length} karakterden uzun olamaz.
|
32
|
+
submit: göndermek
|
33
|
+
user_group_id:
|
34
|
+
label: Olarak yorum yap
|
35
|
+
opinion:
|
36
|
+
neutral: nötr
|
37
|
+
remaining_characters: "%{count} karakter kaldı"
|
38
|
+
remaining_characters_1: "%{count} karakter kaldı"
|
39
|
+
title: yorumunu ekle
|
40
|
+
comment:
|
41
|
+
alignment:
|
42
|
+
against: Karşısında
|
43
|
+
in_favor: Lehine
|
44
|
+
deleted_user: Silinmiş kullanıcı
|
45
|
+
reply: cevap
|
46
|
+
report:
|
47
|
+
action: Rapor
|
48
|
+
already_reported: Bu içerik zaten bildirildi ve bir yönetici tarafından incelenecek.
|
49
|
+
close: Kapat
|
50
|
+
description: Bu içerik uygunsuz mu?
|
51
|
+
details: Ek Yorumlar
|
52
|
+
reasons:
|
53
|
+
does_not_belong: Yasadışı faaliyet, intihar tehditleri, kişisel bilgiler veya %{organization_name}ait olmadığını düşündüğünüz başka bir şey içerir.
|
54
|
+
offensive: Irkçılık, cinsiyetçilik, hakaretler, kişisel saldırılar, ölüm tehditleri, intihar talepleri veya herhangi bir nefret söylemi içerir.
|
55
|
+
spam: Clickbait, reklam, dolandırıcılık veya script botları içerir.
|
56
|
+
title: Sorun bildir
|
57
|
+
comment_order_selector:
|
58
|
+
order:
|
59
|
+
best_rated: En çok oy alan
|
60
|
+
most_discussed: En çok tartışılan
|
61
|
+
older: Daha eski
|
62
|
+
recent: Son
|
63
|
+
title: 'Tarafından sipariş:'
|
64
|
+
comment_thread:
|
65
|
+
title: '%{authorName}ile sohbet'
|
66
|
+
comments:
|
67
|
+
blocked_comments_warning: Yorumlar şu anda devre dışı, ancak öncekileri okuyabilirsiniz.
|
68
|
+
loading: Yorumlar yükleniyor ...
|
69
|
+
title: "%{count} yorum"
|
70
|
+
events:
|
71
|
+
comments:
|
72
|
+
comment_by_followed_user:
|
73
|
+
email_intro: "%{author_name} , %{resource_title}yorum yaptı. Bu sayfada okuyabilirsiniz:"
|
74
|
+
email_outro: '%{author_name}takip ettiğiniz için bu bildirimi aldınız. Bu kullanıcıyı profil sayfasından takip edebilirsiniz.'
|
75
|
+
email_subject: '%{author_name} %{resource_title}tarafından yeni bir yorum var'
|
76
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> tarafından <a href="%{resource_path}">%{resource_title}</a>yeni bir yorum var.
|
77
|
+
comment_created:
|
78
|
+
email_intro: "%{resource_title} yorum yapıldı. Bu sayfadaki yorumu okuyabilirsiniz:"
|
79
|
+
email_outro: '"%{resource_title}" veya yazarı takip ettiğiniz için bu bildirimi aldınız. Bunu önceki linkten takip edebilirsiniz.'
|
80
|
+
email_subject: '%{author_name} %{resource_title}yeni bir yorum var'
|
81
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a>yeni bir yorum var
|
82
|
+
reply_created:
|
83
|
+
email_intro: "%{author_name} , yorumunuzu %{resource_title}yanıtladı. Bu sayfada okuyabilirsiniz:"
|
84
|
+
email_outro: Yorumunuz yanıtlandığı için bu bildirimi aldınız.
|
85
|
+
email_subject: "%{author_name} Yorumunuzu %{resource_title}yanıtladı."
|
86
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a>yorumunuzu yanıtladı.
|
87
|
+
user_mentioned:
|
88
|
+
email_intro: Sen bahsettin
|
89
|
+
email_outro: Bu bildirimi, %{resource_title}belirtildiğiniz için aldınız.
|
90
|
+
email_subject: '%{resource_title}bahsettiniz'
|
91
|
+
notification_title: <a href="%{resource_path}">%{resource_title}</a> tarafından <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
92
|
+
metrics:
|
93
|
+
comments:
|
94
|
+
description: Kullanıcılar tarafından oluşturulan Yorum Sayısı
|
95
|
+
object: yorumlar
|
96
|
+
title: Yorumlar
|
97
|
+
errors:
|
98
|
+
messages:
|
99
|
+
cannot_have_comments: yorum yapamam
|
@@ -4,6 +4,7 @@ module Decidim
|
|
4
4
|
module Comments
|
5
5
|
class CommentSerializer < Decidim::Exporters::Serializer
|
6
6
|
include Decidim::ResourceHelper
|
7
|
+
include Decidim::TranslationsHelper
|
7
8
|
|
8
9
|
# Serializes a comment
|
9
10
|
def serialize
|
@@ -19,7 +20,7 @@ module Decidim
|
|
19
20
|
depth: resource.depth,
|
20
21
|
user_group: {
|
21
22
|
id: resource.user_group.try(:id),
|
22
|
-
name: resource.user_group.try(:name)
|
23
|
+
name: resource.user_group.try(:name) || empty_translatable
|
23
24
|
},
|
24
25
|
commentable_id: resource.decidim_commentable_id,
|
25
26
|
commentable_type: resource.decidim_commentable_type,
|
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.16.
|
4
|
+
version: 0.16.1
|
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: 2019-
|
13
|
+
date: 2019-03-25 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.16.
|
21
|
+
version: 0.16.1
|
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.16.
|
28
|
+
version: 0.16.1
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: jquery-rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -46,28 +46,28 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - '='
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.16.
|
49
|
+
version: 0.16.1
|
50
50
|
type: :development
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
54
|
- - '='
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.16.
|
56
|
+
version: 0.16.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: decidim-dev
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - '='
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.16.
|
63
|
+
version: 0.16.1
|
64
64
|
type: :development
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - '='
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.16.
|
70
|
+
version: 0.16.1
|
71
71
|
description: Pluggable comments system for some components.
|
72
72
|
email:
|
73
73
|
- josepjaume@gmail.com
|
@@ -147,9 +147,12 @@ files:
|
|
147
147
|
- app/types/decidim/comments/commentable_interface.rb
|
148
148
|
- app/types/decidim/comments/commentable_mutation_type.rb
|
149
149
|
- app/types/decidim/comments/commentable_type.rb
|
150
|
+
- config/locales/ar-SA.yml
|
150
151
|
- config/locales/ca.yml
|
152
|
+
- config/locales/cs-CZ.yml
|
151
153
|
- config/locales/de.yml
|
152
154
|
- config/locales/en.yml
|
155
|
+
- config/locales/es-MX.yml
|
153
156
|
- config/locales/es-PY.yml
|
154
157
|
- config/locales/es.yml
|
155
158
|
- config/locales/eu.yml
|