From 96fa354d2a121af6efbaca518cb970d9f37a04cf Mon Sep 17 00:00:00 2001 From: Akiicat Date: Sun, 26 Feb 2023 23:44:56 +0800 Subject: [PATCH 1/2] Update zh-TW.html --- src/partials/languages/zh-TW.html | 32 ++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/src/partials/languages/zh-TW.html b/src/partials/languages/zh-TW.html index 57d5f28af..6e518d948 100644 --- a/src/partials/languages/zh-TW.html +++ b/src/partials/languages/zh-TW.html @@ -22,23 +22,39 @@ {% macro t(key) %}{{ { - "language": "zh-Hant", + "language": "zh-TW", "action.edit": "編輯此頁", "action.skip": "跳轉到", + "action.view": "查看此頁原始碼", "announce.dismiss": "不再顯示此訊息", + "blog.archive": "封存", + "blog.categories": "分類", + "blog.categories.in": "於", + "blog.continue": "繼續閱讀", + "blog.draft": "草稿", + "blog.index": "回到主頁", + "blog.meta": "元數據", + "blog.references": "相關連結", "clipboard.copy": "複製", "clipboard.copied": "已複製", "consent.accept": "同意", "consent.manage": "管理設定", "consent.reject": "拒絕", + "footer": "頁腳", "footer.next": "下一頁", "footer.previous": "上一頁", + "header": "頁首", "meta.comments": "留言", "meta.source": "來源", - "search.config.lang": "ja", - "search.config.pipeline": "stemmer", - "search.config.separator": "[\\s\\- 、。,.?;]+", + "nav": "導覽列", + "readtime.one": "需要 1 分鐘閱讀時間", + "readtime.other": "需要 # 分鐘閱讀時間", + "rss.created": "RSS 訂閱", + "rss.updated": "RSS 訂閱內容已更新", + "search": "搜尋", "search.placeholder": "搜尋", + "search.share": "分享", + "search.reset": "清除", "search.result.initializer": "正在初始化搜尋引擎", "search.result.placeholder": "打字進行搜尋", "search.result.none": "沒有符合的項目", @@ -46,8 +62,14 @@ "search.result.other": "找到 # 個符合的項目", "search.result.more.one": "此頁尚有 1 個符合的項目", "search.result.more.other": "此頁尚有 # 個符合的項目", + "search.result.term.missing": "缺少字詞", + "select.language": "選擇語言", + "select.version": "選擇版本", "source": "前往倉庫", + "source.file.contributors": "貢獻者", "source.file.date.created": "建立日期", "source.file.date.updated": "最後更新", - "toc": "目錄" + "tabs": "標籤", + "toc": "目錄", + "top": "回到頂端" }[key] }}{% endmacro %} From 901b05e5eea9be27404c9891b4f5dd042880b9d3 Mon Sep 17 00:00:00 2001 From: Akiicat Date: Sun, 26 Feb 2023 23:52:11 +0800 Subject: [PATCH 2/2] Update zh-TW.html add search.config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "search.config.lang": "ja", "search.config.pipeline": "stemmer", "search.config.separator": "[\\s\\- 、。,.?;]+", --- src/partials/languages/zh-TW.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/partials/languages/zh-TW.html b/src/partials/languages/zh-TW.html index 6e518d948..fd09de928 100644 --- a/src/partials/languages/zh-TW.html +++ b/src/partials/languages/zh-TW.html @@ -52,6 +52,9 @@ "rss.created": "RSS 訂閱", "rss.updated": "RSS 訂閱內容已更新", "search": "搜尋", + "search.config.lang": "ja", + "search.config.pipeline": "stemmer", + "search.config.separator": "[\\s\\- 、。,.?;]+", "search.placeholder": "搜尋", "search.share": "分享", "search.reset": "清除",