master
1import type { NamespaceCliTranslation } from '../../i18n-types.js';
2
3const zh_CN_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_CN_cli;