From 3df96e270287ad091be16db4f94c8656ac01cdb4 Mon Sep 17 00:00:00 2001 From: gnehs Date: Tue, 2 Dec 2025 17:35:21 +0800 Subject: [PATCH] fix(i18n): update Traditional Chinese translations for search and theme locales (#767) --- plugins/plugin-search/src/node/locales/zh-tw.ts | 6 +++--- theme/src/node/locales/zh-tw.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/plugin-search/src/node/locales/zh-tw.ts b/plugins/plugin-search/src/node/locales/zh-tw.ts index bce9bfd5..4973f911 100644 --- a/plugins/plugin-search/src/node/locales/zh-tw.ts +++ b/plugins/plugin-search/src/node/locales/zh-tw.ts @@ -2,10 +2,10 @@ import type { SearchLocaleOptions } from '../../shared/index.js' export const zhTwSearchLocale: Partial = { - placeholder: '搜索文檔', - resetButtonTitle: '重置搜索', + placeholder: '搜尋文件', + resetButtonTitle: '重設搜尋', backButtonTitle: '關閉', - noResultsText: '無搜索結果:', + noResultsText: '無搜尋結果:', footer: { selectText: '選擇', selectKeyAriaLabel: '輸入', diff --git a/theme/src/node/locales/zh-tw.ts b/theme/src/node/locales/zh-tw.ts index 6734410c..6ae7f03b 100644 --- a/theme/src/node/locales/zh-tw.ts +++ b/theme/src/node/locales/zh-tw.ts @@ -26,7 +26,7 @@ export const zhTwLocale: ThemeLocaleText = { copyrightCreationOriginalText: '本文連結:', copyrightCreationTranslateText: '本文翻譯自:', copyrightCreationReprintText: '本文轉載自:', - copyrightLicenseText: '許可證:', + copyrightLicenseText: '授權條款:', notFound: { code: '404', @@ -36,7 +36,7 @@ export const zhTwLocale: ThemeLocaleText = { }, homeText: '首頁', - postsText: '博客', + postsText: '部落格', tagText: '標籤', archiveText: '歸檔', categoryText: '分類',