decidim-comments 0.19.0 → 0.22.0

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 (81) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/decidim/comments/bundle.js +41 -41
  3. data/app/assets/javascripts/decidim/comments/bundle.js.map +1 -1
  4. data/app/cells/decidim/comments/comment_activity_cell.rb +1 -1
  5. data/app/commands/decidim/comments/create_comment.rb +7 -7
  6. data/app/events/decidim/comments/comment_by_followed_user_group_event.rb +9 -0
  7. data/app/events/decidim/comments/comment_event.rb +15 -2
  8. data/app/events/decidim/comments/user_group_mentioned_event.rb +10 -0
  9. data/app/forms/decidim/comments/comment_form.rb +9 -0
  10. data/app/frontend/application/icon.component.tsx +16 -4
  11. data/app/frontend/comments/add_comment_form.component.test.tsx +4 -1
  12. data/app/frontend/comments/add_comment_form.component.tsx +16 -3
  13. data/app/frontend/comments/comment.component.test.tsx +1 -1
  14. data/app/frontend/comments/comment.component.tsx +287 -74
  15. data/app/frontend/comments/comment_order_selector.component.tsx +26 -7
  16. data/app/frontend/comments/comments.component.tsx +65 -8
  17. data/app/frontend/comments/down_vote_button.component.tsx +3 -0
  18. data/app/frontend/comments/up_vote_button.component.tsx +3 -0
  19. data/app/frontend/comments/vote_button.component.tsx +4 -0
  20. data/app/frontend/comments/vote_button_component.test.tsx +14 -8
  21. data/app/frontend/entry.ts +19 -0
  22. data/app/frontend/entry_test.ts +2 -0
  23. data/app/frontend/queries/comments.query.graphql +2 -2
  24. data/app/frontend/support/schema.ts +745 -744
  25. data/app/models/decidim/comments/comment.rb +30 -5
  26. data/app/queries/decidim/comments/metrics/comments_metric_manage.rb +1 -6
  27. data/app/queries/decidim/comments/sorted_comments.rb +8 -2
  28. data/app/scrubbers/decidim/comments/user_input_scrubber.rb +20 -0
  29. data/app/services/decidim/comments/new_comment_notification_creator.rb +28 -3
  30. data/app/types/decidim/comments/commentable_interface.rb +2 -1
  31. data/app/types/decidim/comments/commentable_mutation_type.rb +2 -2
  32. data/config/locales/ar.yml +10 -1
  33. data/config/locales/bg-BG.yml +6 -0
  34. data/config/locales/ca.yml +23 -1
  35. data/config/locales/cs.yml +35 -13
  36. data/config/locales/da-DK.yml +1 -0
  37. data/config/locales/de.yml +23 -1
  38. data/config/locales/el-GR.yml +1 -0
  39. data/config/locales/el.yml +122 -0
  40. data/config/locales/en.yml +23 -1
  41. data/config/locales/es-MX.yml +23 -1
  42. data/config/locales/es-PY.yml +23 -1
  43. data/config/locales/es.yml +23 -1
  44. data/config/locales/et-EE.yml +1 -0
  45. data/config/locales/eu.yml +4 -1
  46. data/config/locales/fi-plain.yml +23 -1
  47. data/config/locales/fi.yml +29 -7
  48. data/config/locales/fr-CA.yml +122 -0
  49. data/config/locales/fr.yml +23 -1
  50. data/config/locales/ga-IE.yml +1 -0
  51. data/config/locales/gl.yml +4 -1
  52. data/config/locales/hr-HR.yml +1 -0
  53. data/config/locales/hu.yml +17 -1
  54. data/config/locales/id-ID.yml +4 -1
  55. data/config/locales/is-IS.yml +76 -0
  56. data/config/locales/it.yml +23 -1
  57. data/config/locales/ja-JP.yml +120 -0
  58. data/config/locales/lt-LT.yml +1 -0
  59. data/config/locales/lv-LV.yml +118 -0
  60. data/config/locales/mt-MT.yml +1 -0
  61. data/config/locales/nl.yml +35 -13
  62. data/config/locales/no.yml +118 -0
  63. data/config/locales/pl.yml +57 -35
  64. data/config/locales/pt-BR.yml +5 -2
  65. data/config/locales/pt.yml +47 -25
  66. data/config/locales/ro-RO.yml +124 -0
  67. data/config/locales/ru.yml +12 -1
  68. data/config/locales/sk-SK.yml +116 -0
  69. data/config/locales/sk.yml +120 -0
  70. data/config/locales/sl.yml +4 -0
  71. data/config/locales/sr-CS.yml +20 -0
  72. data/config/locales/sv.yml +25 -3
  73. data/config/locales/tr-TR.yml +4 -1
  74. data/config/locales/uk.yml +4 -1
  75. data/db/migrate/20200320105911_index_foreign_keys_in_decidim_comments_comments.rb +7 -0
  76. data/lib/decidim/comments.rb +1 -0
  77. data/lib/decidim/comments/markdown.rb +55 -0
  78. data/lib/decidim/comments/test/shared_examples/comment_event.rb +11 -1
  79. data/lib/decidim/comments/test/shared_examples/create_comment_context.rb +3 -2
  80. data/lib/decidim/comments/version.rb +1 -1
  81. metadata +46 -9
@@ -2,3 +2,121 @@
2
2
  activemodel:
3
3
  models:
4
4
  decidim/comments/comment_by_followed_user_event: Kommentar
5
+ decidim/comments/comment_created_event: Kommentar
6
+ decidim/comments/reply_created_event: Kommenter svar
7
+ decidim/comments/user_group_mentioned_event: Omtal
8
+ decidim/comments/user_mentioned_event: Omtal
9
+ activerecord:
10
+ models:
11
+ decidim/comments/comment:
12
+ one: Kommentar
13
+ other: Kommentarer
14
+ decidim/comments/comment_vote:
15
+ one: Stemme
16
+ other: Stemmer
17
+ decidim:
18
+ comments:
19
+ comments: Kommentarer
20
+ comments_count: Antall kommentarer
21
+ last_activity:
22
+ new_comment_at_html: "<span>Ny kommentar på %{link}</span>"
23
+ votes:
24
+ create:
25
+ error: Det oppstod et problem med å stemme kommentaren.
26
+ components:
27
+ add_comment_form:
28
+ account_message: <a href="%{sign_in_url}">Logg på med kontoen din</a> eller <a href="%{sign_up_url}">opprett en</a> for å legge til kommentaren din.
29
+ form:
30
+ body:
31
+ label: Kommentar
32
+ placeholder: Hva mener du om dette?
33
+ form_error: Teksten er påkrevd og den kan ikke være lengre enn %{length} tegn.
34
+ submit: Send
35
+ user_group_id:
36
+ label: Kommenter som
37
+ opinion:
38
+ neutral: Nøytral
39
+ remaining_characters: "%{count} tegn igjen"
40
+ remaining_characters_1: "%{count} tegn igjen"
41
+ title: Legg til kommentar
42
+ comment:
43
+ alignment:
44
+ against: Imot
45
+ in_favor: I favør
46
+ deleted_user: Slettet deltaker
47
+ hide_replies: Skjul svar
48
+ reply: Svar
49
+ report:
50
+ action: Rapport
51
+ already_reported: Dette innholdet er allerede rapportert, og det vil bli vurdert av en administrator.
52
+ close: Lukk
53
+ description: Er dette innholdet upassende?
54
+ details: Ytterlige kommentarer
55
+ reasons:
56
+ does_not_belong: Inneholder ulovlig aktivitet, selvmordstrusler, personlig informasjon eller noe annet du mener ikke hører hjemme på %{organization_name}.
57
+ offensive: Inneholder rasisme, sexisme, banning, persjonangrep, dødstrusler, selvmords forespørsler eller all form for hatefullt språk.
58
+ spam: Inneholder klikkagn, reklame, svindel eller manus-roboter.
59
+ title: Rapporter upassende innhold
60
+ show_replies: Vis %{replies_count} svar
61
+ single_comment_link_title: Få lenke til enkeltkommentar
62
+ comment_order_selector:
63
+ order:
64
+ best_rated: Best vurdert
65
+ most_discussed: Mest omtalt
66
+ older: Eldre
67
+ recent: Nylig
68
+ title: 'Sorter etter:'
69
+ comment_thread:
70
+ title: Samtale med %{authorName}
71
+ comments:
72
+ blocked_comments_for_user_warning: Du kan ikke kommentere for øyeblikket, men du kan lese de forrige.
73
+ blocked_comments_warning: Kommenterer er deaktivert på dette tidspunktet, men du kan lese de forrige.
74
+ comment_details_title: Kommenter detaljer
75
+ loading: Laster inn kommenterer ...
76
+ single_comment_warning: Du kan sjekke resten av kommentarene <a href="%{url}">her</a>.
77
+ single_comment_warning_title: Du ser en enkelt kommentar
78
+ title: "%{count} kommentarer"
79
+ down_vote_button:
80
+ text: Jeg er uenig med denne kommentaren
81
+ up_vote_button:
82
+ text: Jeg er enig med denne kommentaren
83
+ events:
84
+ comments:
85
+ comment_by_followed_user:
86
+ email_intro: "%{author_name} har lagt igjen en kommentar i %{resource_title}. Du kan lese den på denne siden:"
87
+ email_outro: Du har mottatt denne varslingen fordi du følger %{author_name}. Du kan slutte å følge denne brukeren fra dems profil side.
88
+ email_subject: Det er en ny kommentar av %{author_name} i %{resource_title}
89
+ notification_title: Det er en ny kommentar av <a href="%{author_path}">%{author_name} %{author_nickname}</a> i <a href="%{resource_path}">%{resource_title}</a>.
90
+ comment_by_followed_user_group:
91
+ email_intro: '%{author_name} har lagt igjen en kommentar i %{resource_title}. Du kan lese den på denne siden:'
92
+ email_outro: Du har mottatt denne varslingen fordi du følger %{author_name}. Du kan slutte å følge denne brukeren fra deres profilside.
93
+ email_subject: Det er en ny kommentar av %{author_name} i %{resource_title}
94
+ notification_title: Det er en ny kommentar av <a href="%{author_path}">%{author_name} %{author_nickname}</a> i <a href="%{resource_path}">%{resource_title}</a>.
95
+ comment_created:
96
+ email_intro: "%{resource_title} har blitt kommentert. Du kan lese kommentaren på denne siden:"
97
+ email_outro: Du har mottatt denne varslingen fordi du følger "%{resource_title}" eller dens forfatter. Du kan slutte å følge den fra den forrige lenken.
98
+ email_subject: Det er en ny kommentar fra %{author_name} i %{resource_title}
99
+ notification_title: Det er en ny kommentar fra <a href="%{author_path}">%{author_name} %{author_nickname}</a> i <a href="%{resource_path}">%{resource_title}</a>
100
+ reply_created:
101
+ email_intro: "%{author_name} har svart kommentaren din i %{resource_title}. Du kan lese den på denne siden:"
102
+ email_outro: Du har mottatt denne varslingen fordi din kommentar er besvart.
103
+ email_subject: "%{author_name} har svart kommentaren din i %{resource_title}"
104
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> har svart kommentaren din i <a href="%{resource_path}">%{resource_title}</a>
105
+ user_group_mentioned:
106
+ email_intro: En gruppe du er medlem av har blitt nevnt
107
+ email_outro: Du får denne varslingen fordi du er medlem av gruppen %{group_name}, som har blitt nevnt i%{resource_title}.
108
+ email_subject: Du har blitt nevnt i %{resource_title} som medlem av %{group_name}
109
+ notification_title: Du har blitt nevnt i <a href="%{resource_path}"> %{resource_title} av <a href="%{author_path}">%{author_name}%{author_nickname} som medlem av <a href="%{group_path}">%{group_name}%{group_nickname}
110
+ user_mentioned:
111
+ email_intro: Du har blitt nevnt
112
+ email_outro: Du har mottatt denne varslingen fordi du er nevnt i %{resource_title}.
113
+ email_subject: Du har blitt nevnt i %{resource_title}
114
+ notification_title: Du har blitt nevnt i <a href="%{resource_path}">%{resource_title}</a> av <a href="%{author_path}">%{author_name} %{author_nickname}</a>
115
+ metrics:
116
+ comments:
117
+ description: Antall kommenterer generert av deltakerne
118
+ object: kommentarer
119
+ title: Kommentarer
120
+ errors:
121
+ messages:
122
+ cannot_have_comments: kan ikke ha kommentarer
@@ -4,6 +4,7 @@ pl:
4
4
  decidim/comments/comment_by_followed_user_event: Komentarz
5
5
  decidim/comments/comment_created_event: Komentarz
6
6
  decidim/comments/reply_created_event: Odpowiedź na komentarz
7
+ decidim/comments/user_group_mentioned_event: Wzmianka
7
8
  decidim/comments/user_mentioned_event: Wzmianka
8
9
  activerecord:
9
10
  models:
@@ -13,15 +14,16 @@ pl:
13
14
  many: Komentarze
14
15
  other: Komentarze
15
16
  decidim/comments/comment_vote:
16
- one: Głosować
17
- few: Głosy
17
+ one: Głos
18
+ few: Głosów
18
19
  many: Głosy
19
20
  other: Głosy
20
21
  decidim:
21
22
  comments:
22
23
  comments: Komentarze
24
+ comments_count: Liczba komentarzy
23
25
  last_activity:
24
- new_comment_at_html: "<span>Nowy komentarz na %{link}</span>"
26
+ new_comment_at_html: "<span>Nowy komentarz do %{link}</span>"
25
27
  votes:
26
28
  create:
27
29
  error: Podczas głosowania komentarza wystąpiły błędy.
@@ -32,68 +34,88 @@ pl:
32
34
  body:
33
35
  label: Komentarz
34
36
  placeholder: Co o tym myślisz?
35
- form_error: Tekst jest wymagany i nie może dłużej niż %{length} znaków.
37
+ form_error: 'Tekst jest wymagany. Maksymalna liczba znaków to: %{length}.'
36
38
  submit: Wysłać
37
39
  user_group_id:
38
- label: Komentarz jako
40
+ label: Komentuj jako
39
41
  opinion:
40
42
  neutral: Neutralny
41
43
  remaining_characters: "Pozostało %{count} znaków"
42
- remaining_characters_1: "Pozostało znaków %{count}"
44
+ remaining_characters_1: "Pozostał %{count} znak"
43
45
  title: Dodaj swój komentarz
44
46
  comment:
45
47
  alignment:
46
48
  against: Przeciwko
47
49
  in_favor: Na korzyść
48
50
  deleted_user: Usunięty użytkownik
49
- reply: Odpowiadać
51
+ hide_replies: Ukryj odpowiedzi
52
+ reply: Odpowiedz
50
53
  report:
51
- action: Raport
52
- already_reported: Ta treść została już zgłoszona i zostanie ona sprawdzona przez administratora.
53
- close: Blisko
54
+ action: Zgłoś
55
+ already_reported: Ta treść została już zgłoszona i zostanie sprawdzona przez administratora.
56
+ close: Zamknij
54
57
  description: Czy ta treść jest nieodpowiednia?
55
58
  details: Dodatkowe komentarze
56
59
  reasons:
57
- does_not_belong: Zawiera nielegalną działalność, zagrożenia samobójstwem, informacje osobiste lub coś innego, co według Ciebie nie należy do %{organization_name}.
58
- offensive: Zawiera rasizm, seksizm, gniew, ataki osobiste, groźby śmierci, wnioski o samobójstwo lub jakąkolwiek formę mowy o nienawiści.
59
- spam: Zawiera kliknięć, reklamy, oszustwa lub boty scenariusza.
60
- title: Zgłoś problem
60
+ does_not_belong: Zawiera nielegalną działalność, groźby samobójcze, informacje osobiste lub coś innego, co według Ciebie nie powinno pojawić się w %{organization_name}.
61
+ offensive: Zawiera rasizm, seksizm, kłamstwa, ataki osobiste, groźby śmierci, prośby samobójcze lub jakąkolwiek formę mowy o nienawiści.
62
+ spam: Zawiera clickbaity, reklamy, oszustwa lub skrypty botów.
63
+ title: Zgłoś niewłaściwą treść
64
+ show_replies: Pokaż %{replies_count} odpowiedzi
65
+ single_comment_link_title: Pobierz link do pojedynczego komentarza
61
66
  comment_order_selector:
62
67
  order:
63
- best_rated: Najlepsza ocena
68
+ best_rated: Najlepiej oceniane
64
69
  most_discussed: Najbardziej dyskutowane
65
- older: Starsze
66
- recent: Niedawny
67
- title: 'Zamów przez:'
70
+ older: Najstarsze
71
+ recent: Najnowsze
72
+ title: 'Sortuj według:'
68
73
  comment_thread:
69
74
  title: Rozmowa z %{authorName}
70
75
  comments:
71
- blocked_comments_for_user_warning: Nie możesz teraz komentować, ale możesz przeczytać poprzednie.
76
+ blocked_comments_for_user_warning: Nie możesz teraz komentować, ale możesz przeczytać poprzednie komentarze.
72
77
  blocked_comments_warning: Komentarze są w tej chwili wyłączone, ale możesz przeczytać poprzednie.
78
+ comment_details_title: Szczegóły komentarza
73
79
  loading: Ładowanie komentarzy ...
80
+ single_comment_warning: Resztę komentarzy możesz sprawdzić <a href="%{url}">tutaj</a>.
81
+ single_comment_warning_title: Wyświetlasz teraz pojedynczy komentarz
74
82
  title: "%{count} komentarzy"
83
+ down_vote_button:
84
+ text: Nie zgadzam się z tym komentarzem
85
+ up_vote_button:
86
+ text: Zgadzam się z tym komentarzem
75
87
  events:
76
88
  comments:
77
89
  comment_by_followed_user:
78
- email_intro: "%{author_name} dodał (a) komentarz w %{resource_title}. Możesz przeczytać na tej stronie:"
79
- email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{author_name}. Możesz przestać obserwować tego użytkownika na swojej stronie profilu.
80
- email_subject: Jest nowy komentarz autor %{author_name} w %{resource_title}
81
- notification_title: Pojawił się nowy komentarz <a href="%{author_path}">%{author_name} %{author_nickname}</a> w <a href="%{resource_path}">%{resource_title}</a>.
90
+ email_intro: "%{author_name} dodał(a) komentarz do %{resource_title}. Możesz przeczytać go na tej stronie:"
91
+ email_outro: Otrzymałeś to powiadomienie, ponieważ obserwujesz %{author_name}. Możesz usunąć użytkownika z obserwowanych na jego stronie profilowej.
92
+ email_subject: Jest nowy komentarz dodany przez %{author_name} do %{resource_title}
93
+ notification_title: Pojawił się nowy komentarz dodany przez <a href="%{author_path}">%{author_name} %{author_nickname}</a> do <a href="%{resource_path}">%{resource_title}</a>.
94
+ comment_by_followed_user_group:
95
+ email_intro: 'Grupa %{author_name} dodała komentarz do %{resource_title}. Możesz go przeczytać na tej stronie:'
96
+ email_outro: Otrzymujesz to powiadomienie, ponieważ obserwujesz %{author_name}. Możesz przestać obserwować tę grupę z poziomu jej strony profilowej.
97
+ email_subject: Jest nowy komentarz dodany przez %{author_name} do %{resource_title}
98
+ notification_title: Pojawił się nowy komentarz <a href="%{author_path}">%{author_name} %{author_nickname}</a> do <a href="%{resource_path}">%{resource_title}</a>.
82
99
  comment_created:
83
100
  email_intro: "%{resource_title} został skomentowany. Możesz przeczytać komentarz na tej stronie:"
84
- email_outro: Otrzymujesz to powiadomienie, ponieważ obserwujesz "%{resource_title}" lub jego autora. Możesz przestać go obserwować z poprzedniego linku.
85
- email_subject: Jest nowy komentarz od %{author_name} w %{resource_title}
86
- notification_title: Pojawił się nowy komentarz <a href="%{author_path}">%{author_name} %{author_nickname}</a> w <a href="%{resource_path}">%{resource_title}</a>
101
+ email_outro: Otrzymujesz to powiadomienie, ponieważ obserwujesz "%{resource_title}" lub jego autora. Możesz przestać go obserwować po kliknięciu w poprzedni link.
102
+ email_subject: Jest nowy komentarz od %{author_name} do %{resource_title}
103
+ notification_title: Pojawił się nowy komentarz <a href="%{author_path}">%{author_name} %{author_nickname}</a> do <a href="%{resource_path}">%{resource_title}</a>
87
104
  reply_created:
88
- email_intro: "%{author_name} odpowiedział na Twój komentarz w %{resource_title}. Możesz przeczytać na tej stronie:"
89
- email_outro: Otrzymałeś to powiadomienie, ponieważ Twój komentarz został wysłany.
90
- email_subject: "%{author_name} odpowiedział na Twój komentarz w %{resource_title}"
91
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> odpowiedział na Twój komentarz w <a href="%{resource_path}">%{resource_title}</a>
105
+ email_intro: "%{author_name} odpowiedział na Twój komentarz do %{resource_title}. Możesz przeczytać go na tej stronie:"
106
+ email_outro: Otrzymałeś to powiadomienie, ponieważ odpowiedziano na Twój komentarz.
107
+ email_subject: "%{author_name} odpowiedział(a) na Twój komentarz do %{resource_title}"
108
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> odpowiedział(a) na Twój komentarz do <a href="%{resource_path}">%{resource_title}</a>
109
+ user_group_mentioned:
110
+ email_intro: Wspomniano o grupie, do której należysz
111
+ email_outro: Otrzymujesz to powiadomienie, ponieważ jesteś członkiem grupy %{group_name}, o której wspomniano w %{resource_title}.
112
+ email_subject: Wspomniano o Tobie w %{resource_title} jako o członku %{group_name}
113
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> wspomniał(a) o Tobie w <a href="%{resource_path}">%{resource_title}</a> jako o członku <a href="%{group_path}">%{group_name} %{group_nickname}</a>
92
114
  user_mentioned:
93
- email_intro: Zostałeś wspomniany
94
- email_outro: Otrzymałeś to powiadomienie, ponieważ wspomniano o nim w %{resource_title}.
95
- email_subject: Wspomnieliś cie w %{resource_title}
96
- notification_title: Wspomniałeś w <a href="%{resource_path}">%{resource_title}</a> przez <a href="%{author_path}">%{author_name} %{author_nickname}</a>
115
+ email_intro: Wspomniano o Tobie
116
+ email_outro: Otrzymałeś to powiadomienie, ponieważ wspomniano o Tobie w %{resource_title}.
117
+ email_subject: Wspomniano o Tobie w %{resource_title}
118
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> wspomniał(a) o Tobie w <a href="%{resource_path}">%{resource_title}</a>
97
119
  metrics:
98
120
  comments:
99
121
  description: Liczba komentarzy wygenerowanych przez użytkowników
@@ -101,4 +123,4 @@ pl:
101
123
  title: Komentarze
102
124
  errors:
103
125
  messages:
104
- cannot_have_comments: Nie może mieć komentarzy
126
+ cannot_have_comments: nie może mieć komentarzy
@@ -1,9 +1,10 @@
1
- pt-BR:
1
+ pt:
2
2
  activemodel:
3
3
  models:
4
4
  decidim/comments/comment_by_followed_user_event: Comente
5
5
  decidim/comments/comment_created_event: Comentário
6
6
  decidim/comments/reply_created_event: Resposta
7
+ decidim/comments/user_group_mentioned_event: Mencionar
7
8
  decidim/comments/user_mentioned_event: Mencionar
8
9
  activerecord:
9
10
  models:
@@ -53,7 +54,6 @@ pt-BR:
53
54
  does_not_belong: Contém atividades ilegais, ameaças suicidas, informações pessoais ou qualquer outra coisa que você acha que não pertence ao %{organization_name}.
54
55
  offensive: Contém racismo, sexismo, insultos, ataques pessoais, ameaças de morte, pedidos de suicídio ou qualquer tipo de discurso de ódio.
55
56
  spam: Contém clickbait, publicidade, fraudes ou script bots.
56
- title: Reportar um problema
57
57
  comment_order_selector:
58
58
  order:
59
59
  best_rated: Melhores avaliações
@@ -75,6 +75,9 @@ pt-BR:
75
75
  email_outro: Você recebeu esta notificação porque está seguindo %{author_name}. Você pode deixar de seguir esse usuário em sua página de perfil.
76
76
  email_subject: Há um novo comentário por %{author_name} em %{resource_title}
77
77
  notification_title: Há um novo comentário por <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>.
78
+ comment_by_followed_user_group:
79
+ email_subject: Há um novo comentário por %{author_name} em %{resource_title}
80
+ notification_title: Há um novo comentário por <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>.
78
81
  comment_created:
79
82
  email_intro: "%{resource_title} foi comentado. Você pode ler o comentário nesta página:"
80
83
  email_outro: Você recebeu esta notificação porque você está seguindo "%{resource_title}" ou seu autor. Você pode ignorá-lo do link anterior.
@@ -1,9 +1,10 @@
1
1
  pt:
2
2
  activemodel:
3
3
  models:
4
- decidim/comments/comment_by_followed_user_event: Comente
4
+ decidim/comments/comment_by_followed_user_event: Comentar
5
5
  decidim/comments/comment_created_event: Comente
6
6
  decidim/comments/reply_created_event: Comentário resposta
7
+ decidim/comments/user_group_mentioned_event: Menção
7
8
  decidim/comments/user_mentioned_event: Menção
8
9
  activerecord:
9
10
  models:
@@ -16,6 +17,7 @@ pt:
16
17
  decidim:
17
18
  comments:
18
19
  comments: Comentários
20
+ comments_count: Contagem de comentários
19
21
  last_activity:
20
22
  new_comment_at_html: "<span>Novo comentário em %{link}</span>"
21
23
  votes:
@@ -35,64 +37,84 @@ pt:
35
37
  opinion:
36
38
  neutral: Neutro
37
39
  remaining_characters: "%{count} caracteres restantes"
38
- remaining_characters_1: "%{count} personagem à esquerda"
39
- title: Adicione seu comentário
40
+ remaining_characters_1: "%{count} caracteres restantes"
41
+ title: Adicione o seu comentário
40
42
  comment:
41
43
  alignment:
42
44
  against: Contra
43
45
  in_favor: A favor
44
- deleted_user: Usuário deletado
45
- reply: Resposta
46
+ deleted_user: Participante eliminado
47
+ hide_replies: Ocultar respostas
48
+ reply: Responder
46
49
  report:
47
- action: Relatório
48
- already_reported: Este conteúdo já foi relatado e será revisto por um administrador.
50
+ action: Reportar
51
+ already_reported: Este conteúdo já foi reportado e será revisto por um administrador.
49
52
  close: Fechar
50
53
  description: Este conteúdo é impróprio?
51
54
  details: Comentários adicionais
52
55
  reasons:
53
- does_not_belong: Contém atividades ilegais, ameaças suicidas, informações pessoais ou qualquer outra coisa que você acha que não pertence ao %{organization_name}.
56
+ does_not_belong: Contém atividades ilegais, ameaças suicidas, informações pessoais ou qualquer outra coisa que você acha que não pertence a %{organization_name}.
54
57
  offensive: Contém racismo, sexismo, insultos, ataques pessoais, ameaças de morte, pedidos de suicídio ou qualquer tipo de discurso de ódio.
55
- spam: Contém clickbait, publicidade, fraudes ou script bots.
56
- title: Reportar um problema
58
+ spam: Contém clickbait, publicidade, fraudes ou robots de scripts.
59
+ title: Reportar conteúdo impróprio
60
+ show_replies: Mostrar %{replies_count} respostas
61
+ single_comment_link_title: Obter hiperligação para um único comentário
57
62
  comment_order_selector:
58
63
  order:
59
64
  best_rated: Melhores avaliações
60
- most_discussed: Mais Discutidos
65
+ most_discussed: Mais discutidos
61
66
  older: Mais velho
62
67
  recent: Recente
63
68
  title: 'Ordenar por:'
64
69
  comment_thread:
65
70
  title: Conversa com %{authorName}
66
71
  comments:
67
- blocked_comments_for_user_warning: Você não pode comentar neste momento, mas pode ler os anteriores.
68
- blocked_comments_warning: Os comentários estão desativados neste momento, mas você pode ler os anteriores.
69
- loading: Carregando comentários ...
72
+ blocked_comments_for_user_warning: Não pode comentar neste momento, mas pode ler os anteriores.
73
+ blocked_comments_warning: Os comentários estão desativados neste momento, mas pode ler os anteriores.
74
+ comment_details_title: Detalhes do comentário
75
+ loading: A carregar comentários ...
76
+ single_comment_warning: Pode consultar os restantes comentários <a href="%{url}">aqui</a>.
77
+ single_comment_warning_title: Está a ver um único comentário
70
78
  title: "%{count} comentários"
79
+ down_vote_button:
80
+ text: Eu discordo deste comentário
81
+ up_vote_button:
82
+ text: Eu concordo com este comentário
71
83
  events:
72
84
  comments:
73
85
  comment_by_followed_user:
74
- email_intro: "%{author_name} deixou um comentário em %{resource_title}. Você pode lê-lo nesta página:"
75
- email_outro: Você recebeu esta notificação porque está seguindo %{author_name}. Você pode deixar de seguir esse usuário em sua página de perfil.
86
+ email_intro: "%{author_name} deixou um comentário em %{resource_title}. Pode lê-lo nesta página:"
87
+ email_outro: Recebeu esta notificação porque segue %{author_name}. pode deixar de seguir este utilizador a partir da respetiva página de perfil.
88
+ email_subject: Há um novo comentário por %{author_name} em %{resource_title}
89
+ notification_title: Há um novo comentário por <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>.
90
+ comment_by_followed_user_group:
91
+ email_intro: 'O grupo %{author_name} deixou um comentário em %{resource_title}. Poderá lê-lo nesta página:'
92
+ email_outro: Recebeu esta notificação porque segue %{author_name}. Pode deixar de seguir este grupo a partir da respetiva página de perfil.
76
93
  email_subject: Há um novo comentário por %{author_name} em %{resource_title}
77
94
  notification_title: Há um novo comentário por <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>.
78
95
  comment_created:
79
96
  email_intro: "%{resource_title} foi comentado. Você pode ler o comentário nesta página:"
80
- email_outro: Você recebeu esta notificação porque você está seguindo "%{resource_title}" ou seu autor. Você pode ignorá-lo do link anterior.
97
+ email_outro: Recebeu esta notificação porque segue "%{resource_title}" ou o seu autor. Pode deixar de segui-lo a partir da hiperligação anterior.
81
98
  email_subject: Há um novo comentário de %{author_name} em %{resource_title}
82
99
  notification_title: Há um novo comentário de <a href="%{author_path}">%{author_name} %{author_nickname}</a> em <a href="%{resource_path}">%{resource_title}</a>
83
100
  reply_created:
84
- email_intro: "%{author_name} respondeu seu comentário em %{resource_title}. Você pode lê-lo nesta página:"
85
- email_outro: Você recebeu esta notificação porque o seu comentário foi respondido.
86
- email_subject: "%{author_name} respondeu seu comentário em %{resource_title}"
87
- notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> respondeu seu comentário em <a href="%{resource_path}">%{resource_title}</a>
101
+ email_intro: "%{author_name} respondeu ao seu comentário em %{resource_title}. Pode lê-lo nesta página:"
102
+ email_outro: Recebeu esta notificação porque responderam ao seu comentário.
103
+ email_subject: "%{author_name} respondeu ao seu comentário em %{resource_title}"
104
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> respondeu ao seu comentário em <a href="%{resource_path}">%{resource_title}</a>
105
+ user_group_mentioned:
106
+ email_intro: Um grupo ao qual pertence foi mencionado
107
+ email_outro: Recebeu esta notificação porque é membro do grupo %{group_name} que foi mencionado em %{resource_title}.
108
+ email_subject: Foi mencionado em %{resource_title} como membro de %{group_name}
109
+ notification_title: Foi mencionado em <a href="%{resource_path}">%{resource_title}</a> por <a href="%{author_path}">%{author_name} %{author_nickname}</a> como membro de <a href="%{group_path}">%{group_name} %{group_nickname}</a>
88
110
  user_mentioned:
89
- email_intro: Você foi mencionado
90
- email_outro: Você recebeu esta notificação porque você foi mencionado em %{resource_title}.
91
- email_subject: Você foi mencionado em %{resource_title}
111
+ email_intro: Foi mencionado(a)
112
+ email_outro: Recebeu esta notificação porque foi mencionado(a) em %{resource_title}.
113
+ email_subject: Foi mencionado(a) em %{resource_title}
92
114
  notification_title: Você foi mencionado em <a href="%{resource_path}">%{resource_title}</a> por <a href="%{author_path}">%{author_name} %{author_nickname}</a>
93
115
  metrics:
94
116
  comments:
95
- description: Número de comentários gerados pelos usuários
117
+ description: Número de comentários gerados pelos participantes
96
118
  object: comentários
97
119
  title: Comentários
98
120
  errors:
@@ -0,0 +1,124 @@
1
+ ro:
2
+ activemodel:
3
+ models:
4
+ decidim/comments/comment_by_followed_user_event: Comentariu
5
+ decidim/comments/comment_created_event: Comentariu
6
+ decidim/comments/reply_created_event: Răspuns comentariu
7
+ decidim/comments/user_group_mentioned_event: Menționează
8
+ decidim/comments/user_mentioned_event: Menționează
9
+ activerecord:
10
+ models:
11
+ decidim/comments/comment:
12
+ one: Comentariu
13
+ few: Comentarii
14
+ other: Comentarii
15
+ decidim/comments/comment_vote:
16
+ one: Votează
17
+ few: Voturi
18
+ other: Voturi
19
+ decidim:
20
+ comments:
21
+ comments: Comentarii
22
+ comments_count: Numărul de comentarii
23
+ last_activity:
24
+ new_comment_at_html: "<span>Comentariu nou la %{link}</span>"
25
+ votes:
26
+ create:
27
+ error: A apărut o problemă la votarea comentariului.
28
+ components:
29
+ add_comment_form:
30
+ account_message: <a href="%{sign_in_url}">Autentifică-te cu contul tău</a> sau <a href="%{sign_up_url}">înregistrează-te</a> pentru a adăuga comentariul tău.
31
+ form:
32
+ body:
33
+ label: Comentariu
34
+ placeholder: Ce părere aveţi despre asta?
35
+ form_error: Textul este necesar și nu poate fi mai lung de %{length} caractere.
36
+ submit: Trimite
37
+ user_group_id:
38
+ label: Comentează ca
39
+ opinion:
40
+ neutral: Neutral
41
+ remaining_characters: "%{count} caractere rămase"
42
+ remaining_characters_1: "%{count} caracter rămas"
43
+ title: Adaugă comentariul tău
44
+ comment:
45
+ alignment:
46
+ against: Împotriva
47
+ in_favor: În favoarea
48
+ deleted_user: Participant șters
49
+ hide_replies: Ascunde răspunsurile
50
+ reply: Răspuns
51
+ report:
52
+ action: Raport
53
+ already_reported: Acest conținut este deja raportat și va fi revizuit de către un administrator.
54
+ close: Inchide
55
+ description: Este acest conținut neadecvat?
56
+ details: Observaţii suplimentare
57
+ reasons:
58
+ does_not_belong: Conține activitate ilegală, amenințări la sinucidere, informații personale sau altceva credeți că nu aparțin de %{organization_name}.
59
+ offensive: Conține rasism, sexism, slurbii, atacuri personale, amenințări cu moartea, cereri de sinucidere sau orice formă de discurs de incitare la ură.
60
+ spam: Conține clickbait, publicitate, escrocherii sau roboți script.
61
+ title: Raportează conținut nepotrivit
62
+ show_replies: Arată %{replies_count} răspunsuri
63
+ single_comment_link_title: Obțineți link-ul către un singur comentariu
64
+ comment_order_selector:
65
+ order:
66
+ best_rated: Cele mai apreciate
67
+ most_discussed: Cele mai discutate
68
+ older: Vechi
69
+ recent: Recente
70
+ title: 'Ordonare după:'
71
+ comment_thread:
72
+ title: Conversație cu %{authorName}
73
+ comments:
74
+ blocked_comments_for_user_warning: Nu poți comenta în acest moment, dar le poți citi pe cele anterioare.
75
+ blocked_comments_warning: Comentariile sunt dezactivate în acest moment, dar le puteți citi pe cele anterioare.
76
+ comment_details_title: Detalii comentariu
77
+ loading: Se încarcă comentariile...
78
+ single_comment_warning: Puteţi verifica restul comentariilor <a href="%{url}">aici</a>.
79
+ single_comment_warning_title: Vedeți un singur comentariu
80
+ title: "%{count} comentarii"
81
+ down_vote_button:
82
+ text: Nu sunt de acord cu acest comentariu
83
+ up_vote_button:
84
+ text: Sunt de acord cu acest comentariu
85
+ events:
86
+ comments:
87
+ comment_by_followed_user:
88
+ email_intro: "%{author_name} a lăsat un comentariu în %{resource_title}. Îl poți citi în această pagină:"
89
+ email_outro: Ați primit această notificare deoarece urmăriți %{author_name}. Puteți să nu urmăriți acest utilizator de pe pagina lui de profil.
90
+ email_subject: Există un nou comentariu al lui %{author_name} în %{resource_title}
91
+ notification_title: Există un comentariu nou al <a href="%{author_path}">%{author_name} %{author_nickname}</a> în <a href="%{resource_path}">%{resource_title}</a>.
92
+ comment_by_followed_user_group:
93
+ email_intro: 'Grupul %{author_name} a lăsat un comentariu în %{resource_title}. Îl poți citi în această pagină:'
94
+ email_outro: Ați primit această notificare deoarece urmăriți %{author_name}. Puteți să nu urmăriți acest grup de pe pagina sa de profil.
95
+ email_subject: Există un nou comentariu al lui %{author_name} în %{resource_title}
96
+ notification_title: Există un comentariu nou al <a href="%{author_path}">%{author_name} %{author_nickname}</a> în <a href="%{resource_path}">%{resource_title}</a>.
97
+ comment_created:
98
+ email_intro: "%{resource_title} a fost comentat. Poți citi comentariul din această pagină:"
99
+ email_outro: Ați primit această notificare deoarece urmați ""%{resource_title}" sau autorul său. O puteți anula de la link-ul anterior.
100
+ email_subject: Există un nou comentariu de la %{author_name} în %{resource_title}
101
+ notification_title: Există un nou comentariu de la <a href="%{author_path}">%{author_name} %{author_nickname}</a> în <a href="%{resource_path}">%{resource_title}</a>
102
+ reply_created:
103
+ email_intro: "%{author_name} a răspuns comentariului tău în %{resource_title}. Îl poți citi în această pagină:"
104
+ email_outro: Ați primit această notificare deoarece comentariul dvs. a fost răspuns.
105
+ email_subject: "%{author_name} a răspuns comentariului tău în %{resource_title}"
106
+ notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> a răspuns comentariul tău în <a href="%{resource_path}">%{resource_title}</a>
107
+ user_group_mentioned:
108
+ email_intro: Un grup căruia îi aparțineți a fost menționat
109
+ email_outro: Ați primit această notificare deoarece sunteți un membru al grupului %{group_name} care a fost menționat în %{resource_title}.
110
+ email_subject: Ai fost menționat în %{resource_title} ca membru al %{group_name}
111
+ notification_title: Ai fost menționat în <a href="%{resource_path}">%{resource_title}</a> de <a href="%{author_path}">%{author_name} %{author_nickname}</a> ca membru al <a href="%{group_path}">%{group_name} %{group_nickname}</a>
112
+ user_mentioned:
113
+ email_intro: Ați fost menționat
114
+ email_outro: Ați primit această notificare deoarece ați fost menționat în %{resource_title}.
115
+ email_subject: Ai fost menționat în %{resource_title}
116
+ notification_title: Ai fost menționat în <a href="%{resource_path}">%{resource_title}</a> de <a href="%{author_path}">%{author_name} %{author_nickname}</a>
117
+ metrics:
118
+ comments:
119
+ description: Numărul de comentarii generate de participanți
120
+ object: comentarii
121
+ title: Comentarii
122
+ errors:
123
+ messages:
124
+ cannot_have_comments: nu pot avea comentarii