From dfec83207ceef6bcc0b3fb2cd0222b2a8ae942cc Mon Sep 17 00:00:00 2001 From: LokiHung <80607635+LokiHung@users.noreply.github.com> Date: Wed, 12 Feb 2025 03:22:27 +0800 Subject: [PATCH] Update main.ts Fix locale import: use zh-Hant instead of zh-TW --- src-ui/src/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-ui/src/main.ts b/src-ui/src/main.ts index e787faf75..a9d446891 100644 --- a/src-ui/src/main.ts +++ b/src-ui/src/main.ts @@ -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 () => {