mirror of https://github.com/ghostfolio/ghostfolio
Browse Source
### 為什麼改 (Why) - **變更目標**:補齊 Ghostfolio 官方 PR #7106 審核意見要求的全部語系註冊與 Changelog 檔案。 - **動機與痛點**:使 Ghostfolio 完整支援繁體中文 (zh-TW),提供台灣與繁體中文使用者原生語言介面與日期格式。 ### 改了什麼 (What) - **語系註冊**:於 `libs/common/src/lib/config.ts` 的 `SUPPORTED_LANGUAGE_CODES` 中加入 `zh-TW`。 - **日期與轉換**:於 `libs/common/src/lib/helper.ts` 中導入 `date-fns/locale` 的 `zhTW` 並在 `getDateFnsLocale` 設定對應邏輯。 - **UI 選單**:於 `user-account-settings.html` 的語言選單中加入 `Chinese / 繁體中文 (zh-TW)` 選項。 - **變更紀錄**:於 `CHANGELOG.md` 中新增 `Add support for Traditional Chinese (zh-TW) locale` 說明。 ### 實體檔案異動清單 (Files Changed) - [修改] `CHANGELOG.md` - [修改] `apps/client/src/app/components/user-account-settings/user-account-settings.html` - [修改] `libs/common/src/lib/config.ts` - [修改] `libs/common/src/lib/helper.ts` ### 驗證狀態 (Verification) - [x] 本地專案結構驗證通過 - [x] 符合 Ghostfolio 官方貢獻規範pull/7565/head
4 changed files with 17 additions and 2 deletions
Loading…
Reference in new issue