From 7f0808cbf9cf8902957d210395b33b7d66f31a14 Mon Sep 17 00:00:00 2001 From: mixflavor <31689802+mixflavor@users.noreply.github.com> Date: Sat, 6 Jun 2026 08:34:42 +0900 Subject: [PATCH] feat(i18n): add Traditional Chinese (Taiwan) zh-TW locale MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The zh-tw locale was an empty stub, so Obsidian users with display language set to 繁體中文 (zh-TW) saw the plugin fall back to English. This fills it in with a complete set of Traditional Chinese (Taiwan) translations for all UI strings. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/lang/locale/zh-tw.ts | 229 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 228 insertions(+), 1 deletion(-) diff --git a/src/lang/locale/zh-tw.ts b/src/lang/locale/zh-tw.ts index 0c030397..6bd89c88 100644 --- a/src/lang/locale/zh-tw.ts +++ b/src/lang/locale/zh-tw.ts @@ -1,6 +1,233 @@ // 繁體中文 import { Lang } from './en'; -const lang: Partial = {}; +const lang: Partial = { + 'Open as kanban board': '以看板開啟', + 'Create new board': '建立新看板', + 'Archive completed cards in active board': '封存目前看板中已完成的卡片', + 'Error: current file is not a Kanban board': '錯誤:目前的檔案不是看板', + 'Convert empty note to Kanban': '將空白筆記轉換為看板', + 'Error: cannot create Kanban, the current note is not empty': + '錯誤:無法建立看板,目前的筆記不是空白的', + 'New kanban board': '新看板', + 'Untitled Kanban': '未命名看板', + 'Toggle between Kanban and markdown mode': '切換看板與 Markdown 模式', + 'View as board': '以看板檢視', + 'View as list': '以清單檢視', + 'View as table': '以表格檢視', + 'Board view': '看板檢視', + 'Open as markdown': '以 Markdown 開啟', + 'Open board settings': '開啟看板設定', + 'Archive completed cards': '封存已完成的卡片', + 'Something went wrong': '發生錯誤', + 'You may wish to open as markdown and inspect or edit the file.': + '你可以改用 Markdown 開啟,檢查或編輯這個檔案。', + 'Are you sure you want to archive all completed cards on this board?': + '確定要封存這個看板上所有已完成的卡片嗎?', + Complete: '完成', + Archive: '封存', + 'Invalid Kanban file: problems parsing frontmatter': + '無效的看板檔案:解析 frontmatter 時發生問題', + "I don't know how to interpret this line:": '無法解讀這一行:', + Untitled: '未命名', + 'Note: No template plugins are currently enabled.': '注意:目前未啟用任何範本外掛。', + default: '預設', + 'Search...': '搜尋…', + 'New line trigger': '換行觸發鍵', + 'Select whether Enter or Shift+Enter creates a new line. The opposite of what you choose will create and complete editing of cards and lists.': + '選擇用 Enter 還是 Shift+Enter 換行;另一個按鍵則會建立並完成卡片與清單的編輯。', + 'Shift + Enter': 'Shift + Enter', + 'Prepend / append new cards': '新卡片加到開頭/結尾', + 'This setting controls whether new cards are added to the beginning or end of the list.': + '這個設定控制新卡片要加到清單的開頭還是結尾。', + Prepend: '加到開頭', + 'Prepend (compact)': '加到開頭(精簡)', + Append: '加到結尾', + 'These settings will take precedence over the default Kanban board settings.': + '這些設定會覆寫預設的看板設定。', + 'Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.': + '設定看板的預設值;每個看板都可以各自覆寫。', + 'Note template': '筆記範本', + 'This template will be used when creating new notes from Kanban cards.': + '從看板卡片建立新筆記時,會套用這個範本。', + 'No template': '無範本', + 'Note folder': '筆記資料夾', + 'Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.': + '從看板卡片建立的筆記會放在這個資料夾;留空則放在此儲存庫的預設位置。', + 'Default folder': '預設資料夾', + 'List width': '清單寬度', + 'Expand lists to full width in list view': '在清單檢視中將清單展開為全寬', + 'Enter a number to set the list width in pixels.': '輸入數字以設定清單寬度(像素)。', + 'Maximum number of archived cards': '封存卡片的數量上限', + "Archived cards can be viewed in markdown mode. This setting will begin removing old cards once the limit is reached. Setting this value to -1 will allow a board's archive to grow infinitely.": + '封存的卡片可在 Markdown 模式檢視。達到上限後會開始移除舊卡片;將此值設為 -1 則讓看板的封存無限增加。', + 'Display card checkbox': '顯示卡片核取方塊', + 'When toggled, a checkbox will be displayed with each card': + '開啟時,每張卡片都會顯示一個核取方塊', + 'Reset to default': '重設為預設值', + 'Date & Time': '日期與時間', + 'Date trigger': '日期觸發字元', + 'When this is typed, it will trigger the date selector': '輸入此字元時會開啟日期選擇器', + 'Time trigger': '時間觸發字元', + 'When this is typed, it will trigger the time selector': '輸入此字元時會開啟時間選擇器', + 'Date format': '日期格式', + 'This format will be used when saving dates in markdown.': + '在 Markdown 中儲存日期時會使用這個格式。', + 'For more syntax, refer to': '更多語法請參考', + 'format reference': '格式參考', + 'Your current syntax looks like this': '你目前的語法看起來像這樣', + 'Time format': '時間格式', + 'Date display format': '日期顯示格式', + 'This format will be used when displaying dates in Kanban cards.': + '在看板卡片中顯示日期時會使用這個格式。', + 'Show relative date': '顯示相對日期', + "When toggled, cards will display the distance between today and the card's date. eg. 'In 3 days', 'A month ago'. Relative dates will not be shown for dates from the Tasks and Dataview plugins.": + '開啟時,卡片會顯示今天與卡片日期相隔多久,例如「3 天後」「一個月前」。來自 Tasks 與 Dataview 外掛的日期不會顯示相對日期。', + 'Move dates to card footer': '將日期移到卡片底部', + "When toggled, dates will be displayed in the card's footer instead of the card's body.": + '開啟時,日期會顯示在卡片底部,而非卡片內容中。', + 'Move tags to card footer': '將標籤移到卡片底部', + "When toggled, tags will be displayed in the card's footer instead of the card's body.": + '開啟時,標籤會顯示在卡片底部,而非卡片內容中。', + 'Move task data to card footer': '將任務資料移到卡片底部', + "When toggled, task data (from the Tasks plugin) will be displayed in the card's footer instead of the card's body.": + '開啟時,任務資料(來自 Tasks 外掛)會顯示在卡片底部,而非卡片內容中。', + 'Inline metadata position': '行內中繼資料位置', + 'Controls where the inline metadata (from the Dataview plugin) will be displayed.': + '控制行內中繼資料(來自 Dataview 外掛)的顯示位置。', + 'Card body': '卡片內容', + 'Card footer': '卡片底部', + 'Merge with linked page metadata': '與連結頁面的中繼資料合併', + 'Hide card counts in list titles': '在清單標題隱藏卡片數量', + 'When toggled, card counts are hidden from the list title': '開啟時,清單標題不顯示卡片數量', + 'Link dates to daily notes': '將日期連結到每日筆記', + 'When toggled, dates will link to daily notes. Eg. [[2021-04-26]]': + '開啟時,日期會連結到每日筆記,例如 [[2021-04-26]]', + 'Add date and time to archived cards': '為封存的卡片加上日期與時間', + 'When toggled, the current date and time will be added to the card title when it is archived. Eg. - [ ] 2021-05-14 10:00am My card title': + '開啟時,卡片封存時會在標題加上目前的日期與時間,例如 - [ ] 2021-05-14 10:00am 我的卡片標題', + 'Add archive date/time after card title': '將封存日期/時間加在卡片標題之後', + 'When toggled, the archived date/time will be added after the card title, e.g.- [ ] My card title 2021-05-14 10:00am. By default, it is inserted before the title.': + '開啟時,封存日期/時間會加在卡片標題之後,例如 - [ ] 我的卡片標題 2021-05-14 10:00am;預設則是加在標題之前。', + 'Archive date/time separator': '封存日期/時間分隔字元', + 'This will be used to separate the archived date/time from the title': + '用來分隔封存日期/時間與標題', + 'Archive date/time format': '封存日期/時間格式', + 'Kanban Plugin': '看板外掛', + 'Tag click action': '點擊標籤的動作', + 'Search Kanban Board': '搜尋看板', + 'Search Obsidian Vault': '搜尋 Obsidian 儲存庫', + 'This setting controls whether clicking the tags displayed below the card title opens the Obsidian search or the Kanban board search.': + '這個設定控制點擊卡片標題下方的標籤時,要開啟 Obsidian 搜尋還是看板搜尋。', + 'Tag colors': '標籤顏色', + 'Set colors for tags displayed in cards.': '設定卡片中顯示的標籤顏色。', + 'Linked Page Metadata': '連結頁面的中繼資料', + 'Inline Metadata': '行內中繼資料', + 'Display metadata for the first note linked within a card. Specify which metadata keys to display below. An optional label can be provided, and labels can be hidden altogether.': + '顯示卡片中第一個連結筆記的中繼資料。在下方指定要顯示哪些中繼資料鍵;可另外提供標籤名稱,也可以完全隱藏標籤。', + 'Board Header Buttons': '看板標題列按鈕', + 'Calendar: first day of week': '行事曆:每週的第一天', + 'Override which day is used as the start of the week': '覆寫每週從星期幾開始', + Sunday: '星期日', + Monday: '星期一', + Tuesday: '星期二', + Wednesday: '星期三', + Thursday: '星期四', + Friday: '星期五', + Saturday: '星期六', + 'Background color': '背景顏色', + Tag: '標籤', + 'Text color': '文字顏色', + 'Date is': '日期為', + Today: '今天', + 'After now': '在現在之後', + 'Before now': '在現在之前', + 'Between now and': '介於現在與', + 'Display date colors': '顯示日期顏色', + 'Set colors for dates displayed in cards based on the rules below.': + '依照下方規則設定卡片中日期的顏色。', + 'Add date color': '新增日期顏色', + 'Metadata key': '中繼資料鍵', + 'Display label': '顯示標籤名稱', + 'Hide label': '隱藏標籤名稱', + 'Drag to rearrange': '拖曳以重新排列', + Delete: '刪除', + 'Add key': '新增鍵', + 'Add tag': '新增標籤', + 'Field contains markdown': '欄位包含 Markdown', + 'Tag sort order': '標籤排序順序', + 'Set an explicit sort order for the specified tags.': '為指定的標籤設定明確的排序順序。', + 'Add tag color': '新增標籤顏色', + List: '清單', + Card: '卡片', + Date: '日期', + Tags: '標籤', + Priority: '優先順序', + Start: '開始', + Created: '建立', + Scheduled: '排程', + Due: '到期', + Cancelled: '已取消', + Recurrence: '重複', + 'Depends on': '取決於', + 'More options': '更多選項', + Cancel: '取消', + Done: '完成', + Save: '儲存', + today: '今天', + yesterday: '昨天', + tomorrow: '明天', + 'Change date': '變更日期', + 'Change time': '變更時間', + 'Card title...': '卡片標題…', + 'Add card': '新增卡片', + 'Add a card': '新增卡片', + 'Edit card': '編輯卡片', + 'New note from card': '從卡片建立筆記', + 'Archive card': '封存卡片', + 'Delete card': '刪除卡片', + 'Edit date': '編輯日期', + 'Add date': '新增日期', + 'Remove date': '移除日期', + 'Edit time': '編輯時間', + 'Add time': '新增時間', + 'Remove time': '移除時間', + 'Duplicate card': '複製卡片', + 'Split card': '拆分卡片', + 'Copy link to card': '複製卡片連結', + 'Insert card before': '在前面插入卡片', + 'Insert card after': '在後面插入卡片', + 'Add label': '加上標記', + 'Move to top': '移到最上面', + 'Move to bottom': '移到最下面', + 'Move to list': '移到清單', + 'Enter list title...': '輸入清單標題…', + 'Mark cards in this list as complete': '將此清單的卡片標示為完成', + 'Add list': '新增清單', + 'Add a list': '新增清單', + 'Move list': '移動清單', + Close: '關閉', + 'Are you sure you want to delete this list and all its cards?': + '確定要刪除這個清單和它所有的卡片嗎?', + 'Yes, delete list': '是,刪除清單', + 'Are you sure you want to archive this list and all its cards?': + '確定要封存這個清單和它所有的卡片嗎?', + 'Yes, archive list': '是,封存清單', + 'Are you sure you want to archive all cards in this list?': '確定要封存這個清單中所有的卡片嗎?', + 'Yes, archive cards': '是,封存卡片', + 'Edit list': '編輯清單', + 'Archive cards': '封存卡片', + 'Archive list': '封存清單', + 'Delete list': '刪除清單', + 'Insert list before': '在前面插入清單', + 'Insert list after': '在後面插入清單', + 'Sort by card text': '依卡片文字排序', + 'Sort by date': '依日期排序', + 'Sort by tags': '依標籤排序', + 'Sort by': '排序方式', + 'Unable to find': '找不到', + 'Open in default app': '以預設應用程式開啟', + Submit: '送出', +}; export default lang;