decidim-comments 0.27.2 → 0.27.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/comments/comment/actions.erb +5 -0
  3. data/app/cells/decidim/comments/comment/show.erb +3 -3
  4. data/app/controllers/decidim/comments/comments_controller.rb +10 -2
  5. data/app/views/decidim/comments/comments/create.js.erb +4 -0
  6. data/config/environment.rb +0 -0
  7. data/config/locales/ar.yml +65 -2
  8. data/config/locales/ca.yml +3 -1
  9. data/config/locales/cs.yml +5 -1
  10. data/config/locales/de.yml +4 -2
  11. data/config/locales/el.yml +13 -2
  12. data/config/locales/en.yml +3 -1
  13. data/config/locales/es-MX.yml +3 -1
  14. data/config/locales/es-PY.yml +3 -1
  15. data/config/locales/es.yml +3 -1
  16. data/config/locales/eu.yml +8 -6
  17. data/config/locales/fa-IR.yml +1 -0
  18. data/config/locales/fi-plain.yml +3 -1
  19. data/config/locales/fi.yml +3 -1
  20. data/config/locales/fr-CA.yml +5 -3
  21. data/config/locales/fr.yml +5 -3
  22. data/config/locales/gl.yml +0 -1
  23. data/config/locales/hu.yml +56 -2
  24. data/config/locales/id-ID.yml +1 -1
  25. data/config/locales/is-IS.yml +0 -1
  26. data/config/locales/it.yml +0 -1
  27. data/config/locales/ja.yml +2 -1
  28. data/config/locales/kaa.yml +1 -0
  29. data/config/locales/lb.yml +1 -2
  30. data/config/locales/lt.yml +1 -2
  31. data/config/locales/lv.yml +1 -2
  32. data/config/locales/nl.yml +0 -1
  33. data/config/locales/no.yml +0 -1
  34. data/config/locales/pl.yml +0 -1
  35. data/config/locales/pt-BR.yml +0 -1
  36. data/config/locales/pt.yml +0 -1
  37. data/config/locales/ro-RO.yml +4 -1
  38. data/config/locales/ru.yml +1 -1
  39. data/config/locales/si-LK.yml +0 -3
  40. data/config/locales/sk.yml +1 -2
  41. data/config/locales/sr-CS.yml +0 -1
  42. data/config/locales/sv.yml +0 -1
  43. data/config/locales/tr-TR.yml +0 -2
  44. data/config/locales/uk.yml +0 -1
  45. data/config/locales/zh-CN.yml +1 -2
  46. data/config/locales/zh-TW.yml +168 -0
  47. data/lib/decidim/comments/export.rb +2 -0
  48. data/lib/decidim/comments/version.rb +1 -1
  49. metadata +15 -12
@@ -4,6 +4,7 @@ hu:
4
4
  models:
5
5
  decidim/comments/comment_by_followed_user_event: Megjegyzés
6
6
  decidim/comments/comment_created_event: Megjegyzés
7
+ decidim/comments/comment_upvoted_event: Hozzászólás feljebb szavazva
7
8
  decidim/comments/reply_created_event: Hozzászólás válasz
8
9
  decidim/comments/user_group_mentioned_event: Említés
9
10
  decidim/comments/user_mentioned_event: Említés
@@ -17,8 +18,22 @@ hu:
17
18
  other: Szavazatok
18
19
  decidim:
19
20
  comments:
21
+ admin:
22
+ shared:
23
+ availability_fields:
24
+ enabled: Hozzászólások engedélyezve
25
+ end_time: Hozzászólás engedélyezve eddig
26
+ start_time: A hozzászólások engedélyezve ettől
27
+ comments:
28
+ create:
29
+ error: Hiba történt a hozzászólás létrehozása során.
30
+ update:
31
+ error: Hiba történt a hozzászólás frissítése során.
32
+ comments_count: Hozzászólások száma
33
+ comments_title: Hozzászólások
20
34
  last_activity:
21
35
  new_comment_at_html: "<span>Új megjegyzés: %{link}</span>"
36
+ view: Megtekintés
22
37
  votes:
23
38
  create:
24
39
  error: Hiba történt a megjegyzésre való szavazáskor.
@@ -30,11 +45,17 @@ hu:
30
45
  label: Megjegyzés
31
46
  placeholder: Mit gondolsz erről?
32
47
  form_error: Kötelező kitölteni, és nem lehet hosszabb, mint %{length} karakter.
33
- submit: Küldés
48
+ submit: Elküld
34
49
  user_group_id:
35
50
  label: 'Megjegyzés mint:'
36
51
  opinion:
52
+ label: A témáról alkotott véleménye
53
+ negative: Negatív
54
+ negative_selected: A témáról alkotott véleménye negatív
37
55
  neutral: Semleges
56
+ neutral_selected: A témáról alkotott véleménye semleges
57
+ positive: Pozitív
58
+ positive_selected: A témáról alkotott véleménye pozitív
38
59
  remaining_characters: "%{count} karakter maradt"
39
60
  remaining_characters_1: "%{count} karakter maradt"
40
61
  title: Szólj hozzá
@@ -42,7 +63,12 @@ hu:
42
63
  alignment:
43
64
  against: Ellenzem
44
65
  in_favor: Támogatom
66
+ confirm_destroy: Biztosan szeretné törölni ezt a hozzászólást?
67
+ delete: Törlés
68
+ deleted_at: 'Hozzászólás törölve ekkor: %{date}'
45
69
  deleted_user: Törölt felhasználó
70
+ edit: Szerkesztés
71
+ edited: Szerkesztve
46
72
  hide_replies: Válaszok elrejtése
47
73
  moderated_at: Hozzászólás moderálva %{date}
48
74
  reply: Válasz
@@ -56,7 +82,8 @@ hu:
56
82
  does_not_belong: 'Illegális tevékenységet, öngyilkosságra való felhívást, személyes adatokat vagy más olyan dolgot tartalmaz, ami nem tartozik ide: %{organization_name}.'
57
83
  offensive: Rasszizmust, szexizmust, gyalázkodást, személyeskedést, halálos fenyegetést, öngyilkosságra való felhívást vagy gyűlöletbeszédet tartalmaz.
58
84
  spam: Klikkvadászat, reklám, átverés vagy script bot.
59
- show_replies: '%{replies_count} válasz mutatása'
85
+ title: Nem megfelelő tartalom bejelentése
86
+ single_comment_link_title: Link megszerzése
60
87
  comment_order_selector:
61
88
  order:
62
89
  best_rated: Legjobbra értékelt
@@ -67,11 +94,28 @@ hu:
67
94
  comment_thread:
68
95
  title: 'Beszélgetés vele: %{authorName}'
69
96
  comments:
97
+ blocked_comments_for_unauthorized_user_warning: Ebben a pillanatban nem tud megjegyzéseket tenni, de elolvashatja az előzőeket.
70
98
  blocked_comments_for_user_warning: Ebben a pillanatban nem tud megjegyzéseket tenni, de elolvashatja az előzőeket.
71
99
  blocked_comments_warning: A megjegyzések jelenleg le vannak tiltva, de a korábbiakat elolvashatod.
72
100
  comment_details_title: Megjegyzés részletei
73
101
  loading: Hozzászólások betöltése ...
102
+ single_comment_warning: <a href="%{url}"><a href="%{url}">Minden hozzászólás megtekintése</a>
74
103
  single_comment_warning_title: Egyetlen megjegyzést látsz
104
+ title:
105
+ one: "%{count} hozzászólás"
106
+ other: "%{count} hozzászólás"
107
+ down_vote_button:
108
+ text: Nem értek egyet ezzel a hozzászólással
109
+ edit_comment_modal_form:
110
+ close: Bezár
111
+ form:
112
+ body:
113
+ label: Hozzászólás
114
+ placeholder: Mit gondolsz erről?
115
+ submit: Elküld
116
+ title: Hozzászólásod szerkesztése
117
+ up_vote_button:
118
+ text: Egyetértek ezzel a hozzászólással
75
119
  events:
76
120
  comments:
77
121
  comment_by_followed_user:
@@ -89,6 +133,16 @@ hu:
89
133
  email_outro: 'Ezt az értesítést azért kaptad, mert ezt (vagy ennek szerzőjét) követed: "%{resource_title}". Ha szeretnél, a link segítségével leiratkozhatsz.'
90
134
  email_subject: 'Új megjegyzés érkezett ehhez: %{resource_title}, tőle: %{author_name}'
91
135
  notification_title: 'Új megjegyzés tőle: <a href="%{author_path}">%{author_name} %{author_nickname}</a>, ehhez: <a href="%{resource_path}">%{resource_title}</a>'
136
+ comment_downvoted:
137
+ email_intro: A hozzászólásod itt %{resource_title} leszavazásra került. Most %{upvotes} szavazat van mellette és %{downvotes} ellene.
138
+ email_outro: Ezt az értesítést kaptad, mert te vagy a hozzászólás szerzője.
139
+ email_subject: A hozzászólásod itt %{resource_title} leszavazásra került.
140
+ notification_title: A hozzászólásod <a href="%{resource_path}"><a href="%{resource_path}"> itt %{resource_title} leszavazásra került. Most %{upvotes} szavazat van mellette és %{downvotes} ellene.
141
+ comment_upvoted:
142
+ email_intro: A hozzászólásod itt %{resource_title} felszavazták. Most %{upvotes} szavazat van mellette és %{downvotes} ellene.
143
+ email_outro: Ezt az értesítést kaptad, mert te vagy a hozzászólás szerzője.
144
+ email_subject: A hozzászólásod itt %{resource_title} támogató szavazatokat kapott.
145
+ notification_title: A <a href="%{resource_path}">hozzászólásod</a> itt %{resource_title} támogató szavazatokat kapott. Most %{upvotes} szavazat van mellette és %{downvotes} ellene.
92
146
  reply_created:
93
147
  email_intro: "%{author_name} megjegyzést fűzött ehhez: %{resource_title}. Ezen az oldalon megtalálod:"
94
148
  email_outro: Ezt az értesítést azért kaptad, mert valaki választolt a mejegyzésedre.
@@ -15,6 +15,7 @@ id:
15
15
  other: Voting
16
16
  decidim:
17
17
  comments:
18
+ comments_title: Komentar
18
19
  last_activity:
19
20
  new_comment_at_html: "<span>Komentar baru di %{link}</span>"
20
21
  votes:
@@ -28,7 +29,6 @@ id:
28
29
  label: Komentar
29
30
  placeholder: Apa yang Anda pikirkan tentang ini?
30
31
  form_error: Teks diperlukan dan tidak boleh lebih dari %{length} karakter.
31
- submit: Kirim
32
32
  user_group_id:
33
33
  label: Beri komentar sebagai
34
34
  opinion:
@@ -9,7 +9,6 @@ is:
9
9
  label: Athugasemd
10
10
  placeholder: Hvað finnst þér um þetta?
11
11
  form_error: Textinn er krafist og það má ekki vera lengri en %{length} stafir.
12
- submit: Senda
13
12
  user_group_id:
14
13
  label: Athugasemd sem
15
14
  opinion:
@@ -83,7 +83,6 @@ it:
83
83
  offensive: Vi sono contenuti razzisti, sessisti, offensivi, attacchi di carattere personale, minacce di morte o altro tipo di minacci, istigazioni al suicidio o altre forme d'odio verbale.
84
84
  spam: Contiene pubblicità, truffe, clickbait ("esca da click") o altro contenuto mirato ad attrarre traffico internet.
85
85
  title: Segnala contenuti inappropriati
86
- show_replies: Mostra %{replies_count} risposte
87
86
  single_comment_link_title: Ottieni il link
88
87
  comment_order_selector:
89
88
  order:
@@ -83,7 +83,8 @@ ja:
83
83
  offensive: 差別的な内容、誹謗中傷などの不適切な内容が含まれています。
84
84
  spam: 本来の内容に関係が無い広告、詐欺や悪意のある処理などが含まれています。
85
85
  title: 不適切なコンテンツを報告する
86
- show_replies: '%{replies_count} 件の返信を表示'
86
+ show_replies:
87
+ other: '%{count} 件の返信を表示'
87
88
  single_comment_link_title: リンク取得
88
89
  comment_order_selector:
89
90
  order:
@@ -0,0 +1 @@
1
+ kaa:
@@ -25,7 +25,7 @@ lb:
25
25
  update:
26
26
  error: Beim Aktualisieren des Kommentars ist ein Problem aufgetreten.
27
27
  comments_count: Kommentaranzahl
28
- comments_title: Kommentare
28
+ comments_title: Bemerkungen
29
29
  last_activity:
30
30
  new_comment_at_html: "<span>Neuer Kommentar unter %{link}</span>"
31
31
  view: Ansicht
@@ -77,7 +77,6 @@ lb:
77
77
  offensive: Enthält Rassismus, Sexismus, Verleumdungen, persönliche Angriffe, Morddrohungen, Selbstmordanträge oder jegliche Form von Hassreden.
78
78
  spam: Enthält Clickbait, Werbung, Scams oder Script Bots.
79
79
  title: Ungeeigneten Inhalt melden
80
- show_replies: '%{replies_count} Antworten anzeigen'
81
80
  single_comment_link_title: Link ufroen
82
81
  comment_order_selector:
83
82
  order:
@@ -51,7 +51,7 @@ lt:
51
51
  label: Komentaras
52
52
  placeholder: Ką manote apie tai?
53
53
  form_error: Tekstas būtinais ir negali viršyti %{length} simbolių.
54
- submit: Publikuoti
54
+ submit: Siųsti
55
55
  user_group_id:
56
56
  label: Komentuoti kaip
57
57
  opinion:
@@ -89,7 +89,6 @@ lt:
89
89
  offensive: Pateikiamoje informacijoje yra rasizmo, seksizmo, keiksmažodžių, asmeninių atakų, grasinimų ar kitokios neapykantos kalbos.
90
90
  spam: Pateikiamoje informacijoje yra reklamos, antraščių mąsalo ar apgavysčių.
91
91
  title: Pranešti apie netinkamą turinį
92
- show_replies: Rodyti %{replies_count} atsakymus
93
92
  single_comment_link_title: Gauti nuorodą
94
93
  comment_order_selector:
95
94
  order:
@@ -19,6 +19,7 @@ lv:
19
19
  other: Balsis
20
20
  decidim:
21
21
  comments:
22
+ comments_title: Komentāri
22
23
  last_activity:
23
24
  new_comment_at_html: "<span>Jauns komentārs %{link}</span>"
24
25
  votes:
@@ -32,7 +33,6 @@ lv:
32
33
  label: Komentēt
33
34
  placeholder: Ko tu domā par šo?
34
35
  form_error: Šis teksts ir nepieciešams, un tas nedrīkst būt garāks par %{length} rakstzīmēm.
35
- submit: Sūtīt
36
36
  user_group_id:
37
37
  label: Komentēt kā
38
38
  opinion:
@@ -57,7 +57,6 @@ lv:
57
57
  does_not_belong: Satur nelikumīgas darbības, pašnāvības draudus, personisku informāciju vai kaut ko citu, kam, jūsuprāt, nav vietas %{organization_name}.
58
58
  offensive: Satur rasismu, seksismu, lamuvārdus, personiskus uzbrukumus, nāves draudus, ierosinājumus veikt pašnāvību vai jebkāda veida naida runu.
59
59
  spam: Satur klikšķu ēsmu (clickbait), reklāmu, krāpšanu vai skriptu robotprogrammatūru.
60
- show_replies: Rādīt %{replies_count} atbildes
61
60
  comment_order_selector:
62
61
  order:
63
62
  best_rated: Vislabāk novērtētie
@@ -85,7 +85,6 @@ nl:
85
85
  offensive: Bevat racisme, seksisme, laster, persoonlijke aanvallen, bedreigingen met de dood, zelfmoord verzoeken of enige vorm van haatzaaien.
86
86
  spam: Bevat clickbait, reclame, oplichting of script bots.
87
87
  title: Meld ongepaste inhoud
88
- show_replies: Toon %{replies_count} reacties
89
88
  single_comment_link_title: Haal link op
90
89
  comment_order_selector:
91
90
  order:
@@ -83,7 +83,6 @@
83
83
  offensive: Inneholder rasisme, sexisme, banning, persjonangrep, dødstrusler, selvmords forespørsler eller all form for hatefullt språk.
84
84
  spam: Inneholder klikkagn, reklame, svindel eller manus-roboter.
85
85
  title: Rapporter upassende innhold
86
- show_replies: Vis %{replies_count} svar
87
86
  single_comment_link_title: Få lenke
88
87
  comment_order_selector:
89
88
  order:
@@ -85,7 +85,6 @@ pl:
85
85
  offensive: Promuje rasizm, seksizm, nienawiść, ataki osobiste, groźby śmierci, groźby samobójcze jakąkolwiek formę mowy nienawiści.
86
86
  spam: Zawiera clickbaity, reklamy, oszustwa lub skrypty botów.
87
87
  title: Zgłoś niewłaściwą treść
88
- show_replies: Pokaż %{replies_count} odpowiedzi
89
88
  single_comment_link_title: Pobierz link
90
89
  comment_order_selector:
91
90
  order:
@@ -77,7 +77,6 @@ pt-BR:
77
77
  offensive: Contém racismo, sexismo, insultos, ataques pessoais, ameaças de morte, pedidos de suicídio ou qualquer tipo de discurso de ódio.
78
78
  spam: Contém clickbait, publicidade, fraudes ou script bots.
79
79
  title: Reportar conteúdo impróprio
80
- show_replies: Mostrar %{replies_count} respostas
81
80
  single_comment_link_title: Obter o link
82
81
  comment_order_selector:
83
82
  order:
@@ -83,7 +83,6 @@ pt:
83
83
  offensive: Contém racismo, sexismo, insultos, ataques pessoais, ameaças de morte, pedidos de suicídio ou qualquer tipo de discurso de ódio.
84
84
  spam: Contém clickbait, publicidade, fraudes ou robots de scripts.
85
85
  title: Reportar conteúdo impróprio
86
- show_replies: Mostrar %{replies_count} respostas
87
86
  single_comment_link_title: Obter ligação
88
87
  comment_order_selector:
89
88
  order:
@@ -87,7 +87,10 @@ ro:
87
87
  offensive: Conține rasism, sexism, insulte, atacuri personale, amenințări cu moartea, cereri de sinucidere sau orice formă de discurs de incitare la ură.
88
88
  spam: Conține clickbait, publicitate, escrocherii sau script rulat de roboți.
89
89
  title: Raportează conținut nepotrivit
90
- show_replies: Arată %{replies_count} răspunsuri
90
+ show_replies:
91
+ one: Arată răspunsul
92
+ few: Arată %{count} răspunsuri
93
+ other: Arată %{count} răspunsuri
91
94
  single_comment_link_title: Obţine link
92
95
  comment_order_selector:
93
96
  order:
@@ -21,6 +21,7 @@ ru:
21
21
  other: Голосов
22
22
  decidim:
23
23
  comments:
24
+ comments_title: Комментарии
24
25
  last_activity:
25
26
  new_comment_at_html: "<span>Новый комментарий в %{link}</span>"
26
27
  votes:
@@ -34,7 +35,6 @@ ru:
34
35
  label: Комментарий
35
36
  placeholder: Что вы думаете об этом?
36
37
  form_error: Тут обязательно нужно ввести текст, но не больше %{length} символов.
37
- submit: Отправить
38
38
  user_group_id:
39
39
  label: Комментировать как
40
40
  opinion:
@@ -10,13 +10,10 @@ si:
10
10
  one: අදහස
11
11
  other: අදහස්
12
12
  decidim:
13
- comments:
14
- comments_title: අදහස්
15
13
  components:
16
14
  add_comment_form:
17
15
  form:
18
16
  body:
19
17
  label: අදහස
20
- submit: යවන්න
21
18
  user_group_id:
22
19
  label: ලෙස අදහස් දක්වන්න
@@ -21,6 +21,7 @@ sk:
21
21
  other: Hlasy
22
22
  decidim:
23
23
  comments:
24
+ comments_title: Komentáre
24
25
  last_activity:
25
26
  new_comment_at_html: "<span>Nový komentár na %{link}</span>"
26
27
  votes:
@@ -34,7 +35,6 @@ sk:
34
35
  label: Komentár
35
36
  placeholder: Čo si myslíte o tomto?
36
37
  form_error: Tento text je požadovaný a nesmie byť dlhší, než %{length} znakov.
37
- submit: Odoslať
38
38
  user_group_id:
39
39
  label: Komentovať ako
40
40
  opinion:
@@ -59,7 +59,6 @@ sk:
59
59
  does_not_belong: Obsahuje ilegálnu činnosť, vyhrážky, osobné informácie, alebo niečo ďalšie, o čom si myslíte, že nepatrí na %{organization_name}.
60
60
  offensive: Obsahuje rasizmus, sexizmus, urážky, osobné útoky, vyhrážky alebo inú podobu nenávistného prejavu.
61
61
  spam: Obsahuje clickbait, reklamy, scam alebo je to skriptovací robot.
62
- show_replies: Zobraziť %{replies_count} odpovedí
63
62
  comment_order_selector:
64
63
  order:
65
64
  best_rated: Najlepšie hodnotené
@@ -4,7 +4,6 @@ sr:
4
4
  components:
5
5
  comment:
6
6
  hide_replies: Sakrij odgovore
7
- show_replies: Prikaži %{replies_count} odgovora
8
7
  comments:
9
8
  comment_details_title: Detalji o komentaru
10
9
  single_comment_warning_title: Vidite samo jedan komentar
@@ -85,7 +85,6 @@ sv:
85
85
  offensive: Innehåller rasism, sexism, skällsord, personliga attacker, dödshot, uppmaningar att begå självmord eller någon form av hatpropaganda.
86
86
  spam: Innehåller clickbait, reklam, bedrägerier eller skriptrobotar.
87
87
  title: Rapportera olämpligt innehåll
88
- show_replies: Visa %{replies_count} svar
89
88
  single_comment_link_title: Hämta länk
90
89
  comment_order_selector:
91
90
  order:
@@ -36,7 +36,6 @@ tr:
36
36
  label: Yorum
37
37
  placeholder: Bunun hakkında ne düşünüyorsun?
38
38
  form_error: Metin zorunludur ve %{length} karakterden uzun olamaz.
39
- submit: Gönder
40
39
  user_group_id:
41
40
  label: Olarak yorum yap
42
41
  opinion:
@@ -62,7 +61,6 @@ tr:
62
61
  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.
63
62
  spam: Clickbait, reklam, dolandırıcılık veya script botları içerir.
64
63
  title: Uygunsuz içerik bildir
65
- show_replies: '%{replies_count} yanıtı göster'
66
64
  comment_order_selector:
67
65
  order:
68
66
  best_rated: En çok oy alan
@@ -32,7 +32,6 @@ uk:
32
32
  label: Коментар
33
33
  placeholder: Що ви думаєте з цього приводу?
34
34
  form_error: Тут обов'язково потрібно ввести текст, але не більше, ніж %{length} символів.
35
- submit: Надіслати
36
35
  user_group_id:
37
36
  label: Коментувати як
38
37
  opinion:
@@ -16,6 +16,7 @@ zh-CN:
16
16
  decidim:
17
17
  comments:
18
18
  comments_count: 评论计数
19
+ comments_title: 评论
19
20
  last_activity:
20
21
  new_comment_at_html: "<span>在 %{link}的新评论</span>"
21
22
  view: 查看
@@ -30,7 +31,6 @@ zh-CN:
30
31
  label: 评论
31
32
  placeholder: 你对此有什么看法?
32
33
  form_error: 文本是必需的,不能超过 %{length} 个字符。
33
- submit: 发送
34
34
  user_group_id:
35
35
  label: 评论为
36
36
  opinion:
@@ -56,7 +56,6 @@ zh-CN:
56
56
  offensive: 包括种族主义、性别主义、污泥、个人攻击、死亡威胁、自杀请求或任何形式的仇恨言论。
57
57
  spam: 包含点击、广告、骗子或脚本机器人。
58
58
  title: 报告不恰当的内容
59
- show_replies: 显示 %{replies_count} 个回复
60
59
  comment_order_selector:
61
60
  order:
62
61
  best_rated: 最佳评分
@@ -1 +1,169 @@
1
+ ---
1
2
  zh-TW:
3
+ activemodel:
4
+ models:
5
+ decidim/comments/comment_by_followed_user_event: 評論
6
+ decidim/comments/comment_created_event: 評論
7
+ decidim/comments/comment_upvoted_event: 評論已獲得讚同
8
+ decidim/comments/reply_created_event: 評論回覆
9
+ decidim/comments/user_group_mentioned_event: 提及
10
+ decidim/comments/user_mentioned_event: 提及
11
+ activerecord:
12
+ models:
13
+ decidim/comments/comment:
14
+ other: 評論
15
+ decidim/comments/comment_vote:
16
+ other: 投票
17
+ decidim:
18
+ comments:
19
+ admin:
20
+ shared:
21
+ availability_fields:
22
+ enabled: 啟用評論功能
23
+ end_time: 留言可用至
24
+ start_time: 留言可用自
25
+ comments:
26
+ create:
27
+ error: 創建評論時出現問題。
28
+ delete:
29
+ error: 該評論無法被刪除。
30
+ update:
31
+ error: 更新評論時出現問題。
32
+ comments_count: 評論次數
33
+ comments_title: 評論
34
+ last_activity:
35
+ new_comment_at_html: "<span>在 %{link} 上發布了新評論</span>"
36
+ view: 檢視
37
+ votes:
38
+ create:
39
+ error: 投票評論時發生問題。
40
+ components:
41
+ add_comment_form:
42
+ account_message: <a href="%{sign_in_url}">登入您的帳戶</a>或<a href="%{sign_up_url}">註冊</a>以新增您的評論。
43
+ form:
44
+ body:
45
+ label: 評論
46
+ placeholder: 你有什麼想法?
47
+ form_error: 文字為必填欄位,且不可超過 %{length} 個字元。
48
+ submit: 發送
49
+ user_group_id:
50
+ label: 評論者:
51
+ opinion:
52
+ label: 關於此議題,您的意見
53
+ negative: 負面
54
+ negative_selected: 您對此主題的看法為負面
55
+ neutral: 中性
56
+ neutral_selected: 您對此主題的看法是中立的
57
+ positive: 正面
58
+ positive_selected: 您對此主題的看法是正面的
59
+ remaining_characters: "剩餘%{count} 個字元"
60
+ remaining_characters_1: "剩餘%{count} 個字元"
61
+ title: 新增您的評論
62
+ comment:
63
+ alignment:
64
+ against: 反對
65
+ in_favor: 贊成
66
+ confirm_destroy: 你確定要刪除此評論?
67
+ delete: 刪除
68
+ deleted_at: 評論已在 %{date} 刪除
69
+ deleted_user: 已刪除的參與者
70
+ edit: 編輯
71
+ edited: 已編輯
72
+ hide_replies: 隱藏答覆
73
+ moderated_at: 評論在%{date} 被審核
74
+ reply: 回覆
75
+ report:
76
+ action: 報告
77
+ already_reported: 此內容已被舉報,將由管理員進行審查。
78
+ close: 關閉
79
+ description: 評論於 %{date} 被審核
80
+ details: 附加評論
81
+ reasons:
82
+ does_not_belong: 包含非法活動、自殺威脅、個人資訊或其他您認為不適合在%{organization_name} 上的內容。
83
+ offensive: 包含種族主義、性別歧視、辱罵、人身攻擊、死亡威脅、自殺要求或任何形式的仇恨言論
84
+ spam: 包含點閱率誘導、廣告、詐騙或自動腳本。
85
+ title: 檢舉不當內容
86
+ show_replies:
87
+ other: 顯示 %{count} 則回覆
88
+ single_comment_link_title: 取得連結
89
+ comment_order_selector:
90
+ order:
91
+ best_rated: 最佳評分
92
+ most_discussed: 最多討論
93
+ older: 較早的
94
+ recent: 最近
95
+ title: '排序方式:'
96
+ comment_thread:
97
+ title: 與 %{authorName} 的對話
98
+ comments:
99
+ blocked_comments_for_unauthorized_user_warning: 目前需要驗證您的身份才能發表評論,但您可以閱讀先前的評論。
100
+ blocked_comments_for_user_warning: 目前您無法發表評論,但您可以閱讀先前的評論。
101
+ blocked_comments_warning: 目前無法發表評論,但您可以閱讀先前的評論。
102
+ comment_details_title: 評論詳細資料
103
+ loading: 正在加載評論…
104
+ single_comment_warning: <a href="%{url}">查看所有評論</a>
105
+ single_comment_warning_title: 您正在查看單一評論
106
+ title:
107
+ other: "%{count} 則評論"
108
+ down_vote_button:
109
+ text: 我不同意此評論
110
+ edit_comment_modal_form:
111
+ close: 關閉
112
+ form:
113
+ body:
114
+ label: 評論
115
+ placeholder: 你有什麼想法?
116
+ submit: 發送
117
+ title: 編輯您的評論
118
+ up_vote_button:
119
+ text: 我同意此評論
120
+ events:
121
+ comments:
122
+ comment_by_followed_user:
123
+ email_intro: "%{author_name} 在%{resource_title} 留下了一則評論。您可以在此頁面上閱讀它:"
124
+ email_outro: 您收到此通知是因為您正在關注%{author_name}。您可以從他們的個人資料頁面取消關注該用戶。
125
+ email_subject: '%{author_name} 在%{resource_title} 發表了一則新的評論'
126
+ notification_title: 在<a href="%{resource_path}">%{resource_title}</a>中,<a href="%{author_path}">%{author_name} %{author_nickname}</a>有了一個新的評論。
127
+ comment_by_followed_user_group:
128
+ email_intro: '%{author_name} 群組在%{resource_title} 中留下了一則評論。您可以在此頁面中閱讀它:'
129
+ email_outro: 您收到此通知是因為您正在關注%{author_name}。您可以從其個人資料頁面取消關注此群組。
130
+ email_subject: '%{author_name} 在%{resource_title} 發表了一則新的評論'
131
+ notification_title: 在<a href="%{resource_path}">%{resource_title}</a>中,<a href="%{author_path}">%{author_name} %{author_nickname}</a>有了一個新的評論。
132
+ comment_created:
133
+ email_intro: "%{resource_title} 已被評論。您可以在此頁面中閱讀評論:"
134
+ email_outro: 您收到此通知是因為您正在關注「%{resource_title}」或其作者。您可以從上面的連結取消關注。
135
+ email_subject: '%{resource_title}」有新的評論來自 %{author_name}'
136
+ notification_title: 在 <a href="%{resource_path}">%{resource_title}</a>有新的評論來自 <a href="%{author_path}">%{author_name} %{author_nickname}</a>
137
+ comment_downvoted:
138
+ email_intro: 您在「%{resource_title}」的評論已經倒讚。它現在的評分是 %{upvotes} 個讚和 %{downvotes} 個倒讚。
139
+ email_outro: 您收到此通知是因為您是此評論的作者。
140
+ email_subject: 您在「%{resource_title}」的評論已經被倒讚。
141
+ notification_title: 你在「%{resource_title}」的<a href="%{resource_path}">評論</a>已被負評。現在它的評分是 %{upvotes} 個讚和 %{downvotes} 個倒讚。
142
+ comment_upvoted:
143
+ email_intro: 你在「%{resource_title}」的評論已收到讚。現在它的評分是 %{upvotes} 個讚和 %{downvotes} 個倒讚。
144
+ email_outro: 您收到此通知是因為您是此評論的作者。
145
+ email_subject: 你在 "%{resource_title}" 中的評論已經收到讚。
146
+ notification_title: 你在 "<a href="%{resource_path}">resource_title</a>" 中的評論已經收到讚,現在它總共有 %{upvotes} 個讚和 %{downvotes} 個倒讚。
147
+ reply_created:
148
+ email_intro: "%{author_name} 已回覆你在%{resource_title} 中的評論。你可以在此頁面上閱讀:"
149
+ email_outro: 你收到此通知是因為有人回覆了你的評論。
150
+ email_subject: "%{author_name} 回覆了你在 %{resource_title} 中的評論。"
151
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> 在 <a href="%{resource_path}">%{resource_title}</a> 中回覆了你的評論。
152
+ user_group_mentioned:
153
+ email_intro: 你所屬的群組被提及了
154
+ email_outro: 你收到了這個通知,因為你是 %{group_name} 的成員,而該小組在 %{resource_title} 中被提及。
155
+ email_subject: 你作為 %{group_name} 的成員在 %{resource_title} 中被提及
156
+ notification_title: 你作為<a href="%{group_path}">%{group_name} %{group_nickname}</a>的成員,被<a href="%{author_path}">%{author_name} %{author_nickname}</a>在<a href="%{resource_path}">%{resource_title}</a>中提及
157
+ user_mentioned:
158
+ email_intro: 您已被提及
159
+ email_outro: 您收到了此通知,因為您被提及在 %{resource_title} 中。
160
+ email_subject: 您被提及在 %{resource_title} 中
161
+ notification_title: 您被 <a href="%{author_path}">%{author_name} %{author_nickname}</a> 在 <a href="%{resource_path}">%{resource_title}</a> 中提及。
162
+ metrics:
163
+ comments:
164
+ description: 參與者產生的評論數量
165
+ object: 評論
166
+ title: 評論
167
+ errors:
168
+ messages:
169
+ cannot_have_comments: 無法留言
@@ -13,6 +13,8 @@ module Decidim
13
13
  def comments_for_resource(resource_class, component)
14
14
  Comment
15
15
  .where(decidim_root_commentable_id: resource_class.where(component: component))
16
+ .not_deleted
17
+ .not_hidden
16
18
  .where(decidim_root_commentable_type: resource_class.to_s)
17
19
  end
18
20
 
@@ -4,7 +4,7 @@ module Decidim
4
4
  # This holds the decidim-comments version.
5
5
  module Comments
6
6
  def self.version
7
- "0.27.2"
7
+ "0.27.4"
8
8
  end
9
9
  end
10
10
  end