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:
commit
9d45db959f
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue