Skip to content

Commit 7f0808c

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 7f0808c

1 file changed

Lines changed: 228 additions & 1 deletion

File tree

src/lang/locale/zh-tw.ts

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

6233
export default lang;

0 commit comments

Comments
 (0)