Add traditional Chinese translation

for traditional user.
This commit is contained in:
-Shiken- 2024-03-12 11:29:24 +08:00 committed by GitHub
parent 77559d29bb
commit 7b1b448795
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,7 @@ const languageCodeMap = {
'sv': { label: 'Svenska', dateFnsLocale: 'sv' }, 'sv': { label: 'Svenska', dateFnsLocale: 'sv' },
'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' }, 'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' },
'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' }, 'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
'zh-tw': { label: '正體中文 (Traditional Chinese)', dateFnsLocale: 'zhTW' },
} }
Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => { Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {
return { return {