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
2 changed files with 4 additions and 2 deletions
|
@ -63,7 +63,8 @@ export default {
|
||||||
const specialLanguageNames = {
|
const specialLanguageNames = {
|
||||||
'ja': 'Japanese (日本語)',
|
'ja': 'Japanese (日本語)',
|
||||||
'ja_easy': 'Japanese (やさしいにほんご)',
|
'ja_easy': 'Japanese (やさしいにほんご)',
|
||||||
'zh': 'Chinese (简体中文)'
|
'zh': 'Simplified Chinese (简体中文)',
|
||||||
|
'zh_Hant': 'Traditional Chinese (繁體中文)'
|
||||||
}
|
}
|
||||||
return specialLanguageNames[code] || ISO6391.getName(code)
|
return specialLanguageNames[code] || ISO6391.getName(code)
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,8 @@ const loaders = {
|
||||||
ru: () => import('./ru.json'),
|
ru: () => import('./ru.json'),
|
||||||
te: () => import('./te.json'),
|
te: () => import('./te.json'),
|
||||||
uk: () => import('./uk.json'),
|
uk: () => import('./uk.json'),
|
||||||
zh: () => import('./zh.json')
|
zh: () => import('./zh.json'),
|
||||||
|
zh_Hant: () => import('./zh_Hant.json')
|
||||||
}
|
}
|
||||||
|
|
||||||
const messages = {
|
const messages = {
|
||||||
|
|
Loading…
Reference in a new issue