decidim-comments 0.26.2 → 0.26.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f449f8ff515ba627b30631ba707ce7269ccd13e7535ec9025cb5216e6adb4eb1
4
- data.tar.gz: 50bf6b4217c3de8a34df821b97b590c42a8e42a2fd133caeda6f7865ad2c0d5c
3
+ metadata.gz: e65e556105c975a512cf38512249fa956e3d3cf26c3e78b5cda7af52b98383e3
4
+ data.tar.gz: 03d678132d3530bdbf4ee57633da83cfd245c31e6bac7b1a131baa5ca7466fb6
5
5
  SHA512:
6
- metadata.gz: e3b12c153436bd614bc1175a8d542d18c50ebf46240b88d2ef1791d85c4e45daf16e59d7b219d2904469264d18002d26fb2bfcd598cc8826e569e44a6df76144
7
- data.tar.gz: 94e537252c62d78c8725023753b40acdc664c962555b0da57ecb76c5b1fe01a62f770ea79364792ed7319bfb239332f84532e6237f1e27ad4ca091484158f85e
6
+ metadata.gz: 0e9b996fe98034ccf8c532c285b418e13fbd83ddb5be3e6f6000215d298138442c43f4e0461b47dbcb27bfad2e64cb63b330a08583baa915578e1d5908224120
7
+ data.tar.gz: 62c58afe19b0d2afc75f1d0771cc5d484c250ea94e3dd242a8a6897f0f8dd0c92b654972311a0e58e12e2c2a75c9e267d40a7bb85c612eab964ee77ba37f85b3
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Decidim
4
4
  module Comments
5
- # A cell to display a form for edditing a comment.
5
+ # A cell to display a form for editing a comment.
6
6
  class EditCommentModalFormCell < Decidim::ViewModel
7
7
  delegate :current_user, :user_signed_in?, to: :controller
8
8
  alias comment model
@@ -48,14 +48,7 @@ module Decidim
48
48
  edit: true
49
49
  )
50
50
 
51
- mentioned_users = parsed.metadata[:user].users
52
- mentioned_groups = parsed.metadata[:user_group].groups
53
51
  CommentCreation.publish(@comment, parsed.metadata)
54
- send_notifications(mentioned_users, mentioned_groups)
55
- end
56
-
57
- def send_notifications(mentioned_users, mentioned_groups)
58
- NewCommentNotificationCreator.new(comment, mentioned_users, mentioned_groups).create
59
52
  end
60
53
  end
61
54
  end
@@ -1 +1,176 @@
1
1
  lt:
2
+ activemodel:
3
+ models:
4
+ decidim/comments/comment_by_followed_user_event: Komentarai
5
+ decidim/comments/comment_created_event: Komentarai
6
+ decidim/comments/comment_upvoted_event: Komentaras palaikytas
7
+ decidim/comments/reply_created_event: Atsakymas į komentarą
8
+ decidim/comments/user_group_mentioned_event: Paminėjimas
9
+ decidim/comments/user_mentioned_event: Paminėti
10
+ activerecord:
11
+ models:
12
+ decidim/comments/comment:
13
+ one: Komentaras
14
+ few: Komentarai
15
+ many: Komentarai
16
+ other: Komentarai
17
+ decidim/comments/comment_vote:
18
+ one: Balsuoti
19
+ few: Balsai
20
+ many: Balsai
21
+ other: Balsai
22
+ decidim:
23
+ comments:
24
+ admin:
25
+ shared:
26
+ availability_fields:
27
+ enabled: Komentarai aktyvuoti
28
+ end_time: Komentarai aktyvuoti iki
29
+ start_time: Komentarai aktyvuoti nuo
30
+ comments:
31
+ create:
32
+ error: Kuriant šį komentarą iškilo problema.
33
+ delete:
34
+ error: Komentaro ištrinti nepavyko.
35
+ update:
36
+ error: Atnaujinant šį komentarą iškilo problema.
37
+ comments_count: Komentarų skaičius
38
+ comments_title: Komentarai
39
+ last_activity:
40
+ new_comment_at_html: "<span>Naujas komentaras %{link}</span>"
41
+ view: Rodyti
42
+ votes:
43
+ create:
44
+ error: Balsuojant už komentarą iškilo problema.
45
+ components:
46
+ add_comment_form:
47
+ account_message: <a href="%{sign_in_url}">Prisijunkite</a>arba<a href="%{sign_up_url}">registruokitės</a>norėdami komentuoti.
48
+ form:
49
+ body:
50
+ label: Komentaras
51
+ placeholder: Ką manote apie tai?
52
+ form_error: Tekstas būtinais ir negali viršyti %{length} simbolių.
53
+ submit: Publikuoti
54
+ user_group_id:
55
+ label: Komentuoti kaip
56
+ opinion:
57
+ label: Jūsų nuomonė šiuo klausimu
58
+ negative: Negatyvi
59
+ negative_selected: Jūsų nuomonė apie šią temą yra negatyvi
60
+ neutral: Neutrali
61
+ neutral_selected: Jūsų nuomonė apie šią temą yra neutrali
62
+ positive: Pozityvi
63
+ positive_selected: Jūsų nuomonė apie šią temą yra pozityvi
64
+ remaining_characters: "Liko %{count} simbolių"
65
+ remaining_characters_1: "Liko %{count} simbolių"
66
+ title: Pridėti komentarą
67
+ comment:
68
+ alignment:
69
+ against: Prieš
70
+ in_favor: Už
71
+ confirm_destroy: Ar tikrai norite ištrinti šį komentarą?
72
+ delete: Ištrinti
73
+ deleted_at: Komentaras ištrintas %{date}
74
+ deleted_user: Ištrintas dalyvis
75
+ edit: Redaguoti
76
+ edited: Redaguota
77
+ hide_replies: Paslėpti atsakymus
78
+ moderated_at: Komentaras moderuotas %{date}
79
+ reply: Atsakyti
80
+ report:
81
+ action: Raportuoti
82
+ already_reported: Šis turinys jau praneštas ir bus peržiūrėtas administratoriaus.
83
+ close: Uždaryti
84
+ description: Ar šis turinys netinkamas?
85
+ details: Papildomi komentarai
86
+ reasons:
87
+ does_not_belong: Pateikta informacija susijusi su neteisėta veikla, savižudybe, asmenine ar kita informacija netinkančia %{organization_name}.
88
+ offensive: Pateikiamoje informacijoje yra rasizmo, seksizmo, keiksmažodžių, asmeninių atakų, grasinimų ar kitokios neapykantos kalbos.
89
+ spam: Pateikiamoje informacijoje yra reklamos, antraščių mąsalo ar apgavysčių.
90
+ title: Pranešti apie netinkamą turinį
91
+ show_replies: Rodyti %{replies_count} atsakymus
92
+ single_comment_link_title: Gauti nuorodą
93
+ comment_order_selector:
94
+ order:
95
+ best_rated: Geriausiai įvertinti
96
+ most_discussed: Labiausiai aptarti
97
+ older: Ankstesni
98
+ recent: Paskutiniai
99
+ title: 'Rikiuoti pagal:'
100
+ comment_thread:
101
+ title: Pokalbis su %{authorName}
102
+ comments:
103
+ blocked_comments_for_unauthorized_user_warning: Norėdami komentuoti turite būti patvirtintas(-a), tačiau galite skaityti egzistuojančius komentarus.
104
+ blocked_comments_for_user_warning: Šiuo metu komentarų pateikti negalite, tačiau galite perskaityti ankstesnius komentarus.
105
+ blocked_comments_warning: Komentarai šiuo metu išjungti, tačiau galite perskaityti ankstesnius komentarus.
106
+ comment_details_title: Komentaro detalės
107
+ loading: Komentarai įkeliami...
108
+ single_comment_warning: <a href="%{url}">Peržiūrėti visus komentarus</a>
109
+ single_comment_warning_title: Matote vieną komentarą
110
+ title:
111
+ one: "%{count} komentaras"
112
+ few: "%{count} komentarai"
113
+ many: "%{count} komentarai"
114
+ other: "%{count} komentarai"
115
+ down_vote_button:
116
+ text: Nesutinku su šiuo komentaru
117
+ edit_comment_modal_form:
118
+ close: Uždaryti
119
+ form:
120
+ body:
121
+ label: Komentaras
122
+ placeholder: Ką apie tai manote?
123
+ submit: Siųsti
124
+ title: Taisyti komentarą
125
+ up_vote_button:
126
+ text: Sutinku su šiuo komentaru
127
+ events:
128
+ comments:
129
+ comment_by_followed_user:
130
+ email_intro: "%{author_name} pakomentavo %{resource_title}. Komentarą galite perskaityti:"
131
+ email_outro: Gavote šį pranešimą nes sekate %{author_name}. Galite pasirinkti nebesekti šio naudotojo jo profilio puslapyje.
132
+ email_subject: Naujas komentaras %{resource_title} iš %{author_name}
133
+ notification_title: Naujas komentaras <a href="%{resource_path}">%{resource_title}</a> iš <a href="%{author_path}">%{author_name}%{author_nickname}</a>.
134
+ comment_by_followed_user_group:
135
+ email_intro: 'Grupė %{author_name} paliko komentarą po %{resource_title}. Galite jį perskaityti šiame puslapyje:'
136
+ email_outro: Šį pranešimą gavote dėl to, kad sekate %{author_name}. Jūs galite nebesekti šios grupės pasirinkdami šį nustatymą jos profilio puslapyje.
137
+ email_subject: Naujas komentaras %{resource_title} iš %{author_name}
138
+ notification_title: Naujas komentaras <a href="%{resource_path}">%{resource_title}</a> iš <a href="%{author_path}">%{author_name}%{author_nickname}</a>.
139
+ comment_created:
140
+ email_intro: "%{resource_title} pateiktas komentaras. Komentarą galite perskaityti šiame puslapyje:"
141
+ email_outro: Šį pranešimą gavote dėl to, kad sekate „%{resource_title}“ arba jo autorių. Jūs galite jo nebesekti spustelėdami aukščiau esančią nuorodą.
142
+ email_subject: '%{author_name} paliko naują komentarą %{resource_title}'
143
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> paliko naują komentarą <a href="%{resource_path}">%{resource_title}</a>
144
+ comment_downvoted:
145
+ email_intro: Jūsų komentaras %{resource_title} buvo nepakaikyas. Komentaras dabar turi %{upvotes} palaikymus ir %{downvotes} nepalaikymus.
146
+ email_outro: Šį pranešimą gavote dėl to, kad esate pasiūlymo autorius.
147
+ email_subject: Jūsų komentaras %{resource_title} buvo įvertintas neigiamai.
148
+ notification_title: Jūsų <a href="%{resource_path}"> komentaras</a> %{resource_title} buvo įvertintas neigiamai. Dabar jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
149
+ comment_upvoted:
150
+ email_intro: Jūsų komentaras %{resource_title} buvo įvertintas teigiamai. Jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
151
+ email_outro: Šį pranešimą gavote nes esate komentaro autorius.
152
+ email_subject: Komentaras %{resource_title} buvo įvertintas teigiamai.
153
+ notification_title: Jūsų <a href="%{resource_path}">komentaras</a> %{resource_title} buvo įvertintas teigiamai. Jis turi %{upvotes} teigiamus ir %{downvotes} neigiamus įvertinimus.
154
+ reply_created:
155
+ email_intro: "%{author_name} atsakė į komentarą %{resource_title}. Galite jį perskaityti:"
156
+ email_outro: Gavote šį pranešimą nes į Jūsų komentarą buvo atsakyta.
157
+ email_subject: "%{author_name} atsakė į komentarą %{resource_title}"
158
+ notification_title: <a href="%{author_path}">%{author_name}%{author_nickname}</a> atsakė į komentarą <a href="%{resource_path}">%{resource_title}</a>
159
+ user_group_mentioned:
160
+ email_intro: Grupė, kuriai priklausote, buvo paminėta
161
+ email_outro: Gavote šį pranešimą nes esate %{resource_title} paminėtos grupės %{group_name} narė(-ys).
162
+ email_subject: Buvote paminėtas %{resource_title} kaip %{group_name} narys
163
+ notification_title: Buvote paminėtas <a href="%{resource_path}">%{resource_title} <a href="%{author_path}">%{author_name}%{author_nickname}</a> kaip <a href="%{group_path}">%{group_name}%{group_nickname}</a> narį
164
+ user_mentioned:
165
+ email_intro: Buvote paminėta(-s)
166
+ email_outro: Gavote šį pranešimą nes buvote paminėta(-s) %{resource_title}.
167
+ email_subject: Buvote paminėta(-s) %{resource_title}
168
+ notification_title: Buvote paminėta(-s) <a href="%{resource_path}"> %{resource_title}</a><a href="%{author_path}">%{author_name}%{author_nickname}</a>
169
+ metrics:
170
+ comments:
171
+ description: Komentarų sugeneruotų dalyvių skaičius
172
+ object: komentarai
173
+ title: Komentarai
174
+ errors:
175
+ messages:
176
+ cannot_have_comments: negali būti komentuota
@@ -3,6 +3,7 @@ nl:
3
3
  models:
4
4
  decidim/comments/comment_by_followed_user_event: Commentaar
5
5
  decidim/comments/comment_created_event: Commentaar
6
+ decidim/comments/comment_upvoted_event: Reactie omhoog gestemd
6
7
  decidim/comments/reply_created_event: Reactie antwoord
7
8
  decidim/comments/user_group_mentioned_event: Vermelding
8
9
  decidim/comments/user_mentioned_event: Vermelding
@@ -23,11 +24,14 @@ nl:
23
24
  end_time: Reacties ingeschakeld tot
24
25
  start_time: Commentaren ingeschakeld vanaf
25
26
  comments:
27
+ create:
28
+ error: Er is een probleem opgetreden bij het aanmaken van de reactie.
26
29
  delete:
27
30
  error: De reactie kon niet worden verwijderd.
28
31
  update:
29
32
  error: Er is een probleem opgetreden bij het bijwerken van de reactie.
30
33
  comments_count: Aantal reacties
34
+ comments_title: Reacties
31
35
  last_activity:
32
36
  new_comment_at_html: "<span>Nieuwe opmerking op %{link}</span>"
33
37
  view: Bekijk
@@ -67,6 +71,7 @@ nl:
67
71
  edit: Bewerk
68
72
  edited: Bewerkt
69
73
  hide_replies: Antwoorden verbergen
74
+ moderated_at: Reactie gemodereerd op %{date}
70
75
  reply: Antwoord
71
76
  report:
72
77
  action: Melden
@@ -98,6 +103,9 @@ nl:
98
103
  loading: Reacties laden...
99
104
  single_comment_warning: <a href="%{url}">Bekijk alle reacties</a>
100
105
  single_comment_warning_title: Je ziet een enkele reactie
106
+ title:
107
+ one: "%{count} reacties"
108
+ other: "%{count} reacties"
101
109
  down_vote_button:
102
110
  text: Ik ben het niet eens met deze reactie
103
111
  edit_comment_modal_form:
@@ -127,6 +135,16 @@ nl:
127
135
  email_outro: Je hebt deze melding ontvangen omdat je '%{resource_title}' of de auteur ervan volgt. Ontvolgen kan door te klikken op de vorige link.
128
136
  email_subject: Er is een nieuwe reactie van %{author_name} in %{resource_title}
129
137
  notification_title: Er is een nieuwe reactie van <a href="%{author_path}">%{author_name} %{author_nickname}</a> in <a href="%{resource_path}">%{resource_title}</a>
138
+ comment_downvoted:
139
+ email_intro: Je reactie in "%{resource_title}" kreeg een tegenstem. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
140
+ email_outro: Je hebt deze melding ontvangen omdat je de auteur bent van deze reactie.
141
+ email_subject: Je reactie in "%{resource_title}" kreeg een tegenstem.
142
+ notification_title: Je <a href="%{resource_path}">reactie</a> in "%{resource_title}" kreeg een tegenstem. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
143
+ comment_upvoted:
144
+ email_intro: Je reactie in "%{resource_title}" kreeg een stem 'voor'. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
145
+ email_outro: Je hebt deze melding ontvangen omdat je de auteur bent van deze reactie.
146
+ email_subject: Je reactie in "%{resource_title}" kreeg een stem 'voor'.
147
+ notification_title: Je <a href="%{resource_path}">reactie</a> in "%{resource_title}" kreeg een stem 'voor'. Het heeft nu een totaal van %{upvotes} stemmen 'voor' en %{downvotes} stemmen 'tegen'.
130
148
  reply_created:
131
149
  email_intro: "%{author_name} heeft gereageerd op jouw opmerking in %{resource_title}. Lees het via deze link:"
132
150
  email_outro: Je hebt deze melding ontvangen omdat je reactie beantwoord is.
@@ -0,0 +1 @@
1
+ oc:
@@ -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.26.2"
7
+ "0.26.3"
8
8
  end
9
9
  end
10
10
  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.2
4
+ version: 0.26.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josep Jaume Rey Peroy
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-06-14 00:00:00.000000000 Z
13
+ date: 2022-09-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: decidim-core
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.26.2
21
+ version: 0.26.3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - '='
27
27
  - !ruby/object:Gem::Version
28
- version: 0.26.2
28
+ version: 0.26.3
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: redcarpet
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -52,28 +52,28 @@ dependencies:
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 0.26.2
55
+ version: 0.26.3
56
56
  type: :development
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 0.26.2
62
+ version: 0.26.3
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: decidim-dev
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 0.26.2
69
+ version: 0.26.3
70
70
  type: :development
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 0.26.2
76
+ version: 0.26.3
77
77
  description: Pluggable comments system for some components.
78
78
  email:
79
79
  - josepjaume@gmail.com
@@ -215,6 +215,7 @@ files:
215
215
  - config/locales/mt.yml
216
216
  - config/locales/nl.yml
217
217
  - config/locales/no.yml
218
+ - config/locales/oc-FR.yml
218
219
  - config/locales/om-ET.yml
219
220
  - config/locales/pl.yml
220
221
  - config/locales/pt-BR.yml