decidim-comments 0.25.0.rc3 → 0.25.2
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/comments_cell.rb +2 -0
- data/app/views/decidim/comments/comments/update.js.erb +18 -4
- data/config/locales/ca.yml +18 -0
- data/config/locales/de.yml +18 -0
- data/config/locales/el.yml +44 -1
- data/config/locales/es-MX.yml +18 -0
- data/config/locales/es-PY.yml +18 -0
- data/config/locales/es.yml +18 -0
- data/config/locales/eu.yml +58 -0
- data/config/locales/ga-IE.yml +51 -0
- data/config/locales/lb.yml +162 -0
- data/config/locales/pl.yml +18 -0
- data/config/locales/pt.yml +46 -3
- data/config/locales/ro-RO.yml +60 -60
- data/config/locales/si-LK.yml +20 -0
- data/lib/decidim/comments/comments_helper.rb +4 -3
- data/lib/decidim/comments/engine.rb +4 -0
- data/lib/decidim/comments/version.rb +1 -1
- data/lib/tasks/decidim_comments.rake +12 -1
- metadata +14 -14
- data/app/assets/javascripts/decidim/comments/bundle.js.map +0 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
lb:
|
|
2
|
+
activemodel:
|
|
3
|
+
models:
|
|
4
|
+
decidim/comments/comment_by_followed_user_event: Kommentar
|
|
5
|
+
decidim/comments/comment_created_event: Kommentar
|
|
6
|
+
decidim/comments/reply_created_event: Kommentar Äntwert
|
|
7
|
+
decidim/comments/user_group_mentioned_event: Erwähnen
|
|
8
|
+
decidim/comments/user_mentioned_event: Erwähnen
|
|
9
|
+
activerecord:
|
|
10
|
+
models:
|
|
11
|
+
decidim/comments/comment:
|
|
12
|
+
one: Kommentar
|
|
13
|
+
other: Bemerkungen
|
|
14
|
+
decidim/comments/comment_vote:
|
|
15
|
+
one: Abstimmung
|
|
16
|
+
other: Stimmen
|
|
17
|
+
decidim:
|
|
18
|
+
comments:
|
|
19
|
+
comments:
|
|
20
|
+
create:
|
|
21
|
+
error: Beim Erstellen des Kommentars ist ein Fehler aufgetreten.
|
|
22
|
+
delete:
|
|
23
|
+
error: "Der Kommentar konnte nicht gelöscht werden.\n\n"
|
|
24
|
+
update:
|
|
25
|
+
error: Beim Aktualisieren des Kommentars ist ein Problem aufgetreten.
|
|
26
|
+
comments_count: Kommentaranzahl
|
|
27
|
+
comments_title: Kommentare
|
|
28
|
+
last_activity:
|
|
29
|
+
new_comment_at_html: "<span>Neuer Kommentar unter %{link}</span>"
|
|
30
|
+
view: Ansicht
|
|
31
|
+
votes:
|
|
32
|
+
create:
|
|
33
|
+
error: Beim Abstimmen des Kommentars sind Fehler aufgetreten.
|
|
34
|
+
components:
|
|
35
|
+
add_comment_form:
|
|
36
|
+
account_message: <a href="%{sign_in_url}">Melden Sie sich mit Ihrem Konto an</a> oder <a href="%{sign_up_url}">registrieren Sie sich</a>, um Ihren Kommentar hinzuzufügen.
|
|
37
|
+
form:
|
|
38
|
+
body:
|
|
39
|
+
label: Kommentar
|
|
40
|
+
placeholder: Was denken Sie darüber?
|
|
41
|
+
form_error: Der Text ist erforderlich und darf nicht länger als %{length} Zeichen sein.
|
|
42
|
+
submit: Senden
|
|
43
|
+
user_group_id:
|
|
44
|
+
label: Kommentieren als
|
|
45
|
+
opinion:
|
|
46
|
+
label: Ihre Meinung zu diesem Thema
|
|
47
|
+
negative: Negativ
|
|
48
|
+
negative_selected: Ihre Meinung zu diesem Thema ist negativ
|
|
49
|
+
neutral: Neutral
|
|
50
|
+
neutral_selected: Ihre Meinung zu diesem Thema ist neutral
|
|
51
|
+
positive: Positiv
|
|
52
|
+
positive_selected: Ihre Meinung zu diesem Thema ist positiv
|
|
53
|
+
remaining_characters: "%{count} Zeichen übrig"
|
|
54
|
+
remaining_characters_1: "%{count} Zeichen übrig"
|
|
55
|
+
title: Kommentar hinzufügen
|
|
56
|
+
comment:
|
|
57
|
+
alignment:
|
|
58
|
+
against: Gegen
|
|
59
|
+
in_favor: Zugunsten
|
|
60
|
+
confirm_destroy: Sidd Dir sécher datt Dir dës Bemierkung läsche wëllt?
|
|
61
|
+
delete: Läschen
|
|
62
|
+
deleted_at: Kommentar gelöscht am %{date}
|
|
63
|
+
deleted_user: Gelöschter Benutzer
|
|
64
|
+
edit: Bearbeiten
|
|
65
|
+
edited: Bearbeitet
|
|
66
|
+
hide_replies: Antworten verbergen
|
|
67
|
+
reply: Antworten
|
|
68
|
+
report:
|
|
69
|
+
action: Melden
|
|
70
|
+
already_reported: Dieser Inhalt wurde bereits gemeldet und wird von einem Administrator überprüft.
|
|
71
|
+
close: Schließen
|
|
72
|
+
description: Ist dieser Inhalt unangemessen?
|
|
73
|
+
details: Zusätzliche Kommentare
|
|
74
|
+
reasons:
|
|
75
|
+
does_not_belong: Enthält illegale Aktivitäten, Selbstmorddrohungen, persönliche Informationen oder etwas anderes, von dem Sie denken, dass es nicht auf %{organization_name} gehört.
|
|
76
|
+
offensive: Enthält Rassismus, Sexismus, Verleumdungen, persönliche Angriffe, Morddrohungen, Selbstmordanträge oder jegliche Form von Hassreden.
|
|
77
|
+
spam: Enthält Clickbait, Werbung, Scams oder Script Bots.
|
|
78
|
+
title: Ungeeigneten Inhalt melden
|
|
79
|
+
show_replies: '%{replies_count} Antworten anzeigen'
|
|
80
|
+
single_comment_link_title: Link ufroen
|
|
81
|
+
comment_order_selector:
|
|
82
|
+
order:
|
|
83
|
+
best_rated: Am besten bewertet
|
|
84
|
+
most_discussed: Meist diskutiert
|
|
85
|
+
older: Chronologisch
|
|
86
|
+
recent: Kürzlich hinzugefügt
|
|
87
|
+
title: 'Sortieren nach:'
|
|
88
|
+
comment_thread:
|
|
89
|
+
title: Konversation mit %{authorName}
|
|
90
|
+
comments:
|
|
91
|
+
blocked_comments_for_unauthorized_user_warning: Sie müssen aktuell verifiziert sein um zu kommentieren, aber Sie können die bisherigen Kommentare lesen.
|
|
92
|
+
blocked_comments_for_user_warning: Sie können momentan nichts kommentieren, aber Sie können die vorherigen lesen.
|
|
93
|
+
blocked_comments_warning: Kommentare sind zu diesem Zeitpunkt deaktiviert, aber Sie können die vorherigen lesen.
|
|
94
|
+
comment_details_title: Kommentarinformationen
|
|
95
|
+
loading: Kommentare werden geladen ...
|
|
96
|
+
single_comment_warning: Sie können die restlichen Kommentare <a href="%{url}">hier</a> prüfen.
|
|
97
|
+
single_comment_warning_title: Ihnen wird ein einzelner Kommentar angezeigt
|
|
98
|
+
title:
|
|
99
|
+
one: "%{count} Kommentar"
|
|
100
|
+
other: "%{count} Kommentare"
|
|
101
|
+
down_vote_button:
|
|
102
|
+
text: Ich bin mit diesem Kommentar nicht einverstanden
|
|
103
|
+
edit_comment_modal_form:
|
|
104
|
+
close: Schließen
|
|
105
|
+
form:
|
|
106
|
+
body:
|
|
107
|
+
label: Kommentar
|
|
108
|
+
placeholder: Was denken Sie darüber?
|
|
109
|
+
submit: Senden
|
|
110
|
+
title: Bearbeiten Sie Ihren Kommentar
|
|
111
|
+
up_vote_button:
|
|
112
|
+
text: Ich stimme diesem Kommentar zu
|
|
113
|
+
events:
|
|
114
|
+
comments:
|
|
115
|
+
comment_by_followed_user:
|
|
116
|
+
email_intro: "%{author_name} hat einen Kommentar zu %{resource_title} hinterlassen. Sie können diesen auf dieser Seite lesen:"
|
|
117
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{author_name} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie die Profil-Seite dieses Benutzers.
|
|
118
|
+
email_subject: Neuer Kommentar von %{author_name} zu %{resource_title}
|
|
119
|
+
notification_title: Es gibt einen neuen Kommentar von <a href="%{author_path}">%{author_name} %{author_nickname}</a> zu <a href="%{resource_path}">%{resource_title}</a>.
|
|
120
|
+
comment_by_followed_user_group:
|
|
121
|
+
email_intro: 'Die Gruppe %{author_name} hat einen Kommentar in %{resource_title} hinterlassen. Sie können diesen auf dieser Seite lesen:'
|
|
122
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie %{author_name} folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie die Profil-Seite dieser Gruppe.
|
|
123
|
+
email_subject: Neuer Kommentar von %{author_name} zu %{resource_title}
|
|
124
|
+
notification_title: Es gibt einen neuen Kommentar von <a href="%{author_path}">%{author_name} %{author_nickname}</a> zu <a href="%{resource_path}">%{resource_title}</a>.
|
|
125
|
+
comment_created:
|
|
126
|
+
email_intro: "%{resource_title} wurde kommentiert. Sie können den Kommentar auf dieser Seite lesen:"
|
|
127
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie "%{resource_title}" oder seinem Autor folgen. Falls Sie keine solchen Benachrichtigungen mehr erhalten möchten, besuchen Sie den obigen Link.
|
|
128
|
+
email_subject: Neuer Kommentar von %{author_name} zu %{resource_title}
|
|
129
|
+
notification_title: Es gibt einen neuen Kommentar von <a href="%{author_path}">%{author_name} %{author_nickname}</a> zu <a href="%{resource_path}">%{resource_title}</a>
|
|
130
|
+
comment_downvoted:
|
|
131
|
+
email_intro: Ihr Kommentar in "%{resource_title}" wurde negativ bewertet. Er hat nun insgesamt %{upvotes} positive und %{downvotes} negative Stimmen.
|
|
132
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie der Autor des Vorschlags sind.
|
|
133
|
+
email_subject: Ihr Kommentar in "%{resource_title}" wurde negativ bewertet.
|
|
134
|
+
notification_title: Ihr <a href="%{resource_path}">Kommentar</a> in "%{resource_title}" wurde negativ bewertet. Er hat nun insgesamt %{upvotes} positive und %{downvotes} negative Stimmen.
|
|
135
|
+
comment_upvoted:
|
|
136
|
+
email_intro: Ihr Kommentar in "%{resource_title}" wurde positiv bewertet. Er hat nun insgesamt %{upvotes} positive und %{downvotes} negative Stimmen.
|
|
137
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie der Autor des Vorschlags sind.
|
|
138
|
+
email_subject: Ihr Kommentar in "%{resource_title}" wurde positiv bewertet.
|
|
139
|
+
notification_title: Ihr <a href="%{resource_path}">Kommentar</a> in "%{resource_title}" wurde positiv bewertet. Er hat nun insgesamt %{upvotes} positive und %{downvotes} negative Stimmen.
|
|
140
|
+
reply_created:
|
|
141
|
+
email_intro: "%{author_name} hat auf Ihren Kommentar zu %{resource_title} geantwortet. Sie können das auf dieser Seite lesen:"
|
|
142
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Ihr Kommentar beantwortet wurde.
|
|
143
|
+
email_subject: "%{author_name} hat auf Ihren Kommentar zu %{resource_title} geantwortet"
|
|
144
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> hat auf Ihren Kommentar in <a href="%{resource_path}">%{resource_title}</a> geantwortet
|
|
145
|
+
user_group_mentioned:
|
|
146
|
+
email_intro: Eine Ihrer Gruppen wurde erwähnt
|
|
147
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie ein Mitglied der Gruppe %{group_name} sind, die in %{resource_title} erwähnt wurde.
|
|
148
|
+
email_subject: Sie wurden in %{resource_title} als Mitglied von %{group_name} erwähnt
|
|
149
|
+
notification_title: Sie wurden in <a href="%{resource_path}">%{resource_title}</a> von <a href="%{author_path}">%{author_name} %{author_nickname}</a> als ein Mitglied von <a href="%{group_path}">%{group_name} %{group_nickname}</a> erwähnt
|
|
150
|
+
user_mentioned:
|
|
151
|
+
email_intro: Sie wurden erwähnt
|
|
152
|
+
email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie in %{resource_title} erwähnt wurden.
|
|
153
|
+
email_subject: Sie wurden in %{resource_title} erwähnt
|
|
154
|
+
notification_title: Sie wurden in <a href="%{resource_path}">%{resource_title}</a> von <a href="%{author_path}">%{author_name} %{author_nickname}</a> erwähnt
|
|
155
|
+
metrics:
|
|
156
|
+
comments:
|
|
157
|
+
description: Anzahl der von Benutzern generierten Kommentare
|
|
158
|
+
object: Bemerkungen
|
|
159
|
+
title: Bemerkungen
|
|
160
|
+
errors:
|
|
161
|
+
messages:
|
|
162
|
+
cannot_have_comments: kann keine Kommentare haben
|
data/config/locales/pl.yml
CHANGED
|
@@ -23,6 +23,10 @@ pl:
|
|
|
23
23
|
comments:
|
|
24
24
|
create:
|
|
25
25
|
error: Wystąpił błąd podczas tworzenia komentarza.
|
|
26
|
+
delete:
|
|
27
|
+
error: Komentarz nie może zostać usunięty.
|
|
28
|
+
update:
|
|
29
|
+
error: Wystąpił błąd podczas aktualizowania komentarza.
|
|
26
30
|
comments_count: Liczba komentarzy
|
|
27
31
|
comments_title: Komentarze
|
|
28
32
|
last_activity:
|
|
@@ -58,7 +62,11 @@ pl:
|
|
|
58
62
|
against: Negatywny
|
|
59
63
|
in_favor: Pozytywny
|
|
60
64
|
confirm_destroy: Czy na pewno chcesz usunąć ten komentarz?
|
|
65
|
+
delete: Usuń
|
|
66
|
+
deleted_at: Komentarz usunięty %{date}
|
|
61
67
|
deleted_user: Usunięty użytkownik
|
|
68
|
+
edit: Edytuj
|
|
69
|
+
edited: Edytowany
|
|
62
70
|
hide_replies: Ukryj odpowiedzi
|
|
63
71
|
reply: Odpowiedz
|
|
64
72
|
report:
|
|
@@ -73,6 +81,7 @@ pl:
|
|
|
73
81
|
spam: Zawiera clickbaity, reklamy, oszustwa lub skrypty botów.
|
|
74
82
|
title: Zgłoś niewłaściwą treść
|
|
75
83
|
show_replies: Pokaż %{replies_count} odpowiedzi
|
|
84
|
+
single_comment_link_title: Pobierz link
|
|
76
85
|
comment_order_selector:
|
|
77
86
|
order:
|
|
78
87
|
best_rated: Najlepiej oceniane
|
|
@@ -83,6 +92,7 @@ pl:
|
|
|
83
92
|
comment_thread:
|
|
84
93
|
title: Rozmowa z %{authorName}
|
|
85
94
|
comments:
|
|
95
|
+
blocked_comments_for_unauthorized_user_warning: Musisz być zweryfikowany żeby teraz komentować, ale możesz przeczytać poprzednie komentarze.
|
|
86
96
|
blocked_comments_for_user_warning: Nie możesz teraz komentować, ale możesz przeczytać poprzednie komentarze.
|
|
87
97
|
blocked_comments_warning: Komentarze są w tej chwili wyłączone, ale możesz przeczytać poprzednie.
|
|
88
98
|
comment_details_title: Szczegóły komentarza
|
|
@@ -96,6 +106,14 @@ pl:
|
|
|
96
106
|
other: "%{count} komentarze"
|
|
97
107
|
down_vote_button:
|
|
98
108
|
text: Nie zgadzam się z tym komentarzem
|
|
109
|
+
edit_comment_modal_form:
|
|
110
|
+
close: Zamknij
|
|
111
|
+
form:
|
|
112
|
+
body:
|
|
113
|
+
label: Komentarz
|
|
114
|
+
placeholder: Co o tym myślisz?
|
|
115
|
+
submit: Wyślij
|
|
116
|
+
title: Edytuj swój komentarz
|
|
99
117
|
up_vote_button:
|
|
100
118
|
text: Zgadzam się z tym komentarzem
|
|
101
119
|
events:
|
data/config/locales/pt.yml
CHANGED
|
@@ -16,15 +16,24 @@ pt:
|
|
|
16
16
|
other: Votos
|
|
17
17
|
decidim:
|
|
18
18
|
comments:
|
|
19
|
+
comments:
|
|
20
|
+
create:
|
|
21
|
+
error: Ocorreu um problema ao criar o comentário
|
|
22
|
+
delete:
|
|
23
|
+
error: O comentário não pode ser eliminado.
|
|
24
|
+
update:
|
|
25
|
+
error: Ocorreu um problema ao actualizar a comentário.
|
|
19
26
|
comments_count: Contagem de comentários
|
|
27
|
+
comments_title: Comentários
|
|
20
28
|
last_activity:
|
|
21
29
|
new_comment_at_html: "<span>Novo comentário em %{link}</span>"
|
|
30
|
+
view: Visualizar
|
|
22
31
|
votes:
|
|
23
32
|
create:
|
|
24
|
-
error: Houve erros
|
|
33
|
+
error: Houve erros na votação do comentário.
|
|
25
34
|
components:
|
|
26
35
|
add_comment_form:
|
|
27
|
-
account_message: <a href="%{sign_in_url}">
|
|
36
|
+
account_message: <a href="%{sign_in_url}">Ligue-se com sua conta</a> ou <a href="%{sign_up_url}">sign up</a> para adicionar seu comentário.
|
|
28
37
|
form:
|
|
29
38
|
body:
|
|
30
39
|
label: Comente
|
|
@@ -34,7 +43,13 @@ pt:
|
|
|
34
43
|
user_group_id:
|
|
35
44
|
label: Comente como
|
|
36
45
|
opinion:
|
|
46
|
+
label: A sua opinião sobre este tópico
|
|
47
|
+
negative: Negativa
|
|
48
|
+
negative_selected: A sua opinião sobre este tópico é negativa
|
|
37
49
|
neutral: Neutro
|
|
50
|
+
neutral_selected: A sua opinião sobre este tópico é neutra
|
|
51
|
+
positive: Positiva
|
|
52
|
+
positive_selected: A sua opinião sobre este tópico é positiva
|
|
38
53
|
remaining_characters: "%{count} caracteres restantes"
|
|
39
54
|
remaining_characters_1: "%{count} caracteres restantes"
|
|
40
55
|
title: Adicione o seu comentário
|
|
@@ -42,7 +57,12 @@ pt:
|
|
|
42
57
|
alignment:
|
|
43
58
|
against: Contra
|
|
44
59
|
in_favor: A favor
|
|
60
|
+
confirm_destroy: Tem a certeza que quer eliminar este comentário?
|
|
61
|
+
delete: Eliminar
|
|
62
|
+
deleted_at: Comentário eliminado em %{date}
|
|
45
63
|
deleted_user: Participante eliminado
|
|
64
|
+
edit: Editar
|
|
65
|
+
edited: Editado
|
|
46
66
|
hide_replies: Ocultar respostas
|
|
47
67
|
reply: Responder
|
|
48
68
|
report:
|
|
@@ -57,6 +77,7 @@ pt:
|
|
|
57
77
|
spam: Contém clickbait, publicidade, fraudes ou robots de scripts.
|
|
58
78
|
title: Reportar conteúdo impróprio
|
|
59
79
|
show_replies: Mostrar %{replies_count} respostas
|
|
80
|
+
single_comment_link_title: Obter ligação
|
|
60
81
|
comment_order_selector:
|
|
61
82
|
order:
|
|
62
83
|
best_rated: Melhores avaliações
|
|
@@ -67,14 +88,26 @@ pt:
|
|
|
67
88
|
comment_thread:
|
|
68
89
|
title: Conversa com %{authorName}
|
|
69
90
|
comments:
|
|
91
|
+
blocked_comments_for_unauthorized_user_warning: Precisa de estar verificado para comentar neste momento, mas pode ler os precedentes.
|
|
70
92
|
blocked_comments_for_user_warning: Não pode comentar neste momento, mas pode ler os anteriores.
|
|
71
93
|
blocked_comments_warning: Os comentários estão desativados neste momento, mas pode ler os anteriores.
|
|
72
94
|
comment_details_title: Detalhes do comentário
|
|
73
95
|
loading: A carregar comentários ...
|
|
74
96
|
single_comment_warning: Pode consultar os restantes comentários <a href="%{url}">aqui</a>.
|
|
75
97
|
single_comment_warning_title: Está a ver um único comentário
|
|
98
|
+
title:
|
|
99
|
+
one: "%{count} comentário"
|
|
100
|
+
other: "%{count} comentários"
|
|
76
101
|
down_vote_button:
|
|
77
102
|
text: Eu discordo deste comentário
|
|
103
|
+
edit_comment_modal_form:
|
|
104
|
+
close: Fechar
|
|
105
|
+
form:
|
|
106
|
+
body:
|
|
107
|
+
label: Comentário
|
|
108
|
+
placeholder: O que pensa sobre isso?
|
|
109
|
+
submit: Enviar
|
|
110
|
+
title: Editar o seu comentário
|
|
78
111
|
up_vote_button:
|
|
79
112
|
text: Eu concordo com este comentário
|
|
80
113
|
events:
|
|
@@ -91,9 +124,19 @@ pt:
|
|
|
91
124
|
notification_title: Há um novo comentário por <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>.
|
|
92
125
|
comment_created:
|
|
93
126
|
email_intro: "%{resource_title} foi comentado. Você pode ler o comentário nesta página:"
|
|
94
|
-
email_outro: Recebeu esta notificação porque segue "%{resource_title}" ou o seu autor. Pode deixar de segui-lo a partir da
|
|
127
|
+
email_outro: Recebeu esta notificação porque segue "%{resource_title}" ou o seu autor. Pode deixar de segui-lo a partir da ligação anterior.
|
|
95
128
|
email_subject: Há um novo comentário de %{author_name} em %{resource_title}
|
|
96
129
|
notification_title: Há um novo comentário de <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>
|
|
130
|
+
comment_downvoted:
|
|
131
|
+
email_intro: O seu comentário em "%{resource_title}” foi desvalorizado. Tem agora um total de %{upvotes} valorizações e %{downvotes} desvalorizações.
|
|
132
|
+
email_outro: Recebeu esta notificação porque é o autor deste comentário.
|
|
133
|
+
email_subject: O seu comentário em "%{resource_title}” foi desvalorizado.
|
|
134
|
+
notification_title: O seu <a href="%{resource_path}">comentário</a> in "%{resource_title}" foi desvalorizado. Tem agora um total de %{upvotes} valorizações e %{downvotes} desvalorizações.
|
|
135
|
+
comment_upvoted:
|
|
136
|
+
email_intro: O seu comentário em "%{resource_title}” foi valorizado. Tem agora um total de %{upvotes} valorizações e %{downvotes} desvalorizações.
|
|
137
|
+
email_outro: Recebeu esta notificação porque é o autor deste comentário.
|
|
138
|
+
email_subject: O seu comentário em "%{resource_title}” foi valorizado.
|
|
139
|
+
notification_title: O seu <a href="%{resource_path}">comentário</a> in "%{resource_title}" foi valorizado. Tem agora um total de %{upvotes} valorizações e %{downvotes} desvalorizações.
|
|
97
140
|
reply_created:
|
|
98
141
|
email_intro: "%{author_name} respondeu ao seu comentário em %{resource_title}. Pode lê-lo nesta página:"
|
|
99
142
|
email_outro: Recebeu esta notificação porque responderam ao seu comentário.
|
data/config/locales/ro-RO.yml
CHANGED
|
@@ -2,8 +2,8 @@ ro:
|
|
|
2
2
|
activemodel:
|
|
3
3
|
models:
|
|
4
4
|
decidim/comments/comment_by_followed_user_event: Comentariu
|
|
5
|
-
decidim/comments/comment_created_event:
|
|
6
|
-
decidim/comments/reply_created_event: Răspuns comentariu
|
|
5
|
+
decidim/comments/comment_created_event: Comentează
|
|
6
|
+
decidim/comments/reply_created_event: Răspuns la comentariu
|
|
7
7
|
decidim/comments/user_group_mentioned_event: Menționează
|
|
8
8
|
decidim/comments/user_mentioned_event: Menționează
|
|
9
9
|
activerecord:
|
|
@@ -13,7 +13,7 @@ ro:
|
|
|
13
13
|
few: Comentarii
|
|
14
14
|
other: Comentarii
|
|
15
15
|
decidim/comments/comment_vote:
|
|
16
|
-
one:
|
|
16
|
+
one: Vot
|
|
17
17
|
few: Voturi
|
|
18
18
|
other: Voturi
|
|
19
19
|
decidim:
|
|
@@ -25,11 +25,11 @@ ro:
|
|
|
25
25
|
error: Comentariul nu a putut fi șters.
|
|
26
26
|
update:
|
|
27
27
|
error: A apărut o eroare la actualizarea comentariului.
|
|
28
|
-
comments_count:
|
|
28
|
+
comments_count: Număr de comentarii
|
|
29
29
|
comments_title: Comentarii
|
|
30
30
|
last_activity:
|
|
31
31
|
new_comment_at_html: "<span>Comentariu nou la %{link}</span>"
|
|
32
|
-
view:
|
|
32
|
+
view: Vizualizează
|
|
33
33
|
votes:
|
|
34
34
|
create:
|
|
35
35
|
error: A apărut o problemă la votarea comentariului.
|
|
@@ -39,64 +39,64 @@ ro:
|
|
|
39
39
|
form:
|
|
40
40
|
body:
|
|
41
41
|
label: Comentariu
|
|
42
|
-
placeholder: Ce părere
|
|
43
|
-
form_error: Textul este
|
|
42
|
+
placeholder: Ce părere ai despre asta?
|
|
43
|
+
form_error: Textul este obligatoriu și nu poate fi mai lung de %{length} caractere.
|
|
44
44
|
submit: Trimite
|
|
45
45
|
user_group_id:
|
|
46
|
-
label: Comentează
|
|
46
|
+
label: Comentează în calitate de
|
|
47
47
|
opinion:
|
|
48
|
-
label: Opinia
|
|
48
|
+
label: Opinia ta despre acest subiect
|
|
49
49
|
negative: Negativ
|
|
50
50
|
negative_selected: Opinia ta despre acest subiect este negativă
|
|
51
|
-
neutral:
|
|
52
|
-
neutral_selected: Opinia
|
|
51
|
+
neutral: Neutru
|
|
52
|
+
neutral_selected: Opinia ta despre acest subiect este neutră
|
|
53
53
|
positive: Pozitiv
|
|
54
|
-
positive_selected: Opinia
|
|
54
|
+
positive_selected: Opinia ta despre acest subiect este pozitivă
|
|
55
55
|
remaining_characters: "%{count} caractere rămase"
|
|
56
56
|
remaining_characters_1: "%{count} caracter rămas"
|
|
57
57
|
title: Adaugă comentariul tău
|
|
58
58
|
comment:
|
|
59
59
|
alignment:
|
|
60
|
-
against:
|
|
61
|
-
in_favor:
|
|
62
|
-
confirm_destroy:
|
|
60
|
+
against: Împotrivă
|
|
61
|
+
in_favor: Pentru
|
|
62
|
+
confirm_destroy: Sigur dorești să ştergi acest comentariu?
|
|
63
63
|
delete: Șterge
|
|
64
|
-
deleted_at: Comentariu șters
|
|
64
|
+
deleted_at: Comentariu șters la %{date}
|
|
65
65
|
deleted_user: Participant șters
|
|
66
66
|
edit: Editează
|
|
67
67
|
edited: Editat
|
|
68
68
|
hide_replies: Ascunde răspunsurile
|
|
69
|
-
reply:
|
|
69
|
+
reply: Răspunde
|
|
70
70
|
report:
|
|
71
|
-
action:
|
|
71
|
+
action: Raportează
|
|
72
72
|
already_reported: Acest conținut este deja raportat și va fi revizuit de către un administrator.
|
|
73
|
-
close:
|
|
73
|
+
close: Închide
|
|
74
74
|
description: Este acest conținut neadecvat?
|
|
75
|
-
details:
|
|
75
|
+
details: Comentarii suplimentare
|
|
76
76
|
reasons:
|
|
77
|
-
does_not_belong: Conține activitate ilegală, amenințări
|
|
78
|
-
offensive: Conține rasism, sexism,
|
|
79
|
-
spam: Conține clickbait, publicitate, escrocherii sau roboți
|
|
77
|
+
does_not_belong: Conține activitate ilegală, amenințări cu sinuciderea, informații personale sau altceva ce consideri că nu aparține de %{organization_name}.
|
|
78
|
+
offensive: Conține rasism, sexism, insulte, atacuri personale, amenințări cu moartea, cereri de sinucidere sau orice formă de discurs de incitare la ură.
|
|
79
|
+
spam: Conține clickbait, publicitate, escrocherii sau script rulat de roboți.
|
|
80
80
|
title: Raportează conținut nepotrivit
|
|
81
81
|
show_replies: Arată %{replies_count} răspunsuri
|
|
82
|
-
single_comment_link_title: Obţine
|
|
82
|
+
single_comment_link_title: Obţine link
|
|
83
83
|
comment_order_selector:
|
|
84
84
|
order:
|
|
85
85
|
best_rated: Cele mai apreciate
|
|
86
86
|
most_discussed: Cele mai discutate
|
|
87
|
-
older:
|
|
87
|
+
older: Mai vechi
|
|
88
88
|
recent: Recente
|
|
89
89
|
title: 'Ordonare după:'
|
|
90
90
|
comment_thread:
|
|
91
91
|
title: Conversație cu %{authorName}
|
|
92
92
|
comments:
|
|
93
|
-
blocked_comments_for_unauthorized_user_warning: Trebuie să
|
|
93
|
+
blocked_comments_for_unauthorized_user_warning: Trebuie să fii verificat pentru a trimite comentarii în acest moment, dar le poți citi pe cele anterioare.
|
|
94
94
|
blocked_comments_for_user_warning: Nu poți comenta în acest moment, dar le poți citi pe cele anterioare.
|
|
95
|
-
blocked_comments_warning: Comentariile sunt dezactivate în acest moment, dar le
|
|
96
|
-
comment_details_title:
|
|
95
|
+
blocked_comments_warning: Comentariile sunt dezactivate în acest moment, dar le poți citi pe cele anterioare.
|
|
96
|
+
comment_details_title: Detaliile comentariului
|
|
97
97
|
loading: Se încarcă comentariile...
|
|
98
|
-
single_comment_warning:
|
|
99
|
-
single_comment_warning_title:
|
|
98
|
+
single_comment_warning: Poţi verifica restul comentariilor <a href="%{url}">aici</a>.
|
|
99
|
+
single_comment_warning_title: Poți vedea un singur comentariu
|
|
100
100
|
title:
|
|
101
101
|
one: "%{count} comentariu"
|
|
102
102
|
few: "%{count} comentarii"
|
|
@@ -108,7 +108,7 @@ ro:
|
|
|
108
108
|
form:
|
|
109
109
|
body:
|
|
110
110
|
label: Comentariu
|
|
111
|
-
placeholder: Ce părere
|
|
111
|
+
placeholder: Ce părere ai despre asta?
|
|
112
112
|
submit: Trimite
|
|
113
113
|
title: Editează comentariul tău
|
|
114
114
|
up_vote_button:
|
|
@@ -117,44 +117,44 @@ ro:
|
|
|
117
117
|
comments:
|
|
118
118
|
comment_by_followed_user:
|
|
119
119
|
email_intro: "%{author_name} a lăsat un comentariu în %{resource_title}. Îl poți citi în această pagină:"
|
|
120
|
-
email_outro:
|
|
121
|
-
email_subject: Există un nou comentariu
|
|
122
|
-
notification_title: Există un comentariu nou
|
|
120
|
+
email_outro: Ai primit această notificare deoarece urmărești pe „%{author_name}”. Poți anula abonarea de la acest utilizator de pe pagina sa de profil.
|
|
121
|
+
email_subject: Există un nou comentariu de la %{author_name} pentru %{resource_title}
|
|
122
|
+
notification_title: Există un comentariu nou de la <a href="%{author_path}">%{author_name} %{author_nickname}</a> pentru <a href="%{resource_path}">%{resource_title}</a>.
|
|
123
123
|
comment_by_followed_user_group:
|
|
124
|
-
email_intro: 'Grupul %{author_name} a lăsat un comentariu
|
|
125
|
-
email_outro:
|
|
126
|
-
email_subject: Există un nou comentariu
|
|
127
|
-
notification_title: Există un comentariu nou
|
|
124
|
+
email_intro: 'Grupul %{author_name} a lăsat un comentariu pentru %{resource_title}. Îl poți citi în această pagină:'
|
|
125
|
+
email_outro: Ai primit această notificare deoarece urmărești grupul „%{author_name}”. Poți anula abonarea de la acest grup de pe pagina sa de profil.
|
|
126
|
+
email_subject: Există un nou comentariu de la %{author_name} pentru %{resource_title}
|
|
127
|
+
notification_title: Există un comentariu nou de la <a href="%{author_path}">%{author_name} %{author_nickname}</a> pentru <a href="%{resource_path}">%{resource_title}</a>.
|
|
128
128
|
comment_created:
|
|
129
|
-
email_intro: "%{resource_title} a
|
|
130
|
-
email_outro:
|
|
131
|
-
email_subject: Există un nou comentariu de la %{author_name}
|
|
132
|
-
notification_title: Există un nou comentariu de la <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
|
129
|
+
email_intro: "%{resource_title} a primit un comentariu. Poți citi comentariul pe această pagină:"
|
|
130
|
+
email_outro: Ai primit această notificare deoarece urmărești „%{resource_title}” sau pe autorii săi. Poți anula abonarea de la link-ul anterior.
|
|
131
|
+
email_subject: Există un nou comentariu de la %{author_name} pentru %{resource_title}
|
|
132
|
+
notification_title: Există un nou comentariu de la <a href="%{author_path}">%{author_name} %{author_nickname}</a> pentru <a href="%{resource_path}">%{resource_title}</a>
|
|
133
133
|
comment_downvoted:
|
|
134
|
-
email_intro: Comentariul tău
|
|
135
|
-
email_outro:
|
|
136
|
-
email_subject: Comentariul tău
|
|
137
|
-
notification_title: Comentariul tău <a href="%{resource_path}"></a>
|
|
134
|
+
email_intro: Comentariul tău pentru "%{resource_title}" a primit un vot nefavorabil. Acesta are acum un total de %{upvotes} voturi favorabile şi %{downvotes} voturi nefaborabile.
|
|
135
|
+
email_outro: Ai primit această notificare deoarece ești autorul acestui comentariu.
|
|
136
|
+
email_subject: Comentariul tău pentru "%{resource_title}" a primit un vot nefavorabil.
|
|
137
|
+
notification_title: Comentariul tău <a href="%{resource_path}"></a> pentru "%{resource_title}" a primit un vot nefavorabil. Acum are un total de %{upvotes} voturi favorabile și %{downvotes} voturi nefavorabile.
|
|
138
138
|
comment_upvoted:
|
|
139
|
-
email_intro: Comentariul tău
|
|
140
|
-
email_outro:
|
|
141
|
-
email_subject: Comentariul tău
|
|
142
|
-
notification_title: Comentariul tău <a href="%{resource_path}"></a> în "%{resource_title}" a
|
|
139
|
+
email_intro: Comentariul tău pentru "%{resource_title}" a primit un vot favorabil. Acesta are acum un total de %{upvotes} voturi favorabile și %{downvotes} voturi nefavorabile.
|
|
140
|
+
email_outro: Ai primit această notificare deoarece ești autorul acestui comentariu.
|
|
141
|
+
email_subject: Comentariul tău pentru "%{resource_title}" a primit un vot favorabil.
|
|
142
|
+
notification_title: Comentariul tău <a href="%{resource_path}"></a> în "%{resource_title}" a primit un vot favorabil. Acum are un total de %{upvotes} voturi faborabile și %{downvotes} voturi nefavorabile.
|
|
143
143
|
reply_created:
|
|
144
|
-
email_intro: "%{author_name} a răspuns
|
|
145
|
-
email_outro:
|
|
146
|
-
email_subject: "%{author_name} a răspuns
|
|
147
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a răspuns comentariul tău
|
|
144
|
+
email_intro: "%{author_name} a răspuns la comentariul tău pentru %{resource_title}. Îl poți citi în această pagină:"
|
|
145
|
+
email_outro: Ai primit această notificare deoarece comentariul tău a primit un răspuns.
|
|
146
|
+
email_subject: "%{author_name} a răspuns la comentariul tău pentru %{resource_title}"
|
|
147
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a răspuns la comentariul tău pentru <a href="%{resource_path}">%{resource_title}</a>
|
|
148
148
|
user_group_mentioned:
|
|
149
|
-
email_intro: Un grup
|
|
150
|
-
email_outro:
|
|
149
|
+
email_intro: Un grup de care aparți a fost menționat
|
|
150
|
+
email_outro: Ai primit această notificare deoarece ești un membru al grupului %{group_name} care a fost menționat în %{resource_title}.
|
|
151
151
|
email_subject: Ai fost menționat în %{resource_title} ca membru al %{group_name}
|
|
152
152
|
notification_title: Ai fost menționat în <a href="%{resource_path}">%{resource_title}</a> de <a href="%{author_path}">%{author_name} %{author_nickname}</a> ca membru al <a href="%{group_path}">%{group_name} %{group_nickname}</a>
|
|
153
153
|
user_mentioned:
|
|
154
|
-
email_intro:
|
|
155
|
-
email_outro:
|
|
154
|
+
email_intro: Ai fost menționat(ă)
|
|
155
|
+
email_outro: Ai primit această notificare deoarece ai fost menționat în %{resource_title}.
|
|
156
156
|
email_subject: Ai fost menționat în %{resource_title}
|
|
157
|
-
notification_title: Ai fost menționat în <a href="%{resource_path}">%{resource_title}</a> de <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
|
157
|
+
notification_title: Ai fost menționat în <a href="%{resource_path}">%{resource_title}</a> de către <a href="%{author_path}">%{author_name} %{author_nickname}</a>
|
|
158
158
|
metrics:
|
|
159
159
|
comments:
|
|
160
160
|
description: Numărul de comentarii generate de participanți
|
|
@@ -162,4 +162,4 @@ ro:
|
|
|
162
162
|
title: Comentarii
|
|
163
163
|
errors:
|
|
164
164
|
messages:
|
|
165
|
-
cannot_have_comments: nu
|
|
165
|
+
cannot_have_comments: nu poate fi comentat
|
data/config/locales/si-LK.yml
CHANGED
|
@@ -1 +1,21 @@
|
|
|
1
1
|
si:
|
|
2
|
+
activemodel:
|
|
3
|
+
models:
|
|
4
|
+
decidim/comments/comment_by_followed_user_event: අදහස
|
|
5
|
+
decidim/comments/comment_created_event: අදහස
|
|
6
|
+
activerecord:
|
|
7
|
+
models:
|
|
8
|
+
decidim/comments/comment:
|
|
9
|
+
one: අදහස
|
|
10
|
+
other: අදහස්
|
|
11
|
+
decidim:
|
|
12
|
+
comments:
|
|
13
|
+
comments_title: අදහස්
|
|
14
|
+
components:
|
|
15
|
+
add_comment_form:
|
|
16
|
+
form:
|
|
17
|
+
body:
|
|
18
|
+
label: අදහස
|
|
19
|
+
submit: යවන්න
|
|
20
|
+
user_group_id:
|
|
21
|
+
label: ලෙස අදහස් දක්වන්න
|
|
@@ -7,11 +7,11 @@ module Decidim
|
|
|
7
7
|
# Render commentable comments inside the `expanded` template content.
|
|
8
8
|
#
|
|
9
9
|
# resource - A commentable resource
|
|
10
|
-
def comments_for(resource)
|
|
10
|
+
def comments_for(resource, options = {})
|
|
11
11
|
return unless resource.commentable?
|
|
12
12
|
|
|
13
13
|
content_for :expanded do
|
|
14
|
-
inline_comments_for(resource)
|
|
14
|
+
inline_comments_for(resource, options)
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
@@ -28,7 +28,8 @@ module Decidim
|
|
|
28
28
|
resource,
|
|
29
29
|
machine_translations: machine_translations_toggled?,
|
|
30
30
|
single_comment: params.fetch("commentId", nil),
|
|
31
|
-
order: options[:order]
|
|
31
|
+
order: options[:order],
|
|
32
|
+
polymorphic: options[:polymorphic]
|
|
32
33
|
).to_s
|
|
33
34
|
end
|
|
34
35
|
end
|
|
@@ -66,6 +66,10 @@ module Decidim
|
|
|
66
66
|
Cell::ViewModel.view_paths << File.expand_path("#{Decidim::Comments::Engine.root}/app/cells")
|
|
67
67
|
Cell::ViewModel.view_paths << File.expand_path("#{Decidim::Comments::Engine.root}/app/views") # for partials
|
|
68
68
|
end
|
|
69
|
+
|
|
70
|
+
initializer "decidim_comments.webpacker.assets_path" do
|
|
71
|
+
Decidim.register_assets_path File.expand_path("app/packs", root)
|
|
72
|
+
end
|
|
69
73
|
end
|
|
70
74
|
end
|
|
71
75
|
end
|
|
@@ -3,13 +3,24 @@
|
|
|
3
3
|
namespace :decidim_comments do
|
|
4
4
|
desc "Adds participatory_process_id to comments if they are associated with a participatory process"
|
|
5
5
|
task update_participatory_process_in_comments: :environment do
|
|
6
|
-
|
|
6
|
+
puts "Updating comments..."
|
|
7
|
+
ok = errors = 0
|
|
8
|
+
|
|
9
|
+
log = ActiveSupport::Logger.new(Rails.root.join("log/update_participatory_process_in_comments.log"))
|
|
10
|
+
Decidim::Comments::Comment.where(participatory_space: nil).find_each do |c|
|
|
7
11
|
c.participatory_space = if c.root_commentable.is_a?(Decidim::Participable)
|
|
8
12
|
c.root_commentable
|
|
9
13
|
else
|
|
10
14
|
c.commentable.try(:participatory_space)
|
|
11
15
|
end
|
|
12
16
|
c.save(validate: false)
|
|
17
|
+
ok += 1
|
|
18
|
+
rescue StandardError => e
|
|
19
|
+
errors += 1
|
|
20
|
+
log.info "Error updating comment ##{c.id}: #{e.message}"
|
|
13
21
|
end
|
|
22
|
+
|
|
23
|
+
puts "#{ok} comments updated."
|
|
24
|
+
puts "#{errors} errors found. Check the file 'log/update_participatory_process_in_comments.log' for more information." if errors.positive?
|
|
14
25
|
end
|
|
15
26
|
end
|