Added Traditional Chinese to language swithcer

This commit is contained in:
Kana 2021-01-01 02:53:16 +00:00
parent 34d8893f1c
commit 9bfc3c275c
2 changed files with 4 additions and 2 deletions

View File

@ -63,7 +63,8 @@ export default {
const specialLanguageNames = {
'ja': 'Japanese (日本語)',
'ja_easy': 'Japanese (やさしいにほんご)',
'zh': 'Chinese (简体中文)'
'zh': 'Simplified Chinese (简体中文)',
'zh_Hant': 'Traditional Chinese (繁體中文)'
}
return specialLanguageNames[code] || ISO6391.getName(code)
}

View File

@ -34,7 +34,8 @@ const loaders = {
ru: () => import('./ru.json'),
te: () => import('./te.json'),
uk: () => import('./uk.json'),
zh: () => import('./zh.json')
zh: () => import('./zh.json'),
zh_Hant: () => import('./zh_Hant.json')
}
const messages = {