master
 1import type { BaseTranslation } from '../../i18n-types.js';
 2
 3const en_cli = {
 4  new: {
 5    prompt: {
 6      title: 'Enter the title of the new article:',
 7      category: 'Enter the category for the article (optional):',
 8      tags: 'Enter tags for the article, comma-separated (optional):',
 9    },
10    action: {
11      exit: 'Exit without creating draft',
12    },
13    info: {
14      success_created: 'Successfully created article: {filePath:string}',
15      overwrite: 'Overwriting existing file: {filePath:string}',
16    },
17    error: {
18      no_title: 'Article title cannot be empty.',
19    },
20  },
21  pub: {
22    prompt: {
23      select: 'Select the draft to publish:',
24    },
25    action: {
26      exit: 'Exit without publishing',
27    },
28    info: {
29      no_drafts_found: 'No drafts found to publish.',
30      success_article_published:
31        "Successfully published '{source:string}' to '{destination:string}'.",
32      info_empty_dir_removed: 'Cleaned up empty source directory: {dirPath:string}',
33      publish_cancelled: 'Publish operation cancelled.',
34    },
35    error: {
36      publish_article: 'Error publishing article: {message:string}',
37    },
38  },
39  prompt: {
40    file_exists: 'File {filePath:string} already exists. Choose an action:',
41    enter_new_name: 'Enter a new name for the file (without extension):',
42  },
43  action: {
44    rename: 'Rename the file',
45    overwrite: 'Overwrite the existing file',
46  },
47  info: {
48    cancelled_by_user: 'Operation cancelled by user.',
49    provide_root_dir_guidance:
50      'Try running the command with the {option:string} option to specify the root directory.',
51  },
52  error: {
53    unexpected: 'An unexpected error occurred: {message:string}',
54    generic: 'An error occurred: {message:string}',
55    file_exists: 'File already exists: {filePath:string}',
56    create_file: 'Error creating file: {message:string}',
57    empty_filename: 'File name cannot be empty.',
58    rename_to_original_conflict: 'Cannot rename to original file name: {fileName:string}',
59    failed_to_find_root: 'Failed to determine project root: {message:string}',
60  },
61} satisfies BaseTranslation;
62
63export default en_cli;