From 3d43bfe2678218e1dcd678b13696915cc5b336de Mon Sep 17 00:00:00 2001 From: Aaron Chen Date: Tue, 2 Jul 2024 00:40:12 +0800 Subject: [PATCH] fix(theme-translation): add more Traditional Chinese(zh-Hant) translation --- .../locales/zh-Hant/theme-common.json | 16 ++++++++-------- .../locales/zh-Hant/theme-search-algolia.json | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json index 8785cab5cd5a..cbb172b61645 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-common.json @@ -3,10 +3,10 @@ "theme.BackToTopButton.buttonAriaLabel": "回到頂部", "theme.CodeBlock.copied": "複製成功", "theme.CodeBlock.copy": "複製", - "theme.CodeBlock.copyButtonAriaLabel": "複製代碼至剪貼簿", + "theme.CodeBlock.copyButtonAriaLabel": "複製程式碼至剪貼簿", "theme.CodeBlock.wordWrapToggle": "切換自動換行", - "theme.DocSidebarItem.collapseCategoryAriaLabel": "Collapse sidebar category '{label}'", - "theme.DocSidebarItem.expandCategoryAriaLabel": "Expand sidebar category '{label}'", + "theme.DocSidebarItem.collapseCategoryAriaLabel": "收起側邊欄分類 '{label}'", + "theme.DocSidebarItem.expandCategoryAriaLabel": "展開側邊欄分類 '{label}'", "theme.ErrorPageContent.title": "此頁已當機。", "theme.ErrorPageContent.tryAgain": "重試", "theme.NavBar.navAriaLabel": "主導航", @@ -16,10 +16,10 @@ "theme.TOCCollapsible.toggleButtonLabel": "本頁導覽", "theme.admonition.caution": "警告", "theme.admonition.danger": "危險", - "theme.admonition.info": "信息", + "theme.admonition.info": "資訊", "theme.admonition.note": "備註", "theme.admonition.tip": "提示", - "theme.admonition.warning": "warning", + "theme.admonition.warning": "注意", "theme.blog.archive.description": "歷史文章", "theme.blog.archive.title": "歷史文章", "theme.blog.paginator.navAriaLabel": "部落格文章列表分頁導覽", @@ -34,8 +34,8 @@ "theme.blog.post.readingTime.plurals": "閱讀時間約 {readingTime} 分鐘", "theme.blog.sidebar.navAriaLabel": "最近部落格文章導覽", "theme.blog.tagTitle": "{nPosts} 含有標籤「{tagName}」", - "theme.colorToggle.ariaLabel": "切換淺色/暗黑模式(當前為{mode})", - "theme.colorToggle.ariaLabel.mode.dark": "暗黑模式", + "theme.colorToggle.ariaLabel": "切換淺色/深色模式(當前為{mode})", + "theme.colorToggle.ariaLabel.mode.dark": "深色模式", "theme.colorToggle.ariaLabel.mode.light": "淺色模式", "theme.common.editThisPage": "編輯此頁", "theme.common.headingLinkTitle": "{heading}的直接連結", @@ -52,7 +52,7 @@ "theme.docs.sidebar.expandButtonAriaLabel": "展開側邊欄", "theme.docs.sidebar.expandButtonTitle": "展開側邊欄", "theme.docs.sidebar.navAriaLabel": "文件側邊欄", - "theme.docs.sidebar.toggleSidebarButtonAriaLabel": "Toggle navigation bar", + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": "切換導覽列", "theme.docs.tagDocListPageTitle": "{nDocsTagged}「{tagName}」", "theme.docs.tagDocListPageTitle.nDocsTagged": "{count} 篇文件帶有標籤", "theme.docs.versionBadge.label": "版本:{versionLabel}", diff --git a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-search-algolia.json b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-search-algolia.json index 9749e912f216..9e71d665614c 100644 --- a/packages/docusaurus-theme-translations/locales/zh-Hant/theme-search-algolia.json +++ b/packages/docusaurus-theme-translations/locales/zh-Hant/theme-search-algolia.json @@ -1,29 +1,29 @@ { "theme.SearchBar.label": "搜尋", "theme.SearchBar.seeAll": "查看全部 {count} 個結果", - "theme.SearchModal.errorScreen.helpText": "你可能需要檢查網路連接。", + "theme.SearchModal.errorScreen.helpText": "你可能需要檢查網路連線。", "theme.SearchModal.errorScreen.titleText": "無法獲取結果", "theme.SearchModal.footer.closeKeyAriaLabel": "Esc 鍵", "theme.SearchModal.footer.closeText": "關閉", "theme.SearchModal.footer.navigateDownKeyAriaLabel": "向下鍵", "theme.SearchModal.footer.navigateText": "導航", "theme.SearchModal.footer.navigateUpKeyAriaLabel": "向上鍵", - "theme.SearchModal.footer.searchByText": "搜索提供", + "theme.SearchModal.footer.searchByText": "搜尋提供", "theme.SearchModal.footer.selectKeyAriaLabel": "Enter 鍵", "theme.SearchModal.footer.selectText": "選中", "theme.SearchModal.noResultsScreen.noResultsText": "沒有結果:", "theme.SearchModal.noResultsScreen.reportMissingResultsLinkText": "請告知我們。", "theme.SearchModal.noResultsScreen.reportMissingResultsText": "認為這個查詢應該有結果?", - "theme.SearchModal.noResultsScreen.suggestedQueryText": "試試搜索", - "theme.SearchModal.placeholder": "搜索文檔", + "theme.SearchModal.noResultsScreen.suggestedQueryText": "試試搜尋", + "theme.SearchModal.placeholder": "搜尋文檔", "theme.SearchModal.searchBox.cancelButtonText": "取消", "theme.SearchModal.searchBox.resetButtonTitle": "清除查詢", "theme.SearchModal.startScreen.favoriteSearchesTitle": "收藏", - "theme.SearchModal.startScreen.noRecentSearchesText": "沒有最近搜索", - "theme.SearchModal.startScreen.recentSearchesTitle": "最近搜索", - "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": "從收藏列表中刪除這個搜索", - "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": "從歷史記錄中刪除這個搜索", - "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "保存這個搜索", + "theme.SearchModal.startScreen.noRecentSearchesText": "沒有最近的搜尋", + "theme.SearchModal.startScreen.recentSearchesTitle": "最近搜尋", + "theme.SearchModal.startScreen.removeFavoriteSearchButtonTitle": "從收藏列表中刪除這個搜尋", + "theme.SearchModal.startScreen.removeRecentSearchButtonTitle": "從歷史記錄中刪除這個搜尋", + "theme.SearchModal.startScreen.saveRecentSearchButtonTitle": "保存這個搜尋", "theme.SearchPage.algoliaLabel": "透過 Algolia 搜尋", "theme.SearchPage.documentsFound.plurals": "找到 {count} 份文件", "theme.SearchPage.emptyResultsTitle": "在文件中搜尋",