Fix missing translations for language selection setting

This commit is contained in:
schroda
2024-04-24 23:53:43 +02:00
parent 7ceb1af23e
commit a7cafb59a4
2 changed files with 4 additions and 3 deletions

View File

@@ -25,9 +25,10 @@ export const i18nResources = [
'it',
'ja',
'ko',
'nb_NO',
'nb-NO',
'pt',
'sv',
'tr',
'uk',
'vi',
'zh_Hans',

View File

@@ -38,12 +38,12 @@ export const ISOLanguages: Record<ISOLanguageCode, ISOLanguage> = {
nativeName: 'Português (Brasil)',
dayjsImport: () => import('dayjs/locale/pt-br.js'),
},
'zh-hans': {
zh_Hans: {
name: 'Chinese (Simplified)',
nativeName: '中文 (HANS)',
dayjsImport: () => import('dayjs/locale/zh-cn.js'),
},
'zh-hant': {
zh_Hant: {
name: 'Chinese (Traditional)',
nativeName: '中文 (HANT)',
dayjsImport: () => import('dayjs/locale/zh-hk.js'),