-
- Downloads
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.
Showing
- app/assets/javascripts/components/containers/mastodon.jsx 22 additions, 6 deletionsapp/assets/javascripts/components/containers/mastodon.jsx
- app/assets/javascripts/components/locales/index.jsx 3 additions, 2 deletionsapp/assets/javascripts/components/locales/index.jsx
- app/assets/javascripts/components/locales/zh-hk.jsx 113 additions, 0 deletionsapp/assets/javascripts/components/locales/zh-hk.jsx
- app/helpers/settings_helper.rb 4 additions, 4 deletionsapp/helpers/settings_helper.rb
- config/application.rb 15 additions, 1 deletionconfig/application.rb
- config/locales/devise.zh-HK.yml 61 additions, 0 deletionsconfig/locales/devise.zh-HK.yml
- config/locales/doorkeeper.zh-HK.yml 113 additions, 0 deletionsconfig/locales/doorkeeper.zh-HK.yml
- config/locales/simple_form.zh-HK.yml 46 additions, 0 deletionsconfig/locales/simple_form.zh-HK.yml
- config/locales/zh-HK.yml 172 additions, 0 deletionsconfig/locales/zh-HK.yml
config/locales/devise.zh-HK.yml
0 → 100644
config/locales/doorkeeper.zh-HK.yml
0 → 100644
config/locales/simple_form.zh-HK.yml
0 → 100644
config/locales/zh-HK.yml
0 → 100644
Please register or sign in to comment