decidim-comments 0.21.0 → 0.23.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/comments/bundle.js +67 -67
  3. data/app/assets/javascripts/decidim/comments/bundle.js.map +1 -1
  4. data/app/cells/decidim/comments/comment_activity_cell.rb +2 -22
  5. data/app/cells/decidim/comments/comment_cell.rb +22 -0
  6. data/app/cells/decidim/comments/comment_m/footer.erb +5 -0
  7. data/app/cells/decidim/comments/comment_m/top.erb +7 -0
  8. data/app/cells/decidim/comments/comment_m_cell.rb +29 -0
  9. data/app/commands/decidim/comments/create_comment.rb +8 -8
  10. data/app/events/decidim/comments/comment_by_followed_user_group_event.rb +9 -0
  11. data/app/events/decidim/comments/comment_event.rb +14 -9
  12. data/app/events/decidim/comments/user_group_mentioned_event.rb +10 -0
  13. data/app/forms/decidim/comments/comment_form.rb +17 -1
  14. data/app/frontend/application/icon.component.tsx +16 -4
  15. data/app/frontend/comments/add_comment_form.component.test.tsx +31 -29
  16. data/app/frontend/comments/add_comment_form.component.tsx +34 -18
  17. data/app/frontend/comments/comment.component.test.tsx +36 -5
  18. data/app/frontend/comments/comment.component.tsx +218 -88
  19. data/app/frontend/comments/comment_order_selector.component.tsx +26 -7
  20. data/app/frontend/comments/comment_thread.component.test.tsx +9 -8
  21. data/app/frontend/comments/comment_thread.component.tsx +3 -1
  22. data/app/frontend/comments/comments.component.test.tsx +17 -14
  23. data/app/frontend/comments/comments.component.tsx +28 -4
  24. data/app/frontend/comments/down_vote_button.component.tsx +27 -9
  25. data/app/frontend/comments/up_vote_button.component.tsx +27 -9
  26. data/app/frontend/comments/vote_button.component.tsx +4 -0
  27. data/app/frontend/comments/vote_button_component.test.tsx +14 -8
  28. data/app/frontend/mutations/add_comment.mutation.graphql +2 -2
  29. data/app/frontend/mutations/down_vote.mutation.graphql +2 -2
  30. data/app/frontend/mutations/up_vote.mutation.graphql +2 -2
  31. data/app/frontend/queries/comments.query.graphql +2 -2
  32. data/app/frontend/support/schema.ts +1060 -735
  33. data/app/helpers/decidim/comments/comment_cells_helper.rb +33 -0
  34. data/app/models/decidim/comments/comment.rb +81 -22
  35. data/app/models/decidim/comments/seed.rb +1 -1
  36. data/app/queries/decidim/comments/metrics/comments_metric_manage.rb +1 -6
  37. data/app/services/decidim/comments/new_comment_notification_creator.rb +28 -3
  38. data/app/types/decidim/comments/commentable_interface.rb +1 -1
  39. data/app/types/decidim/comments/commentable_mutation_type.rb +6 -3
  40. data/config/locales/am-ET.yml +1 -0
  41. data/config/locales/ar.yml +4 -1
  42. data/config/locales/bg-BG.yml +6 -0
  43. data/config/locales/bg.yml +6 -0
  44. data/config/locales/ca.yml +19 -2
  45. data/config/locales/cs.yml +31 -14
  46. data/config/locales/da-DK.yml +1 -0
  47. data/config/locales/da.yml +1 -0
  48. data/config/locales/de.yml +47 -24
  49. data/config/locales/el.yml +121 -0
  50. data/config/locales/en.yml +18 -1
  51. data/config/locales/eo.yml +1 -0
  52. data/config/locales/es-MX.yml +18 -1
  53. data/config/locales/es-PY.yml +18 -1
  54. data/config/locales/es.yml +18 -1
  55. data/config/locales/et-EE.yml +1 -0
  56. data/config/locales/et.yml +1 -0
  57. data/config/locales/eu.yml +4 -1
  58. data/config/locales/fi-plain.yml +18 -1
  59. data/config/locales/fi.yml +25 -8
  60. data/config/locales/fr-CA.yml +123 -0
  61. data/config/locales/fr.yml +25 -2
  62. data/config/locales/ga-IE.yml +1 -0
  63. data/config/locales/gl.yml +17 -1
  64. data/config/locales/hr-HR.yml +1 -0
  65. data/config/locales/hr.yml +1 -0
  66. data/config/locales/hu.yml +12 -2
  67. data/config/locales/id-ID.yml +4 -1
  68. data/config/locales/is-IS.yml +3 -3
  69. data/config/locales/is.yml +76 -0
  70. data/config/locales/it.yml +21 -1
  71. data/config/locales/ja-JP.yml +120 -0
  72. data/config/locales/ja.yml +121 -0
  73. data/config/locales/ko-KR.yml +1 -0
  74. data/config/locales/ko.yml +1 -0
  75. data/config/locales/lt-LT.yml +1 -0
  76. data/config/locales/lt.yml +1 -0
  77. data/config/locales/lv.yml +118 -0
  78. data/config/locales/mt-MT.yml +1 -0
  79. data/config/locales/mt.yml +1 -0
  80. data/config/locales/nl.yml +27 -8
  81. data/config/locales/no.yml +18 -2
  82. data/config/locales/om-ET.yml +1 -0
  83. data/config/locales/pl.yml +63 -40
  84. data/config/locales/pt-BR.yml +5 -2
  85. data/config/locales/pt.yml +47 -25
  86. data/config/locales/ro-RO.yml +124 -0
  87. data/config/locales/ru.yml +4 -1
  88. data/config/locales/si-LK.yml +1 -0
  89. data/config/locales/sk-SK.yml +116 -0
  90. data/config/locales/sk.yml +120 -0
  91. data/config/locales/sl.yml +4 -0
  92. data/config/locales/so-SO.yml +1 -0
  93. data/config/locales/sr-CS.yml +20 -0
  94. data/config/locales/sv.yml +26 -3
  95. data/config/locales/sw-KE.yml +1 -0
  96. data/config/locales/ti-ER.yml +1 -0
  97. data/config/locales/tr-TR.yml +54 -31
  98. data/config/locales/uk.yml +4 -2
  99. data/config/locales/vi-VN.yml +1 -0
  100. data/config/locales/vi.yml +1 -0
  101. data/config/locales/zh-CN.yml +121 -0
  102. data/config/locales/zh-TW.yml +1 -0
  103. data/db/migrate/20200320105911_index_foreign_keys_in_decidim_comments_comments.rb +7 -0
  104. data/db/migrate/20200706123136_make_comments_handle_i18n.rb +41 -0
  105. data/db/migrate/20200828101910_add_commentable_counter_cache_to_comments.rb +9 -0
  106. data/lib/decidim/comments/api/comment_type.rb +5 -1
  107. data/lib/decidim/comments/comment_serializer.rb +7 -2
  108. data/lib/decidim/comments/comment_vote_serializer.rb +5 -1
  109. data/lib/decidim/comments/commentable.rb +11 -0
  110. data/lib/decidim/comments/comments_helper.rb +28 -4
  111. data/lib/decidim/comments/engine.rb +13 -0
  112. data/lib/decidim/comments/mutation_extensions.rb +8 -0
  113. data/lib/decidim/comments/query_extensions.rb +4 -0
  114. data/lib/decidim/comments/test/factories.rb +10 -1
  115. data/lib/decidim/comments/test/shared_examples/comment_event.rb +12 -2
  116. data/lib/decidim/comments/test/shared_examples/create_comment_context.rb +3 -2
  117. data/lib/decidim/comments/version.rb +1 -1
  118. metadata +59 -13
@@ -4,6 +4,7 @@ es:
4
4
  decidim/comments/comment_by_followed_user_event: Comentario
5
5
  decidim/comments/comment_created_event: Comentario
6
6
  decidim/comments/reply_created_event: Respuesta al comentario
7
+ decidim/comments/user_group_mentioned_event: Mencionar
7
8
  decidim/comments/user_mentioned_event: Mencionar
8
9
  activerecord:
9
10
  models:
@@ -16,8 +17,10 @@ es:
16
17
  decidim:
17
18
  comments:
18
19
  comments: Comentarios
20
+ comments_count: Número de comentarios
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Nuevo comentario en %{link}</span>"
23
+ view: Ver
21
24
  votes:
22
25
  create:
23
26
  error: Se ha producido un error al votar el comentario.
@@ -54,7 +57,7 @@ es:
54
57
  does_not_belong: Contiene actividad ilegal, amenazas de suicidio, información personal o cualquier otra cosa que usted piense que no pertenece en %{organization_name}.
55
58
  offensive: Contiene racismo, sexismo, insultos, ataques personales, amenazas de muerte, solicitudes de suicidio o cualquier forma de discurso de odio.
56
59
  spam: Contiene clickbait, publicidad o estafas.
57
- title: Denunciar un problema
60
+ title: Notificar contenido inapropiado
58
61
  show_replies: Mostrar %{replies_count} respuestas
59
62
  single_comment_link_title: Obtener enlace a un solo comentario
60
63
  comment_order_selector:
@@ -74,6 +77,10 @@ es:
74
77
  single_comment_warning: Puedes revisar el resto de los comentarios <a href="%{url}">aquí</a>.
75
78
  single_comment_warning_title: Estás viendo un solo comentario
76
79
  title: "%{count} comentarios"
80
+ down_vote_button:
81
+ text: No estoy de acuerdo con este comentario
82
+ up_vote_button:
83
+ text: Estoy de acuerdo con este comentario
77
84
  events:
78
85
  comments:
79
86
  comment_by_followed_user:
@@ -81,6 +88,11 @@ es:
81
88
  email_outro: Has recibido esta notificación porque sigues "%{author_name}". Puedes dejar de seguir a esta participante desde su página de perfil.
82
89
  email_subject: Hay un nuevo comentario de %{author_name} en %{resource_title}
83
90
  notification_title: Hay un nuevo comentario de <a href="%{author_path}">%{author_name} %{author_nickname}</a> en <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_intro: '%{author_name} ha dejado un comentario en %{resource_title}. Puedes leerlo en esta página:'
93
+ email_outro: Recibes esta notificación porque sigues a %{author_name}. Puedes dejar de seguir a este grupo desde su página de perfil.
94
+ email_subject: Hay un nuevo comentario de %{author_name} en %{resource_title}
95
+ notification_title: Hay un nuevo comentario de <a href="%{author_path}">%{author_name} %{author_nickname}</a> en <a href="%{resource_path}">%{resource_title}</a>.
84
96
  comment_created:
85
97
  email_intro: "%{resource_title} ha sido comentado. Puedes leer el comentario en esta página:"
86
98
  email_outro: Has recibido esta notificación porque está siguiendo "%{resource_title}" o su autora. Puedes dejar de seguirla desde el enlace anterior.
@@ -91,6 +103,11 @@ es:
91
103
  email_outro: Has recibido esta notificación porque tu comentario fue respondido.
92
104
  email_subject: "%{author_name} ha respondido a tu comentario en %{resource_title}"
93
105
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> ha respondido a tu comentario en <a href="%{resource_path}">%{resource_title}</a>
106
+ user_group_mentioned:
107
+ email_intro: Se ha mencionado un grupo al que perteneces
108
+ email_outro: Has recibido esta notificación porque formas parte del grupo %{group_name} que ha sido mencionado en %{resource_title}.
109
+ email_subject: Te han mencionado en %{resource_title} como miembro de %{group_name}
110
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> te ha mencionado en <a href="%{resource_path}">%{resource_title}</a> como miembro de <a href="%{group_path}">%{group_name} %{group_nickname}</a>
94
111
  user_mentioned:
95
112
  email_intro: Has sido mencionada
96
113
  email_outro: Has recibido esta notificación porque has sido mencionada en %{resource_title}.
@@ -0,0 +1 @@
1
+ et:
@@ -0,0 +1 @@
1
+ et:
@@ -4,6 +4,7 @@ eu:
4
4
  decidim/comments/comment_by_followed_user_event: Iruzkina
5
5
  decidim/comments/comment_created_event: Iruzkina
6
6
  decidim/comments/reply_created_event: Iruzkinaren erantzuna
7
+ decidim/comments/user_group_mentioned_event: Aipatu
7
8
  decidim/comments/user_mentioned_event: Aipatu
8
9
  activerecord:
9
10
  models:
@@ -53,7 +54,6 @@ eu:
53
54
  does_not_belong: Bertan badago legez kontrako jardunik, suizidio-mehatxurik, informazio pertsonalik edo beste zernahi, zure ustez %{organization_name}-ri ez dagokionik.
54
55
  offensive: Ertan badago arrazakeriarik, sexismorik, irainik, eraso pertsonalik, heriotza-mehatxurik, suizidio-eskaerarik edo beste edozein eratako gorroto-diskurtsorik.
55
56
  spam: Bertan badago clickbait-ik, publizitaterik edo iruzurrik.
56
- title: Salatu arazo bat
57
57
  comment_order_selector:
58
58
  order:
59
59
  best_rated: Balorazio hoberenak
@@ -75,6 +75,9 @@ eu:
75
75
  email_outro: Jakinarazpena jaso duzu %{author_name}jarraituz gero. Erabiltzaile hau bere profileko orrialdetik jarrai dezakezu.
76
76
  email_subject: '%{author_name} %{resource_title} iruzkin berri bat dago'
77
77
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a> </a> iruzkin berri bat dago.
78
+ comment_by_followed_user_group:
79
+ email_subject: '%{author_name} %{resource_title} iruzkin berri bat dago'
80
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> <a href="%{resource_path}">%{resource_title}</a> </a> iruzkin berri bat dago.
78
81
  comment_created:
79
82
  email_intro: "%{resource_title} iruzkindu da. Orri honetan iruzkina irakur dezakezu:"
80
83
  email_outro: Jakinarazpen hau jaso duzu "%{resource_title}" edo bere egilea jarraitzen duzulako. Aurreko esteka estekan jarrai dezakezu.
@@ -4,6 +4,7 @@ fi-pl:
4
4
  decidim/comments/comment_by_followed_user_event: Kommentti
5
5
  decidim/comments/comment_created_event: Kommentti
6
6
  decidim/comments/reply_created_event: Vastaus kommentiin
7
+ decidim/comments/user_group_mentioned_event: Maininta
7
8
  decidim/comments/user_mentioned_event: Maininta
8
9
  activerecord:
9
10
  models:
@@ -16,8 +17,10 @@ fi-pl:
16
17
  decidim:
17
18
  comments:
18
19
  comments: Kommentit
20
+ comments_count: Kommenttien määrä
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Uusi kommentti osoitteessa %{link}</span>"
23
+ view: Näytä
21
24
  votes:
22
25
  create:
23
26
  error: Äänestettäessä kommenttia tapahtui virhe.
@@ -54,7 +57,7 @@ fi-pl:
54
57
  does_not_belong: Sisältää laitonta toimintaa, itsemurhauhkailua, henkilökohtaisia tietoja tai jotain muuta, jonka et usko kuuluvan organisaatioon %{organization_name}.
55
58
  offensive: Sisältää rasismia, seksismiä, haukkumista, henkilökohtaisia hyökkäyksiä, tappouhkauksia, itsemurhapyyntöjä tai muuta vihapuhetta.
56
59
  spam: Sisältää klikkihoukutteita, mainostusta, huijauksia tai bottiskriptejä.
57
- title: Ilmoita ongelmasta
60
+ title: Ilmoita asiatonta sisältöä
58
61
  show_replies: Näytä %{replies_count} vastausta
59
62
  single_comment_link_title: Hae linkki yksittäiseen kommenttiin
60
63
  comment_order_selector:
@@ -74,6 +77,10 @@ fi-pl:
74
77
  single_comment_warning: Voit katsoa loput kommentit <a href="%{url}">täältä</a>.
75
78
  single_comment_warning_title: Näet yhden kommentin
76
79
  title: "%{count} kommenttia"
80
+ down_vote_button:
81
+ text: Olen eri mieltä tämän kommentin kanssa
82
+ up_vote_button:
83
+ text: Olen samaa mieltä tämän kommentin kanssa
77
84
  events:
78
85
  comments:
79
86
  comment_by_followed_user:
@@ -81,6 +88,11 @@ fi-pl:
81
88
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat %{author_name}. Voit perua seuraamisen kyseisen käyttäjän profiilisivulta.
82
89
  email_subject: '%{author_name} on jättänyt uuden kommentin kohtaan %{resource_title}'
83
90
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on jättänyt uuden kommentin kohtaan <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_intro: '%{author_name} on jättänyt kommentin kohteessa %{resource_title}. Voit lukea sen täältä:'
93
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat %{author_name}. Voit perua seuraamisen kyseisen käyttäjän profiilisivulta.
94
+ email_subject: '%{author_name} on jättänyt uuden kommentin kohtaan %{resource_title}'
95
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on jättänyt uuden kommentin kohtaan <a href="%{resource_path}">%{resource_title}</a>.
84
96
  comment_created:
85
97
  email_intro: "%{resource_title} on kommentoitu. Voit lukea kommentin tällä sivulla:"
86
98
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat "%{resource_title}" tai sen kirjoittajaa. Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
@@ -91,6 +103,11 @@ fi-pl:
91
103
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska kommenttiisi vastattiin.
92
104
  email_subject: "%{author_name} on vastannut kommentiisi %{resource_title}"
93
105
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on vastannut kommentiisi kohdassa <a href="%{resource_path}">%{resource_title}</a>
106
+ user_group_mentioned:
107
+ email_intro: Ryhmä, jonka jäsen olet, on mainittu
108
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska olet jäsenenä ryhmässä %{group_name} ja ryhmä on mainittu kohteessa %{resource_title}.
109
+ email_subject: Sinut on mainittu kohteessa %{resource_title} ryhmän %{group_name} jäsenenä
110
+ notification_title: Käyttäjä <a href="%{author_path}">%{author_name}%{author_nickname}</a> on maininnut sinut kohteessa <a href="%{resource_path}">%{resource_title}</a> ryhmän <a href="%{group_path}">%{group_name} %{group_nickname}</a> jäsenenä
94
111
  user_mentioned:
95
112
  email_intro: Sinut on mainittu
96
113
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska sinut on mainittu kohdssa %{resource_title}.
@@ -4,6 +4,7 @@ fi:
4
4
  decidim/comments/comment_by_followed_user_event: Kommentti
5
5
  decidim/comments/comment_created_event: Kommentti
6
6
  decidim/comments/reply_created_event: Vastaus kommentiin
7
+ decidim/comments/user_group_mentioned_event: Maininta
7
8
  decidim/comments/user_mentioned_event: Maininta
8
9
  activerecord:
9
10
  models:
@@ -16,8 +17,10 @@ fi:
16
17
  decidim:
17
18
  comments:
18
19
  comments: Kommentit
20
+ comments_count: Kommenttien määrä
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Uusi kommentti osoitteessa %{link}</span>"
23
+ view: Näytä
21
24
  votes:
22
25
  create:
23
26
  error: Kommentin äänestys epäonnistui.
@@ -48,13 +51,13 @@ fi:
48
51
  action: Tee ilmoitus
49
52
  already_reported: Tämä sisältö on jo ilmoitettu ja ylläpitäjä tutkii sen.
50
53
  close: Sulje
51
- description: Onko tämä sisältö epäasiallista?
54
+ description: Onko tämä sisältö sopimatonta?
52
55
  details: Lisätiedot
53
56
  reasons:
54
57
  does_not_belong: Sisältää laitonta toimintaa, itsemurhauhkailua, henkilökohtaisia tietoja tai jotain muuta, jonka et usko kuuluvan organisaatioon %{organization_name}.
55
58
  offensive: Sisältää rasismia, seksismiä, haukkumista, henkilökohtaisia hyökkäyksiä, tappouhkauksia, itsemurhapyyntöjä tai muuta vihapuhetta.
56
59
  spam: Sisältää klikkihoukutteita, mainostusta, huijauksia tai bottiskriptejä.
57
- title: Ilmoita ongelmasta
60
+ title: Ilmoita asiatonta sisältöä
58
61
  show_replies: Näytä %{replies_count} vastausta
59
62
  single_comment_link_title: Hae linkki yksittäiseen kommenttiin
60
63
  comment_order_selector:
@@ -74,26 +77,40 @@ fi:
74
77
  single_comment_warning: Voit katsoa loput kommentit <a href="%{url}">täältä</a>.
75
78
  single_comment_warning_title: Näet yhden kommentin
76
79
  title: "%{count} kommenttia"
80
+ down_vote_button:
81
+ text: Olen eri mieltä tämän kommentin kanssa
82
+ up_vote_button:
83
+ text: Olen samaa mieltä tämän kommentin kanssa
77
84
  events:
78
85
  comments:
79
86
  comment_by_followed_user:
80
- email_intro: "%{author_name} on jättänyt kommentin %{resource_title}. Voit lukea sen tällä sivulla:"
87
+ email_intro: "%{author_name} on jättänyt kommentin kohteessa %{resource_title}. Voit lukea sen täältä:"
81
88
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat %{author_name}. Voit perua seuraamisen kyseisen käyttäjän profiilisivulta.
82
- email_subject: '%{author_name} on jättänyt uuden kommentin kohtaan %{resource_title}'
83
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on jättänyt uuden kommentin kohtaan <a href="%{resource_path}">%{resource_title}</a>.
89
+ email_subject: '%{author_name} on jättänyt uuden kommentin kohteessa %{resource_title}'
90
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on jättänyt uuden kommentin kohteessa <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_intro: '%{author_name} on jättänyt kommentin kohteessa %{resource_title}. Voit lukea sen täältä:'
93
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat %{author_name}. Voit perua seuraamisen kyseisen käyttäjän profiilisivulta.
94
+ email_subject: '%{author_name} on jättänyt uuden kommentin kohteessa %{resource_title}'
95
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on jättänyt uuden kommentin kohteessa <a href="%{resource_path}">%{resource_title}</a>.
84
96
  comment_created:
85
97
  email_intro: "%{resource_title} on kommentoitu. Voit lukea kommentin tällä sivulla:"
86
98
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska seuraat "%{resource_title}" tai sen kirjoittajaa. Voit lopettaa seuraamisen edellä esitetyn linkin kautta.
87
- email_subject: '%{author_name} on jättänyt uuden kommentin kohtaan %{resource_title}'
88
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a>on jättänyt uuden kommentin kohtaan <a href="%{resource_path}">%{resource_title}</a>
99
+ email_subject: '%{author_name} on jättänyt uuden kommentin kohteessa %{resource_title}'
100
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a>on jättänyt uuden kommentin kohteessa <a href="%{resource_path}">%{resource_title}</a>
89
101
  reply_created:
90
102
  email_intro: "%{author_name} on vastannut kommentiisi kohdassa %{resource_title}. Voit lukea sen tällä sivulla:"
91
103
  email_outro: Tämä ilmoitus on lähetetty sinulle, koska kommenttiisi vastattiin.
92
104
  email_subject: "%{author_name} on vastannut kommentiisi %{resource_title}"
93
105
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on vastannut kommentiisi kohdassa <a href="%{resource_path}">%{resource_title}</a>
106
+ user_group_mentioned:
107
+ email_intro: Ryhmä, jonka jäsen olet, on mainittu
108
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska olet jäsenenä ryhmässä %{group_name} ja ryhmä on mainittu kohteessa %{resource_title}.
109
+ email_subject: Sinut on mainittu kohteessa %{resource_title} ryhmän %{group_name} jäsenenä
110
+ notification_title: Käyttäjä <a href="%{author_path}">%{author_name}%{author_nickname}</a> on maininnut sinut kohteessa <a href="%{resource_path}">%{resource_title}</a> ryhmän <a href="%{group_path}">%{group_name} %{group_nickname}</a> jäsenenä
94
111
  user_mentioned:
95
112
  email_intro: Sinut on mainittu
96
- email_outro: Tämä ilmoitus on lähetetty sinulle, koska sinut on mainittu kohdssa %{resource_title}.
113
+ email_outro: Tämä ilmoitus on lähetetty sinulle, koska sinut on mainittu kohteessa %{resource_title}.
97
114
  email_subject: Sinut on mainittu kohdassa %{resource_title}
98
115
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> on maininnut sinut kohdassa <a href="%{resource_path}">%{resource_title}</a>
99
116
  metrics:
@@ -0,0 +1,123 @@
1
+ fr-CA:
2
+ activemodel:
3
+ models:
4
+ decidim/comments/comment_by_followed_user_event: Commentaire
5
+ decidim/comments/comment_created_event: Commentaire
6
+ decidim/comments/reply_created_event: Réponse à un commentaire
7
+ decidim/comments/user_group_mentioned_event: Mention
8
+ decidim/comments/user_mentioned_event: Mention
9
+ activerecord:
10
+ models:
11
+ decidim/comments/comment:
12
+ one: Commentaire
13
+ other: Commentaires
14
+ decidim/comments/comment_vote:
15
+ one: Vote
16
+ other: Votes
17
+ decidim:
18
+ comments:
19
+ comments: commentaires
20
+ comments_count: Nombre de commentaires
21
+ last_activity:
22
+ new_comment_at_html: "<span>Nouveau commentaire à %{link}</span>"
23
+ view: Voir
24
+ votes:
25
+ create:
26
+ error: Une erreur s'est produite lors du vote sur le commentaire.
27
+ components:
28
+ add_comment_form:
29
+ account_message: Pour ajouter votre commentaire <a href="%{sign_in_url}"> connectez-vous avec votre compte</a> ou <a href="%{sign_up_url}">inscrivez-vous</a>.
30
+ form:
31
+ body:
32
+ label: Commentaire
33
+ placeholder: Que pensez-vous de cela ?
34
+ form_error: Le texte est requis et ne peut pas dépasser %{length} caractères.
35
+ submit: Publier
36
+ user_group_id:
37
+ label: Commenter en tant que
38
+ opinion:
39
+ neutral: Neutre
40
+ remaining_characters: "%{count} caractères restants"
41
+ remaining_characters_1: "%{count} caractère restant"
42
+ title: Ajoutez votre commentaire
43
+ comment:
44
+ alignment:
45
+ against: Contre
46
+ in_favor: Pour
47
+ deleted_user: Utilisateur supprimé
48
+ hide_replies: Cacher les réponses
49
+ reply: Répondre
50
+ report:
51
+ action: Signaler
52
+ already_reported: Ce contenu a déjà été signalé et il sera examiné par un administrateur.
53
+ close: Fermer
54
+ description: Ce contenu est-il inapproprié ?
55
+ details: Commentaires additionnels
56
+ reasons:
57
+ does_not_belong: Contient d’autres types de contenus qui vous semblent inappropriés à %{organization_name} (activités illégales, menaces suicidaires, informations personnelles,...).
58
+ offensive: Contient des propos contraires à la loi (propos racistes, sexistes, insultes, attaques personnelles, menaces de mort, incitations au suicide ou toute forme de discours de haine,...).
59
+ spam: Contient des publicités, des escroqueries, des pièges à clic (clickbait) ou des robots fonctionnant au script (script bots).
60
+ title: Signaler un contenu inapproprié
61
+ show_replies: Afficher %{replies_count} réponses
62
+ single_comment_link_title: Obtenir un lien vers un seul commentaire
63
+ comment_order_selector:
64
+ order:
65
+ best_rated: Les mieux notés
66
+ most_discussed: Les plus débattus
67
+ older: Les plus anciens
68
+ recent: Les plus récents
69
+ title: 'Classement par :'
70
+ comment_thread:
71
+ title: Conversation avec %{authorName}
72
+ comments:
73
+ blocked_comments_for_user_warning: Vous n'êtes pas en mesure de commenter pour le moment, mais vous pouvez lire les précédents.
74
+ blocked_comments_warning: Les commentaires sont actuellement désactivés, mais vous pouvez lire ceux déjà saisis.
75
+ comment_details_title: Détails du commentaire
76
+ loading: Chargement des commentaires ...
77
+ single_comment_warning: Vous pouvez accéder au reste des commentaires <a href="%{url}">ici</a>.
78
+ single_comment_warning_title: Vous ne voyez qu'un seul commentaire
79
+ title: "%{count} commentaires"
80
+ down_vote_button:
81
+ text: Je ne suis pas d'accord avec ce commentaire
82
+ up_vote_button:
83
+ text: Je suis d'accord avec ce commentaire
84
+ events:
85
+ comments:
86
+ comment_by_followed_user:
87
+ email_intro: "%{author_name} a laissé un commentaire dans %{resource_title}. Vous pouvez le lire sur la page suivante :"
88
+ email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil.
89
+ email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
90
+ notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_intro: '%{author_name} a laissé un commentaire dans %{resource_title}. Vous pouvez le lire sur la page suivante :'
93
+ email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil.
94
+ email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
95
+ notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
96
+ comment_created:
97
+ email_intro: "%{resource_title} a été commenté. Vous pouvez lire le commentaire sur cette page :"
98
+ email_outro: Vous venez de recevoir cette notification parce que vous suivez "%{resource_title}" ou son auteur. Vous pouvez vous désabonner à partir du lien précédant.
99
+ email_subject: Un nouveau commentaire vient d'être publié par %{author_name} dans %{resource_title}
100
+ notification_title: Un nouveau commentaire de <a href="%{author_path}">%{author_name} %{author_nickname}</a> vient d'être publié dans <a href="%{resource_path}">%{resource_title}</a>
101
+ reply_created:
102
+ email_intro: "%{author_name} a répondu à votre commentaire dans %{resource_title}. Vous pouvez le lire depuis la page suivante :"
103
+ email_outro: Vous venez de recevoir une notification à votre commentaire.
104
+ email_subject: "%{author_name} a répondu à votre commentaire dans %{resource_title}"
105
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a réagi à votre commentaire sur <a href="%{resource_path}">%{resource_title}</a>
106
+ user_group_mentioned:
107
+ email_intro: Un groupe auquel vous appartenez a été mentionné
108
+ email_outro: Vous avez reçu cette notification parce que vous êtes membre du groupe %{group_name} qui a été mentionné dans %{resource_title}.
109
+ email_subject: Vous avez été mentionné dans %{resource_title} en tant que membre de %{group_name}
110
+ notification_title: Vous avez été mentionné dans <a href="%{resource_path}">%{resource_title}</a> par <a href="%{author_path}">%{author_name} %{author_nickname}</a> en tant que membre de <a href="%{group_path}">%{group_name} %{group_nickname}</a>
111
+ user_mentioned:
112
+ email_intro: Vous avez été mentionné
113
+ email_outro: Vous avez reçu cette notification parce que vous avez été mentionné dans %{resource_title}.
114
+ email_subject: Vous avez été mentionné dans %{resource_title}
115
+ notification_title: Vous avez été mentionné dans <a href="%{resource_path}">%{resource_title}</a> par <a href="%{author_path}">%{author_name} %{author_nickname}</a>
116
+ metrics:
117
+ comments:
118
+ description: Nombre de commentaires générés par les utilisateurs
119
+ object: commentaires
120
+ title: commentaires
121
+ errors:
122
+ messages:
123
+ cannot_have_comments: ne peut pas être commenté
@@ -4,6 +4,7 @@ fr:
4
4
  decidim/comments/comment_by_followed_user_event: Commentaire
5
5
  decidim/comments/comment_created_event: Commentaire
6
6
  decidim/comments/reply_created_event: Réponse à un commentaire
7
+ decidim/comments/user_group_mentioned_event: Mention
7
8
  decidim/comments/user_mentioned_event: Mention
8
9
  activerecord:
9
10
  models:
@@ -15,9 +16,11 @@ fr:
15
16
  other: Votes
16
17
  decidim:
17
18
  comments:
18
- comments: Commentaires
19
+ comments: commentaires
20
+ comments_count: Nombre de commentaires
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Nouveau commentaire à %{link}</span>"
23
+ view: Voir
21
24
  votes:
22
25
  create:
23
26
  error: Une erreur s'est produite lors du vote sur le commentaire.
@@ -42,6 +45,7 @@ fr:
42
45
  against: Contre
43
46
  in_favor: Pour
44
47
  deleted_user: Utilisateur supprimé
48
+ hide_replies: Cacher les réponses
45
49
  reply: Répondre
46
50
  report:
47
51
  action: Signaler
@@ -53,7 +57,9 @@ fr:
53
57
  does_not_belong: Contient d’autres types de contenus qui vous semblent inappropriés à %{organization_name} (activités illégales, menaces suicidaires, informations personnelles,...).
54
58
  offensive: Contient des propos contraires à la loi (propos racistes, sexistes, insultes, attaques personnelles, menaces de mort, incitations au suicide ou toute forme de discours de haine,...).
55
59
  spam: Contient des publicités, des escroqueries, des pièges à clic (clickbait) ou des robots fonctionnant au script (script bots).
56
- title: Signaler un problème
60
+ title: Signaler un contenu inapproprié
61
+ show_replies: Afficher %{replies_count} réponses
62
+ single_comment_link_title: Obtenir un lien vers un seul commentaire
57
63
  comment_order_selector:
58
64
  order:
59
65
  best_rated: Les mieux notés
@@ -66,8 +72,15 @@ fr:
66
72
  comments:
67
73
  blocked_comments_for_user_warning: Vous n'êtes pas en mesure de commenter pour le moment, mais vous pouvez lire les précédents.
68
74
  blocked_comments_warning: Les commentaires sont actuellement désactivés, mais vous pouvez lire ceux déjà saisis.
75
+ comment_details_title: Détails du commentaire
69
76
  loading: Chargement des commentaires ...
77
+ single_comment_warning: Vous pouvez accéder au reste des commentaires <a href="%{url}">ici</a>.
78
+ single_comment_warning_title: Vous ne voyez qu'un seul commentaire
70
79
  title: "%{count} commentaires"
80
+ down_vote_button:
81
+ text: Je ne suis pas d'accord avec ce commentaire
82
+ up_vote_button:
83
+ text: Je suis d'accord avec ce commentaire
71
84
  events:
72
85
  comments:
73
86
  comment_by_followed_user:
@@ -75,6 +88,11 @@ fr:
75
88
  email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil.
76
89
  email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
77
90
  notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_intro: '%{author_name} a laissé un commentaire dans %{resource_title}. Vous pouvez le lire sur la page suivante :'
93
+ email_outro: Vous avez reçu cette notification, car vous suivez %{author_name}. Vous pouvez vous désabonner de cet utilisateur depuis sa page de profil.
94
+ email_subject: Un nouveau commentaire vient d'être déposé par %{author_name} dans %{resource_title}
95
+ notification_title: Un nouveau commentaire a été publié par <a href="%{author_path}">%{author_name} %{author_nickname}</a> dans <a href="%{resource_path}">%{resource_title}</a>.
78
96
  comment_created:
79
97
  email_intro: "%{resource_title} a été commenté. Vous pouvez lire le commentaire sur cette page :"
80
98
  email_outro: Vous venez de recevoir cette notification parce que vous suivez "%{resource_title}" ou son auteur. Vous pouvez vous désabonner à partir du lien précédant.
@@ -85,6 +103,11 @@ fr:
85
103
  email_outro: Vous venez de recevoir une notification à votre commentaire.
86
104
  email_subject: "%{author_name} a répondu à votre commentaire dans %{resource_title}"
87
105
  notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a réagi à votre commentaire sur <a href="%{resource_path}">%{resource_title}</a>
106
+ user_group_mentioned:
107
+ email_intro: Un groupe auquel vous appartenez a été mentionné
108
+ email_outro: Vous avez reçu cette notification parce que vous êtes membre du groupe %{group_name} qui a été mentionné dans %{resource_title}.
109
+ email_subject: Vous avez été mentionné dans %{resource_title} en tant que membre de %{group_name}
110
+ notification_title: Vous avez été mentionné dans <a href="%{resource_path}">%{resource_title}</a> par <a href="%{author_path}">%{author_name} %{author_nickname}</a> en tant que membre de <a href="%{group_path}">%{group_name} %{group_nickname}</a>
88
111
  user_mentioned:
89
112
  email_intro: Vous avez été mentionné
90
113
  email_outro: Vous avez reçu cette notification parce que vous avez été mentionné dans %{resource_title}.
@@ -0,0 +1 @@
1
+ ga:
@@ -4,6 +4,7 @@ gl:
4
4
  decidim/comments/comment_by_followed_user_event: Comentario
5
5
  decidim/comments/comment_created_event: Comentario
6
6
  decidim/comments/reply_created_event: Comentario de resposta
7
+ decidim/comments/user_group_mentioned_event: Mención
7
8
  decidim/comments/user_mentioned_event: Mención
8
9
  activerecord:
9
10
  models:
@@ -16,8 +17,10 @@ gl:
16
17
  decidim:
17
18
  comments:
18
19
  comments: Comentarios
20
+ comments_count: Número de comentarios
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Novo comentario en %{link}</span>"
23
+ view: Ver
21
24
  votes:
22
25
  create:
23
26
  error: Houbo erros ao votar o comentario.
@@ -42,6 +45,7 @@ gl:
42
45
  against: Contra
43
46
  in_favor: A favor
44
47
  deleted_user: Usuario eliminado
48
+ hide_replies: Ocultar respostas
45
49
  reply: Responder
46
50
  report:
47
51
  action: Informe
@@ -53,7 +57,9 @@ gl:
53
57
  does_not_belong: Contén actividades ilegais, ameazas de suicidio, información persoal ou outra cousa que pensas que non pertence a %{organization_name}.
54
58
  offensive: Contén racismo, sexismo, abuso, ataques persoais, ameazas de morte, solicitudes de suicidio ou calquera tipo de discurso de odio.
55
59
  spam: Contén clic, publicidade, fraudes ou bots de script.
56
- title: Informar dun problema
60
+ title: Denunciar contido inapropiado
61
+ show_replies: Amosar %{replies_count} respostas
62
+ single_comment_link_title: Obter ligazón a un único comentario
57
63
  comment_order_selector:
58
64
  order:
59
65
  best_rated: Mellor valorado
@@ -66,8 +72,15 @@ gl:
66
72
  comments:
67
73
  blocked_comments_for_user_warning: Non podes comentar neste momento, pero podes ler os anteriores.
68
74
  blocked_comments_warning: Os comentarios están desactivados neste momento, pero podes ler os anteriores.
75
+ comment_details_title: Detalles do comentario
69
76
  loading: Cargando comentarios ...
77
+ single_comment_warning: Podes revisar os comentarios restantes <a href="%{url}">aquí</a>.
78
+ single_comment_warning_title: Estás a ver un único comentario
70
79
  title: "%{count} comentarios"
80
+ down_vote_button:
81
+ text: Non estou de acordo con este comentario
82
+ up_vote_button:
83
+ text: Estou de acordo con este comentario
71
84
  events:
72
85
  comments:
73
86
  comment_by_followed_user:
@@ -75,6 +88,9 @@ gl:
75
88
  email_outro: Recibiches esta notificación porque estás seguindo %{author_name}. Podes deixar de seguir este usuario desde a súa páxina de perfil.
76
89
  email_subject: Hai un novo comentario por %{author_name} en %{resource_title}
77
90
  notification_title: Hai un novo comentario <a href="%{author_path}">%{author_name} %{author_nickname}</a> en <a href="%{resource_path}">%{resource_title}</a>.
91
+ comment_by_followed_user_group:
92
+ email_subject: Hai un novo comentario por %{author_name} en %{resource_title}
93
+ notification_title: Hai un novo comentario <a href="%{author_path}">%{author_name} %{author_nickname}</a> en <a href="%{resource_path}">%{resource_title}</a>.
78
94
  comment_created:
79
95
  email_intro: "Comentouse %{resource_title} . Podes ler o comentario nesta páxina:"
80
96
  email_outro: Recibiches esta notificación porque estás seguindo "%{resource_title}" ou o seu autor. Podes deixar de seguir desde a ligazón anterior.