]> cat aescling's git repositories - mastodon.git/commit
Add Traditional Chinese, Hong Kong translation (zh-HK) (#1544)
authorKoala Yeung <koalay@gmail.com>
Wed, 12 Apr 2017 06:50:50 +0000 (14:50 +0800)
committerwxcafé <wxcafe@users.noreply.github.com>
Wed, 12 Apr 2017 06:50:50 +0000 (08:50 +0200)
commit24eb45425efc82b55c7412f4b43eae1f49d771ca
tree9d119097cd2e6c92fe65ae8f6a180bf04f2fb314
parent3442bc0ea3c06e64d891fc2e2af0326f1194e3a3
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.
app/assets/javascripts/components/containers/mastodon.jsx
app/assets/javascripts/components/locales/index.jsx
app/assets/javascripts/components/locales/zh-hk.jsx [new file with mode: 0644]
app/helpers/settings_helper.rb
config/application.rb
config/locales/devise.zh-HK.yml [new file with mode: 0644]
config/locales/doorkeeper.zh-HK.yml [new file with mode: 0644]
config/locales/simple_form.zh-HK.yml [new file with mode: 0644]
config/locales/zh-HK.yml [new file with mode: 0644]