From 7db231ca548fc1af1688b981e089f956bea7da42 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 21 Jan 2014 22:30:03 -0500 Subject: [PATCH] =?UTF-8?q?traditional=20chinese=20language=20pack=20-=20?= =?UTF-8?q?=E5=BE=88=E5=A5=BD=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/language/zh_cn/global.json | 8 +++- public/language/zh_tw/category.json | 14 +++++++ public/language/zh_tw/footer.json | 7 ++++ public/language/zh_tw/global.json | 37 +++++++++++++++++ public/language/zh_tw/language.json | 4 ++ public/language/zh_tw/login.json | 10 +++++ public/language/zh_tw/modules.json | 6 +++ public/language/zh_tw/notifications.json | 9 ++++ public/language/zh_tw/recent.json | 5 +++ public/language/zh_tw/register.json | 16 ++++++++ public/language/zh_tw/reset_password.json | 13 ++++++ public/language/zh_tw/topic.json | 50 +++++++++++++++++++++++ public/language/zh_tw/unread.json | 5 +++ public/language/zh_tw/user.json | 41 +++++++++++++++++++ public/language/zh_tw/users.json | 9 ++++ public/src/translator.js | 4 ++ 16 files changed, 237 insertions(+), 1 deletion(-) create mode 100644 public/language/zh_tw/category.json create mode 100644 public/language/zh_tw/footer.json create mode 100644 public/language/zh_tw/global.json create mode 100644 public/language/zh_tw/language.json create mode 100644 public/language/zh_tw/login.json create mode 100644 public/language/zh_tw/modules.json create mode 100644 public/language/zh_tw/notifications.json create mode 100644 public/language/zh_tw/recent.json create mode 100644 public/language/zh_tw/register.json create mode 100644 public/language/zh_tw/reset_password.json create mode 100644 public/language/zh_tw/topic.json create mode 100644 public/language/zh_tw/unread.json create mode 100644 public/language/zh_tw/user.json create mode 100644 public/language/zh_tw/users.json diff --git a/public/language/zh_cn/global.json b/public/language/zh_cn/global.json index 35194a6f7d..74f6298407 100644 --- a/public/language/zh_cn/global.json +++ b/public/language/zh_cn/global.json @@ -27,5 +27,11 @@ "header.profile": "设置", "notifications.loading": "消息载入中", - "chats.loading": "聊天载入中" + "chats.loading": "聊天载入中", + + "motd.welcome": "Welcome to NodeBB, the discussion platform of the future.", + "motd.get": "Get NodeBB", + "motd.fork": "Fork", + "motd.like": "讚", + "motd.follow": "关注" } diff --git a/public/language/zh_tw/category.json b/public/language/zh_tw/category.json new file mode 100644 index 0000000000..f3315ffe17 --- /dev/null +++ b/public/language/zh_tw/category.json @@ -0,0 +1,14 @@ +{ + "new_topic_button": "新主題", + "no_topics": "這個版面還沒有任何內容。
趕緊來發帖吧!", + "sidebar.recent_replies": "最近回復", + "sidebar.active_participants": "活躍用戶", + "sidebar.moderators": "版主", + "posts": "帖子", + "views": "瀏覽", + "posted": "發布", + "browsing": "正在瀏覽", + "no_replies": "還沒有回復", + "replied": "回復", + "last_edited_by": "最后編輯" +} \ No newline at end of file diff --git a/public/language/zh_tw/footer.json b/public/language/zh_tw/footer.json new file mode 100644 index 0000000000..5fd7a53893 --- /dev/null +++ b/public/language/zh_tw/footer.json @@ -0,0 +1,7 @@ +{ + "stats.online": "在線", + "stats.users": "用戶", + "stats.topics": "主題", + "stats.posts": "帖子", + "success": "成功" +} \ No newline at end of file diff --git a/public/language/zh_tw/global.json b/public/language/zh_tw/global.json new file mode 100644 index 0000000000..193f81cce1 --- /dev/null +++ b/public/language/zh_tw/global.json @@ -0,0 +1,37 @@ +{ + "home": "主頁", + "search": "搜索", + "buttons.close": "關閉", + "403.title": "禁止訪問", + "403.message": "你沒有該頁面的訪問權限,可能是因為你尚未登錄。", + "404.title": "無法找到該頁", + "404.message": "你所查找的頁面並不存在,返回主頁。", + "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": "聊天載入中", + + "motd.welcome": "Welcome to NodeBB, the discussion platform of the future.", + "motd.get": "Get NodeBB", + "motd.fork": "Fork", + "motd.like": "Like", + "motd.follow": "Follow" +} \ No newline at end of file diff --git a/public/language/zh_tw/language.json b/public/language/zh_tw/language.json new file mode 100644 index 0000000000..8264390b6a --- /dev/null +++ b/public/language/zh_tw/language.json @@ -0,0 +1,4 @@ +{ + "name": "簡體中文", + "code": "zh_tw" +} \ No newline at end of file diff --git a/public/language/zh_tw/login.json b/public/language/zh_tw/login.json new file mode 100644 index 0000000000..ccf3d23f5c --- /dev/null +++ b/public/language/zh_tw/login.json @@ -0,0 +1,10 @@ +{ + "login": "登錄", + "username": "用戶名", + "password": "密碼", + "remember_me": "記住我?", + "forgot_password": "忘記密碼?", + "alternative_logins": "其他登錄方式", + "failed_login_attempt": "登錄失敗,請再嘗試。", + "login_successful": "你已成功登錄!" +} \ No newline at end of file diff --git a/public/language/zh_tw/modules.json b/public/language/zh_tw/modules.json new file mode 100644 index 0000000000..c06a657993 --- /dev/null +++ b/public/language/zh_tw/modules.json @@ -0,0 +1,6 @@ +{ + "chat.chatting_with": "和聊天中", + "chat.placeholder": "在這裡輸入消息,按Enter發送", + "chat.send": "發送", + "chat.no_active": "暫無聊天" +} \ No newline at end of file diff --git a/public/language/zh_tw/notifications.json b/public/language/zh_tw/notifications.json new file mode 100644 index 0000000000..cccc9762be --- /dev/null +++ b/public/language/zh_tw/notifications.json @@ -0,0 +1,9 @@ +{ + "title": "消息", + "back_to_home": "返回主頁", + "mark_all_as_read": "全部標記為已讀", + "outgoing_link": "站外鏈接", + "outgoing_link_message": "你正在離開本站。", + "continue_to": "繼續前往", + "return_to": "返回" +} \ No newline at end of file diff --git a/public/language/zh_tw/recent.json b/public/language/zh_tw/recent.json new file mode 100644 index 0000000000..b7dfeb7ea7 --- /dev/null +++ b/public/language/zh_tw/recent.json @@ -0,0 +1,5 @@ +{ + "day": "今日", + "week": "本周", + "month": "本月" +} \ No newline at end of file diff --git a/public/language/zh_tw/register.json b/public/language/zh_tw/register.json new file mode 100644 index 0000000000..358704f166 --- /dev/null +++ b/public/language/zh_tw/register.json @@ -0,0 +1,16 @@ +{ + "register": "注冊", + "help.email": "默認情況下,你的郵箱不會公開。", + "help.username_restrictions": "用戶名由%1到%2個字符組成。其他人可以通過 @用戶名 點名你。", + "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 file diff --git a/public/language/zh_tw/reset_password.json b/public/language/zh_tw/reset_password.json new file mode 100644 index 0000000000..4072ceb46f --- /dev/null +++ b/public/language/zh_tw/reset_password.json @@ -0,0 +1,13 @@ +{ + "reset_password": "重置密碼", + "update_password": "更新密碼", + "password_changed.title": "密碼已更改", + "password_changed.message": "

密碼重置成功,請重新登錄。", + "wrong_reset_code.title": "驗証碼不正確", + "wrong_reset_code.message": "您輸入的驗証碼有誤,請重新輸入,或申請新的驗証碼。", + "new_password": "新的密碼", + "repeat_password": "確認密碼", + "enter_email": "請輸入您的Email地址,我們會發送郵件告訴您如何重置密碼。", + "password_reset_sent": "密碼重置郵件已發送。", + "invalid_email": "非法的郵箱地址/郵箱不存在!" +} \ No newline at end of file diff --git a/public/language/zh_tw/topic.json b/public/language/zh_tw/topic.json new file mode 100644 index 0000000000..e7f7fbcbd0 --- /dev/null +++ b/public/language/zh_tw/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": "發帖數" +} \ No newline at end of file diff --git a/public/language/zh_tw/unread.json b/public/language/zh_tw/unread.json new file mode 100644 index 0000000000..6e35a83f1d --- /dev/null +++ b/public/language/zh_tw/unread.json @@ -0,0 +1,5 @@ +{ + "no_unread_topics": "沒有未讀主題。", + "mark_all_read": "標記全部為已讀", + "load_more": "載入更多" +} \ No newline at end of file diff --git a/public/language/zh_tw/user.json b/public/language/zh_tw/user.json new file mode 100644 index 0000000000..e926e22a95 --- /dev/null +++ b/public/language/zh_tw/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": "隱藏" +} \ No newline at end of file diff --git a/public/language/zh_tw/users.json b/public/language/zh_tw/users.json new file mode 100644 index 0000000000..792eba270d --- /dev/null +++ b/public/language/zh_tw/users.json @@ -0,0 +1,9 @@ +{ + "latest_users": "最近用戶", + "top_posters": "發帖最多", + "most_reputation": "聲望最高", + "online": "在線", + "search": "搜索", + "enter_username": "輸入你想找的用戶名", + "load_more": "載入更多" +} \ No newline at end of file diff --git a/public/src/translator.js b/public/src/translator.js index 2cebc85fc7..9edb36a62d 100644 --- a/public/src/translator.js +++ b/public/src/translator.js @@ -39,6 +39,10 @@ languageCode = 'cz'; break; + case 'zh_tw': + languageCode = 'zh-TW'; + break; + case 'zh_cn': languageCode = 'zh-CN'; break;