decidim-comments 0.30.1 → 0.31.0.rc1

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.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/app/cells/decidim/comments/comment/deletion_data.erb +1 -1
  3. data/app/cells/decidim/comments/comment/show.erb +12 -12
  4. data/app/cells/decidim/comments/comment/votes.erb +4 -4
  5. data/app/cells/decidim/comments/comment_cell.rb +1 -3
  6. data/app/cells/decidim/comments/comment_form/comment_as.erb +5 -24
  7. data/app/cells/decidim/comments/comment_form/opinion.erb +3 -3
  8. data/app/cells/decidim/comments/comment_form/show.erb +3 -3
  9. data/app/cells/decidim/comments/comment_form_cell.rb +5 -20
  10. data/app/cells/decidim/comments/comments/order_control.erb +1 -1
  11. data/app/cells/decidim/comments/edit_comment_modal_form/show.erb +2 -2
  12. data/app/commands/decidim/comments/create_comment.rb +3 -5
  13. data/app/events/decidim/comments/comment_event.rb +3 -10
  14. data/app/forms/decidim/comments/comment_form.rb +0 -1
  15. data/app/models/decidim/comments/comment.rb +2 -2
  16. data/app/models/decidim/comments/seed.rb +4 -16
  17. data/app/packs/src/decidim/comments/comments.component.js +0 -7
  18. data/app/packs/src/decidim/comments/comments.component.test.js +4 -16
  19. data/app/packs/src/decidim/comments/comments.js +1 -1
  20. data/app/packs/src/decidim/comments/comments_mobile_modal.js +1 -1
  21. data/app/packs/stylesheets/comments.scss +2 -6
  22. data/app/queries/decidim/comments/sorted_comments.rb +1 -1
  23. data/app/services/decidim/comments/new_comment_notification_creator.rb +2 -27
  24. data/app/views/decidim/comments/admin/shared/_availability_fields.html.erb +1 -1
  25. data/app/views/decidim/comments/comments/delete.js.erb +4 -2
  26. data/app/views/decidim/comments/comments/reload.js.erb +0 -1
  27. data/app/views/decidim/comments/comments/update.js.erb +3 -1
  28. data/app/views/decidim/comments/votes/create.js.erb +26 -7
  29. data/config/assets.rb +2 -2
  30. data/config/locales/ar.yml +0 -18
  31. data/config/locales/bg.yml +0 -18
  32. data/config/locales/bs-BA.yml +0 -8
  33. data/config/locales/ca-IT.yml +6 -20
  34. data/config/locales/ca.yml +6 -20
  35. data/config/locales/cs.yml +0 -20
  36. data/config/locales/de.yml +6 -20
  37. data/config/locales/el.yml +0 -18
  38. data/config/locales/en.yml +6 -20
  39. data/config/locales/es-MX.yml +6 -20
  40. data/config/locales/es-PY.yml +6 -20
  41. data/config/locales/es.yml +6 -20
  42. data/config/locales/eu.yml +6 -20
  43. data/config/locales/fi-plain.yml +8 -20
  44. data/config/locales/fi.yml +8 -20
  45. data/config/locales/fr-CA.yml +6 -23
  46. data/config/locales/fr.yml +6 -23
  47. data/config/locales/ga-IE.yml +0 -5
  48. data/config/locales/gl.yml +0 -11
  49. data/config/locales/hu.yml +0 -18
  50. data/config/locales/id-ID.yml +0 -11
  51. data/config/locales/is-IS.yml +0 -5
  52. data/config/locales/it.yml +0 -18
  53. data/config/locales/ja.yml +4 -20
  54. data/config/locales/lb.yml +0 -18
  55. data/config/locales/lt.yml +0 -18
  56. data/config/locales/lv.yml +0 -18
  57. data/config/locales/nl.yml +0 -18
  58. data/config/locales/no.yml +0 -18
  59. data/config/locales/pl.yml +0 -18
  60. data/config/locales/pt-BR.yml +0 -18
  61. data/config/locales/pt.yml +0 -18
  62. data/config/locales/ro-RO.yml +0 -20
  63. data/config/locales/ru.yml +0 -11
  64. data/config/locales/si-LK.yml +0 -2
  65. data/config/locales/sk.yml +0 -18
  66. data/config/locales/sq-AL.yml +0 -2
  67. data/config/locales/sr-CS.yml +0 -9
  68. data/config/locales/sv.yml +0 -20
  69. data/config/locales/tr-TR.yml +0 -18
  70. data/config/locales/uk.yml +0 -6
  71. data/config/locales/zh-CN.yml +0 -18
  72. data/config/locales/zh-TW.yml +0 -18
  73. data/db/migrate/20181003080320_fix_user_groups_ids_in_comments.rb +8 -1
  74. data/lib/decidim/api/comment_type.rb +1 -4
  75. data/lib/decidim/api/commentable_interface.rb +7 -13
  76. data/lib/decidim/api/commentable_mutation_type.rb +2 -3
  77. data/lib/decidim/comments/comment_serializer.rb +0 -4
  78. data/lib/decidim/comments/comment_vote_serializer.rb +0 -4
  79. data/lib/decidim/comments/commentable.rb +4 -0
  80. data/lib/decidim/comments/engine.rb +6 -20
  81. data/lib/decidim/comments/test/factories.rb +1 -1
  82. data/lib/decidim/comments/test/shared_examples/comment_event.rb +1 -10
  83. data/lib/decidim/comments/test/shared_examples/create_comment_context.rb +0 -2
  84. data/lib/decidim/comments/version.rb +1 -1
  85. metadata +8 -12
  86. data/app/events/decidim/comments/comment_by_followed_user_group_event.rb +0 -9
  87. data/app/events/decidim/comments/user_group_mentioned_event.rb +0 -10
  88. data/app/queries/decidim/comments/metrics/comment_participants_metric_measure.rb +0 -50
  89. data/app/queries/decidim/comments/metrics/comments_metric_manage.rb +0 -97
@@ -1,5 +1,5 @@
1
1
  <div class="row column">
2
- <%= form.check_box :comments_enabled, label: t(".enabled"), "data-toggle": "customize_comments_times-div" %>
2
+ <%= form.check_box :comments_enabled, label: t(".enabled"), data: { controller: :toggle, "toggle-toggle-value": "customize_comments_times-div" } %>
3
3
  </div>
4
4
 
5
5
  <div id="customize_comments_times-div" data-toggler=".hide" class="row column <%= @form.comments_enabled ? nil : "hide" %>">
@@ -1,4 +1,4 @@
1
- $(() => {
1
+ document.addEventListener("turbo:load", () => {
2
2
  const deleteDataHtml = '<%== j(render partial: "delete", locals: { comment: @comment }).strip %>';
3
3
  const rootCommentableId = <%== "comments-for-#{@comment.root_commentable.commentable_type.demodulize}-#{@comment.root_commentable.id}".to_json %>;
4
4
  const commentId = <%= @comment.id.to_json %>;
@@ -11,7 +11,7 @@ $(() => {
11
11
  $(`#comment_${commentId} > [data-comment-footer] > .comment__${section}`).remove();
12
12
  });
13
13
  $(`#comment_${commentId} > .comment__header`).remove();
14
- $(`#comment_${commentId} > [data-additional-reply]`).remove();
14
+ $(`#comment_${commentId} > [data-comment-footer] > [data-additional-reply]`).remove();
15
15
 
16
16
  $commentReply.remove();
17
17
  $content.replaceWith(deleteDataHtml);
@@ -21,3 +21,5 @@ $(() => {
21
21
 
22
22
  $(".comments-count", $(`#${rootCommentableId}`)).text(<%== t("decidim.components.comments.title", count: @comment.root_commentable.comments_count).to_json %>);
23
23
  });
24
+
25
+ document.dispatchEvent(new CustomEvent("turbo:load"));
@@ -15,5 +15,4 @@
15
15
  // Update the comments count
16
16
  $(".comments-count", $comments).text(<%== t("decidim.components.comments.title", count: @comments_count).to_json %>);
17
17
 
18
- Decidim.addInputEmoji();
19
18
  }());
@@ -1,4 +1,4 @@
1
- $(() => {
1
+ document.addEventListener("turbo:load", () => {
2
2
  var rootCommentableId = <%== "comments-for-#{@commentable.class.name.demodulize}-#{@commentable.id}".to_json %>;
3
3
  var $comments = $("#" + rootCommentableId);
4
4
  var config = $comments.data("decidim-comments");
@@ -25,3 +25,5 @@ $(() => {
25
25
  commentsIds: [commentId]
26
26
  });
27
27
  });
28
+
29
+ document.dispatchEvent(new CustomEvent("turbo:load"));
@@ -13,11 +13,30 @@
13
13
  $upVote.removeClass("is-vote-selected is-vote-notselected").removeAttr("disabled");
14
14
  $downVote.removeClass("is-vote-selected is-vote-notselected").removeAttr("disabled");
15
15
 
16
- <% if comment.up_voted_by?(current_user) %>
17
- $upVote.addClass("is-vote-selected");
18
- $downVote.addClass("is-vote-notselected").attr("disabled", "disabled");
19
- <% elsif comment.down_voted_by?(current_user) %>
20
- $upVote.addClass("is-vote-notselected").attr("disabled", "disabled");
21
- $downVote.addClass("is-vote-selected");
22
- <% end %>
16
+ function setVoteState($upVote, $downVote, isUpVoted, isDownVoted) {
17
+ if (isUpVoted) {
18
+ $upVote.addClass("is-vote-selected").attr("aria-pressed", "true");
19
+ $downVote.addClass("is-vote-notselected").attr("aria-disabled", "true").attr("tabindex", "-1").removeAttr("disabled").css("cursor", "not-allowed");
20
+ } else if (isDownVoted) {
21
+ $upVote.addClass("is-vote-notselected").attr("aria-disabled", "true").attr("tabindex", "-1").removeAttr("disabled").css("cursor", "not-allowed");
22
+ $downVote.addClass("is-vote-selected").attr("aria-pressed", "true");
23
+ } else {
24
+ $upVote.removeClass("is-vote-selected is-vote-notselected cursor-not-allowed").removeAttr("aria-pressed aria-disabled disabled tabindex").css("cursor", "");
25
+ $downVote.removeClass("is-vote-selected is-vote-notselected cursor-not-allowed").removeAttr("aria-pressed aria-disabled disabled tabindex").css("cursor", "");
26
+ }
27
+ }
28
+
29
+ setVoteState($upVote, $downVote, <%= comment.up_voted_by?(current_user) %>, <%= comment.down_voted_by?(current_user) %>);
30
+
31
+ function handleAriaDisabledClick(e) {
32
+ const $target = $(e.target).closest('[aria-disabled="true"]');
33
+ if ($target.length > 0) {
34
+ e.preventDefault();
35
+ e.stopPropagation();
36
+ e.stopImmediatePropagation();
37
+ return false;
38
+ }
39
+ }
40
+
41
+ $(document).on('click mousedown', '[aria-disabled="true"]', handleAriaDisabledClick);
23
42
  }());
data/config/assets.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  base_path = File.expand_path("..", __dir__)
4
4
 
5
- Decidim::Webpacker.register_path("#{base_path}/app/packs")
6
- Decidim::Webpacker.register_entrypoints(
5
+ Decidim::Shakapacker.register_path("#{base_path}/app/packs")
6
+ Decidim::Shakapacker.register_entrypoints(
7
7
  decidim_comments: "#{base_path}/app/packs/entrypoints/decidim_comments.js"
8
8
  )
@@ -6,7 +6,6 @@ ar:
6
6
  decidim/comments/comment_created_event: تعليق
7
7
  decidim/comments/comment_upvoted_event: تم التصويت للتعليق
8
8
  decidim/comments/reply_created_event: تعليق الرد
9
- decidim/comments/user_group_mentioned_event: أشير
10
9
  decidim/comments/user_mentioned_event: أشير
11
10
  activerecord:
12
11
  models:
@@ -50,8 +49,6 @@ ar:
50
49
  body:
51
50
  label: تعليق
52
51
  placeholder: ما رأيك بهذا؟
53
- user_group_id:
54
- label: التعليق باسم
55
52
  opinion:
56
53
  label: رأيك حول هذا الموضوع
57
54
  negative: سلبي
@@ -126,11 +123,6 @@ ar:
126
123
  email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{author_name}. يمكنك إلغاء تتبع هذا المستخدم من صفحة ملفه الشخصي.
127
124
  email_subject: هناك تعليق جديد مِن %{author_name} على %{resource_title}
128
125
  notification_title: هناك تعليق جديد مِن <a href="%{author_path}">%{author_name} %{author_nickname}</a> على <a href="%{resource_path}">%{resource_title}</a>.
129
- comment_by_followed_user_group:
130
- email_intro: 'المجموعة %{author_name} تركت تعليقا في %{resource_title}. يمكنك قراءته على هذه الصفحة:'
131
- email_outro: لقد تلقيت هذا الإشعار لأنك تتابع %{author_name}. يمكنك إلغاء متابعة هذه المجموعة من صفحتها الأساسية.
132
- email_subject: هناك تعليق جديد مِن %{author_name} على %{resource_title}
133
- notification_title: هناك تعليق جديد مِن <a href="%{author_path}">%{author_name} %{author_nickname}</a> على <a href="%{resource_path}">%{resource_title}</a>.
134
126
  comment_created:
135
127
  email_intro: "%{resource_title} تم التعليق. يمكنك قراءة التعليق في هذه الصفحة:"
136
128
  email_outro: لقد تلقيت هذا الإشعار لأنك تتابع "%{resource_title}" أو مؤلفه. يمكنك إلغاء تتبعه من الرابط السابق.
@@ -151,18 +143,8 @@ ar:
151
143
  email_outro: لقد تلقيت هذا الإشعار لأنه تم الرد على تعليقك.
152
144
  email_subject: "%{author_name} رد على تعليقك في %{resource_title}"
153
145
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> رد على تعليقك في <a href="%{resource_path}">%{resource_title}</a>
154
- user_group_mentioned:
155
- email_intro: تم ذكر مجموعة تنتمي إليها
156
- email_outro: لقد تلقيت هذا الإشعار لأنك عضو في المجموعة %{group_name} التي ذكرت في %{resource_title}.
157
- email_subject: تم ذكرك في %{resource_title} كعضو في %{group_name}
158
- notification_title: لقد ذكرت في <a href="%{resource_path}">%{resource_title}</a> بواسطة <a href="%{author_path}">%{author_name} %{author_nickname}</a> كعضو في <a href="%{group_path}">%{group_name} %{group_nickname}</a>
159
146
  user_mentioned:
160
147
  email_intro: لقد ذكرت
161
148
  email_outro: لقد تلقيت هذا الإشعار لأنك ذكرت في %{resource_title}.
162
149
  email_subject: لقد ذكرت في %{resource_title}
163
150
  notification_title: لقد ذكرت في <a href="%{resource_path}">%{resource_title}</a> من <a href="%{author_path}">%{author_name} %{author_nickname}</a>
164
- metrics:
165
- comments:
166
- description: عدد التعليقات الناتجة عن المشاركين
167
- object: تعليقات
168
- title: تعليقات
@@ -6,7 +6,6 @@ bg:
6
6
  decidim/comments/comment_created_event: Коментар
7
7
  decidim/comments/comment_upvoted_event: Коментарът е одобрен
8
8
  decidim/comments/reply_created_event: Отговор на коментар
9
- decidim/comments/user_group_mentioned_event: Споменаване
10
9
  decidim/comments/user_mentioned_event: Споменаване
11
10
  activerecord:
12
11
  models:
@@ -50,8 +49,6 @@ bg:
50
49
  form_error: Текстът е задължителен и не може да е по-дълъг от %{length} символа.
51
50
  submit_reply: Публикуване на отговор
52
51
  submit_root_comment: Публикуване на коментар
53
- user_group_id:
54
- label: Коментирайте като
55
52
  opinion:
56
53
  label: Вашето мнение по тази тема
57
54
  negative: Негативно
@@ -133,11 +130,6 @@ bg:
133
130
  email_outro: Получихте това известие, защото следвате %{author_name}. Можете да спрете да следвате този потребител от страницата на неговия профил.
134
131
  email_subject: Има нов коментар от %{author_name} в(ъв) %{resource_title}
135
132
  notification_title: Има нов коментар от <a href="%{author_path}">%{author_name} %{author_nickname}</a> в(ъв) <a href="%{resource_path}">%{resource_title}</a>.
136
- comment_by_followed_user_group:
137
- email_intro: 'Групата %{author_name} остави коментар в(ъв) %{resource_title}. Можете да го прочетете на следната страница:'
138
- email_outro: Получавате това известие, защото следвате %{author_name}. Можете да спрете да следвате тази група от страницата на профила ѝ.
139
- email_subject: Има нов коментар от %{author_name} в(ъв) %{resource_title}
140
- notification_title: Има нов коментар от <a href="%{author_path}">%{author_name} %{author_nickname}</a> в(ъв) <a href="%{resource_path}">%{resource_title}</a>.
141
133
  comment_created:
142
134
  email_intro: "%{resource_title} получи коментар. Можете да прочетете коментара на тази страница:"
143
135
  email_outro: Получавате това известие, защото следвате „%{resource_title}“ или неговия автор. Можете да прекратите следването от предходната връзка.
@@ -158,21 +150,11 @@ bg:
158
150
  email_outro: Получавате това известие, защото някой отговори на коментара Ви.
159
151
  email_subject: "%{author_name} отговори на коментара Ви по %{resource_title}"
160
152
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> отговори на коментара Ви по <a href="%{resource_path}">%{resource_title}</a>
161
- user_group_mentioned:
162
- email_intro: Група, към която принадлежите, беше спомената
163
- email_outro: Получавате това известие, защото сте член на групата %{group_name}, която беше спомената в(ъв) %{resource_title}.
164
- email_subject: Бяхте споменати в(ъв) %{resource_title} като член на %{group_name}
165
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> Ви спомена в(ъв) <a href="%{resource_path}">%{resource_title}</a> като член на <a href="%{group_path}">%{group_name} %{group_nickname}</a>
166
153
  user_mentioned:
167
154
  email_intro: Бяхте споменати
168
155
  email_outro: Получавате това известие, защото бяхте споменати в(ъв) %{resource_title}.
169
156
  email_subject: Бяхте споменати в(ъв) %{resource_title}
170
157
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> Ви спомена в(ъв) <a href="%{resource_path}">%{resource_title}</a>
171
- metrics:
172
- comments:
173
- description: Брой коментари генерирани от участници
174
- object: коментари
175
- title: Коментари
176
158
  errors:
177
159
  messages:
178
160
  cannot_have_comments: не може да има коментари
@@ -5,11 +5,3 @@ bs:
5
5
  comments:
6
6
  comment_details_title: Detalji o komentaru
7
7
  single_comment_warning_title: Vidite samo jedan komentar
8
- events:
9
- comments:
10
- comment_by_followed_user_group:
11
- email_intro: 'Grupa %{author_name} je ostavila komentar na %{resource_title}. Možete ga pročitati na ovoj strani:'
12
- user_group_mentioned:
13
- email_intro: Grupa kojoj pripadate je pomenuta
14
- email_outro: Dobili ste ovo obaveštenje jer ste član grupe %{group_name} koja je pomenuta u %{resource_title}.
15
- email_subject: Pomenuti ste u %{resource_title} kao član grupe %{group_name}
@@ -6,7 +6,6 @@ ca-IT:
6
6
  decidim/comments/comment_created_event: Comentari
7
7
  decidim/comments/comment_upvoted_event: Comentari valorat positivament
8
8
  decidim/comments/reply_created_event: Resposta al comentari
9
- decidim/comments/user_group_mentioned_event: Mencionar
10
9
  decidim/comments/user_mentioned_event: Mencionar
11
10
  activerecord:
12
11
  models:
@@ -54,9 +53,6 @@ ca-IT:
54
53
  form_error: El text és necessari i no pot ser més llarg de %{length}.
55
54
  submit_reply: Publicar resposta
56
55
  submit_root_comment: Publicar comentari
57
- user_group_id:
58
- label: Comentar com a
59
- your_profile: El teu perfil
60
56
  opinion:
61
57
  label: La teva opinió sobre aquest tema
62
58
  negative: Negativa
@@ -128,6 +124,9 @@ ca-IT:
128
124
  other: "%{count} comentaris"
129
125
  top_comment_label: Més ben valorat
130
126
  down_vote_button:
127
+ label:
128
+ one: Botó "No m'agrada". %{count} "no m'agrada"
129
+ other: Botó "No m'agrada". %{count} "no m'agrada"
131
130
  text: No estic d'acord amb aquest comentari
132
131
  edit_comment_modal_form:
133
132
  close: Tancar
@@ -138,6 +137,9 @@ ca-IT:
138
137
  submit: Enviar
139
138
  title: Edita el teu comentari
140
139
  up_vote_button:
140
+ label:
141
+ one: Botó "M'agrada". %{count} "M'agrada"
142
+ other: Botó "M'agrada". %{count} "M'agrada"
141
143
  text: Estic d'acord amb aquest comentari
142
144
  download_your_data:
143
145
  help:
@@ -158,7 +160,6 @@ ca-IT:
158
160
  id: L'identificador d'aquest comentari
159
161
  locale: La configuració regional (idioma) que la participant tenia en deixar aquest comentari
160
162
  root_commentable_url: L'URL (adreça web) del recurs que enllaça amb aquest comentari
161
- user_group: El nom del grup d'usuàries que va fer aquest comentari (si n'hi ha)
162
163
  events:
163
164
  comments:
164
165
  comment_by_followed_user:
@@ -166,11 +167,6 @@ ca-IT:
166
167
  email_outro: Has rebut aquesta notificació perquè estàs seguint el comentari "%{author_name}". Pots deixar de seguir a aquesta participant des de la seva pàgina de perfil.
167
168
  email_subject: Hi ha un nou comentari de %{author_name} en %{resource_title}
168
169
  notification_title: Hi ha un nou comentari per <a href="%{author_path}">%{author_name} %{author_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>.
169
- comment_by_followed_user_group:
170
- email_intro: '%{author_name} ha deixat un comentari a%{resource_title}. Pots llegir-lo en aquesta pàgina:'
171
- email_outro: Reps aquesta notificació perquè segueixes a "%{author_name}". Pots deixar de seguir aquest grup des de la seva pàgina de perfil.
172
- email_subject: Hi ha un nou comentari de %{author_name} en %{resource_title}
173
- notification_title: Hi ha un nou comentari per <a href="%{author_path}">%{author_name} %{author_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>.
174
170
  comment_created:
175
171
  email_intro: "Algú ha deixat un comentari a \"%{resource_title}\". Pots llegir el comentari a través del següent enllaç:"
176
172
  email_outro: Has rebut aquesta notificació perquè estàs seguint el comentari "%{resource_title}" o la seva autora. Pots deixar de seguir-la des de l'enllaç anterior.
@@ -191,21 +187,11 @@ ca-IT:
191
187
  email_outro: Has rebut aquesta notificació perquè s'ha respost el teu comentari.
192
188
  email_subject: "%{author_name} ha respost el teu comentari a %{resource_title}"
193
189
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> ha respost el teu comentari a <a href="%{resource_path}">%{resource_title}</a>
194
- user_group_mentioned:
195
- email_intro: Un grup al qual pertanys ha estat esmentat
196
- email_outro: Has rebut aquesta notificació perquè formes part del grup "%{group_name}" que ha estat esmentat a %{resource_title}.
197
- email_subject: T'han esmentat a %{resource_title} com a membre de %{group_name}
198
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> t'ha esmentat com a membre de <a href="%{group_path}">%{group_name} %{group_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>
199
190
  user_mentioned:
200
191
  email_intro: Has estat esmentada
201
192
  email_outro: Has rebut aquesta notificació perquè t'han esmentat al comentari "%{resource_title}".
202
193
  email_subject: Has estat esmentada a %{resource_title}
203
194
  notification_title: Has estat esmentada a <a href="%{resource_path}">%{resource_title}</a> per <a href="%{author_path}">%{author_name} %{author_nickname}</a>
204
- metrics:
205
- comments:
206
- description: Nombre de comentaris generats per les participants
207
- object: comentaris
208
- title: Comentaris
209
195
  errors:
210
196
  messages:
211
197
  cannot_have_comments: no es poden fer comentaris
@@ -6,7 +6,6 @@ ca:
6
6
  decidim/comments/comment_created_event: Comentari
7
7
  decidim/comments/comment_upvoted_event: Comentari valorat positivament
8
8
  decidim/comments/reply_created_event: Resposta al comentari
9
- decidim/comments/user_group_mentioned_event: Mencionar
10
9
  decidim/comments/user_mentioned_event: Mencionar
11
10
  activerecord:
12
11
  models:
@@ -54,9 +53,6 @@ ca:
54
53
  form_error: El text és necessari i no pot ser més llarg de %{length}.
55
54
  submit_reply: Publicar resposta
56
55
  submit_root_comment: Publicar comentari
57
- user_group_id:
58
- label: Comentar com a
59
- your_profile: El teu perfil
60
56
  opinion:
61
57
  label: La teva opinió sobre aquest tema
62
58
  negative: Negativa
@@ -128,6 +124,9 @@ ca:
128
124
  other: "%{count} comentaris"
129
125
  top_comment_label: Més ben valorat
130
126
  down_vote_button:
127
+ label:
128
+ one: Botó "No m'agrada". %{count} "no m'agrada"
129
+ other: Botó "No m'agrada". %{count} "no m'agrada"
131
130
  text: No estic d'acord amb aquest comentari
132
131
  edit_comment_modal_form:
133
132
  close: Tancar
@@ -138,6 +137,9 @@ ca:
138
137
  submit: Enviar
139
138
  title: Edita el teu comentari
140
139
  up_vote_button:
140
+ label:
141
+ one: Botó "M'agrada". %{count} "M'agrada"
142
+ other: Botó "M'agrada". %{count} "M'agrada"
141
143
  text: Estic d'acord amb aquest comentari
142
144
  download_your_data:
143
145
  help:
@@ -158,7 +160,6 @@ ca:
158
160
  id: L'identificador d'aquest comentari
159
161
  locale: La configuració regional (idioma) que la participant tenia en deixar aquest comentari
160
162
  root_commentable_url: L'URL (adreça web) del recurs que enllaça amb aquest comentari
161
- user_group: El nom del grup d'usuàries que va fer aquest comentari (si n'hi ha)
162
163
  events:
163
164
  comments:
164
165
  comment_by_followed_user:
@@ -166,11 +167,6 @@ ca:
166
167
  email_outro: Has rebut aquesta notificació perquè estàs seguint el comentari "%{author_name}". Pots deixar de seguir a aquesta participant des de la seva pàgina de perfil.
167
168
  email_subject: Hi ha un nou comentari de %{author_name} en %{resource_title}
168
169
  notification_title: Hi ha un nou comentari per <a href="%{author_path}">%{author_name} %{author_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>.
169
- comment_by_followed_user_group:
170
- email_intro: '%{author_name} ha deixat un comentari a%{resource_title}. Pots llegir-lo en aquesta pàgina:'
171
- email_outro: Reps aquesta notificació perquè segueixes a "%{author_name}". Pots deixar de seguir aquest grup des de la seva pàgina de perfil.
172
- email_subject: Hi ha un nou comentari de %{author_name} en %{resource_title}
173
- notification_title: Hi ha un nou comentari per <a href="%{author_path}">%{author_name} %{author_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>.
174
170
  comment_created:
175
171
  email_intro: "Algú ha deixat un comentari a \"%{resource_title}\". Pots llegir el comentari a través del següent enllaç:"
176
172
  email_outro: Has rebut aquesta notificació perquè estàs seguint el comentari "%{resource_title}" o la seva autora. Pots deixar de seguir-la des de l'enllaç anterior.
@@ -191,21 +187,11 @@ ca:
191
187
  email_outro: Has rebut aquesta notificació perquè s'ha respost el teu comentari.
192
188
  email_subject: "%{author_name} ha respost el teu comentari a %{resource_title}"
193
189
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> ha respost el teu comentari a <a href="%{resource_path}">%{resource_title}</a>
194
- user_group_mentioned:
195
- email_intro: Un grup al qual pertanys ha estat esmentat
196
- email_outro: Has rebut aquesta notificació perquè formes part del grup "%{group_name}" que ha estat esmentat a %{resource_title}.
197
- email_subject: T'han esmentat a %{resource_title} com a membre de %{group_name}
198
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> t'ha esmentat com a membre de <a href="%{group_path}">%{group_name} %{group_nickname}</a> a <a href="%{resource_path}">%{resource_title}</a>
199
190
  user_mentioned:
200
191
  email_intro: Has estat esmentada
201
192
  email_outro: Has rebut aquesta notificació perquè t'han esmentat al comentari "%{resource_title}".
202
193
  email_subject: Has estat esmentada a %{resource_title}
203
194
  notification_title: Has estat esmentada a <a href="%{resource_path}">%{resource_title}</a> per <a href="%{author_path}">%{author_name} %{author_nickname}</a>
204
- metrics:
205
- comments:
206
- description: Nombre de comentaris generats per les participants
207
- object: comentaris
208
- title: Comentaris
209
195
  errors:
210
196
  messages:
211
197
  cannot_have_comments: no es poden fer comentaris
@@ -6,7 +6,6 @@ cs:
6
6
  decidim/comments/comment_created_event: Komentář
7
7
  decidim/comments/comment_upvoted_event: Komentář podpořen výše
8
8
  decidim/comments/reply_created_event: Odpověď na komentář
9
- decidim/comments/user_group_mentioned_event: Zmínka
10
9
  decidim/comments/user_mentioned_event: Zmínka
11
10
  activerecord:
12
11
  models:
@@ -58,9 +57,6 @@ cs:
58
57
  form_error: Text je povinný a nemůže být delší než %{length} znaků.
59
58
  submit_reply: Publikovat odpověď
60
59
  submit_root_comment: Publikovat komentář
61
- user_group_id:
62
- label: Komentovat jako
63
- your_profile: Váš profil
64
60
  opinion:
65
61
  label: Váš názor na toto téma
66
62
  negative: Negativní
@@ -170,7 +166,6 @@ cs:
170
166
  id: ID pro tento komentář
171
167
  locale: Lokalizace (jazyk), kterou měl účastník při opuštění tohoto komentáře
172
168
  root_commentable_url: URL adresa zdroje, který má vazbu na tento komentář
173
- user_group: Název skupiny uživatelů, která přidala tento komentář (pokud existuje)
174
169
  events:
175
170
  comments:
176
171
  comment_by_followed_user:
@@ -178,11 +173,6 @@ cs:
178
173
  email_outro: Toto oznámení jste obdrželi, protože jste sledovali %{author_name}. Tento uživatel můžete zrušit ze své profilové stránky.
179
174
  email_subject: K dispozici je nový komentář %{author_name} v %{resource_title}
180
175
  notification_title: Je tu nový komentář <a href="%{author_path}">%{author_name} %{author_nickname}</a> v <a href="%{resource_path}">%{resource_title}</a>.
181
- comment_by_followed_user_group:
182
- email_intro: 'Skupina %{author_name} zanechala komentář v %{resource_title}. Můžete si jej přečíst na této stránce:'
183
- email_outro: Obdrželi jste toto oznámení, protože sledujete %{author_name}. Můžete zrušit sledování této skupiny na její profilové stránce.
184
- email_subject: K dispozici je nový komentář %{author_name} v %{resource_title}
185
- notification_title: Je tu nový komentář <a href="%{author_path}">%{author_name} %{author_nickname}</a> v <a href="%{resource_path}">%{resource_title}</a>.
186
176
  comment_created:
187
177
  email_intro: "%{resource_title} bylo komentováno. Můžete si přečíst komentář na této stránce:"
188
178
  email_outro: Toto oznámení jste obdrželi, protože jste sledovali "%{resource_title}" nebo jeho autora. Můžete jej odhlásit od předchozího odkazu.
@@ -203,21 +193,11 @@ cs:
203
193
  email_outro: Toto oznámení jste obdrželi, protože váš komentář byl zodpovězen.
204
194
  email_subject: "%{author_name} odpověděl váš komentář v %{resource_title}"
205
195
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> odpověděl na váš komentář v <a href="%{resource_path}">%{resource_title}</a>
206
- user_group_mentioned:
207
- email_intro: Byla zmíněna skupina, do které patříte
208
- email_outro: Obdrželi jste toto oznámení, protože jste členem skupiny %{group_name}, která byla zmíněna v %{resource_title}.
209
- email_subject: Byl jste zmíněn v %{resource_title} jako člen %{group_name}
210
- notification_title: Byli jste zmíněni v <a href="%{resource_path}">%{resource_title}</a> od <a href="%{author_path}">%{author_name} %{author_nickname}</a> jako člen <a href="%{group_path}">%{group_name} %{group_nickname}</a>
211
196
  user_mentioned:
212
197
  email_intro: Byl jste zmíněn
213
198
  email_outro: Toto oznámení jste obdrželi, protože jste byli uvedeni v %{resource_title}.
214
199
  email_subject: Byl jste zmíněn v %{resource_title}
215
200
  notification_title: Byli jste zmíněni v <a href="%{resource_path}">%{resource_title}</a> od <a href="%{author_path}">%{author_name} %{author_nickname}</a>
216
- metrics:
217
- comments:
218
- description: Počet komentářů generovaných uživateli
219
- object: komentáře
220
- title: Komentáře
221
201
  errors:
222
202
  messages:
223
203
  cannot_have_comments: nelze komentovat
@@ -6,7 +6,6 @@ de:
6
6
  decidim/comments/comment_created_event: Kommentar
7
7
  decidim/comments/comment_upvoted_event: Kommentar positiv bewertet
8
8
  decidim/comments/reply_created_event: Kommentarantwort
9
- decidim/comments/user_group_mentioned_event: Erwähnen
10
9
  decidim/comments/user_mentioned_event: Erwähnen
11
10
  activerecord:
12
11
  models:
@@ -54,9 +53,6 @@ de:
54
53
  form_error: Der Text ist erforderlich und darf nicht länger als %{length} Zeichen sein.
55
54
  submit_reply: Antwort veröffentlichen
56
55
  submit_root_comment: Kommentar veröffentlichen
57
- user_group_id:
58
- label: Kommentieren als
59
- your_profile: Ihr Profil
60
56
  opinion:
61
57
  label: Ihre Meinung zu diesem Thema
62
58
  negative: Negativ
@@ -128,6 +124,9 @@ de:
128
124
  other: "%{count} Kommentare"
129
125
  top_comment_label: Bestbewertete
130
126
  down_vote_button:
127
+ label:
128
+ one: Button «Nicht unterstützen». %{count} unterstützt nicht
129
+ other: Button «Nicht unterstützen». %{count} unterstützen nicht
131
130
  text: Ich bin mit diesem Kommentar nicht einverstanden
132
131
  edit_comment_modal_form:
133
132
  close: Schliessen
@@ -138,6 +137,9 @@ de:
138
137
  submit: Senden
139
138
  title: Kommentar bearbeiten
140
139
  up_vote_button:
140
+ label:
141
+ one: Button «Unterstützen». %{count} Unterstützung
142
+ other: Button «Unterstützen». %{count} Unterstützungen
141
143
  text: Ich stimme diesem Kommentar zu
142
144
  download_your_data:
143
145
  help:
@@ -158,7 +160,6 @@ de:
158
160
  id: Die ID dieses Kommentars
159
161
  locale: Die eingestellte Plattformsprache der kommentierenden Person
160
162
  root_commentable_url: Die URL der mit dem Kommentar verbundenen Ressource
161
- user_group: Der Name der Gruppe, die diesen Kommentar erstellt hat (falls vorhanden)
162
163
  events:
163
164
  comments:
164
165
  comment_by_followed_user:
@@ -166,11 +167,6 @@ de:
166
167
  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.
167
168
  email_subject: Neuer Kommentar von %{author_name} zu %{resource_title}
168
169
  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>.
169
- comment_by_followed_user_group:
170
- email_intro: 'Die Gruppe %{author_name} hat einen Kommentar in %{resource_title} hinterlassen. Sie können diesen auf dieser Seite lesen:'
171
- 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.
172
- email_subject: Neuer Kommentar von %{author_name} zu %{resource_title}
173
- 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>.
174
170
  comment_created:
175
171
  email_intro: "%{resource_title} wurde kommentiert. Sie können den Kommentar auf dieser Seite lesen:"
176
172
  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.
@@ -191,21 +187,11 @@ de:
191
187
  email_outro: Sie haben diese Benachrichtigung erhalten, weil Ihr Kommentar beantwortet wurde.
192
188
  email_subject: "%{author_name} hat auf Ihren Kommentar zu %{resource_title} geantwortet"
193
189
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> hat auf Ihren Kommentar in <a href="%{resource_path}">%{resource_title}</a> geantwortet
194
- user_group_mentioned:
195
- email_intro: Eine Ihrer Gruppen wurde erwähnt
196
- email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie ein Mitglied der Gruppe %{group_name} sind, die in %{resource_title} erwähnt wurde.
197
- email_subject: Sie wurden in %{resource_title} als Mitglied von %{group_name} erwähnt
198
- 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
199
190
  user_mentioned:
200
191
  email_intro: Sie wurden erwähnt
201
192
  email_outro: Sie haben diese Benachrichtigung erhalten, weil Sie in %{resource_title} erwähnt wurden.
202
193
  email_subject: Sie wurden in %{resource_title} erwähnt
203
194
  notification_title: Sie wurden in <a href="%{resource_path}">%{resource_title}</a> von <a href="%{author_path}">%{author_name} %{author_nickname}</a> erwähnt
204
- metrics:
205
- comments:
206
- description: Anzahl der von Benutzern generierten Kommentare
207
- object: Bemerkungen
208
- title: Bemerkungen
209
195
  errors:
210
196
  messages:
211
197
  cannot_have_comments: kann keine Kommentare haben
@@ -6,7 +6,6 @@ el:
6
6
  decidim/comments/comment_created_event: Σχόλιο
7
7
  decidim/comments/comment_upvoted_event: Το σχόλιο ψηφίστηκε
8
8
  decidim/comments/reply_created_event: Απάντηση σχολίου
9
- decidim/comments/user_group_mentioned_event: Αναφορά
10
9
  decidim/comments/user_mentioned_event: Αναφορά
11
10
  activerecord:
12
11
  models:
@@ -46,8 +45,6 @@ el:
46
45
  label: Σχόλιο
47
46
  placeholder: Ποια είναι η γνώμη σας για αυτό;
48
47
  form_error: Το κείμενο είναι υποχρεωτικό και δεν μπορεί να υπερβαίνει τους %{length} χαρακτήρες.
49
- user_group_id:
50
- label: Σχόλιο ως
51
48
  opinion:
52
49
  label: Η γνώμη σας για το θέμα αυτό
53
50
  negative: Αρνητική
@@ -122,11 +119,6 @@ el:
122
119
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον συντάκτη %{author_name}. Μπορείτε να σταματήσετε να ακολουθείτε αυτόν τον χρήστη από τη σελίδα προφίλ του.
123
120
  email_subject: Υπάρχει ένα νέο σχόλιο από τον συντάκτη %{author_name} στο στοιχείο %{resource_title}
124
121
  notification_title: Υπάρχει ένα νέο σχόλιο από τον συντάκτη <a href="%{author_path}">%{author_name} %{author_nickname}</a> στο στοιχείο <a href="%{resource_path}">%{resource_title}</a>.
125
- comment_by_followed_user_group:
126
- email_intro: 'Η ομάδα %{author_name} έκανε ένα σχόλιο στο στοιχείο %{resource_title}. Μπορείτε να το διαβάσετε σε αυτήν τη σελίδα:'
127
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε τον συντάκτη %{author_name}. Μπορείτε να σταματήσετε να ακολουθείτε αυτήν την ομάδα από τη σελίδα προφίλ της.
128
- email_subject: Υπάρχει ένα νέο σχόλιο από τον συντάκτη %{author_name} στο στοιχείο %{resource_title}
129
- notification_title: Υπάρχει ένα νέο σχόλιο από τον συντάκτη <a href="%{author_path}">%{author_name} %{author_nickname}</a> στο στοιχείο <a href="%{resource_path}">%{resource_title}</a>.
130
122
  comment_created:
131
123
  email_intro: "Το στοιχείο %{resource_title} έχει σχολιαστεί. Μπορείτε να διαβάσετε το σχόλιο σε αυτήν τη σελίδα:"
132
124
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή ακολουθείτε το στοιχείο «%{resource_title}» ή τον συντάκτη του. Μπορείτε να σταματήσετε να την ακολουθείτε από τον προηγούμενο σύνδεσμο.
@@ -147,21 +139,11 @@ el:
147
139
  email_outro: Λάβατε αυτήν την ειδοποίηση, επειδή το σχόλιό σας απαντήθηκε.
148
140
  email_subject: "Ο συντάκτης %{author_name} απάντησε στο σχόλιό σας στο στοιχείο %{resource_title}"
149
141
  notification_title: Ο συντάκτης <a href="%{author_path}">%{author_name} %{author_nickname}</a> απάντησε στο σχόλιό σας στο στοιχείο <a href="%{resource_path}">%{resource_title}</a>
150
- user_group_mentioned:
151
- email_intro: Έγινε αναφορά σε μια ομάδα στην οποία ανήκετε
152
- email_outro: Λάβατε αυτήν την ειδοποίηση επειδή είστε μέλος της ομάδας %{group_name} που αναφέρθηκε στο στοιχείο %{resource_title}.
153
- email_subject: Έγινε αναφορά σε εσάς στο στοιχείο %{resource_title} ως μέλος της ομάδας %{group_name}
154
- notification_title: Έγινε αναφορά σε εσάς στο στοιχείο <a href="%{resource_path}">%{resource_title}</a> από τον συντάκτη <a href="%{author_path}">%{author_name} %{author_nickname}</a> ως μέλος της ομάδας <a href="%{group_path}">%{group_name} %{group_nickname}</a>
155
142
  user_mentioned:
156
143
  email_intro: Έγινε αναφορά σε εσάς
157
144
  email_outro: Λάβατε αυτήν την ειδοποίηση επειδή έγινε αναφορά σε εσάς στο στοιχείο %{resource_title}.
158
145
  email_subject: Έγινε αναφορά σε εσάς στο στοιχείο %{resource_title}
159
146
  notification_title: Έγινε αναφορά σε εσάς στο στοιχείο <a href="%{resource_path}">%{resource_title}</a> από τον συντάκτη <a href="%{author_path}">%{author_name} %{author_nickname}</a>
160
- metrics:
161
- comments:
162
- description: Αριθμός σχολίων που δημιουργήθηκαν από συμμετέχοντες
163
- object: σχόλια
164
- title: Σχόλια
165
147
  errors:
166
148
  messages:
167
149
  cannot_have_comments: δεν μπορεί να έχει σχόλια