thredded 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -10
  3. data/app/assets/images/favicons/README.md +3 -0
  4. data/app/assets/images/favicons/amazon.png +0 -0
  5. data/app/assets/images/favicons/github.png +0 -0
  6. data/app/assets/images/favicons/google_branding/logo_calendar_128px.png +0 -0
  7. data/app/assets/images/favicons/google_branding/logo_docs_48px.png +0 -0
  8. data/app/assets/images/favicons/google_branding/logo_drive_48px.png +0 -0
  9. data/app/assets/images/favicons/google_branding/logo_forms_48px.png +0 -0
  10. data/app/assets/images/favicons/google_branding/logo_sheets_48px.png +0 -0
  11. data/app/assets/images/favicons/google_branding/logo_slides_48px.png +0 -0
  12. data/app/assets/images/favicons/stackexchange.png +0 -0
  13. data/app/assets/images/favicons/twitter.png +0 -0
  14. data/app/assets/images/favicons/wikipedia.png +0 -0
  15. data/app/assets/javascripts/thredded/components/user_preferences_form.es6 +16 -1
  16. data/app/assets/stylesheets/thredded/_email.scss +52 -0
  17. data/app/assets/stylesheets/thredded/_thredded.scss +1 -0
  18. data/app/assets/stylesheets/thredded/base/_grid.scss +14 -1
  19. data/app/assets/stylesheets/thredded/base/_typography.scss +4 -0
  20. data/app/assets/stylesheets/thredded/base/_variables.scss +24 -1
  21. data/app/assets/stylesheets/thredded/components/_main-section.scss +6 -0
  22. data/app/assets/stylesheets/thredded/components/_messageboard.scss +4 -1
  23. data/app/assets/stylesheets/thredded/components/_onebox.scss +284 -0
  24. data/app/assets/stylesheets/thredded/components/_post.scss +10 -6
  25. data/app/assets/stylesheets/thredded/components/_topic-header.scss +1 -1
  26. data/app/assets/stylesheets/thredded/components/_topics.scss +5 -5
  27. data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +0 -6
  28. data/app/assets/stylesheets/thredded/layout/_moderation.scss +1 -1
  29. data/app/commands/thredded/autofollow_users.rb +56 -0
  30. data/app/controllers/thredded/preferences_controller.rb +2 -0
  31. data/app/forms/thredded/user_preferences_form.rb +18 -0
  32. data/app/helpers/thredded/application_helper.rb +3 -3
  33. data/app/jobs/thredded/auto_follow_and_notify_job.rb +1 -1
  34. data/app/mailer_previews/thredded/base_mailer_preview.rb +19 -8
  35. data/app/mailers/thredded/base_mailer.rb +1 -1
  36. data/app/models/concerns/thredded/post_common.rb +2 -4
  37. data/app/models/thredded/category.rb +4 -0
  38. data/app/models/thredded/messageboard.rb +12 -6
  39. data/app/models/thredded/private_topic.rb +4 -0
  40. data/app/models/thredded/topic.rb +9 -5
  41. data/app/models/thredded/user_messageboard_preference.rb +24 -0
  42. data/app/models/thredded/user_preference.rb +2 -0
  43. data/app/models/thredded/user_topic_follow.rb +1 -1
  44. data/app/notifiers/thredded/email_notifier.rb +1 -15
  45. data/app/views/thredded/messageboard_groups/new.html.erb +15 -13
  46. data/app/views/thredded/messageboards/_form.html.erb +22 -22
  47. data/app/views/thredded/messageboards/edit.html.erb +3 -1
  48. data/app/views/thredded/messageboards/new.html.erb +3 -1
  49. data/app/views/thredded/moderation/_post.html.erb +1 -1
  50. data/app/views/thredded/moderation/_user_post.html.erb +1 -1
  51. data/app/views/thredded/moderation/activity.html.erb +3 -3
  52. data/app/views/thredded/moderation/history.html.erb +2 -2
  53. data/app/views/thredded/moderation/pending.html.erb +2 -2
  54. data/app/views/thredded/moderation/user.html.erb +43 -41
  55. data/app/views/thredded/moderation/users.html.erb +32 -30
  56. data/app/views/thredded/post_mailer/post_notification.html.erb +21 -12
  57. data/app/views/thredded/posts/_content.html.erb +1 -1
  58. data/app/views/thredded/posts_common/_content.html.erb +1 -3
  59. data/app/views/thredded/preferences/_form.html.erb +25 -8
  60. data/app/views/thredded/private_posts/_content.html.erb +1 -1
  61. data/app/views/thredded/private_topic_mailer/message_notification.html.erb +17 -14
  62. data/app/views/thredded/private_topics/edit.html.erb +21 -19
  63. data/app/views/thredded/topics/edit.html.erb +32 -30
  64. data/app/views/thredded/topics/new.html.erb +8 -6
  65. data/app/views/thredded/topics/show.html.erb +1 -1
  66. data/app/views/thredded/users/_post.html.erb +1 -1
  67. data/bin/rubocop +17 -0
  68. data/config/locales/en.yml +13 -1
  69. data/config/locales/es.yml +14 -0
  70. data/config/locales/pl.yml +13 -0
  71. data/config/locales/pt-BR.yml +12 -0
  72. data/config/locales/ru.yml +197 -0
  73. data/db/migrate/20160329231848_create_thredded.rb +2 -8
  74. data/db/upgrade_migrations/20161113161801_upgrade_v0_8_to_v0_9.rb +6 -5
  75. data/db/upgrade_migrations/20170312131417_upgrade_thredded_v0_10_to_v0_11.rb +20 -0
  76. data/lib/generators/thredded/install/templates/initializer.rb +12 -0
  77. data/lib/thredded.rb +12 -3
  78. data/lib/thredded/content_formatter.rb +16 -25
  79. data/lib/thredded/email_transformer.rb +21 -0
  80. data/lib/thredded/email_transformer/base.rb +47 -0
  81. data/lib/thredded/email_transformer/onebox.rb +20 -0
  82. data/lib/thredded/formatting_demo_content.rb +29 -0
  83. data/lib/thredded/html_pipeline/kramdown_filter.rb +5 -1
  84. data/lib/thredded/html_pipeline/onebox_filter.rb +136 -0
  85. data/lib/thredded/version.rb +1 -1
  86. metadata +62 -22
  87. data/app/commands/thredded/autofollow_mentioned_users.rb +0 -31
  88. data/app/commands/thredded/members_marked_notified.rb +0 -19
  89. data/app/models/thredded/post_notification.rb +0 -18
@@ -1 +1 @@
1
- <%= render 'thredded/posts_common/content', post: post %>
1
+ <%= render 'thredded/posts_common/content', post: post, options: local_assigns[:options] || {} %>
@@ -1,5 +1,3 @@
1
1
  <div class="thredded--post--content">
2
- <% cache [post, 'content'], expires_in: 1.week do %>
3
- <%= post.filtered_content(self) %>
4
- <% end %>
2
+ <%= post.filtered_content(self, local_assigns[:options] || {}) %>
5
3
  </div>
@@ -1,14 +1,22 @@
1
- <%= form_for(
2
- preferences,
3
- method: :patch,
4
- url: (preferences.messageboard ? messageboard_preferences_path(preferences.messageboard) : global_preferences_path),
5
- html: {
6
- class: 'thredded--form thredded--notification-preferences-form',
7
- 'data-thredded-user-preferences-form' => true
8
- }) do |f| %>
1
+ <%# @type preferences [Thredded::UserPreferencesForm] %>
2
+ <%= form_for(preferences, method: :patch, url: preferences.update_path, html: {
3
+ class: 'thredded--form thredded--notification-preferences-form',
4
+ 'data-thredded-user-preferences-form' => true
5
+ }) do |f| %>
9
6
 
10
7
  <h3><%= t 'thredded.preferences.form.global_preferences_label' %></h3>
11
8
  <ul class="thredded--form-list">
9
+ <li>
10
+ <%= f.label :auto_follow_topics do %>
11
+ <%= f.check_box :auto_follow_topics,
12
+ 'data-thredded-update-checkbox-on-change' =>
13
+ 'user_preferences_form[messageboard_auto_follow_topics]' %>
14
+ <%= t 'thredded.preferences.form.auto_follow_topics.label' %>
15
+ <p class="thredded--form-list--hint">
16
+ <%= t 'thredded.preferences.form.auto_follow_topics.hint' %>
17
+ </p>
18
+ <% end %>
19
+ </li>
12
20
  <li>
13
21
  <%= f.label :follow_topics_on_mention do %>
14
22
  <%= f.check_box :follow_topics_on_mention, 'data-thredded-bound-messageboard-pref' => 'user_preferences_form[messageboard_follow_topics_on_mention]' %>
@@ -48,6 +56,15 @@
48
56
  <%= t 'thredded.preferences.form.messageboard_preferences_label_html', messageboard: messageboard.name %>
49
57
  </h3>
50
58
  <ul class="thredded--form-list" data-thredded-user-preferences-form-messageboard-fields>
59
+ <li>
60
+ <%= f.label :messageboard_auto_follow_topics do %>
61
+ <%= f.check_box :messageboard_auto_follow_topics %>
62
+ <%= t 'thredded.preferences.form.messageboard_auto_follow_topics.label' %>
63
+ <p class="thredded--form-list--hint">
64
+ <%= t 'thredded.preferences.form.messageboard_auto_follow_topics.hint' %>
65
+ </p>
66
+ <% end %>
67
+ </li>
51
68
  <li>
52
69
  <%= f.label :messageboard_follow_topics_on_mention do %>
53
70
  <%= f.check_box :messageboard_follow_topics_on_mention %>
@@ -1 +1 @@
1
- <%= render 'thredded/posts_common/content', post: post %>
1
+ <%= render 'thredded/posts_common/content', post: post, options: local_assigns[:options] || {} %>
@@ -1,17 +1,20 @@
1
- <figure>
2
- <figcaption>
1
+ <div class="thredded--email">
2
+ <figure class="thredded--email-post">
3
+ <figcaption class="thredded--email-post--author">
3
4
  <%= @post.user.thredded_display_name %> <%= link_to 'said', private_post_permalink_url(@post) %>:
4
5
  </figcaption>
5
- <blockquote>
6
- <%= @post.filtered_content(self) %>
7
- </blockquote>
8
- </figure>
9
- <hr />
10
- <p>
11
- This email was sent to you because <%= @topic.user.thredded_display_name %> included you in a
12
- private topic, "<%= link_to @topic.title, private_topic_url(@topic) %>".
13
- </p>
6
+ <% cache [@post, 'content-onebox-placeholders'] do %>
7
+ <%= render partial: 'thredded/private_posts/content',
8
+ locals: { post: @post, options: {onebox_placeholders: true} } %>
9
+ <% end %>
10
+ </figure>
11
+ <hr/>
12
+ <p>
13
+ This email was sent to you because <%= @topic.user.thredded_display_name %> included you in a
14
+ private topic, "<%= link_to @topic.title, private_topic_url(@topic) %>".
15
+ </p>
14
16
 
15
- <p>
16
- To unsubscribe from these emails, update your <%= link_to 'preferences', edit_preferences_url %>.
17
- </p>
17
+ <p>
18
+ To unsubscribe from these emails, update your <%= link_to 'preferences', edit_preferences_url %>.
19
+ </p>
20
+ </div>
@@ -11,23 +11,25 @@
11
11
 
12
12
 
13
13
  <%= thredded_page do %>
14
- <%= form_for @private_topic,
15
- url: private_topic_path(@private_topic),
16
- html: { class: 'thredded--form', 'data-thredded-topic-form' => true } do |form| %>
17
- <ul class="thredded--form-list on-top">
18
- <li class="title">
19
- <%= form.label :title, t('thredded.private_topics.form.title_label') %>
20
- <%= form.text_field :title,
21
- placeholder: t('thredded.private_topics.form.title_placeholder_new'),
22
- autofocus: true,
23
- required: true %>
24
- </li>
25
- <li>
26
- <button type="submit" class="thredded--form--submit"
27
- data-disable-with="<%= t 'thredded.private_topics.form.update_btn_submitting' %>">
28
- <%= t('thredded.private_topics.form.update_btn') %>
29
- </button>
30
- </li>
31
- </ul>
32
- <% end %>
14
+ <section class="thredded--main-section">
15
+ <%= form_for @private_topic,
16
+ url: private_topic_path(@private_topic),
17
+ html: { class: 'thredded--form', 'data-thredded-topic-form' => true } do |form| %>
18
+ <ul class="thredded--form-list on-top">
19
+ <li class="title">
20
+ <%= form.label :title, t('thredded.private_topics.form.title_label') %>
21
+ <%= form.text_field :title,
22
+ placeholder: t('thredded.private_topics.form.title_placeholder_new'),
23
+ autofocus: true,
24
+ required: true %>
25
+ </li>
26
+ <li>
27
+ <button type="submit" class="thredded--form--submit"
28
+ data-disable-with="<%= t 'thredded.private_topics.form.update_btn_submitting' %>">
29
+ <%= t('thredded.private_topics.form.update_btn') %>
30
+ </button>
31
+ </li>
32
+ </ul>
33
+ <% end %>
34
+ </section>
33
35
  <% end %>
@@ -10,39 +10,41 @@
10
10
  <% end %>
11
11
 
12
12
  <%= thredded_page do %>
13
- <%= form_for @edit_topic,
14
- url: @edit_topic.path,
15
- html: { class: 'thredded--form thredded--is-expanded', 'data-thredded-topic-form' => true } do |form| %>
16
- <ul class="thredded--form-list on-top">
13
+ <section class="thredded--main-section">
14
+ <%= form_for @edit_topic,
15
+ url: @edit_topic.path,
16
+ html: { class: 'thredded--form thredded--is-expanded', 'data-thredded-topic-form' => true } do |form| %>
17
+ <ul class="thredded--form-list on-top">
17
18
 
18
- <li class="title">
19
- <%= form.label :title, t('thredded.topics.form.title_label') %>
20
- <%= form.text_field :title,
21
- placeholder: t('thredded.topics.form.title_placeholder'),
22
- autofocus: true,
23
- required: true %>
24
- </li>
25
-
26
- <% if form.object.category_options.any? %>
27
- <li class="category">
28
- <%= form.select :category_ids, form.object.category_options, {},
29
- multiple: true,
30
- 'data-placeholder' => t('thredded.topics.form.categories_placeholder') %>
19
+ <li class="title">
20
+ <%= form.label :title, t('thredded.topics.form.title_label') %>
21
+ <%= form.text_field :title,
22
+ placeholder: t('thredded.topics.form.title_placeholder'),
23
+ autofocus: true,
24
+ required: true %>
31
25
  </li>
32
- <% end %>
33
26
 
34
- <li>
35
- <%= form.label :messageboard_id, t('thredded.topics.form.messageboard_label') %>
36
- <%= form.select :messageboard_id, form.object.messageboard_options %>
37
- </li>
27
+ <% if form.object.category_options.any? %>
28
+ <li class="category">
29
+ <%= form.select :category_ids, form.object.category_options, {},
30
+ multiple: true,
31
+ 'data-placeholder' => t('thredded.topics.form.categories_placeholder') %>
32
+ </li>
33
+ <% end %>
38
34
 
39
- <%= render 'thredded/topics/topic_form_admin_options', form: form %>
35
+ <li>
36
+ <%= form.label :messageboard_id, t('thredded.topics.form.messageboard_label') %>
37
+ <%= form.select :messageboard_id, form.object.messageboard_options %>
38
+ </li>
40
39
 
41
- <li>
42
- <button type="submit" class="thredded--form--submit">
43
- <%= t('thredded.topics.form.update_btn') %>
44
- </button>
45
- </li>
46
- <% end %>
47
- </ul>
40
+ <%= render 'thredded/topics/topic_form_admin_options', form: form %>
41
+
42
+ <li>
43
+ <button type="submit" class="thredded--form--submit">
44
+ <%= t('thredded.topics.form.update_btn') %>
45
+ </button>
46
+ </li>
47
+ <% end %>
48
+ </ul>
49
+ </section>
48
50
  <% end %>
@@ -3,10 +3,12 @@
3
3
  <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %>
4
4
 
5
5
  <%= thredded_page do %>
6
- <%= render 'thredded/topics/form',
7
- messageboard: messageboard,
8
- topic: @new_topic,
9
- css_class: 'thredded--is-expanded',
10
- preview_url: preview_new_messageboard_topic_path(messageboard),
11
- placeholder: t('thredded.topics.form.title_placeholder_start') %>
6
+ <section class="thredded--main-section">
7
+ <%= render 'thredded/topics/form',
8
+ messageboard: messageboard,
9
+ topic: @new_topic,
10
+ css_class: 'thredded--is-expanded',
11
+ preview_url: preview_new_messageboard_topic_path(messageboard),
12
+ placeholder: t('thredded.topics.form.title_placeholder_start') %>
13
+ </section>
12
14
  <% end %>
@@ -19,7 +19,7 @@
19
19
 
20
20
  <% if policy(@new_post).create? %>
21
21
  <div class="thredded--post-form--wrapper">
22
- <h3 class="thredded--post-form--title">Add a post</h3>
22
+ <h3 class="thredded--post-form--title"><%= t('thredded.posts.form.title_label') %></h3>
23
23
  <%= render 'thredded/posts/form',
24
24
  topic: topic,
25
25
  post: @new_post,
@@ -1,6 +1,6 @@
1
1
  <% post, content = post_and_content if local_assigns.key?(:post_and_content) %>
2
2
  <%= content_tag :article, id: dom_id(post), class: 'thredded--post' do %>
3
+ <%= render 'thredded/posts_common/actions', post: post %>
3
4
  <%= render 'thredded/posts_common/header_with_topic', post: post %>
4
5
  <%= content || render('thredded/posts/content', post: post) %>
5
- <%= render 'thredded/posts_common/actions', post: post %>
6
6
  <% end %>
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+ #
4
+ # This file was generated by Bundler.
5
+ #
6
+ # The application 'rubocop' is installed as part of a gem, and
7
+ # this file is here to facilitate running it.
8
+ #
9
+
10
+ require 'pathname'
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
12
+ Pathname.new(__FILE__).realpath)
13
+
14
+ require 'rubygems'
15
+ require 'bundler/setup'
16
+
17
+ load Gem.bin_path('rubocop', 'rubocop')
@@ -13,14 +13,17 @@ en:
13
13
  private_topic_not_found: This private topic does not exist.
14
14
  form:
15
15
  create_btn_submitting: Creating...
16
+ preview: Preview
16
17
  update: Update
17
18
  update_btn_submitting: Updating...
18
- preview: Preview
19
19
  messageboard:
20
20
  create: Create a New Messageboard
21
21
  form:
22
22
  create_btn_submitting: :thredded.form.create_btn_submitting
23
+ description_label: Description
24
+ messageboard_group_id_label: Messageboard group
23
25
  no_group: No Group
26
+ title_label: Name
24
27
  update_btn_submitting: :thredded.form.update_btn_submitting
25
28
  index:
26
29
  page_title: Messageboards
@@ -75,6 +78,7 @@ en:
75
78
  content_label: Content
76
79
  create_btn: Submit Reply
77
80
  create_btn_submitting: Posting...
81
+ title_label: Add a post
78
82
  update_btn: Update Post
79
83
  update_btn_submitting: :thredded.form.update_btn_submitting
80
84
  pending_moderation_notice: Your post will be published when it has been reviewed by a moderator.
@@ -82,10 +86,17 @@ en:
82
86
  edit:
83
87
  page_title: :thredded.nav.settings
84
88
  form:
89
+ auto_follow_topics:
90
+ hint: Automatically follow all new topics. Changing this setting will change it for all messageboards.
91
+ label: Follow all new topics
85
92
  follow_topics_on_mention:
86
93
  hint: 'When someone mentions you by your username (eg: @sam) you will follow the topic.'
87
94
  label: Follow topics you are mentioned in
88
95
  global_preferences_label: Global Settings
96
+ messageboard_auto_follow_topics:
97
+ hint: Automatically follow all new topics in this messageboard. This overrides the respective setting
98
+ above.
99
+ label: Follow all new topics
89
100
  messageboard_follow_topics_on_mention:
90
101
  hint: 'When someone mentions you by your username (eg: @sam) in this messageboard you will follow the
91
102
  topic.'
@@ -143,6 +154,7 @@ en:
143
154
  followed_by_noone: No one is following this topic
144
155
  followed_notice: You are now following this topic
145
156
  following:
157
+ auto: You are following this topic because auto-follow is enabled.
146
158
  manual: You are following this topic.
147
159
  mentioned: You are following this topic because you were mentioned on it.
148
160
  posted: You are following this topic because you posted to it.
@@ -20,7 +20,10 @@ es:
20
20
  create: Crear un nuevo foro
21
21
  form:
22
22
  create_btn_submitting: :thredded.form.create_btn_submitting
23
+ description_label: Descripción
24
+ messageboard_group_id_label: grupo messageboard
23
25
  no_group: Sin grupo
26
+ title_label: Nombre
24
27
  update_btn_submitting: :thredded.form.update_btn_submitting
25
28
  index:
26
29
  page_title: Foros
@@ -75,6 +78,7 @@ es:
75
78
  content_label: Contenido
76
79
  create_btn: Responder
77
80
  create_btn_submitting: Enviando...
81
+ title_label: Añadir una publicación
78
82
  update_btn: Actualizar Mensaje
79
83
  update_btn_submitting: :thredded.form.update_btn_submitting
80
84
  pending_moderation_notice: Tu post será publicado cuando haya sido revisado por un moderador.
@@ -82,10 +86,19 @@ es:
82
86
  edit:
83
87
  page_title: :thredded.nav.settings
84
88
  form:
89
+ auto_follow_topics:
90
+ hint: Sigue automáticamente todos los temas nuevos. El cambio de este ajuste se cambiará en todos los
91
+ messageboards.
92
+ label: Siga todos los temas nuevos
85
93
  follow_topics_on_mention:
86
94
  hint: 'Cuando alguien te menciona usando tu nombre de usuario (por ejemplo: @sam), seguirás el tema.'
87
95
  label: Sigue temas en los que seas mencionado
88
96
  global_preferences_label: Ajustes Generales
97
+ messageboard_auto_follow_topics:
98
+ hint: >-
99
+ Sigue automáticamente todos los nuevos temas en este tablero de mensajes. Esto anula la configuración
100
+ respectiva anteriormente.
101
+ label: Siga todos los temas nuevos
89
102
  messageboard_follow_topics_on_mention:
90
103
  hint: 'Cuando alguien te menciona usando tu nombre de usuario (por ejemplo: @sam) en este foro, seguirás
91
104
  el tema.'
@@ -143,6 +156,7 @@ es:
143
156
  followed_by_noone: Nadie está siguiendo este tema
144
157
  followed_notice: Estás siguiendo este tema
145
158
  following:
159
+ auto: Estás siguiendo este tema porque seguimiento automático está activado.
146
160
  manual: Estás siguiendo este tema.
147
161
  mentioned: Estás siguiendo este tema porque alguien te ha mencionado en él.
148
162
  posted: Estás siguiendo este tema porque has escrito en él.
@@ -20,7 +20,10 @@ pl:
20
20
  create: Stwórz nową tablicę
21
21
  form:
22
22
  create_btn_submitting: :thredded.form.create_btn_submitting
23
+ description_label: Opis
24
+ messageboard_group_id_label: messageboard grupa
23
25
  no_group: Brak grupy
26
+ title_label: Nazwa
24
27
  update_btn_submitting: :thredded.form.update_btn_submitting
25
28
  index:
26
29
  page_title: Tablice
@@ -75,6 +78,7 @@ pl:
75
78
  content_label: Treść
76
79
  create_btn: Wyślij odpowiedź
77
80
  create_btn_submitting: Wysyłanie...
81
+ title_label: Dodaj posta
78
82
  update_btn: Zaktualizuj post
79
83
  update_btn_submitting: :thredded.form.update_btn_submitting
80
84
  pending_moderation_notice: Twój post zostanie zamieszczony po zweryfikowaniu go przez moderatora.
@@ -82,10 +86,18 @@ pl:
82
86
  edit:
83
87
  page_title: :thredded.nav.settings
84
88
  form:
89
+ auto_follow_topics:
90
+ hint: >-
91
+ Automatycznie śledzić wszystkie nowe tematy. Zmiana tego ustawienia powoduje zmianę dla wszystkich messageboards.
92
+ label: Śledź wszystkie nowe tematy
85
93
  follow_topics_on_mention:
86
94
  hint: 'Gdy ktoś w temacie wspomni o Tobie (np.: @sam) zaczniesz obserwować ten temat.'
87
95
  label: Obserwuj tematy, w których zostałeś wspomiany
88
96
  global_preferences_label: Ustawienia powiadomień
97
+ messageboard_auto_follow_topics:
98
+ hint: Automatycznie śledzić wszystkie nowe tematy na tym messageboard. To zastępuje odpowiednie ustawienie
99
+ powyżej.
100
+ label: Śledź wszystkie nowe tematy
89
101
  messageboard_follow_topics_on_mention:
90
102
  hint: 'Gdy ktoś w temacie wspomni o Tobie (np.: @sam) zaczniesz obserwować ten temat.'
91
103
  label: :thredded.preferences.form.follow_topics_on_mention.label
@@ -142,6 +154,7 @@ pl:
142
154
  followed_by_noone: Nikt nie obserwuje tego tematu
143
155
  followed_notice: Obserwujesz ten temat
144
156
  following:
157
+ auto: Osoby stosujące ten temat, ponieważ auto naśladowania jest włączony.
145
158
  manual: Obserwujesz ten temat.
146
159
  mentioned: Obserwujesz ten temat, ponieważ ktoś wspomniał w nim o tobie.
147
160
  posted: Obserwujesz ten temat, ponieważ w nim napisałeś.
@@ -20,7 +20,10 @@ pt-BR:
20
20
  create: Criar um novo Fórum de Mensagem
21
21
  form:
22
22
  create_btn_submitting: :thredded.form.create_btn_submitting
23
+ description_label: Descrição
24
+ messageboard_group_id_label: grupo messageboard
23
25
  no_group: Sem Grupo
26
+ title_label: Nome
24
27
  update_btn_submitting: :thredded.form.update_btn_submitting
25
28
  index:
26
29
  page_title: Fóruns de Mensagens
@@ -75,6 +78,7 @@ pt-BR:
75
78
  content_label: Conteúdo
76
79
  create_btn: Enviar Resposta
77
80
  create_btn_submitting: Postando...
81
+ title_label: Adicionar um post
78
82
  update_btn: Atualizar Post
79
83
  update_btn_submitting: :thredded.form.update_btn_submitting
80
84
  pending_moderation_notice: O envio da mensagem será publicada quando foi revisado por um moderador.
@@ -82,12 +86,19 @@ pt-BR:
82
86
  edit:
83
87
  page_title: :thredded.nav.settings
84
88
  form:
89
+ auto_follow_topics:
90
+ hint: siga automaticamente todos os novos temas. Alterar essa configuração vai mudá-lo para todos os messageboards.
91
+ label: Siga todos os novos temas
85
92
  follow_topics_on_mention:
86
93
  hint: >-
87
94
  Quando alguém mencionar você através do seu usuário (ex.: @sam) você irá receber um e-mail com o conteúdo
88
95
  deste post.
89
96
  label: Siga os tópicos que são mencionados na
90
97
  global_preferences_label: Configurações Globais
98
+ messageboard_auto_follow_topics:
99
+ hint: siga automaticamente todos os novos tópicos neste messageboard. Isso substitui a respectiva definição
100
+ acima.
101
+ label: Siga todos os novos temas
91
102
  messageboard_follow_topics_on_mention:
92
103
  hint: >-
93
104
  Quando alguém mencionar você através do seu usuário (ex.: @sam) neste fórum de mensagens, você irá receber
@@ -146,6 +157,7 @@ pt-BR:
146
157
  followed_by_noone: Ninguém está seguindo este tópico
147
158
  followed_notice: Você agora está seguindo este tópico
148
159
  following:
160
+ auto: Você está seguindo este tópico porque o auto-follow está ativado.
149
161
  manual: Você está seguindo este tópico.
150
162
  mentioned: Você está seguindo este tópico porque você foi mencionado nele.
151
163
  posted: Você está seguindo este tópico porque foi você que o publicou.