Merge branch 'lang-switcher-zh_Hant' into 'develop'

Added Traditional Chinese to language switcher

See merge request pleroma/pleroma-fe!1319
This commit is contained in:
HJ 2021-01-01 15:57:24 +00:00
commit 9d45db959f
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 = {