master
1import type { NamespaceCliTranslation } from '../../i18n-types.js';
2
3const zh_TW_cli = {
4 new: {
5 prompt: {
6 title: '請輸入新文章的標題:',
7 category: '請輸入文章分類(可選):',
8 tags: '請輸入文章標籤,以逗號分隔(可選):',
9 },
10 action: {
11 exit: '退出,不創建草稿',
12 },
13 info: {
14 success_created: '成功創建文章:{filePath}',
15 overwrite: '正在覆蓋現有文件:{filePath}',
16 },
17 error: {
18 no_title: '文章標題不能為空。',
19 },
20 },
21 pub: {
22 prompt: {
23 select: '請選擇要發布的草稿:',
24 },
25 action: {
26 exit: '退出,不發布',
27 },
28 info: {
29 no_drafts_found: '未找到可發布的草稿。',
30 success_article_published: "成功將 '{source}' 發布到 '{destination}'。",
31 info_empty_dir_removed: '已清理空的源目錄:{dirPath}',
32 publish_cancelled: '發布操作已取消。',
33 },
34 error: {
35 publish_article: '發布文章時出錯:{message}',
36 },
37 },
38 prompt: {
39 file_exists: '文件 {filePath} 已存在。請選擇操作:',
40 enter_new_name: '請輸入新文件名(不帶擴展名):',
41 },
42 action: {
43 rename: '重命名文件',
44 overwrite: '覆蓋現有文件',
45 },
46 info: {
47 cancelled_by_user: '用戶已取消操作。',
48 provide_root_dir_guidance: '嘗試使用 {option} 選項運行命令以指定根目錄。',
49 },
50 error: {
51 unexpected: '發生意外錯誤:{message}',
52 generic: '發生錯誤:{message}',
53 file_exists: '文件已存在:{filePath}',
54 create_file: '創建文件時出錯:{message}',
55 empty_filename: '文件名不能為空。',
56 rename_to_original_conflict: '新文件名與原文件名衝突:{fileName}',
57 failed_to_find_root: '無法確定項目根目錄:{message}',
58 },
59} satisfies NamespaceCliTranslation;
60
61export default zh_TW_cli;