thredded 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -10
- data/app/assets/images/favicons/README.md +3 -0
- data/app/assets/images/favicons/amazon.png +0 -0
- data/app/assets/images/favicons/github.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_calendar_128px.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_docs_48px.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_drive_48px.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_forms_48px.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_sheets_48px.png +0 -0
- data/app/assets/images/favicons/google_branding/logo_slides_48px.png +0 -0
- data/app/assets/images/favicons/stackexchange.png +0 -0
- data/app/assets/images/favicons/twitter.png +0 -0
- data/app/assets/images/favicons/wikipedia.png +0 -0
- data/app/assets/javascripts/thredded/components/user_preferences_form.es6 +16 -1
- data/app/assets/stylesheets/thredded/_email.scss +52 -0
- data/app/assets/stylesheets/thredded/_thredded.scss +1 -0
- data/app/assets/stylesheets/thredded/base/_grid.scss +14 -1
- data/app/assets/stylesheets/thredded/base/_typography.scss +4 -0
- data/app/assets/stylesheets/thredded/base/_variables.scss +24 -1
- data/app/assets/stylesheets/thredded/components/_main-section.scss +6 -0
- data/app/assets/stylesheets/thredded/components/_messageboard.scss +4 -1
- data/app/assets/stylesheets/thredded/components/_onebox.scss +284 -0
- data/app/assets/stylesheets/thredded/components/_post.scss +10 -6
- data/app/assets/stylesheets/thredded/components/_topic-header.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_topics.scss +5 -5
- data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +0 -6
- data/app/assets/stylesheets/thredded/layout/_moderation.scss +1 -1
- data/app/commands/thredded/autofollow_users.rb +56 -0
- data/app/controllers/thredded/preferences_controller.rb +2 -0
- data/app/forms/thredded/user_preferences_form.rb +18 -0
- data/app/helpers/thredded/application_helper.rb +3 -3
- data/app/jobs/thredded/auto_follow_and_notify_job.rb +1 -1
- data/app/mailer_previews/thredded/base_mailer_preview.rb +19 -8
- data/app/mailers/thredded/base_mailer.rb +1 -1
- data/app/models/concerns/thredded/post_common.rb +2 -4
- data/app/models/thredded/category.rb +4 -0
- data/app/models/thredded/messageboard.rb +12 -6
- data/app/models/thredded/private_topic.rb +4 -0
- data/app/models/thredded/topic.rb +9 -5
- data/app/models/thredded/user_messageboard_preference.rb +24 -0
- data/app/models/thredded/user_preference.rb +2 -0
- data/app/models/thredded/user_topic_follow.rb +1 -1
- data/app/notifiers/thredded/email_notifier.rb +1 -15
- data/app/views/thredded/messageboard_groups/new.html.erb +15 -13
- data/app/views/thredded/messageboards/_form.html.erb +22 -22
- data/app/views/thredded/messageboards/edit.html.erb +3 -1
- data/app/views/thredded/messageboards/new.html.erb +3 -1
- data/app/views/thredded/moderation/_post.html.erb +1 -1
- data/app/views/thredded/moderation/_user_post.html.erb +1 -1
- data/app/views/thredded/moderation/activity.html.erb +3 -3
- data/app/views/thredded/moderation/history.html.erb +2 -2
- data/app/views/thredded/moderation/pending.html.erb +2 -2
- data/app/views/thredded/moderation/user.html.erb +43 -41
- data/app/views/thredded/moderation/users.html.erb +32 -30
- data/app/views/thredded/post_mailer/post_notification.html.erb +21 -12
- data/app/views/thredded/posts/_content.html.erb +1 -1
- data/app/views/thredded/posts_common/_content.html.erb +1 -3
- data/app/views/thredded/preferences/_form.html.erb +25 -8
- data/app/views/thredded/private_posts/_content.html.erb +1 -1
- data/app/views/thredded/private_topic_mailer/message_notification.html.erb +17 -14
- data/app/views/thredded/private_topics/edit.html.erb +21 -19
- data/app/views/thredded/topics/edit.html.erb +32 -30
- data/app/views/thredded/topics/new.html.erb +8 -6
- data/app/views/thredded/topics/show.html.erb +1 -1
- data/app/views/thredded/users/_post.html.erb +1 -1
- data/bin/rubocop +17 -0
- data/config/locales/en.yml +13 -1
- data/config/locales/es.yml +14 -0
- data/config/locales/pl.yml +13 -0
- data/config/locales/pt-BR.yml +12 -0
- data/config/locales/ru.yml +197 -0
- data/db/migrate/20160329231848_create_thredded.rb +2 -8
- data/db/upgrade_migrations/20161113161801_upgrade_v0_8_to_v0_9.rb +6 -5
- data/db/upgrade_migrations/20170312131417_upgrade_thredded_v0_10_to_v0_11.rb +20 -0
- data/lib/generators/thredded/install/templates/initializer.rb +12 -0
- data/lib/thredded.rb +12 -3
- data/lib/thredded/content_formatter.rb +16 -25
- data/lib/thredded/email_transformer.rb +21 -0
- data/lib/thredded/email_transformer/base.rb +47 -0
- data/lib/thredded/email_transformer/onebox.rb +20 -0
- data/lib/thredded/formatting_demo_content.rb +29 -0
- data/lib/thredded/html_pipeline/kramdown_filter.rb +5 -1
- data/lib/thredded/html_pipeline/onebox_filter.rb +136 -0
- data/lib/thredded/version.rb +1 -1
- metadata +62 -22
- data/app/commands/thredded/autofollow_mentioned_users.rb +0 -31
- data/app/commands/thredded/members_marked_notified.rb +0 -19
- 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,14 +1,22 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
<
|
2
|
-
|
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
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
<
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
-
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
<
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
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
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
-
|
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
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
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
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
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"
|
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 %>
|
data/bin/rubocop
ADDED
@@ -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')
|
data/config/locales/en.yml
CHANGED
@@ -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.
|
data/config/locales/es.yml
CHANGED
@@ -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.
|
data/config/locales/pl.yml
CHANGED
@@ -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ś.
|
data/config/locales/pt-BR.yml
CHANGED
@@ -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.
|