1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add nan-TW locale

This commit is contained in:
GunChleoc 2024-02-13 09:28:29 +00:00
parent 5de1ce23c3
commit 320985decb
2 changed files with 2 additions and 0 deletions

View file

@ -209,6 +209,7 @@ module LanguagesHelper
# but a language family in spite of sharing the main locale code # but a language family in spite of sharing the main locale code
# We need to be able to filter these # We need to be able to filter these
ISO_639_1_REGIONAL = { ISO_639_1_REGIONAL = {
'nan-TW': ['Taiwanese (Hokkien)', '臺語Hô-ló話'].freeze,
'zh-CN': ['Chinese (China)', '简体中文'].freeze, 'zh-CN': ['Chinese (China)', '简体中文'].freeze,
'zh-HK': ['Chinese (Hong Kong)', '繁體中文(香港)'].freeze, 'zh-HK': ['Chinese (Hong Kong)', '繁體中文(香港)'].freeze,
'zh-TW': ['Chinese (Taiwan)', '繁體中文(臺灣)'].freeze, 'zh-TW': ['Chinese (Taiwan)', '繁體中文(臺灣)'].freeze,

View file

@ -62,6 +62,7 @@ Rails.application.configure do
:mr, :mr,
:ms, :ms,
:my, :my,
:'nan-TW',
:nl, :nl,
:nn, :nn,
:no, :no,