mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-12 19:44:53 +00:00
Added Traditional Chinese to language swithcer
This commit is contained in:
parent
34d8893f1c
commit
9bfc3c275c
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