diff --git a/packages/gitbook/src/intl/translations/index.ts b/packages/gitbook/src/intl/translations/index.ts index 81b77103cf..404bdd1316 100644 --- a/packages/gitbook/src/intl/translations/index.ts +++ b/packages/gitbook/src/intl/translations/index.ts @@ -10,6 +10,7 @@ import { no } from './no'; import { pt_br } from './pt-br'; import type { TranslationLanguage } from './types'; import { zh } from './zh'; +import { zh_tw } from './zh-tw'; export * from './types'; @@ -27,4 +28,5 @@ export const languages: { nl, no, 'pt-br': pt_br, + 'zh-tw': zh_tw, }; diff --git a/packages/gitbook/src/intl/translations/zh-tw.ts b/packages/gitbook/src/intl/translations/zh-tw.ts new file mode 100644 index 0000000000..0ff4c4d909 --- /dev/null +++ b/packages/gitbook/src/intl/translations/zh-tw.ts @@ -0,0 +1,59 @@ +import type { TranslationLanguage } from './types'; + +export const zh_tw: TranslationLanguage = { + locale: 'zh-tw', + powered_by_gitbook: '由 GitBook 提供支援', + sponsored_via_gitbook: '由 GitBook 贊助', + switch_to_dark_theme: '切換至深色主題', + switch_to_light_theme: '切換至淺色主題', + switch_to_system_theme: '切換至系統主題', + search: '搜尋', + search_or_ask: '搜尋或提問', + search_input_placeholder: '輸入搜尋內容', + search_ask_input_placeholder: '輸入搜尋內容或提問', + search_no_results: '未找到與「${1}」相關的結果。', + search_scope_space: '${1}', + search_scope_all: '全部內容', + search_ask: '詢問「${1}」', + search_ask_description: '使用 AI 尋找答案', + search_ask_sources: '來源', + search_ask_sources_no_answer: '相關頁面', + search_ask_no_answer: '無法找到您的問題的答案。您可以嘗試重新表達或提供更具體的資訊。', + search_ask_error: '發生錯誤,請稍後再試。', + on_this_page: '本頁內容', + next_page: '下一頁', + previous_page: '上一頁', + page_last_modified: '最後更新於 ${1}', + was_this_helpful: '這對您有幫助嗎?', + was_this_helpful_positive: '是的,很有幫助!', + was_this_helpful_neutral: '不確定', + was_this_helpful_negative: '沒有幫助', + was_this_helpful_thank_you: '感謝您的回饋!', + was_this_helpful_comment: '有什麼想補充的嗎?', + submit: '提交', + annotation_button_label: '開啟註解', + code_copied: '已複製!', + code_copy: '複製', + table_of_contents_button_label: '開啟目錄', + cookies_title: 'Cookies', + cookies_prompt: '本網站使用 Cookies 來提供服務並分析流量。繼續瀏覽即表示您同意${1}。', + cookies_prompt_privacy: '隱私權政策', + cookies_accept: '接受', + cookies_reject: '拒絕', + cookies_close: '關閉', + edit_on_git: '在 ${1} 上編輯此頁面', + notfound_title: '找不到頁面', + notfound: '您要找的頁面不存在。', + unexpected_error_title: '發生錯誤', + unexpected_error: '抱歉,發生意外錯誤,請稍後再試。', + unexpected_error_retry: '重試', + pdf_download: '匯出為 PDF', + pdf_goback: '返回內容', + pdf_print: '列印或儲存為 PDF', + pdf_page_of: '第 ${1} 頁,共 ${2} 頁', + pdf_mode_only_page: '僅此頁', + pdf_mode_all: '所有頁面', + pdf_limit_reached: '無法為 ${1} 頁生成 PDF,已在第 ${2} 頁停止。', + pdf_limit_reached_continue: '擴充 ${1} 頁。', + more: '更多', +};