Add Traditional Chinese, Hong Kong translation (zh-HK) (#1544)

* Added Chinese Traditional Hong Kong (zh-HK) for Ruby

* Added translations for Ruby.

* Added Chinese Traditional Hong Kong (zh-HK) for JS

* Added translations for javascript code.

* Rearrange language references in mastodon.jsx

* Break `addLocaleData` into multiple lines. Make future commit more readable.
* Roughly re-sort the languages in alphabetical orders
  (only manually put English on top because it is default).

* Sort application.rb locale with alphabetical order

With exception that English (default language) goes first.
Improve code readability.

* Resort language selection box alphabetically

Sort HUMAN_LOCALES in the alphabetical order of display name
(except English, the default language, come first).

Improve usability.
This commit is contained in:
Koala Yeung 2017-04-12 14:50:50 +08:00 committed by wxcafé
parent 3442bc0ea3
commit 24eb45425e
9 changed files with 551 additions and 15 deletions

View file

@ -0,0 +1,46 @@
---
zh-HK:
simple_form:
hints:
defaults:
avatar: 支援 PNG, GIF 或 JPG 圖片,檔案大小上限為 2MB會被縮裁成 120x120px
display_name: 最多 30 個字元
header: 支援 PNG, GIF 或 JPG 圖片,檔案大小上限為 2MB會被縮裁成 700x335px
locked: 你必須人手核准每個用戶對你的關注請求,而你的文章私隱會被預設為「只有關注你的人能看」
note: 最多 160 個字元
imports:
data: 自其他服務站匯出的 CSV 檔案
labels:
defaults:
avatar: 個人頭像
confirm_new_password: 確認新密碼
confirm_password: 確認密碼
current_password: 目前密碼
data: 資料
display_name: 顯示名稱
email: 電郵地址
header: 個人頁面頂部
locale: 語言
locked: 將用戶轉為「私人」
new_password: 新密碼
note: 簡介
otp_attempt: 雙重認證碼
password: 密碼
setting_default_privacy: 文章預設私隱度
type: 匯入資料類型
username: 用戶名稱
interactions:
must_be_follower: 隱藏沒有關注你的用戶的通知
must_be_following: 隱藏你不關注的用戶的通知
notification_emails:
digest: 定期電郵摘要
favourite: 當有用戶喜歡你的文章時,發電郵通知
follow: 當有用戶關注你時,發電郵通知
follow_request: 當有用戶要求關注你時,發電郵通知
mention: 當有用戶在文章提及你時,發電郵通知
reblog: 當有用戶轉推你的文章時,發電郵通知
'no': '否'
required:
mark: "*"
text: 必須填寫
'yes': '是'