From 017fbf982d1f17c15dbfdbf5e39b2c166e6f77b0 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Tue, 27 Jan 2026 12:49:44 +0100 Subject: [PATCH] chore: update Traditional Chinese localization files (#1251) closes https://github.com/CaiJimmy/hugo-theme-stack/issues/1222 --- i18n/zh-hant-hk.toml | 33 ++++++++++++--------------------- i18n/zh-hant-tw.toml | 17 ++++------------- 2 files changed, 16 insertions(+), 34 deletions(-) diff --git a/i18n/zh-hant-hk.toml b/i18n/zh-hant-hk.toml index 4f0e37d..f9c4d37 100644 --- a/i18n/zh-hant-hk.toml +++ b/i18n/zh-hant-hk.toml @@ -2,46 +2,37 @@ toggleMenu = "切換選單" darkMode = "深色模式" [list] - section = "Section" - - [list.page] - one = "第 {{ .Count }} 頁" - other = "第 {{ .Count }} 頁" - - [list.subsection] - one = "Subsection" - other = "Subsections" + page = "{{ .Count }} 篇文章" + section = "章節" + subsection = "子章節" [article] back = "返回" tableOfContents = "目錄" relatedContent = "相關內容" lastUpdatedOn = "上次改過於" - - [article.readingTime] - one = "需要 {{ .Count }} 分鐘閱讀" - other = "需要 {{ .Count }} 分鐘閱讀" + readingTime = "閱讀時間 {{ .Count }} 分鐘" [notFound] - title = "Not Found" - subtitle = "頁面不存在" + title = "找不到頁面" + subtitle = "本頁面並不存在" [widget] [widget.archives] - title = "Archives" + title = "歸檔" more = "更多" [widget.tagCloud] - title = "Tags" + title = "標籤" [widget.categoriesCloud] - title = "Categories" + title = "分類" [search] title = "搜尋" - placeholder = "Type 關鍵字..." - resultTitle = "#PAGES_COUNT pages (#TIME_SECONDS seconds)" + placeholder = "輸入關鍵字..." + resultTitle = "找到 #PAGES_COUNT 個結果 (用時 #TIME_SECONDS 秒)" [footer] - builtWith = "Built with {{ .Generator }}" + builtWith = "使用 {{ .Generator }} 建立" designedBy = "主題 {{ .Theme }} 由 {{ .DesignedBy }} 設計" diff --git a/i18n/zh-hant-tw.toml b/i18n/zh-hant-tw.toml index d762541..307abe0 100644 --- a/i18n/zh-hant-tw.toml +++ b/i18n/zh-hant-tw.toml @@ -2,25 +2,16 @@ toggleMenu = "切換選單" darkMode = "夜晚模式" [list] - section = "段落" - - [list.page] - one = "第 {{ .Count }} 頁" - other = "第 {{ .Count }} 頁" - - [list.subsection] - one = "小節" - other = "小節" + section = "段落" + page = "第 {{ .Count }} 頁" + subsection = "小節" [article] back = "返回" tableOfContents = "目錄" relatedContent = "相關文章" lastUpdatedOn = "最後更新" - - [article.readingTime] - one = "閱讀時間: {{ .Count }} 分鐘" - other = "閱讀時間: {{ .Count }} 分鐘" + readingTime = "閱讀時間: {{ .Count }} 分鐘" [notFound] title = "404 錯誤"