thredded 0.13.0 → 0.14.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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -25
  3. data/app/assets/images/thredded/lock.svg +1 -0
  4. data/app/assets/javascripts/thredded/components/mention_autocompletion.es6 +2 -1
  5. data/app/assets/javascripts/thredded/components/post_form.es6 +1 -1
  6. data/app/assets/javascripts/thredded/components/time_stamps.es6 +1 -1
  7. data/app/assets/javascripts/thredded/components/topic_form.es6 +1 -1
  8. data/app/assets/javascripts/thredded/components/users_select.es6 +1 -1
  9. data/app/assets/javascripts/thredded/dependencies/autosize.js +1 -0
  10. data/app/assets/javascripts/thredded/dependencies.js +1 -1
  11. data/app/assets/stylesheets/thredded/base/_variables.scss +4 -0
  12. data/app/assets/stylesheets/thredded/components/_form-list.scss +2 -1
  13. data/app/assets/stylesheets/thredded/components/_messageboard.scss +10 -1
  14. data/app/assets/stylesheets/thredded/components/_onebox.scss +0 -9
  15. data/app/assets/stylesheets/thredded/components/_post.scss +7 -1
  16. data/app/assets/stylesheets/thredded/components/_topics.scss +12 -0
  17. data/app/commands/thredded/create_messageboard.rb +3 -3
  18. data/app/commands/thredded/mark_all_read.rb +1 -1
  19. data/app/commands/thredded/notify_following_users.rb +40 -22
  20. data/app/commands/thredded/notify_private_topic_users.rb +1 -1
  21. data/app/controllers/concerns/thredded/new_post_params.rb +1 -1
  22. data/app/controllers/concerns/thredded/new_private_post_params.rb +1 -1
  23. data/app/controllers/thredded/application_controller.rb +1 -1
  24. data/app/controllers/thredded/autocomplete_users_controller.rb +1 -1
  25. data/app/controllers/thredded/messageboard_groups_controller.rb +2 -2
  26. data/app/controllers/thredded/messageboards_controller.rb +7 -7
  27. data/app/controllers/thredded/moderation_controller.rb +1 -1
  28. data/app/controllers/thredded/post_permalinks_controller.rb +1 -1
  29. data/app/controllers/thredded/post_previews_controller.rb +3 -3
  30. data/app/controllers/thredded/posts_controller.rb +9 -5
  31. data/app/controllers/thredded/preferences_controller.rb +2 -2
  32. data/app/controllers/thredded/private_post_permalinks_controller.rb +1 -1
  33. data/app/controllers/thredded/private_post_previews_controller.rb +3 -3
  34. data/app/controllers/thredded/private_posts_controller.rb +5 -5
  35. data/app/controllers/thredded/private_topic_previews_controller.rb +1 -1
  36. data/app/controllers/thredded/read_states_controller.rb +1 -1
  37. data/app/controllers/thredded/theme_previews_controller.rb +23 -23
  38. data/app/controllers/thredded/topic_previews_controller.rb +1 -1
  39. data/app/forms/thredded/private_topic_form.rb +1 -1
  40. data/app/forms/thredded/topic_form.rb +2 -2
  41. data/app/forms/thredded/user_preferences_form.rb +2 -2
  42. data/app/helpers/thredded/render_helper.rb +1 -1
  43. data/app/jobs/thredded/auto_follow_and_notify_job.rb +3 -3
  44. data/app/mailer_previews/thredded/base_mailer_preview.rb +5 -5
  45. data/app/mailer_previews/thredded/private_topic_mailer_preview.rb +1 -5
  46. data/app/mailers/thredded/post_mailer.rb +11 -6
  47. data/app/mailers/thredded/private_topic_mailer.rb +12 -8
  48. data/app/models/concerns/thredded/content_moderation_state.rb +1 -1
  49. data/app/models/thredded/topic.rb +1 -1
  50. data/app/models/thredded/user_permissions/moderate/if_moderator_column_true.rb +0 -11
  51. data/app/models/thredded/user_permissions/moderate/none.rb +0 -11
  52. data/app/models/thredded/user_permissions/write/all.rb +0 -11
  53. data/app/models/thredded/user_permissions/write/none.rb +0 -11
  54. data/app/models/thredded/user_topic_follow.rb +4 -2
  55. data/app/notifiers/thredded/email_notifier.rb +6 -2
  56. data/app/policies/thredded/messageboard_policy.rb +3 -1
  57. data/app/policies/thredded/post_policy.rb +5 -1
  58. data/app/view_models/thredded/private_topic_view.rb +1 -1
  59. data/app/view_models/thredded/topic_email_view.rb +0 -4
  60. data/app/views/thredded/messageboards/_form.html.erb +6 -0
  61. data/app/views/thredded/messageboards/_messageboard.html.erb +1 -5
  62. data/app/views/thredded/messageboards/_messageboard_meta.html.erb +13 -0
  63. data/app/views/thredded/moderation/users.html.erb +2 -2
  64. data/app/views/thredded/post_mailer/post_notification.html.erb +9 -6
  65. data/app/views/thredded/post_mailer/post_notification.text.erb +9 -5
  66. data/app/views/thredded/preferences/_form.html.erb +9 -9
  67. data/app/views/thredded/private_topic_mailer/message_notification.html.erb +10 -4
  68. data/app/views/thredded/private_topic_mailer/message_notification.text.erb +11 -8
  69. data/app/views/thredded/private_topics/new.html.erb +1 -1
  70. data/app/views/thredded/shared/nav/_standalone.html.erb +1 -1
  71. data/app/views/thredded/theme_previews/show.html.erb +6 -4
  72. data/app/views/thredded/topics/_topic.html.erb +2 -1
  73. data/app/views/thredded/topics/index.html.erb +6 -1
  74. data/app/views/thredded/topics/new.html.erb +1 -1
  75. data/app/views/thredded/topics/show.html.erb +4 -0
  76. data/config/locales/de.yml +249 -0
  77. data/config/locales/en.yml +43 -0
  78. data/config/locales/es.yml +45 -0
  79. data/config/locales/fr.yml +247 -0
  80. data/config/locales/pl.yml +43 -0
  81. data/config/locales/pt-BR.yml +45 -0
  82. data/config/locales/ru.yml +43 -1
  83. data/config/locales/zh-CN.yml +238 -0
  84. data/db/migrate/20160329231848_create_thredded.rb +3 -2
  85. data/db/upgrade_migrations/20170811090735_upgrade_thredded_v0_13_to_v_014.rb +21 -0
  86. data/lib/generators/thredded/install/templates/initializer.rb +3 -3
  87. data/lib/thredded/database_seeder.rb +12 -12
  88. data/lib/thredded/engine.rb +1 -1
  89. data/lib/thredded/html_pipeline/onebox_filter.rb +2 -1
  90. data/lib/thredded/version.rb +1 -1
  91. data/lib/thredded.rb +2 -1
  92. data/vendor/assets/javascripts/autosize.min.js +6 -0
  93. data/vendor/assets/javascripts/textcomplete.min.js +2 -1
  94. metadata +19 -12
  95. data/vendor/assets/javascripts/autosize.js +0 -290
  96. /data/{app/notifiers → lib}/thredded/base_notifier.rb +0 -0
@@ -0,0 +1,247 @@
1
+ ---
2
+ fr:
3
+ thredded:
4
+ content_moderation_states:
5
+ content_blocked_notice: Bloqué
6
+ content_blocked_notice_with_record_html: Bloqué par %{moderator} %{time_ago}
7
+ email_notifier:
8
+ by_email: via email
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Ce courriel vous a été envoyé parce que %{user} vous a inclus dans un sujet privé, "<a href="%{post_url}">%{topic_title}</a>".
14
+ post_lead_html: 'Un nouveau message de %{user} dans <a href="%{post_url}">"%{topic_title}"</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Un nouveau message de %{user} dans "%{topic_title}"
17
+ text:
18
+ email_sent_reason: |-
19
+ Ce courriel vous a été envoyé parce que %{user} vous a inclus
20
+ le sujet privé "%{topic_title}".
21
+
22
+ Allez ici pour voir la conversation:
23
+ %{post_url}
24
+ post_lead: 'Un nouveau message de %{user} dans "%{topic_title}":'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: 'Ce courriel vous a été envoyé car vous suivez ce sujet: "<a href="%{post_url}">%{topic_title}</a>".'
29
+ post_lead_html: '%{user} a <a href="%{post_url}">déclaré dans "%{topic_title}"</a>:'
30
+ unsubscribe_instructions_html: Pour vous désabonner de ces courriels, mettez à jour vos <a href="%{preferences_url}">préférences</a>.
31
+ subject: Une nouvelle publication dans "%{topic_title}"
32
+ text:
33
+ email_sent_reason: |-
34
+ Ce courriel vous a été envoyé parce que vous suivez
35
+ le sujet "%{topic_title}".
36
+
37
+ Allez ici pour voir la conversation:
38
+ %{post_url}
39
+ post_lead: '%{user} a déclaré dans "%{topic_title}":'
40
+ unsubscribe_instructions: |-
41
+ Pour vous désabonner de ces courriels, mettez à jour vos préférences ici:
42
+ %{unsubscribe_url}
43
+ errors:
44
+ login_required: Connectez vous s'il vous plait
45
+ not_authorized: Vous n'êtes pas authorisé à accéder à cette page.
46
+ private_topic_create_denied: Vous n'êtes pas authorisé à créer des sujets.
47
+ private_topic_not_found: Ce sujet privé n'existe pas.
48
+ form:
49
+ create_btn_submitting: Création en cours...
50
+ preview: Aperçu
51
+ update: Mise à jour
52
+ update_btn_submitting: Mise à jour en cours...
53
+ messageboard:
54
+ create: Créer une Nouvelle Catégorie
55
+ form:
56
+ create_btn_submitting: :thredded.form.create_btn_submitting
57
+ description_label: Description
58
+ locked_label: Verrouillé
59
+ locked_notice: Ce message est verrouillé. Seuls les modérateurs peuvent créer de nouveaux sujets ici.
60
+ messageboard_group_id_label: Groupe de la catégorie
61
+ no_group: Pas de groupe
62
+ title_label: Nom
63
+ update_btn_submitting: :thredded.form.update_btn_submitting
64
+ index:
65
+ page_title: Catégories
66
+ last_updated_by_html: Mise à jour %{time_ago} <cite>par %{user}</cite>
67
+ topics_and_posts_counts: "%{topics_count} sujets / %{posts_count} commentaires"
68
+ update: :thredded.form.update
69
+ updated_notice: La catégorie a été mise à jour
70
+ messageboard_group:
71
+ create: Créer un nouveau groupe de catégorie
72
+ form:
73
+ create_btn_submitting: :thredded.form.create_btn_submitting
74
+ saved: Le Groupe %{name} a été créé
75
+ moderation:
76
+ approve_btn: Approuver
77
+ block_btn: Bloqué
78
+ moderation_state:
79
+ name: État de modération
80
+ pending:
81
+ empty:
82
+ content: Tous les commentaires ont été modérés.
83
+ title: Bien joué!
84
+ post_approved_html: Commentaire approuvé par %{moderator} %{time_ago}.
85
+ post_blocked_html: Commentaire bloqué par %{moderator} %{time_ago}.
86
+ post_deleted_notice: Ce commentaire a été effacé.
87
+ posts_content_changed_since_moderation_html: >-
88
+ Le <a href="%{post_url}">commentaire</a> a changé depuis qu'il a été modéré. La date de modération est affiché
89
+ en dessous.
90
+ search_users:
91
+ form_label: Rechercher des utilisateurs
92
+ form_placeholder: :thredded.moderation.search_users.form_label
93
+ no_results_message: Aucun utilisateur avec un nom commençant par %{query}
94
+ results_message: Utilisateurs avec le nom commençant par %{query}
95
+ user:
96
+ name: Utilisateur
97
+ nav:
98
+ all_messageboards: Toutes les catégories
99
+ edit_messageboard: Éditer la catégorie
100
+ edit_post: Éditer le commentaire
101
+ edit_private_topic: :thredded.nav.edit_topic
102
+ edit_topic: Éditer
103
+ mark_all_read: Marquer comme lu
104
+ moderation: Modération
105
+ moderation_activity: Activité
106
+ moderation_history: Historique
107
+ moderation_pending: En attente
108
+ moderation_users: Utilisateurs
109
+ private_topics: Messages Privés
110
+ settings: Paramètres de Notifications
111
+ null_user_name: Utilisateur effacé
112
+ posts:
113
+ delete: Supprimer le commentaire
114
+ delete_confirm: Êtes-vous sure de vouloir effacé ce commentaire ?
115
+ deleted_notice: Votre commentaire a été effacé.
116
+ edit: :thredded.nav.edit_post
117
+ form:
118
+ content_label: Contenu
119
+ create_btn: Soumettre la réponse
120
+ create_btn_submitting: Soumission en cours...
121
+ title_label: Écrire un commentaire
122
+ update_btn: Mettre à jour le commentaire
123
+ update_btn_submitting: :thredded.form.update_btn_submitting
124
+ pending_moderation_notice: Votre commentaire sera publié dès lors qu'il aura été validé par un modérateur.
125
+ quote_btn: Citer
126
+ preferences:
127
+ edit:
128
+ page_title: :thredded.nav.settings
129
+ form:
130
+ auto_follow_topics:
131
+ hint: Suivre automatiquement les nouveaux sujets. Changer ce paramètre affectera aussi toutes les catégories.
132
+ label: Suivre tout les nouveaux sujets
133
+ follow_topics_on_mention:
134
+ hint: 'Suivre un sujet lorsqu''on est mentionné par son nom (exemple: @marc)'
135
+ label: Suivre un sujet dans lequel vous êtes mentionné
136
+ messageboard_auto_follow_topics:
137
+ hint: >-
138
+ Suivre automatiquement tout les nouveaux sujets dans cette catégorie. Ce paramètre outrepasse le paramètre
139
+ relatif au dessus.
140
+ label: Suivre tout les nouveaux sujets
141
+ messageboard_follow_topics_on_mention:
142
+ hint: 'Quand quelqu''un mentionnera votre nom (exemple: @marc) dans cette catégorie, vous serez abonné
143
+ au sujet.'
144
+ label: :thredded.preferences.form.follow_topics_on_mention.label
145
+ messageboard_notifications_for_followed_topics:
146
+ label: :thredded.preferences.form.notifications_for_followed_topics.label
147
+ notifications_for_followed_topics:
148
+ label: Notifications pour les sujets suivis
149
+ notifications_for_private_topics:
150
+ label: Notifications pour les messages privés
151
+ submit_btn: Mettre à jour les paramètres
152
+ update_btn_submitting: :thredded.form.update_btn_submitting
153
+ global_preferences_title: Paramètres Globaux
154
+ messageboard_preferences_nav_title: Paramètre de la Catégorie
155
+ messageboard_preferences_title_html: Paramètre pour <em>%{messageboard}</em>
156
+ updated_notice: Vos paramètres ont été mise à jour.
157
+ private_posts:
158
+ form:
159
+ content_label: Message
160
+ create_btn: Envoyer le Message
161
+ create_btn_submitting: Message en cours d'envoi...
162
+ update_btn_submitting: :thredded.form.update_btn_submitting
163
+ private_topics:
164
+ create: :thredded.private_topics.form.create_btn
165
+ edit: Éditer
166
+ errors:
167
+ user_ids_length: Spécifier au moins un autre utilisateur.
168
+ form:
169
+ content_label: :thredded.private_posts.form.content_label
170
+ create_btn: :thredded.private_posts.form.create_btn
171
+ create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
172
+ title_label: :thredded.topics.form.title_label
173
+ title_placeholder_new: Écrire le sujet de cette conversation
174
+ title_placeholder_start: Commencer une nouvelle conversation
175
+ update_btn: Mettre à jour
176
+ update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
177
+ users_label: Participants
178
+ users_placeholder: Sélectionner les utilisateurs qui participeront à cette conversation
179
+ no_private_topics:
180
+ create_btn: Commencer votre première conversation
181
+ title: Vous n'avez pas de messages privés.
182
+ updated_notice: Titre mise à jour
183
+ recent_activity: Activité récente
184
+ search:
185
+ form:
186
+ btn_submit: :thredded.search.form.label
187
+ label: Recherche
188
+ placeholder: Rechercher un Sujet ou un Commentaire
189
+ time_ago: il y a %{time}
190
+ topics:
191
+ create: :thredded.topics.form.create_btn
192
+ delete_confirm: Êtes-vous sur de vouloir supprimer ce sujet ? Cette action est irréversible.
193
+ delete_topic: Supprimer le Sujet
194
+ deleted_notice: Sujet supprimé
195
+ edit: Éditer le Sujet
196
+ follow: Suivre le sujet
197
+ followed_by: 'Suivi par :'
198
+ followed_by_noone: Personne ne suit ce sujet
199
+ followed_notice: Vous suivez ce sujet
200
+ following:
201
+ auto: vous suivez ce sujet car la fonction de suivi automatique est activée.
202
+ manual: Vous suivez ce sujet.
203
+ mentioned: Vous suivez ce sujet car vous y avait été mentionné.
204
+ posted: Vous suivez ce sujet car vous y avait écris un commentaire.
205
+ form:
206
+ categories_placeholder: Catégories
207
+ content_label: :thredded.posts.form.content_label
208
+ create_btn: Créer un Nouveau Sujet
209
+ messageboard_label: Catégorie
210
+ title_label: Titre
211
+ title_placeholder: :thredded.topics.form.title_label
212
+ title_placeholder_start: Commencer un Nouveau Sujet
213
+ update_btn: Mettre à jour le Sujet
214
+ locked:
215
+ label: Verrouillé
216
+ message: Ce sujet a été verrouillé par un modérateur.
217
+ mark_as_unread: Marquer comme non lu à partir d'ici
218
+ not_following: Vous ne suivez pas ce sujet.
219
+ search:
220
+ no_results_in_messageboard_message_html: Il n'y a aucun résultat pour votre recherche <q>%{query}</q> dans
221
+ %{messageboard}
222
+ no_results_message_html: Il n'y a aucun résultat pour votre recherche <q>%{query}</q>
223
+ page_title: Résultat de la Recherche de Sujet
224
+ results_in_messageboard_message_html: Recherche pour <q>%{query}</q> dans %{messageboard}
225
+ results_message_html: Recherche pour <q>%{query}</q>
226
+ search_in_all_messageboards_btn: Chercher partout
227
+ started_by_html: Démarré %{time_ago} par %{user}
228
+ sticky:
229
+ label: Collant
230
+ unfollow: Arrêter de Suivre
231
+ unfollowed_notice: Vous ne suivez dorénavant plus ce sujet
232
+ updated_notice: Sujet mis à jour
233
+ users:
234
+ currently_online: En ce moment connecté
235
+ last_active_html: 'Actif pour la dernière fois : %{time_ago}'
236
+ posted_in_topic_html: Commenté dans %{topic_link}
237
+ posts_count:
238
+ one: Commenté une seule fois
239
+ other: Commenté %{count} fois
240
+ recent_activity: :thredded.recent_activity
241
+ started_topic_html: Démarré %{topic_link}
242
+ started_topics_count:
243
+ one: Démarré un sujet
244
+ other: Démarré %{count} sujets
245
+ user_posted_in_topic_html: "%{user_link} a commenté dans %{topic_link}"
246
+ user_since_html: Utilisateur depuis %{time_ago}
247
+ user_started_topic_html: "%{user_link} démarré %{topic_link}"
@@ -6,6 +6,40 @@ pl:
6
6
  content_blocked_notice_with_record_html: Zablokowany przez %{moderator} %{time_ago}
7
7
  email_notifier:
8
8
  by_email: przez e-mail
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Ten e-mail został wysłany do Ciebie, ponieważ %{user} włącza Cię do prywatnego tematu "<a href="%{post_url}">%{topic_title}</a>".
14
+ post_lead_html: 'Nowa wiadomość z %{user} w <a href="%{post_url}">"%{topic_title}"</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Nowa wiadomość z %{user} w "%{topic_title}"
17
+ text:
18
+ email_sent_reason: |-
19
+ Ten e-mail został wysłany do Ciebie, ponieważ %{user} Cię włączyło
20
+ Prywatny temat "%{topic_title}".
21
+
22
+ Przejdź tutaj, aby wyświetlić rozmowę:
23
+ %{post_url}
24
+ post_lead: 'Nowa wiadomość z %{user} w "%{topic_title}":'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: 'Ten e-mail został wysłany do Ciebie, ponieważ śledzisz ten temat: "<a href="%{post_url}">%{topic_title}</a>".'
29
+ post_lead_html: '%{user} <a href="%{post_url}">powiedział w "%{topic_title}"</a>:'
30
+ unsubscribe_instructions_html: Aby wypisać się z tych e-maili, zaktualizuj swoje <a href="%{preferences_url}">preferencje</a>.
31
+ subject: Nowy post w "%{topic_title}"
32
+ text:
33
+ email_sent_reason: |-
34
+ Ten e-mail został wysłany do Ciebie, ponieważ śledzisz
35
+ Temat "%{topic_title}".
36
+
37
+ Przejdź tutaj, aby wyświetlić rozmowę:
38
+ %{post_url}
39
+ post_lead: '%{user} powiedział w "%{topic_title}":'
40
+ unsubscribe_instructions: |-
41
+ Aby wypisać się z tych e-maili, zaktualizuj swoje preferencje:
42
+ %{unsubscribe_url}
9
43
  errors:
10
44
  login_required: Proszę się najpierw zalogować.
11
45
  not_authorized: Nie masz uprawnień aby zobaczyć tę stronę.
@@ -21,6 +55,8 @@ pl:
21
55
  form:
22
56
  create_btn_submitting: :thredded.form.create_btn_submitting
23
57
  description_label: Opis
58
+ locked_label: Zablokowany
59
+ locked_notice: Ta wiadomość jest zablokowana. Tylko moderatorzy mogą tworzyć nowe tematy tutaj.
24
60
  messageboard_group_id_label: messageboard grupa
25
61
  no_group: Brak grupy
26
62
  title_label: Nazwa
@@ -39,6 +75,8 @@ pl:
39
75
  moderation:
40
76
  approve_btn: Zaakceptuj
41
77
  block_btn: Zablokuj
78
+ moderation_state:
79
+ name: Stan moderacji
42
80
  pending:
43
81
  empty:
44
82
  content: Wszystkie posty zostały zweryfikowane.
@@ -54,6 +92,8 @@ pl:
54
92
  form_placeholder: :thredded.moderation.search_users.form_label
55
93
  no_results_message: 'Brak użytkowników zaczynających się od: %{query}'
56
94
  results_message: 'Użytkownicy zaczynający się od: %{query}'
95
+ user:
96
+ name: Użytkownik
57
97
  nav:
58
98
  all_messageboards: Wszystkie tablice
59
99
  edit_messageboard: Edytuj tablicę
@@ -120,6 +160,7 @@ pl:
120
160
  create_btn_submitting: Wysyłanie
121
161
  update_btn_submitting: :thredded.form.update_btn_submitting
122
162
  private_topics:
163
+ create: :thredded.private_topics.form.create_btn
123
164
  edit: Edytuj
124
165
  errors:
125
166
  user_ids_length: Proszę dodać przynajmniej jednego innego użytkownika.
@@ -146,6 +187,7 @@ pl:
146
187
  placeholder: Wyszukaj tematy i posty.
147
188
  time_ago: "%{time} temu"
148
189
  topics:
190
+ create: :thredded.topics.form.create_btn
149
191
  delete_confirm: Jesteś pewien, że chcesz usunąć ten temat? Tej operacji nie można cofnąć.
150
192
  delete_topic: Usuń temat
151
193
  deleted_notice: Temat usunięty.
@@ -170,6 +212,7 @@ pl:
170
212
  update_btn: Zaktualizuj temat
171
213
  locked:
172
214
  label: Zablokowany
215
+ message: Ten temat został zablokowany przez moderatora.
173
216
  mark_as_unread: Oznacz jako nieprzeczytane stąd
174
217
  not_following: Nie obserwujesz tego tematu.
175
218
  search:
@@ -6,6 +6,41 @@ pt-BR:
6
6
  content_blocked_notice_with_record_html: Bloqueados por %{moderator} %{time_ago}
7
7
  email_notifier:
8
8
  by_email: de e-mail
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Este e-mail foi enviado para você porque %{user} incluiu você em um tópico privado, "<a href="%{post_url}">%{topic_title}</a>".
14
+ post_lead_html: 'Uma nova mensagem de %{user} em <a href="%{post_url}">"%{topic_title}"</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Uma nova mensagem de %{user} em "%{topic_title}"
17
+ text:
18
+ email_sent_reason: |-
19
+ Este e-mail foi enviado para você porque %{user} incluiu você em
20
+ o tópico privado "%{topic_title}".
21
+
22
+ Vá aqui para ver a conversa:
23
+ %{post_url}
24
+ post_lead: 'Uma nova mensagem de %{user} em "%{topic_title}":'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: >-
29
+ Este e-mail foi enviado para você porque você está seguindo este tópico: "<a href="%{post_url}">%{topic_title}</a>".
30
+ post_lead_html: '%{user} <a href="%{post_url}">disse em "%{topic_title}"</a>:'
31
+ unsubscribe_instructions_html: Para cancelar a inscrição desses e-mails, atualize suas <a href="%{preferences_url}">preferências</a>.
32
+ subject: Uma nova postagem em "%{topic_title}"
33
+ text:
34
+ email_sent_reason: |-
35
+ Este e-mail foi enviado para você porque você está seguindo
36
+ o tópico "%{topic_title}".
37
+
38
+ Vá aqui para ver a conversa:
39
+ %{post_url}
40
+ post_lead: '%{user} disse em "%{topic_title}":'
41
+ unsubscribe_instructions: |-
42
+ Para cancelar a inscrição desses e-mails, atualize suas preferências aqui:
43
+ %{unsubscribe_url}
9
44
  errors:
10
45
  login_required: Por favor, autentique-se primeiro.
11
46
  not_authorized: Você não está autorizado a acessar esta página.
@@ -21,6 +56,9 @@ pt-BR:
21
56
  form:
22
57
  create_btn_submitting: :thredded.form.create_btn_submitting
23
58
  description_label: Descrição
59
+ locked_label: Trancado
60
+ locked_notice: Este quadro de mensagens está bloqueado. Somente os moderadores podem criar novos tópicos
61
+ aqui.
24
62
  messageboard_group_id_label: grupo messageboard
25
63
  no_group: Sem Grupo
26
64
  title_label: Nome
@@ -39,6 +77,8 @@ pt-BR:
39
77
  moderation:
40
78
  approve_btn: Aprovar
41
79
  block_btn: Quadra
80
+ moderation_state:
81
+ name: Estado de moderação
42
82
  pending:
43
83
  empty:
44
84
  content: Todas as mensagens têm sido moderadas.
@@ -54,6 +94,8 @@ pt-BR:
54
94
  form_placeholder: :thredded.moderation.search_users.form_label
55
95
  no_results_message: Nenhum usuário com o nome começando com %{query}
56
96
  results_message: Os usuários com nomes começando com %{query}
97
+ user:
98
+ name: Usuário
57
99
  nav:
58
100
  all_messageboards: Todos os Fóruns de Mensagens
59
101
  edit_messageboard: Editar Fórum de Mensagem
@@ -123,6 +165,7 @@ pt-BR:
123
165
  create_btn_submitting: Enviando...
124
166
  update_btn_submitting: :thredded.form.update_btn_submitting
125
167
  private_topics:
168
+ create: :thredded.private_topics.form.create_btn
126
169
  edit: Editar
127
170
  errors:
128
171
  user_ids_length: Por favor, especifique pelo menos mais um usuário.
@@ -149,6 +192,7 @@ pt-BR:
149
192
  placeholder: Buscar Tópicos e Posts
150
193
  time_ago: há %{time}
151
194
  topics:
195
+ create: :thredded.topics.form.create_btn
152
196
  delete_confirm: Você tem certeza que deseja remover este tópico? Isto não pode ser desfeito.
153
197
  delete_topic: Remover Tópico
154
198
  deleted_notice: Tópico removido
@@ -173,6 +217,7 @@ pt-BR:
173
217
  update_btn: Atualizar Tópico
174
218
  locked:
175
219
  label: Trancado
220
+ message: Este tópico foi bloqueado por um moderador.
176
221
  mark_as_unread: Marca não lida a partir daqui
177
222
  not_following: Você não está seguindo este tema.
178
223
  search:
@@ -6,6 +6,39 @@ ru:
6
6
  content_blocked_notice_with_record_html: Блокировано %{moderator} %{time_ago}
7
7
  email_notifier:
8
8
  by_email: email
9
+ emails:
10
+ message_notification:
11
+ html:
12
+ email_sent_reason_html: >-
13
+ Это письмо было отправлено вам, потому что %{user} добавил вас в приватную тему «<a href="%{post_url}">%{topic_title}</a>».
14
+ post_lead_html: 'Новое сообщение от %{user} в <a href="%{post_url}">«%{topic_title}»</a>:'
15
+ unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
16
+ subject: Новое сообщение от %{user} в «%{topic_title}»
17
+ text:
18
+ email_sent_reason: |-
19
+ Это письмо было отправлено вам, потому что %{user} добавил вас в
20
+ приватную тему «%{topic_title}».
21
+
22
+ Перейдите сюда, чтобы просмотреть разговор:
23
+ %{post_url}
24
+ post_lead: 'Новое сообщение от %{user} в «%{topic_title}»:'
25
+ unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
26
+ post_notification:
27
+ html:
28
+ email_sent_reason_html: 'Это письмо было отправлено вам, потому что вы подписаны на тему: «<a href="%{post_url}">%{topic_title}</a>».'
29
+ post_lead_html: '%{user} в <a href="%{post_url}">«%{topic_title}»</a>:'
30
+ unsubscribe_instructions_html: Чтобы отписаться от этих писем, обновите свои <a href="%{preferences_url}">настройки</a>.
31
+ subject: Новое сообщение в «%{topic_title}»
32
+ text:
33
+ email_sent_reason: |-
34
+ Это письмо было отправлено вам, потому что вы подписаны на тему «%{topic_title}».
35
+
36
+ Перейдите сюда, чтобы просмотреть разговор:
37
+ %{post_url}
38
+ post_lead: "%{user} указан в «%{topic_title}»:"
39
+ unsubscribe_instructions: |-
40
+ Чтобы отписаться от этих писем, обновите свои настройки здесь:
41
+ %{unsubscribe_url}
9
42
  errors:
10
43
  login_required: Необходимо зайти на форум.
11
44
  not_authorized: Вы не авторизованы.
@@ -21,6 +54,8 @@ ru:
21
54
  form:
22
55
  create_btn_submitting: :thredded.form.create_btn_submitting
23
56
  description_label: Описание
57
+ locked_label: Заблокировать
58
+ locked_notice: Этот форум заблокирован. Только модераторы могут создавать новые темы здесь.
24
59
  messageboard_group_id_label: Выбрать группу
25
60
  no_group: Не группировать
26
61
  title_label: Название форума
@@ -39,6 +74,8 @@ ru:
39
74
  moderation:
40
75
  approve_btn: Одобрить
41
76
  block_btn: Заблокировать
77
+ moderation_state:
78
+ name: Состояние модерации
42
79
  pending:
43
80
  empty:
44
81
  content: Все посты промодерированы.
@@ -53,6 +90,8 @@ ru:
53
90
  form_placeholder: :thredded.moderation.search_users.form_label
54
91
  no_results_message: Не найдено пользователей %{query}
55
92
  results_message: Пользователи, начинающиеся с ... %{query}
93
+ user:
94
+ name: Пользователь
56
95
  nav:
57
96
  all_messageboards: Все форумы
58
97
  edit_messageboard: Редактировать форум
@@ -114,11 +153,12 @@ ru:
114
153
  updated_notice: Ваши настройки были обновлены.
115
154
  private_posts:
116
155
  form:
117
- content_label: Сообшение
156
+ content_label: Сообщение
118
157
  create_btn: Послать сообщение
119
158
  create_btn_submitting: Посылаю...
120
159
  update_btn_submitting: :thredded.form.update_btn_submitting
121
160
  private_topics:
161
+ create: :thredded.private_topics.form.create_btn
122
162
  edit: Редактировать
123
163
  errors:
124
164
  user_ids_length: Выберите хотя-бы одного пользователя.
@@ -145,6 +185,7 @@ ru:
145
185
  placeholder: Поиск тем или записей
146
186
  time_ago: "%{time} назад"
147
187
  topics:
188
+ create: :thredded.topics.form.create_btn
148
189
  delete_confirm: Вы уверены что хотите удалить эту тему? Это безвозвратно.
149
190
  delete_topic: Удалить тему
150
191
  deleted_notice: Тема "удалена"
@@ -169,6 +210,7 @@ ru:
169
210
  update_btn: Обновление темы
170
211
  locked:
171
212
  label: Заблокировать тему
213
+ message: Эта тема закрыта модератором.
172
214
  mark_as_unread: Пометить как непрочитанное
173
215
  not_following: не отслеживаю
174
216
  search: