Node.js based forum software built for the modern web
Add Simplized Chinese.
Dr.Z43cc975ff74b
diff --git a/public/language/zh_cn/category.json b/public/language/zh_cn/category.jsonnew file mode 100644index 0000000000..9385ac2f87--- /dev/null+++ b/public/language/zh_cn/category.json@@ -0,0 +1,14 @@+{+ "new_topic_button": "新主题",+ "no_topics": "<strong>这个版面还没有任何内容。</strong><br />赶紧来发帖吧!",+ "sidebar.recent_replies": "最近回复",+ "sidebar.active_participants": "活跃用户",+ "sidebar.moderators": "版主",+ "posts": "帖子",+ "views": "浏览",+ "posted": "发布",+ "browsing": "正在浏览",+ "no_replies": "还没有回复",+ "replied": "回复",+ "last_edited_by": "最后编辑"+}diff --git a/public/language/zh_cn/footer.json b/public/language/zh_cn/footer.jsonnew file mode 100644index 0000000000..2bdf57d65d--- /dev/null+++ b/public/language/zh_cn/footer.json@@ -0,0 +1,7 @@+{+ "stats.online": "在线",+ "stats.users": "用户",+ "stats.topics": "主题",+ "stats.posts": "帖子",+ "success": "成功"+}diff --git a/public/language/zh_cn/global.json b/public/language/zh_cn/global.jsonnew file mode 100644index 0000000000..35194a6f7d--- /dev/null+++ b/public/language/zh_cn/global.json@@ -0,0 +1,31 @@+{+ "home": "主页",+ "search": "搜索",+ "buttons.close": "关闭",+ "403.title": "禁止访问",+ "403.message": "你没有该页面的访问权限,可能是因为你尚未<a href='/login'>登录</a>。",+ "404.title": "无法找到该页",+ "404.message": "你所查找的页面并不存在,返回<a href='/'>主页</a>。",+ "500.title": "内部错误",+ "500.message": "不好!看来是哪里出错了!",++ "register": "注册",+ "login": "登录",++ "logout": "退出",+ "logout.title": "你已经退出。",+ "logout.message": "你已经成功退出登录。",++ "save_changes": "保存修改",+ "close": "关闭",++ "header.admin": "管理",+ "header.recent": "最近",+ "header.unread": "未读",+ "header.users": "用户",+ "header.search": "搜索",+ "header.profile": "设置",++ "notifications.loading": "消息载入中",+ "chats.loading": "聊天载入中"+}diff --git a/public/language/zh_cn/language.json b/public/language/zh_cn/language.jsonnew file mode 100644index 0000000000..c9a02bc548--- /dev/null+++ b/public/language/zh_cn/language.json@@ -0,0 +1,4 @@+{+ "name": "简体中文",+ "code": "zh_cn"+}\ No newline at end of filediff --git a/public/language/zh_cn/login.json b/public/language/zh_cn/login.jsonnew file mode 100644index 0000000000..9247f6e674--- /dev/null+++ b/public/language/zh_cn/login.json@@ -0,0 +1,10 @@+{+ "login": "登录",+ "username": "用户名",+ "password": "密码",+ "remember_me": "记住我?",+ "forgot_password": "忘记密码?",+ "alternative_logins": "其他登录方式",+ "failed_login_attempt": "登录失败,请再尝试。",+ "login_successful": "你已成功登录!"+}diff --git a/public/language/zh_cn/modules.json b/public/language/zh_cn/modules.jsonnew file mode 100644index 0000000000..44c77f2b82--- /dev/null+++ b/public/language/zh_cn/modules.json@@ -0,0 +1,6 @@+{+ "chat.chatting_with": "和<span id=\"chat-with-name\"></span>聊天中",+ "chat.placeholder": "在这里输入消息,按Enter发送",+ "chat.send": "发送",+ "chat.no_active": "暂无聊天"+}\ No newline at end of filediff --git a/public/language/zh_cn/notifications.json b/public/language/zh_cn/notifications.jsonnew file mode 100644index 0000000000..8f32fcce2e--- /dev/null+++ b/public/language/zh_cn/notifications.json@@ -0,0 +1,9 @@+{+ "title": "消息",+ "back_to_home": "返回主页",+ "mark_all_as_read": "全部标记为已读",+ "outgoing_link": "站外链接",+ "outgoing_link_message": "你正在离开本站。",+ "continue_to": "继续前往",+ "return_to": "返回"+}diff --git a/public/language/zh_cn/recent.json b/public/language/zh_cn/recent.jsonnew file mode 100644index 0000000000..b7dfeb7ea7--- /dev/null+++ b/public/language/zh_cn/recent.json@@ -0,0 +1,5 @@+{+ "day": "今日",+ "week": "本周",+ "month": "本月"+}\ No newline at end of filediff --git a/public/language/zh_cn/register.json b/public/language/zh_cn/register.jsonnew file mode 100644index 0000000000..b4c4525f00--- /dev/null+++ b/public/language/zh_cn/register.json@@ -0,0 +1,16 @@+{+ "register": "注册",+ "help.email": "默认情况下,你的邮箱不会公开。",+ "help.username_restrictions": "用户名由%1到%2个字符组成。其他人可以通过 @<span id='yourUsername'>用户名</span> 点名你。",+ "help.minimum_password_length": "密码必须至少包含%1个字符。",+ "email_address": "Email",+ "email_address_placeholder": "输入邮箱地址",+ "username": "用户名",+ "username_placeholder": "输入用户名",+ "password": "密码",+ "password_placeholder": "输入密码",+ "confirm_password": "确认密码",+ "confirm_password_placeholder": "再次输入密码",+ "register_now_button": "现在注册",+ "alternative_registration": "其他方式注册"+}\ No newline at end of filediff --git a/public/language/zh_cn/reset_password.json b/public/language/zh_cn/reset_password.jsonnew file mode 100644index 0000000000..71055400be--- /dev/null+++ b/public/language/zh_cn/reset_password.json@@ -0,0 +1,13 @@+{+ "reset_password": "重置密码",+ "update_password": "更新密码",+ "password_changed.title": "密码已更改",+ "password_changed.message": "<p>密码重置成功,请重新<a href=\"/login\">登录</a>。",+ "wrong_reset_code.title": "验证码不正确",+ "wrong_reset_code.message": "您输入的验证码有误,请重新输入,或<a href=\"/reset\">申请新的验证码</a>。",+ "new_password": "新的密码",+ "repeat_password": "确认密码",+ "enter_email": "请输入您的<strong>Email地址</strong>,我们会发送邮件告诉您如何重置密码。",+ "password_reset_sent": "密码重置邮件已发送。",+ "invalid_email": "非法的邮箱地址/邮箱不存在!"+}diff --git a/public/language/zh_cn/topic.json b/public/language/zh_cn/topic.jsonnew file mode 100644index 0000000000..19920a6db1--- /dev/null+++ b/public/language/zh_cn/topic.json@@ -0,0 +1,50 @@+{+ "topic": "主题",+ "topics": "主题",++ "no_topics_found": "没有找到主题!",++ "profile": "资料",+ "posted_by": "发表",+ "chat": "聊天",+ "notify_me": "该主题有新回复时通知我",+ "quote": "引用",+ "reply": "回复",+ "edit": "编辑",+ "delete": "删除",+ "move": "移动",+ "fork": "作为主题",+ "banned": "封禁",+ "link": "链接",++ "thread_tools.title": "管理工具",+ "thread_tools.pin": "置顶帖子",+ "thread_tools.lock": "锁定帖子",+ "thread_tools.move": "移动帖子",+ "thread_tools.fork": "作为主题",+ "thread_tools.delete": "删除帖子",++ "load_categories": "版面载入中",+ "disabled_categories_note": "停用的版面为灰色",+ "confirm_move": "移动",+ "confirm_fork": "作为主题",++ "favourite": "收藏",+ "favourites": "收藏",+ "favourites.not_logged_in.title": "未登录",+ "favourites.not_logged_in.message": "收藏帖子之前请先登录。",+ "favourites.has_no_favourites": "你还没有任何收藏,收藏的帖子将会出现在这里!",++ "posted_by": "发布",+ "loading_more_posts": "载入更多帖子",+ "move_topic": "移动主题",+ "move_post": "移动帖子",+ "fork_topic": "作为主题",+ "topic_will_be_moved_to": "这个主题将会被移动到",+ "fork_topic_instruction": "点击要作为主题的帖子",+ "fork_no_pids": "尚未选择帖子!",+ "fork_success": "成功将帖子作为主题!",++ "reputation": "声望",+ "posts": "发帖数"+}diff --git a/public/language/zh_cn/unread.json b/public/language/zh_cn/unread.jsonnew file mode 100644index 0000000000..fabface997--- /dev/null+++ b/public/language/zh_cn/unread.json@@ -0,0 +1,5 @@+{+ "no_unread_topics": "没有未读主题。",+ "mark_all_read": "标记全部为已读",+ "load_more": "载入更多"+}\ No newline at end of filediff --git a/public/language/zh_cn/user.json b/public/language/zh_cn/user.jsonnew file mode 100644index 0000000000..6c5dae7e28--- /dev/null+++ b/public/language/zh_cn/user.json@@ -0,0 +1,41 @@+{+ "banned": "封禁",+ "offline": "下线",+ "username": "用户名",+ "email": "Email",+ "fullname": "姓名",+ "website": "网站",+ "location": "地址",+ "age": "年龄",+ "joined": "加入时间",+ "lastonline": "最后在线",+ "profile_views": "资料被查看",+ "reputation": "声望",+ "posts": "发帖数",+ "followers": "被关注",+ "following": "关注",+ "signature": "签名",+ "gravatar": "Gravatar头像",+ "birthday": "生日",++ "change_picture": "改变头像",+ "edit": "编辑",+ "uploaded_picture": "已有头像",+ "upload_new_picture": "上传新头像",+ "change_password": "更改密码",+ "confirm_password": "确认密码",+ "password": "密码",++ "upload_picture": "上传头像",+ "upload_a_picture": "上传一张照片",+ "image_spec": "你可以上传PNG,JPG或GIF格式的图像,文件小于256kb。",++ "settings": "设置",+ "show_email": "显示我的邮箱",++ "has_no_follower": "该用户还没有被任何人关注。",+ "follows_no_one": "该用户还没有关注过任何人。",++ "email_hidden": "邮箱被隐藏",+ "hidden": "隐藏"+}diff --git a/public/language/zh_cn/users.json b/public/language/zh_cn/users.jsonnew file mode 100644index 0000000000..39242bdf64--- /dev/null+++ b/public/language/zh_cn/users.json@@ -0,0 +1,9 @@+{+ "latest_users": "最近用户",+ "top_posters": "发帖最多",+ "most_reputation": "声望最高",+ "online": "在线",+ "search": "搜索",+ "enter_username": "输入你想找的用户名",+ "load_more": "载入更多"+}\ No newline at end of filediff --git a/public/templates/account.tpl b/public/templates/account.tplindex 9b5eae3519..4f45983b57 100644--- a/public/templates/account.tpl+++ b/public/templates/account.tpl@@ -21,11 +21,11 @@</div><!-- ENDIF banned --><div>- <a id="chat-btn" href="#" class="btn btn-default hide">Chat</a>+ <a id="chat-btn" href="#" class="btn btn-default hide">聊天</a></div><div id="user-actions">- <a id="follow-btn" href="#" class="btn btn-default hide">Follow</a>- <a id="unfollow-btn" href="#" class="btn btn-default hide">Unfollow</a>+ <a id="follow-btn" href="#" class="btn btn-default hide">关注</a>+ <a id="unfollow-btn" href="#" class="btn btn-default hide">取消关注</a></div></div>diff --git a/public/templates/accountedit.tpl b/public/templates/accountedit.tplindex b511bf5917..b6f137946f 100644--- a/public/templates/accountedit.tpl+++ b/public/templates/accountedit.tpl@@ -23,8 +23,8 @@<a id="uploadPictureBtn" href="#">[[user:upload_new_picture]]</a></div><div class="modal-footer">- <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>- <button id="savePictureChangesBtn" class="btn btn-primary">Save changes</button>+ <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">关闭</button>+ <button id="savePictureChangesBtn" class="btn btn-primary">保存修改</button></div></div><!-- /.modal-content --></div><!-- /.modal-dialog -->@@ -116,7 +116,7 @@<div style="vertical-align:top;"><form class='form-horizontal'><div class="control-group">- <label class="control-label" for="inputCurrentPassword">Current Password</label>+ <label class="control-label" for="inputCurrentPassword">当前的密码</label><div class="controls"><input class="form-control" type="password" id="inputCurrentPassword" placeholder="Current Password" value=""></div>diff --git a/public/templates/accountsettings.tpl b/public/templates/accountsettings.tplindex f90b978973..5d858a148f 100644--- a/public/templates/accountsettings.tpl+++ b/public/templates/accountsettings.tpl@@ -9,7 +9,7 @@<div class="row"><div class="col-md-6">- <h4>privacy</h4>+ <h4>隐私设置</h4><div class="checkbox"><label><input id="showemailCheckBox" type="checkbox" {showemail}> [[user:show_email]]diff --git a/public/templates/admin/testing/categories.tpl b/public/templates/admin/testing/categories.tplindex 37a784d550..309a038c61 100644--- a/public/templates/admin/testing/categories.tpl+++ b/public/templates/admin/testing/categories.tpl@@ -1,4 +1,4 @@-<h1>Categories Unit Tests</h1>+<h1>版面单元测试</h1><hr /><div id="qunit"></div>diff --git a/public/templates/composer.tpl b/public/templates/composer.tplindex 863cef6a2c..4e223143c9 100644--- a/public/templates/composer.tpl+++ b/public/templates/composer.tpl@@ -21,14 +21,14 @@</div><textarea tabIndex="2"></textarea><div class="preview"></div>- <div class="imagedrop"><div>Drag and Drop Images Here</div></div>+ <div class="imagedrop"><div>拖拽图片至此</div></div><div class="text-center upload-instructions hide visible-lg visible-md">- <small>Upload images by dragging & dropping them</small>+ <small>通过拖拽上传图片</small></div><div class="btn-toolbar action-bar"><div class="btn-group pull-right">- <button class="btn btn-default" data-action="discard" tabIndex="5"><i class="fa fa-times"></i> Discard</button>- <button data-action="post" class="btn btn-default" tabIndex="3"><i class="fa fa-check"></i> Submit</button>+ <button class="btn btn-default" data-action="discard" tabIndex="5"><i class="fa fa-times"></i>舍弃</button>+ <button data-action="post" class="btn btn-default" tabIndex="3"><i class="fa fa-check"></i>提交</button></div></div><div class="resizer"><div class="trigger"><i class="fa fa-chevron-left"></i></div></div>diff --git a/public/templates/emails/reset.tpl b/public/templates/emails/reset.tplindex 1d00a3db06..ab92d3bf4d 100644--- a/public/templates/emails/reset.tpl+++ b/public/templates/emails/reset.tpl@@ -1,20 +1,19 @@<p>- Hello,+ 你好,</p><p>- We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.+ 我们收到你重新设置密码的请求,可能是你忘记了密码。如果不是本人提出的申请,请忽略这封邮件。</p><p>- To continue with the password reset, please click on the following link:-</p>+ 点击下面的链接进行密码重置:<blockquote>{reset_link}</blockquote><p>- Thanks!<br />+ 谢谢!<br /><strong>{site_title}</strong></p>\ No newline at end of filediff --git a/public/templates/emails/reset_plaintext.tpl b/public/templates/emails/reset_plaintext.tplindex 2e6bfd3b3b..3094512139 100644--- a/public/templates/emails/reset_plaintext.tpl+++ b/public/templates/emails/reset_plaintext.tpl@@ -1,10 +1,9 @@-Hello,+你好,-We received a request to reset your password, possibly because you have forgotten it. If this is not the case, please ignore this email.--To continue with the password reset, please click on the following link:+ 我们收到你重新设置密码的请求,可能是你忘记了密码。如果不是本人提出的申请,请忽略这封邮件。++ 点击下面的链接进行密码重置:{reset_link}--Thanks!+谢谢!{site_title}\ No newline at end of filediff --git a/public/templates/emails/welcome.tpl b/public/templates/emails/welcome.tplindex 8a2944286c..bbf18c8bb9 100644--- a/public/templates/emails/welcome.tpl+++ b/public/templates/emails/welcome.tpl@@ -1,13 +1,13 @@<p>- Hello {username},+ {username}你好,</p><p>- <strong>Thank you for registering with {site_title}!</strong>+ <strong>感谢你注册{site_title}!</strong></p><p>- To fully activate your account, we need to verify that you own the email address you registered with. Please click on the following link:+ 为了完全激活你的账号,我们需要验证你注册时所填写的邮箱。请点击下面的链接:</p><blockquote>@@ -15,6 +15,6 @@</blockquote><p>- Thanks!<br />+ 谢谢!<br /><strong>{site_title}</strong></p>\ No newline at end of filediff --git a/public/templates/emails/welcome_plaintext.tpl b/public/templates/emails/welcome_plaintext.tplindex 24906a2900..717e812e07 100644--- a/public/templates/emails/welcome_plaintext.tpl+++ b/public/templates/emails/welcome_plaintext.tpl@@ -8,4 +8,15 @@ To fully activate your account, we need to verify that you own the email addressThanks!+{site_title}++{username}你好,++感谢你注册{site_title}!++为了完全激活你的账号,我们需要验证你注册时所填写的邮箱。请点击下面的链接:++ {confirm_link}++谢谢!{site_title}\ No newline at end of filediff --git a/public/templates/favourites.tpl b/public/templates/favourites.tplindex c26e4952c1..0eca806d0e 100644--- a/public/templates/favourites.tpl+++ b/public/templates/favourites.tpl@@ -25,8 +25,8 @@<div><span class="pull-right">- <a href="../../topic/{posts.tid}/#{posts.pid}">posted</a>- in+ <a href="../../topic/{posts.tid}/#{posts.pid}">发布</a>+ 于<a href="../../category/{posts.categorySlug}"><i class="fa {posts.categoryIcon}"></i> {posts.categoryName}</a>diff --git a/public/templates/noscript/category.tpl b/public/templates/noscript/category.tplindex d88fd17c95..7a13d7d335 100644--- a/public/templates/noscript/category.tpl+++ b/public/templates/noscript/category.tpl@@ -1,5 +1,5 @@<ol class="breadcrumb">- <li><a href="/">Home</a></li>+ <li><a href="/">主页</a></li><li class="active">{category_name}</li></ol><ul class="topics">diff --git a/public/templates/noscript/header.tpl b/public/templates/noscript/header.tplindex 57762cc146..ddc0d2931c 100644--- a/public/templates/noscript/header.tpl+++ b/public/templates/noscript/header.tpl@@ -1,8 +1,8 @@<div class="alert alert-danger"><p>- Your browser does not seem to support javascript. As a result, your viewing experience will be diminished, and you have been placed in <strong>read-only mode</strong>.+ 你的浏览器不支持JavaScript!这可能会降低你的浏览效果,并且你将被限制在<strong>只读模式</strong>。</p><p>- Please download a browser that supports javascript, or enable it, if it disabled (i.e. NoScript).+ 请下载支持JavaScript的浏览器。如果你关闭了JavaScript支持(NoScript模式),请重新开启。</p></div>diff --git a/public/templates/outgoing.tpl b/public/templates/outgoing.tplindex 6c6d8d9e0f..cd2919f438 100644--- a/public/templates/outgoing.tpl+++ b/public/templates/outgoing.tpl@@ -1,7 +1,7 @@<div class="outgoing"><ol class="breadcrumb"><li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">- <a href="{relative_path}/" itemprop="url"><span itemprop="title">Home</span></a>+ <a href="{relative_path}/" itemprop="url"><span itemprop="title">主页</span></a></li><li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"><span itemprop="title">[[notifications:outgoing_link]]</span>diff --git a/public/templates/recent.tpl b/public/templates/recent.tplindex 3cd0ef667d..6df623334e 100644--- a/public/templates/recent.tpl+++ b/public/templates/recent.tpl@@ -1,6 +1,6 @@<ol class="breadcrumb">- <li><a href="{relative_path}/">Home</a></li>- <li class="active">Recent <a href="{relative_path}/recent.rss"><i class="fa fa-rss-square"></i></a></li>+ <li><a href="{relative_path}/">主页</a></li>+ <li class="active">最近<a href="{relative_path}/recent.rss"><i class="fa fa-rss-square"></i></a></li></ol><ul class="nav nav-pills">@@ -16,7 +16,7 @@</a><div class="alert alert-warning hide {no_topics_message}" id="category-no-topics">- <strong>There are no recent topics.</strong>+ <strong>最近没有新主题。</strong></div><div class="category row">@@ -45,7 +45,7 @@<a href="{relative_path}/user/{topics.userslug}"><img class="teaser-pic" src="{topics.picture}" title="{topics.username}"/></a>- posted in+ 发布于<a href="{relative_path}/category/{topics.categorySlug}"><i class="fa {topics.categoryIcon}"></i> {topics.categoryName}</a>@@ -55,13 +55,13 @@<span class="pull-right hidden-xs"><!-- IF topics.unreplied -->- No one has replied+ 还没有回复<!-- ELSE --><a href="{relative_path}/user/{topics.teaser_userslug}"><img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/></a><a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}">- replied+ 回复</a><span class="timeago" title="{topics.teaser_timestamp}"></span><!-- ENDIF topics.unreplied -->diff --git a/public/templates/search.tpl b/public/templates/search.tplindex 4eb5e44f2e..7f7a5a99a2 100644--- a/public/templates/search.tpl+++ b/public/templates/search.tpl@@ -41,11 +41,11 @@<!-- END topics --></ul>- <h3>Posts</h3>+ <h3>帖子</h3><!-- IF post_matches -->- <small>{post_matches} result(s) matching "{search_query}"</small>+ <small>找到{post_matches}条与"{search_query}"相关的结果。</small><!-- ENDIF post_matches -->- <div class="alert alert-info {show_no_posts}">No posts found!</div>+ <div class="alert alert-info {show_no_posts}">没有找到匹配的帖子!</div><ul id="topics-container" data-search-query="{search_query}"><!-- BEGIN posts -->diff --git a/public/templates/topic.tpl b/public/templates/topic.tplindex f445fe7a3f..f0354a1071 100644--- a/public/templates/topic.tpl+++ b/public/templates/topic.tpl@@ -244,7 +244,7 @@</div><div class="modal-body"><div class="form-group">- <label for="topicId">Topic ID</label>+ <label for="topicId">主题ID</label><input id="topicId" type="text" class="form-control" placeholder="Enter topic ID"><br/></div></div>diff --git a/public/templates/unread.tpl b/public/templates/unread.tplindex 1054e6d03b..d73e472700 100644--- a/public/templates/unread.tpl+++ b/public/templates/unread.tpl@@ -49,13 +49,13 @@<span class="pull-right hidden-xs"><!-- IF topics.unreplied -->- No one has replied+ 还没有回复<!-- ELSE --><a href="{relative_path}/user/{topics.teaser_userslug}"><img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/></a><a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}">- replied+ 回复</a><span class="timeago" title="{topics.teaser_timestamp}"></span><!-- ENDIF topics.unreplied -->diff --git a/public/templates/users.tpl b/public/templates/users.tplindex 529e6db16c..3ae2e19d44 100644--- a/public/templates/users.tpl+++ b/public/templates/users.tpl@@ -47,7 +47,7 @@<div class="user-info"><span id="online_anon_count">{anonymousUserCount}</span><br/>- <a href="#">Anonymous</a>+ <a href="#">匿名</a></div></li>