Update main.ts

Fix locale import: use zh-Hant instead of zh-TW
This commit is contained in:
LokiHung 2025-02-12 03:22:27 +08:00 committed by GitHub
parent 10bfad7077
commit dfec83207c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -181,7 +181,7 @@ import localeSv from '@angular/common/locales/sv'
import localeTr from '@angular/common/locales/tr'
import localeUk from '@angular/common/locales/uk'
import localeZh from '@angular/common/locales/zh'
import localeZhTw from '@angular/common/locales/zh-TW'
import localeZhHant from '@angular/common/locales/zh-Hant'
import { CorrespondentNamePipe } from './app/pipes/correspondent-name.pipe'
import { DocumentTypeNamePipe } from './app/pipes/document-type-name.pipe'
import { StoragePathNamePipe } from './app/pipes/storage-path-name.pipe'
@ -218,7 +218,7 @@ registerLocaleData(localeSv)
registerLocaleData(localeTr)
registerLocaleData(localeUk)
registerLocaleData(localeZh)
registerLocaleData(localeZhTw)
registerLocaleData(localeZhHant)
function initializeApp(settings: SettingsService) {
return () => {