thredded 0.13.6 → 0.13.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config/locales/zh-CN.yml +236 -0
- data/lib/thredded/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c486acd70440f3a48d8c85396b0b45788cfd4dc4
|
4
|
+
data.tar.gz: 99e2b33fea55f1e6777b23817b302d355acfbb78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7ea18eb3db71104bda6454562a6c58d1dd35811bfd326f0e2396a69e4cdebdcd5412049b20a8f2b945296e14694a171f88c6aff16e5fbe64a8ada90d876ad76
|
7
|
+
data.tar.gz: f0d338cc549a605d00596eb04b804e844e78a961fcf584e5f35b1949c597ea1dd00d6a411d63cc95b01ffb221ab6b4b1128ac9c7613cff9615ceb0a9026636d2
|
data/README.md
CHANGED
@@ -98,7 +98,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
98
98
|
Add the gem to your Gemfile:
|
99
99
|
|
100
100
|
```ruby
|
101
|
-
gem 'thredded', '~> 0.13.
|
101
|
+
gem 'thredded', '~> 0.13.7'
|
102
102
|
```
|
103
103
|
|
104
104
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
@@ -380,8 +380,8 @@ change_column_default :thredded_user_preferences, :auto_follow_topics, 1
|
|
380
380
|
|
381
381
|
## I18n
|
382
382
|
|
383
|
-
Thredded is mostly internationalized. It is currently available in English, Brazilian Portuguese,
|
384
|
-
French, and Spanish.
|
383
|
+
Thredded is mostly internationalized. It is currently available in English, Brazilian Portuguese, Chinese (Simplified),
|
384
|
+
Polish, Russian, French, and Spanish.
|
385
385
|
We welcome PRs adding support for new languages.
|
386
386
|
|
387
387
|
Here are the steps to ensure the best support for your language if it isn't English:
|
@@ -0,0 +1,236 @@
|
|
1
|
+
---
|
2
|
+
zh-CN:
|
3
|
+
thredded:
|
4
|
+
content_moderation_states:
|
5
|
+
content_blocked_notice: 被锁定
|
6
|
+
content_blocked_notice_with_record_html: "%{moderator} 在%{time_ago}锁定"
|
7
|
+
email_notifier:
|
8
|
+
by_email: 电子邮箱
|
9
|
+
emails:
|
10
|
+
message_notification:
|
11
|
+
html:
|
12
|
+
email_sent_reason_html: 我们给你发送这封邮件是因为 %{user} 在一个私人对话中提到你,“<a href="%{post_url}">%{topic_title}</a>”。
|
13
|
+
post_lead_html: '%{user} 在<a href="%{post_url}">“%{topic_title}”</a>中发表了新消息:'
|
14
|
+
unsubscribe_instructions_html: :thredded.emails.post_notification.html.unsubscribe_instructions_html
|
15
|
+
subject: "%{user} 在“%{topic_title}”中发表了新消息"
|
16
|
+
text:
|
17
|
+
email_sent_reason: |-
|
18
|
+
我们给你发送这封邮件是因为 %{user} 在一个私人对话中提到你,“%{topic_title}”。
|
19
|
+
|
20
|
+
请到以下浏览对话:
|
21
|
+
%{post_url}
|
22
|
+
post_lead: "%{user} 在“%{topic_title}”中发表了新消息:"
|
23
|
+
unsubscribe_instructions: :thredded.emails.post_notification.text.unsubscribe_instructions
|
24
|
+
post_notification:
|
25
|
+
html:
|
26
|
+
email_sent_reason_html: 我们给你发送这封邮件是因为你关注了帖子: “<a href="%{post_url}">%{topic_title}</a>”。
|
27
|
+
post_lead_html: '%{user} 在<a href="%{post_url}">“%{topic_title}”</a>中说到:'
|
28
|
+
unsubscribe_instructions_html: 退订这些邮件, 请前往<a href="%{preferences_url}">设置</a>。
|
29
|
+
subject: "“%{topic_title}”有新回复"
|
30
|
+
text:
|
31
|
+
email_sent_reason: |-
|
32
|
+
我们给你发送这封邮件是因为你关注了这个帖子“%{topic_title}“。
|
33
|
+
|
34
|
+
请到以下浏览帖子:
|
35
|
+
%{post_url}
|
36
|
+
post_lead: "%{user} 在“%{topic_title}”中说到:"
|
37
|
+
unsubscribe_instructions: |-
|
38
|
+
退订这些邮件,请前往设置:
|
39
|
+
%{unsubscribe_url}
|
40
|
+
errors:
|
41
|
+
login_required: 请先登录
|
42
|
+
not_authorized: 你没有权限访问该页面
|
43
|
+
private_topic_create_denied: 你没有权限创建私人对话
|
44
|
+
private_topic_not_found: 该私人对话不存在
|
45
|
+
form:
|
46
|
+
create_btn_submitting: 创建中...
|
47
|
+
preview: 预览
|
48
|
+
update: 更新
|
49
|
+
update_btn_submitting: 更新中...
|
50
|
+
messageboard:
|
51
|
+
create: 创建一个新板块
|
52
|
+
form:
|
53
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
54
|
+
description_label: 描述
|
55
|
+
messageboard_group_id_label: 板块分组
|
56
|
+
no_group: 没有分组
|
57
|
+
title_label: 名称
|
58
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
59
|
+
index:
|
60
|
+
page_title: 板块
|
61
|
+
last_updated_by_html: 最近由 <span>%{user}</span> 在%{time_ago}更新
|
62
|
+
topics_and_posts_counts: "%{topics_count} 帖子 / %{posts_count} 回复"
|
63
|
+
update: :thredded.form.update
|
64
|
+
updated_notice: 板块已更新
|
65
|
+
messageboard_group:
|
66
|
+
create: 创建一个新的板块分组
|
67
|
+
form:
|
68
|
+
create_btn_submitting: :thredded.form.create_btn_submitting
|
69
|
+
saved: 板块分组 %{name} 已创建
|
70
|
+
moderation:
|
71
|
+
approve_btn: 通过
|
72
|
+
block_btn: 锁定
|
73
|
+
moderation_state:
|
74
|
+
name: 审核状态
|
75
|
+
pending:
|
76
|
+
empty:
|
77
|
+
content: 所有回复已审核
|
78
|
+
title: 干的漂亮!
|
79
|
+
post_approved_html: "%{moderator} %{time_ago}通过了该内容"
|
80
|
+
post_blocked_html: "%{moderator} %{time_ago}锁定了该内容"
|
81
|
+
post_deleted_notice: 该内容已被删除
|
82
|
+
posts_content_changed_since_moderation_html: <a href="%{post_url}">该内容</a>已发生变化,以下是被审核时的内容:
|
83
|
+
search_users:
|
84
|
+
form_label: 搜索用户
|
85
|
+
form_placeholder: :thredded.moderation.search_users.form_label
|
86
|
+
no_results_message: 未找到有关 %{query} 的用户
|
87
|
+
results_message: 有关 %{query} 的所有用户
|
88
|
+
user:
|
89
|
+
name: 用户
|
90
|
+
nav:
|
91
|
+
all_messageboards: 所有板块
|
92
|
+
edit_messageboard: 编辑板块
|
93
|
+
edit_post: 编辑内容
|
94
|
+
edit_private_topic: :thredded.nav.edit_topic
|
95
|
+
edit_topic: 编辑
|
96
|
+
mark_all_read: 标记所有为已读
|
97
|
+
moderation: 审核
|
98
|
+
moderation_activity: 状况
|
99
|
+
moderation_history: 历史
|
100
|
+
moderation_pending: 待定
|
101
|
+
moderation_users: 用户
|
102
|
+
private_topics: 私人对话
|
103
|
+
settings: 通知设置
|
104
|
+
null_user_name: 删除用户
|
105
|
+
posts:
|
106
|
+
delete: 删除回复
|
107
|
+
delete_confirm: 你确定删除该回复吗?
|
108
|
+
deleted_notice: 你的回复已删除
|
109
|
+
edit: :thredded.nav.edit_post
|
110
|
+
form:
|
111
|
+
content_label: 内容
|
112
|
+
create_btn: 提交回复
|
113
|
+
create_btn_submitting: 回复中...
|
114
|
+
title_label: 回复
|
115
|
+
update_btn: 更新
|
116
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
117
|
+
pending_moderation_notice: 你的回复将在审核之后公开发表
|
118
|
+
quote_btn: 引用
|
119
|
+
preferences:
|
120
|
+
edit:
|
121
|
+
page_title: :thredded.nav.settings
|
122
|
+
form:
|
123
|
+
auto_follow_topics:
|
124
|
+
hint: 自动关注所有新帖子,更改该设置将会更改所有板块的设置
|
125
|
+
label: 关注所有新帖子
|
126
|
+
follow_topics_on_mention:
|
127
|
+
hint: 当有人在帖子中@你时将自动关注该帖子
|
128
|
+
label: 关注那些@你的帖子
|
129
|
+
messageboard_auto_follow_topics:
|
130
|
+
hint: 自动关注该板块的所有新帖子,这将覆盖以上所有的设置
|
131
|
+
label: 关注所有新帖子
|
132
|
+
messageboard_follow_topics_on_mention:
|
133
|
+
hint: 当有人在该板块中@你时将自动关注该帖子
|
134
|
+
label: :thredded.preferences.form.follow_topics_on_mention.label
|
135
|
+
messageboard_notifications_for_followed_topics:
|
136
|
+
label: :thredded.preferences.form.notifications_for_followed_topics.label
|
137
|
+
notifications_for_followed_topics:
|
138
|
+
label: 关注帖子的通知
|
139
|
+
notifications_for_private_topics:
|
140
|
+
label: 私人对话的通知
|
141
|
+
submit_btn: 更新设置
|
142
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
143
|
+
global_preferences_title: 全局设置
|
144
|
+
messageboard_preferences_nav_title: 板块设置
|
145
|
+
messageboard_preferences_title_html: "<em>%{messageboard}</em> 的相关设置"
|
146
|
+
updated_notice: 你的设置已经更新
|
147
|
+
private_posts:
|
148
|
+
form:
|
149
|
+
content_label: 对话消息
|
150
|
+
create_btn: 发送对话消息
|
151
|
+
create_btn_submitting: 发送中...
|
152
|
+
update_btn_submitting: :thredded.form.update_btn_submitting
|
153
|
+
private_topics:
|
154
|
+
create: :thredded.private_topics.form.create_btn
|
155
|
+
edit: 编辑
|
156
|
+
errors:
|
157
|
+
user_ids_length: 请指定至少一个用户
|
158
|
+
form:
|
159
|
+
content_label: :thredded.private_posts.form.content_label
|
160
|
+
create_btn: :thredded.private_posts.form.create_btn
|
161
|
+
create_btn_submitting: :thredded.private_posts.form.create_btn_submitting
|
162
|
+
title_label: :thredded.topics.form.title_label
|
163
|
+
title_placeholder_new: 对话标题
|
164
|
+
title_placeholder_start: 发布新对话
|
165
|
+
update_btn: 更新
|
166
|
+
update_btn_submitting: :thredded.private_posts.form.update_btn_submitting
|
167
|
+
users_label: 会话者
|
168
|
+
users_placeholder: 选择参与此对话的用户
|
169
|
+
no_private_topics:
|
170
|
+
create_btn: 创建你的第一个私人对话
|
171
|
+
title: 你没有私人对话
|
172
|
+
updated_notice: 标题已更新
|
173
|
+
recent_activity: 最近状况
|
174
|
+
search:
|
175
|
+
form:
|
176
|
+
btn_submit: :thredded.search.form.label
|
177
|
+
label: 搜索
|
178
|
+
placeholder: 搜索帖子和回复
|
179
|
+
time_ago: "%{time}前"
|
180
|
+
topics:
|
181
|
+
create: :thredded.topics.form.create_btn
|
182
|
+
delete_confirm: 你确定删除该帖子吗?一旦删除将无法恢复
|
183
|
+
delete_topic: 删除帖子
|
184
|
+
deleted_notice: 帖子已删除
|
185
|
+
edit: 编辑帖子
|
186
|
+
follow: 关注该帖子
|
187
|
+
followed_by: 关注者:
|
188
|
+
followed_by_noone: 无人关注该帖子
|
189
|
+
followed_notice: 你在关注该帖子
|
190
|
+
following:
|
191
|
+
auto: 由于自动关注开启你已关注该帖子
|
192
|
+
manual: 你正在关注该帖子
|
193
|
+
mentioned: 由于你被@到所以你自动关注该帖子
|
194
|
+
posted: 由于你参与了回复现已关注该帖子
|
195
|
+
form:
|
196
|
+
categories_placeholder: 分类
|
197
|
+
content_label: :thredded.posts.form.content_label
|
198
|
+
create_btn: 创建新帖子
|
199
|
+
messageboard_label: 板块
|
200
|
+
title_label: 标题
|
201
|
+
title_placeholder: :thredded.topics.form.title_label
|
202
|
+
title_placeholder_start: 发布新帖子
|
203
|
+
update_btn: 更新帖子
|
204
|
+
locked:
|
205
|
+
label: 锁定
|
206
|
+
message: 该帖子被某个审核者锁定
|
207
|
+
mark_as_unread: 标记未读
|
208
|
+
not_following: 你未关注该帖子
|
209
|
+
search:
|
210
|
+
no_results_in_messageboard_message_html: 在%{messageboard}板块中未找到 <q>%{query}</q> 相关的搜索结果
|
211
|
+
no_results_message_html: 没有关于 <q>%{query}</q> 的搜索结果
|
212
|
+
page_title: 搜索结果
|
213
|
+
results_in_messageboard_message_html: 在%{messageboard}板块中关于 <q>%{query}</q> 的搜索结果
|
214
|
+
results_message_html: 关于 <q>%{query}</q> 的搜索结果
|
215
|
+
search_in_all_messageboards_btn: 搜索全站
|
216
|
+
started_by_html: "%{user} %{time_ago}发布"
|
217
|
+
sticky:
|
218
|
+
label: 置顶
|
219
|
+
unfollow: 取消关注
|
220
|
+
unfollowed_notice: 你不再关注该帖子
|
221
|
+
updated_notice: 帖子已更新
|
222
|
+
users:
|
223
|
+
currently_online: 目前在线
|
224
|
+
last_active_html: 最后活跃%{time_ago}
|
225
|
+
posted_in_topic_html: 在%{topic_link}中回复到:
|
226
|
+
posts_count:
|
227
|
+
one: 一个回复
|
228
|
+
other: "%{count} 个回复"
|
229
|
+
recent_activity: :thredded.recent_activity
|
230
|
+
started_topic_html: 发布帖子 %{topic_link}
|
231
|
+
started_topics_count:
|
232
|
+
one: 发布一个帖子
|
233
|
+
other: 发布 %{count} 个帖子
|
234
|
+
user_posted_in_topic_html: "%{user_link} 回复在 %{topic_link}"
|
235
|
+
user_since_html: 用户自%{time_ago}
|
236
|
+
user_started_topic_html: "%{user_link} 发布 %{topic_link}"
|
data/lib/thredded/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thredded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pundit
|
@@ -977,6 +977,7 @@ files:
|
|
977
977
|
- config/locales/pl.yml
|
978
978
|
- config/locales/pt-BR.yml
|
979
979
|
- config/locales/ru.yml
|
980
|
+
- config/locales/zh-CN.yml
|
980
981
|
- config/routes.rb
|
981
982
|
- db/migrate/20160329231848_create_thredded.rb
|
982
983
|
- db/seeds.rb
|