Skip to content

Commit be908ee

Browse files
mixflavorclaude
andcommitted
feat(i18n): add Traditional Chinese (Taiwan) zh-TW locale
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) <noreply@anthropic.com>
1 parent 5134c05 commit be908ee

1 file changed

Lines changed: 193 additions & 1 deletion

File tree

src/lang/locale/zh-tw.ts

Lines changed: 193 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,198 @@
11
// 繁體中文
22
import { Lang } from './en';
33

4-
const lang: Partial<Lang> = {};
4+
const lang: Partial<Lang> = {
5+
'Open as kanban board': '以看板開啟',
6+
'Create new board': '建立新看板',
7+
'Archive completed cards in active board': '封存目前看板中已完成的卡片',
8+
'Error: current file is not a Kanban board': '錯誤:目前的檔案不是看板',
9+
'Convert empty note to Kanban': '將空白筆記轉換為看板',
10+
'Error: cannot create Kanban, the current note is not empty':
11+
'錯誤:無法建立看板,目前的筆記不是空白的',
12+
'New kanban board': '新看板',
13+
'Untitled Kanban': '未命名看板',
14+
'Toggle between Kanban and markdown mode': '切換看板與 Markdown 模式',
15+
'View as board': '以看板檢視',
16+
'View as list': '以清單檢視',
17+
'View as table': '以表格檢視',
18+
'Board view': '看板檢視',
19+
'Open as markdown': '以 Markdown 開啟',
20+
'Open board settings': '開啟看板設定',
21+
'Archive completed cards': '封存已完成的卡片',
22+
'Something went wrong': '發生錯誤',
23+
'You may wish to open as markdown and inspect or edit the file.':
24+
'你可以改用 Markdown 開啟,檢查或編輯這個檔案。',
25+
'Are you sure you want to archive all completed cards on this board?':
26+
'確定要封存這個看板上所有已完成的卡片嗎?',
27+
'Invalid Kanban file: problems parsing frontmatter':
28+
'無效的看板檔案:解析 frontmatter 時發生問題',
29+
"I don't know how to interpret this line:": '無法解讀這一行:',
30+
'Note: No template plugins are currently enabled.': '注意:目前未啟用任何範本外掛。',
31+
'Search...': '搜尋…',
32+
'New line trigger': '換行觸發鍵',
33+
'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.':
34+
'選擇用 Enter 還是 Shift+Enter 換行;另一個按鍵則會建立並完成卡片與清單的編輯。',
35+
'Shift + Enter': 'Shift + Enter',
36+
'Prepend / append new cards': '新卡片加到開頭/結尾',
37+
'This setting controls whether new cards are added to the beginning or end of the list.':
38+
'這個設定控制新卡片要加到清單的開頭還是結尾。',
39+
'Prepend (compact)': '加到開頭(精簡)',
40+
'These settings will take precedence over the default Kanban board settings.':
41+
'這些設定會覆寫預設的看板設定。',
42+
'Set the default Kanban board settings. Settings can be overridden on a board-by-board basis.':
43+
'設定看板的預設值;每個看板都可以各自覆寫。',
44+
'Note template': '筆記範本',
45+
'This template will be used when creating new notes from Kanban cards.':
46+
'從看板卡片建立新筆記時,會套用這個範本。',
47+
'No template': '無範本',
48+
'Note folder': '筆記資料夾',
49+
'Notes created from Kanban cards will be placed in this folder. If blank, they will be placed in the default location for this vault.':
50+
'從看板卡片建立的筆記會放在這個資料夾;留空則放在此儲存庫的預設位置。',
51+
'Default folder': '預設資料夾',
52+
'List width': '清單寬度',
53+
'Expand lists to full width in list view': '在清單檢視中將清單展開為全寬',
54+
'Enter a number to set the list width in pixels.': '輸入數字以設定清單寬度(像素)。',
55+
'Maximum number of archived cards': '封存卡片的數量上限',
56+
"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.":
57+
'封存的卡片可在 Markdown 模式檢視。達到上限後會開始移除舊卡片;將此值設為 -1 則讓看板的封存無限增加。',
58+
'Display card checkbox': '顯示卡片核取方塊',
59+
'When toggled, a checkbox will be displayed with each card':
60+
'開啟時,每張卡片都會顯示一個核取方塊',
61+
'Reset to default': '重設為預設值',
62+
'Date & Time': '日期與時間',
63+
'Date trigger': '日期觸發字元',
64+
'When this is typed, it will trigger the date selector': '輸入此字元時會開啟日期選擇器',
65+
'Time trigger': '時間觸發字元',
66+
'When this is typed, it will trigger the time selector': '輸入此字元時會開啟時間選擇器',
67+
'Date format': '日期格式',
68+
'This format will be used when saving dates in markdown.':
69+
'在 Markdown 中儲存日期時會使用這個格式。',
70+
'For more syntax, refer to': '更多語法請參考',
71+
'format reference': '格式參考',
72+
'Your current syntax looks like this': '你目前的語法看起來像這樣',
73+
'Time format': '時間格式',
74+
'Date display format': '日期顯示格式',
75+
'This format will be used when displaying dates in Kanban cards.':
76+
'在看板卡片中顯示日期時會使用這個格式。',
77+
'Show relative date': '顯示相對日期',
78+
"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.":
79+
'開啟時,卡片會顯示今天與卡片日期相隔多久,例如「3 天後」「一個月前」。來自 Tasks 與 Dataview 外掛的日期不會顯示相對日期。',
80+
'Move dates to card footer': '將日期移到卡片底部',
81+
"When toggled, dates will be displayed in the card's footer instead of the card's body.":
82+
'開啟時,日期會顯示在卡片底部,而非卡片內容中。',
83+
'Move tags to card footer': '將標籤移到卡片底部',
84+
"When toggled, tags will be displayed in the card's footer instead of the card's body.":
85+
'開啟時,標籤會顯示在卡片底部,而非卡片內容中。',
86+
'Move task data to card footer': '將任務資料移到卡片底部',
87+
"When toggled, task data (from the Tasks plugin) will be displayed in the card's footer instead of the card's body.":
88+
'開啟時,任務資料(來自 Tasks 外掛)會顯示在卡片底部,而非卡片內容中。',
89+
'Inline metadata position': '行內中繼資料位置',
90+
'Controls where the inline metadata (from the Dataview plugin) will be displayed.':
91+
'控制行內中繼資料(來自 Dataview 外掛)的顯示位置。',
92+
'Card body': '卡片內容',
93+
'Card footer': '卡片底部',
94+
'Merge with linked page metadata': '與連結頁面的中繼資料合併',
95+
'Hide card counts in list titles': '在清單標題隱藏卡片數量',
96+
'When toggled, card counts are hidden from the list title': '開啟時,清單標題不顯示卡片數量',
97+
'Link dates to daily notes': '將日期連結到每日筆記',
98+
'When toggled, dates will link to daily notes. Eg. [[2021-04-26]]':
99+
'開啟時,日期會連結到每日筆記,例如 [[2021-04-26]]',
100+
'Add date and time to archived cards': '為封存的卡片加上日期與時間',
101+
'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':
102+
'開啟時,卡片封存時會在標題加上目前的日期與時間,例如 - [ ] 2021-05-14 10:00am 我的卡片標題',
103+
'Add archive date/time after card title': '將封存日期/時間加在卡片標題之後',
104+
'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.':
105+
'開啟時,封存日期/時間會加在卡片標題之後,例如 - [ ] 我的卡片標題 2021-05-14 10:00am;預設則是加在標題之前。',
106+
'Archive date/time separator': '封存日期/時間分隔字元',
107+
'This will be used to separate the archived date/time from the title':
108+
'用來分隔封存日期/時間與標題',
109+
'Archive date/time format': '封存日期/時間格式',
110+
'Kanban Plugin': '看板外掛',
111+
'Tag click action': '點擊標籤的動作',
112+
'Search Kanban Board': '搜尋看板',
113+
'Search Obsidian Vault': '搜尋 Obsidian 儲存庫',
114+
'This setting controls whether clicking the tags displayed below the card title opens the Obsidian search or the Kanban board search.':
115+
'這個設定控制點擊卡片標題下方的標籤時,要開啟 Obsidian 搜尋還是看板搜尋。',
116+
'Tag colors': '標籤顏色',
117+
'Set colors for tags displayed in cards.': '設定卡片中顯示的標籤顏色。',
118+
'Linked Page Metadata': '連結頁面的中繼資料',
119+
'Inline Metadata': '行內中繼資料',
120+
'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.':
121+
'顯示卡片中第一個連結筆記的中繼資料。在下方指定要顯示哪些中繼資料鍵;可另外提供標籤名稱,也可以完全隱藏標籤。',
122+
'Board Header Buttons': '看板標題列按鈕',
123+
'Calendar: first day of week': '行事曆:每週的第一天',
124+
'Override which day is used as the start of the week': '覆寫每週從星期幾開始',
125+
'Background color': '背景顏色',
126+
'Text color': '文字顏色',
127+
'Date is': '日期為',
128+
'After now': '在現在之後',
129+
'Before now': '在現在之前',
130+
'Between now and': '介於現在與',
131+
'Display date colors': '顯示日期顏色',
132+
'Set colors for dates displayed in cards based on the rules below.':
133+
'依照下方規則設定卡片中日期的顏色。',
134+
'Add date color': '新增日期顏色',
135+
'Metadata key': '中繼資料鍵',
136+
'Display label': '顯示標籤名稱',
137+
'Hide label': '隱藏標籤名稱',
138+
'Drag to rearrange': '拖曳以重新排列',
139+
'Add key': '新增鍵',
140+
'Add tag': '新增標籤',
141+
'Field contains markdown': '欄位包含 Markdown',
142+
'Tag sort order': '標籤排序順序',
143+
'Set an explicit sort order for the specified tags.': '為指定的標籤設定明確的排序順序。',
144+
'Add tag color': '新增標籤顏色',
145+
'Depends on': '取決於',
146+
'More options': '更多選項',
147+
'Change date': '變更日期',
148+
'Change time': '變更時間',
149+
'Card title...': '卡片標題…',
150+
'Add card': '新增卡片',
151+
'Add a card': '新增卡片',
152+
'Edit card': '編輯卡片',
153+
'New note from card': '從卡片建立筆記',
154+
'Archive card': '封存卡片',
155+
'Delete card': '刪除卡片',
156+
'Edit date': '編輯日期',
157+
'Add date': '新增日期',
158+
'Remove date': '移除日期',
159+
'Edit time': '編輯時間',
160+
'Add time': '新增時間',
161+
'Remove time': '移除時間',
162+
'Duplicate card': '複製卡片',
163+
'Split card': '拆分卡片',
164+
'Copy link to card': '複製卡片連結',
165+
'Insert card before': '在前面插入卡片',
166+
'Insert card after': '在後面插入卡片',
167+
'Add label': '加上標記',
168+
'Move to top': '移到最上面',
169+
'Move to bottom': '移到最下面',
170+
'Move to list': '移到清單',
171+
'Enter list title...': '輸入清單標題…',
172+
'Mark cards in this list as complete': '將此清單的卡片標示為完成',
173+
'Add list': '新增清單',
174+
'Add a list': '新增清單',
175+
'Move list': '移動清單',
176+
'Are you sure you want to delete this list and all its cards?':
177+
'確定要刪除這個清單和它所有的卡片嗎?',
178+
'Yes, delete list': '是,刪除清單',
179+
'Are you sure you want to archive this list and all its cards?':
180+
'確定要封存這個清單和它所有的卡片嗎?',
181+
'Yes, archive list': '是,封存清單',
182+
'Are you sure you want to archive all cards in this list?': '確定要封存這個清單中所有的卡片嗎?',
183+
'Yes, archive cards': '是,封存卡片',
184+
'Edit list': '編輯清單',
185+
'Archive cards': '封存卡片',
186+
'Archive list': '封存清單',
187+
'Delete list': '刪除清單',
188+
'Insert list before': '在前面插入清單',
189+
'Insert list after': '在後面插入清單',
190+
'Sort by card text': '依卡片文字排序',
191+
'Sort by date': '依日期排序',
192+
'Sort by tags': '依標籤排序',
193+
'Sort by': '排序方式',
194+
'Unable to find': '找不到',
195+
'Open in default app': '以預設應用程式開啟',
196+
};
5197

6198
export default lang;

0 commit comments

Comments
 (0)