_version: 2

# CLI 帮助信息
cli:
  description:
    en: "A tool for managing LLM application rules(prompts) ..."
    zh-CN: "用于管理 LLM 应用规则（提示）的工具..."

  config_dir_help:
    en: "Specify configuration directory path"
    zh-CN: "指定配置目录路径"

  log_level_help:
    en: "Set log level"
    zh-CN: "设置日志级别"

  verbose_help:
    en: "Verbose output"
    zh-CN: "详细输出"

# Prompt 子命令
prompt:
  about:
    en: "Manage prompt rule files (alias: rule)"
    zh-CN: "管理提示规则文件 (别名: rule)"

  gen:
    about:
      en: "Generate rule file"
      zh-CN: "生成规则文件"

    interactive_help:
      en: "Use interactive mode"
      zh-CN: "使用交互式模式"

    app_help:
      en: "Target application name (e.g.: cursor)"
      zh-CN: "目标应用名称 (如: cursor)"

    template_help:
      en: "Template name"
      zh-CN: "模板名称"

    name_help:
      en: "Rule name (optional, defaults to template name)"
      zh-CN: "规则名称（可选，默认使用模板名称）"

    force_help:
      en: "Force generation, skip repository detection"
      zh-CN: "强制生成，跳过仓库检测"

  list:
    about:
      en: "List rule files"
      zh-CN: "列出规则文件"

    app_help:
      en: "Specify application name"
      zh-CN: "指定应用名称"

  upsert:
    about:
      en: "Update or insert rule file"
      zh-CN: "更新或插入规则文件"

    app_help:
      en: "Application name"
      zh-CN: "应用名称"

    name_help:
      en: "Rule name"
      zh-CN: "规则名称"

    content_help:
      en: "Rule content"
      zh-CN: "规则内容"

    file_help:
      en: "File path containing rule content"
      zh-CN: "包含规则内容的文件路径"

  rm:
    about:
      en: "Remove rule file"
      zh-CN: "删除规则文件"

    app_help:
      en: "Application name"
      zh-CN: "应用名称"

    name_help:
      en: "Rule name"
      zh-CN: "规则名称"

# 交互式提示
interactive:
  title:
    en: "🚀 Interactive rule file generation"
    zh-CN: "🚀 交互式生成规则文件"

  select_app:
    en: "Select target application:"
    zh-CN: "选择目标应用:"

  select_template:
    en: "Select template:"
    zh-CN: "选择模板:"

  input_name:
    en: "Enter rule name:"
    zh-CN: "输入规则名称:"

  name_help:
    en: "Rule name will be used as filename"
    zh-CN: "规则名称将用作文件名"

  no_templates:
    en: "⚠️  No templates available, will create empty rule file"
    zh-CN: "⚠️  没有可用的模板，将创建空规则文件"

# 消息提示
messages:
  error:
    en: "Error: %{error}"
    zh-CN: "错误: %{error}"

  log_level_set:
    en: "Log level set to: %{level}"
    zh-CN: "日志级别设置为: %{level}"

  verbose_level:
    en: "Verbose level: %{level}"
    zh-CN: "详细级别: %{level}"

  file_exists_overwrite:
    en: "File %{path} already exists, overwrite?"
    zh-CN: "文件 %{path} 已存在，是否覆盖?"

  operation_cancelled:
    en: "Operation cancelled"
    zh-CN: "操作已取消"

  rule_generated:
    en: "✅ Rule file generated: %{path}"
    zh-CN: "✅ 规则文件已生成: %{path}"

  rule_generation_success:
    en: "✅ Rule file generated successfully!"
    zh-CN: "✅ 规则文件生成成功!"

  rule_saved:
    en: "✅ Rule saved: %{path}"
    zh-CN: "✅ 规则已保存: %{path}"

  confirm_delete:
    en: "Are you sure you want to delete rule '%{name}'?"
    zh-CN: "确定要删除规则 '%{name}' 吗?"

  rule_deleted:
    en: "✅ Rule deleted: %{name}"
    zh-CN: "✅ 规则已删除: %{name}"

  content_or_file_required:
    en: "Must provide content or file path"
    zh-CN: "必须提供内容或文件路径"

# 错误信息
errors:
  unknown_subcommand:
    en: "Unknown subcommand"
    zh-CN: "未知的子命令"

  subcommand_required:
    en: "Subcommand is required"
    zh-CN: "子命令是必需的"

  unknown_prompt_subcommand:
    en: "Unknown prompt subcommand"
    zh-CN: "未知的 prompt 子命令"

  not_find_config_dir:
    en: "Cannot find config directory"
    zh-CN: "无法找到配置目录"

  io_error:
    en: "IO Error: %{error}"
    zh-CN: "IO 错误: %{error}"

  config_error:
    en: "Configuration Error: %{message}"
    zh-CN: "配置错误: %{message}"

  invalid_app:
    en: "Invalid application type: %{app}"
    zh-CN: "无效的应用类型: %{app}"

  not_project_directory:
    en: "Current directory is not a valid project directory"
    zh-CN: "当前目录不是有效的项目目录"

  home_directory_not_allowed:
    en: "Home directory access not allowed"
    zh-CN: "不允许访问主目录"

  rule_not_found:
    en: "Rule not found: %{name}"
    zh-CN: "规则未找到: %{name}"

  interactive_prompt_error:
    en: "Interactive prompt error: %{error}"
    zh-CN: "交互式提示错误: %{error}"

  no_rules_found:
    en: "No rules found"
    zh-CN: "未找到任何规则"

  not_find_user_cursor_dir:
    en: "Cannot find user cursor main directory"
    zh-CN: "无法获取用户cursor主目录"

# Cursor 功能
cursor:
  about:
    en: "Cursor-related features"
    zh-CN: "Cursor相关功能"

  database:
    using_db:
      en: "Using database"
      zh-CN: "使用数据库"

    workspace_path_not_exist:
      en: "Cursor workspace storage path does not exist: %{path}"
      zh-CN: "Cursor工作区存储路径不存在: %{path}"

    no_workspace_db_found:
      en: "No Cursor workspace database files found"
      zh-CN: "未找到任何Cursor工作区数据库文件"

    home_dir_error:
      en: "Cannot find home directory"
      zh-CN: "无法找到用户主目录"

    cursor_dir_not_found:
      en: "Cursor directory not found: %{path}"
      zh-CN: "未找到Cursor目录: %{path}"

  workspace:
    scanning_workspaces:
      en: "🔍 Scanning available workspaces..."
      zh-CN: "🔍 正在扫描可用的工作区..."

    found_workspaces:
      en: "✅ Found %{count} workspaces"
      zh-CN: "✅ 找到 %{count} 个工作区"

    auto_select:
      en: "Auto selected"
      zh-CN: "自动选择"

    select_workspace:
      en: "📁 Please select workspace to export conversations"
      zh-CN: "📁 请选择要导出对话的工作区"

    no_workspaces:
      en: "❌ No Cursor workspaces found"
      zh-CN: "❌ 未找到任何Cursor工作区"

    workspace_mapping_failed:
      en: "⚠️ Unable to map workspace: %{id}"
      zh-CN: "⚠️ Unable to map workspace: %{id}"

    unknown_path:
      en: "Unknown path"
      zh-CN: "未知路径"

    current_dir:
      en: "Current directory"
      zh-CN: "当前目录"

  export:
    about:
      en: "Export Cursor AI conversations to local files"
      zh-CN: "导出Cursor AI对话记录到本地文件"

    interactive_help:
      en: "Use interactive mode to select and export conversations"
      zh-CN: "使用交互式模式选择和导出对话"

    db_path_help:
      en: "Specify Cursor database file path"
      zh-CN: "指定Cursor数据库文件路径"

    workspace_dir_help:
      en: "Specify workspace directory to avoid interactive selection"
      zh-CN: "指定工作区目录，避免交互式选择"

    output_mode_help:
      en: "Output mode: console, file, single-file"
      zh-CN: "输出模式: console, file, single-file"

    output_file_help:
      en: "Output filename (used when output-mode is file or single-file)"
      zh-CN: "输出文件名（当output-mode为file或single-file时使用）"

    composer_id_help:
      en: "Directly specify composer ID for export"
      zh-CN: "直接指定composer ID进行导出"

    debug_help:
      en: "Enable debug mode, show detailed processing information"
      zh-CN: "开启调试模式，显示详细的处理信息"

    title:
      en: "🎯 Cursor Conversation Export Tool"
      zh-CN: "🎯 Cursor对话导出工具"

    scanning:
      en: "🔍 Scanning Cursor conversation records..."
      zh-CN: "🔍 正在扫描Cursor对话记录..."

    found_conversations:
      en: "✅ Found %{count} conversations"
      zh-CN: "✅ 找到 %{count} 个对话"

    no_conversations:
      en: "❌ No conversation records found"
      zh-CN: "❌ 没有找到对话记录"

    no_selection:
      en: "❌ No conversations selected"
      zh-CN: "❌ 未选择任何对话"

    select_conversations:
      en: "📝 Please select conversations to export"
      zh-CN: "📝 请选择要导出的对话"

    select_help:
      en: "Use space to select/deselect, Enter to confirm"
      zh-CN: "使用空格键选择/取消选择，回车键确认"

    search_more:
      en: "🔍 Search more conversations..."
      zh-CN: "🔍 搜索更多对话..."

    search_keyword:
      en: "🔍 Please enter search keyword"
      zh-CN: "🔍 请输入搜索关键词"

    search_help:
      en: "Enter title, content or any relevant keywords to search"
      zh-CN: "输入标题、内容或任何相关关键词进行搜索"

    search_no_results:
      en: "❌ No matching conversations found"
      zh-CN: "❌ 未找到匹配的对话"

    search_found:
      en: "✅ Found %{count} matching conversations"
      zh-CN: "✅ 搜索到 %{count} 个对话"

    select_search_results:
      en: "📋 Please select search results"
      zh-CN: "📋 请选择搜索结果"

    select_export_method:
      en: "📤 Please select export method"
      zh-CN: "📤 请选择导出方式"

    export_to_console:
      en: "🖥️ Export to console"
      zh-CN: "🖥️ 导出到控制台"

    export_to_files:
      en: "📁 Export as multiple files"
      zh-CN: "📁 导出为多个文件"

    export_to_single_file:
      en: "📄 Export as single file"
      zh-CN: "📄 导出为单个文件"

    exported_content_title:
      en: "📋 Exported conversation content"
      zh-CN: "📋 导出的对话内容"

    input_output_dir:
      en: "📁 Please enter output directory path"
      zh-CN: "📁 请输入输出目录路径"

    output_dir_created:
      en: "✅ Output directory created: %{path}"
      zh-CN: "✅ 输出目录已创建: %{path}"

    export_success_file:
      en: "✅ Export successful: %{path}"
      zh-CN: "✅ 导出成功: %{path}"

    export_success_summary:
      en: "🎉 Successfully exported %{count} conversations to: %{path}"
      zh-CN: "🎉 成功导出 %{count} 个对话到: %{path}"

    input_filename:
      en: "📄 Please enter filename"
      zh-CN: "📄 请输入文件名"

    single_file_title:
      en: "# Cursor Conversation Export\n\n"
      zh-CN: "# Cursor对话导出\n\n"

    export_time:
      en: "**Export time:** %{time}\n"
      zh-CN: "**导出时间:** %{time}\n"

    conversation_count:
      en: "**Conversation count:** %{count}\n\n"
      zh-CN: "**对话数量:** %{count}\n\n"

    export_success_single:
      en: "✅ Export successful: %{filename}"
      zh-CN: "✅ 导出成功: %{filename}"

    untitled_conversation:
      en: "Untitled Conversation"
      zh-CN: "未命名对话"

    user_message:
      en: "User"
      zh-CN: "用户"

    ai_message:
      en: "AI Assistant"
      zh-CN: "AI助手"

    message_number:
      en: "Message %{number}"
      zh-CN: "消息%{number}"

    message_count:
      en: "%{count} messages"
      zh-CN: "%{count} 条消息"

    composer_chat:
      en: "Composer conversation"
      zh-CN: "Composer对话"

    last_updated:
      en: "**Last updated:** %{time}\n\n"
      zh-CN: "**最后更新:** %{time}\n\n"

    terminal_output:
      en: "**Terminal output:**"
      zh-CN: "**终端输出:**"

    raw_text:
      en: "**Raw text:**"
      zh-CN: "**原始文本:**"

    selected_file:
      en: "**Selected file:** %{path}"
      zh-CN: "**选中文件:** %{path}"

    message_with_id:
      en: "*%{type} message (ID: %{id})*"
      zh-CN: "*%{type} message (ID: %{id})*"

    unknown_id:
      en: "Unknown"
      zh-CN: "未知"

    mixed_conversations:
      en: "Contains %{traditional} traditional conversations and %{composer} Composer conversations"
      zh-CN: "包含 %{traditional} 个传统对话和 %{composer} 个Composer对话"

    composer_mode_chat:
      en: "Chat"
      zh-CN: "聊天"

    composer_mode_agent:
      en: "Agent"
      zh-CN: "代理"

    composer_mode_edit:
      en: "Edit"
      zh-CN: "编辑"

    composer_mode_label:
      en: "Mode"
      zh-CN: "模式"

    composer_content_note:
      en: "Note: Specific content of Composer conversations is not yet supported for export."
      zh-CN: "注意：Composer对话的具体内容暂不支持导出。"

    type_traditional:
      en: "Traditional Chat"
      zh-CN: "传统聊天"

    type_composer_chat:
      en: "Composer Chat"
      zh-CN: "Composer聊天"

    type_composer_agent:
      en: "Composer Agent"
      zh-CN: "Composer代理"

    type_composer_edit:
      en: "Composer Edit"
      zh-CN: "Composer编辑"

# 扩展功能
x:
  about:
    en: "Extended features"
    zh-CN: "扩展功能"

# Composer 相关
composer:
  untitled_chat:
    en: "Untitled Chat"
    zh-CN: "未命名聊天"

  untitled_agent:
    en: "Untitled Agent"
    zh-CN: "未命名代理"

  untitled_edit:
    en: "Untitled Edit"
    zh-CN: "未命名编辑"

# Claude Code 配置管理
claude_code:
  interactive:
    select_config_group:
      en: "Select a configuration group to activate:"
      zh-CN: "选择要激活的配置组："

    import_title:
      en: "Import configuration group from JSON"
      zh-CN: "从 JSON 导入配置组"

    config_group_name:
      en: "Configuration group name:"
      zh-CN: "配置组名称："

    multi_line_json:
      en: "Multi-line JSON Input"
      zh-CN: "多行 JSON 输入"

    you_can_now_paste:
      en: "You can now paste multi-line JSON!"
      zh-CN: "现在可以粘贴多行 JSON！"

    supported_formats:
      en: "Supported formats"
      zh-CN: "支持的格式"

    how_to_use_editor:
      en: "How to use the editor"
      zh-CN: "编辑器使用方法"

    paste_json:
      en: "Paste your JSON"
      zh-CN: "粘贴您的 JSON"

    supports_multiple_lines:
      en: "supports multiple lines"
      zh-CN: "支持多行"

    navigate:
      en: "Use arrow keys to navigate"
      zh-CN: "使用箭头键导航"

    use_arrow_keys:
      en: "use arrow keys"
      zh-CN: "使用箭头键"

    finish:
      en: "Press Enter on empty line or Ctrl+D to finish"
      zh-CN: "在空行按 Enter 或 Ctrl+D 完成"

    ctrl_d_or_enter:
      en: "Ctrl+D or Enter on empty line"
      zh-CN: "Ctrl+D 或空行 Enter"

    cancel:
      en: "Press Esc to cancel"
      zh-CN: "按 Esc 取消"

    esc:
      en: "Esc"
      zh-CN: "Esc"

    example:
      en: "Example"
      zh-CN: "示例"

    json_configuration:
      en: "JSON configuration:"
      zh-CN: "JSON 配置："

    editor_help:
      en: "Paste the complete JSON configuration here (multi-line supported). Press Ctrl+D or Enter on empty line to finish."
      zh-CN: "在此粘贴完整的 JSON 配置（支持多行）。按 Ctrl+D 或在空行按 Enter 完成。"

    warning_empty_config:
      en: "Warning: No environment variables found in the JSON configuration."
      zh-CN: "警告：在 JSON 配置中未找到环境变量。"

    confirm_empty_import:
      en: "Continue importing empty configuration?"
      zh-CN: "继续导入空配置？"

    parsed_env_vars:
      en: "Parsed environment variables:"
      zh-CN: "解析的环境变量："

    confirm_import:
      en: "Import configuration group \"%{name}\"?"
      zh-CN: "导入配置组 \"%{name}\"？"

    import_cancelled:
      en: "Import cancelled."
      zh-CN: "导入已取消。"

    check_format_retry:
      en: "Please check your JSON format and try again."
      zh-CN: "请检查您的 JSON 格式并重试。"

    no_config_groups:
      en: "No configuration groups found."
      zh-CN: "未找到配置组。"

    use_import_command:
      en: "Use 'llman x claude-code account import' to import a new configuration."
      zh-CN: "使用 'llman x claude-code account import' 导入新配置。"

    config_file_location:
      en: "Create a configuration file at"
      zh-CN: "在以下位置创建配置文件"

    example_configuration:
      en: "Example configuration"
      zh-CN: "示例配置"

    no_env_vars:
      en: "no environment variables set"
      zh-CN: "未设置环境变量"

    configuration_groups:
      en: "Configuration groups"
      zh-CN: "配置组"

    see_examples:
      en: "See examples"
      zh-CN: "查看示例"

    import_from_klaudes:
      en: "Found existing klaudes configuration. Would you like to import it?"
      zh-CN: "发现现有 klaudes 配置。您想要导入它吗？"

  validation:
    name_required:
      en: "Group name is required"
      zh-CN: "配置组名称是必需的"

    no_spaces:
      en: "Group name cannot contain spaces"
      zh-CN: "配置组名称不能包含空格"

  main:
    no_configs_found:
      en: "No configuration groups found."
      zh-CN: "未找到配置组。"

    suggestion_import:
      en: "Suggestions:"
      zh-CN: "建议："

    command_import:
      en: "• Import a configuration: llman x claude-code account import"
      zh-CN: "• 导入配置：llman x claude-code account import"

    alternative_config:
      en: "Or create a configuration file manually at:"
      zh-CN: "或者手动在以下位置创建配置文件："

  account:
    group_exists:
      en: "Configuration group \"%{name}\" already exists."
      zh-CN: "配置组 \"%{name}\" 已存在。"

    use_different_name_or_force:
      en: "Use a different name, edit the configuration manually, or use --force to overwrite."
      zh-CN: "使用不同的名称、手动编辑配置，或使用 --force 强制覆盖。"

    overwriting_group:
      en: "Overwriting existing configuration group: \"%{name}\""
      zh-CN: "正在覆盖现有配置组：\"%{name}\""

    import_success:
      en: "✓ Successfully imported configuration group: \"%{name}\""
      zh-CN: "✓ 成功导入配置组：\"%{name}\""

    group_not_found:
      en: "Configuration group \"%{name}\" not found."
      zh-CN: "未找到配置组 \"%{name}\"。"

    use_list_command:
      en: "Use 'llman x claude-code account list' to see available configuration groups."
      zh-CN: "使用 'llman x claude-code account list' 查看可用的配置组。"

  migrate:
    import_failed:
      en: "Failed to import from klaudes"
      zh-CN: "从 klaudes 导入失败"

    check_klaudes_installation:
      en: "Please check if klaudes is installed and has configuration."
      zh-CN: "请检查 klaudes 是否已安装并包含配置。"

    import_success:
      en: "✅ Successfully imported configuration from klaudes"
      zh-CN: "✅ 成功从 klaudes 导入配置"

    cancelled:
      en: "Migration cancelled."
      zh-CN: "迁移已取消。"

  run:
    interactive:
      prompt_args:
        en: "Do you want to pass arguments to claude?"
        zh-CN: "是否要传递参数给 claude？"
      enter_args:
        en: "Enter arguments for claude command:"
        zh-CN: "输入 claude 命令的参数："
      args_help:
        en: "e.g., --version --help project create"
        zh-CN: "例如：--version --help project create"
    using_config:
      en: "Using configuration: %{name}"
      zh-CN: "使用配置: %{name}"
    error:
      group_required_non_interactive:
        en: "Error: In non-interactive mode, --group is required"
        zh-CN: "错误：非交互模式下必须指定 --group 参数"
      use_i_or_group:
        en: "Use -i for interactive mode or specify --group <name>"
        zh-CN: "请使用 -i 进入交互模式，或指定 --group <名称>"

  error:
    parsing_json:
      en: "Error parsing JSON configuration"
      zh-CN: "解析 JSON 配置时出错"

    failed_claude_command:
      en: "Failed to run claude command"
      zh-CN: "运行 claude 命令失败"

# OpenAI Codex 配置管理 - 基于软链接
codex:
  # 初始化命令
  init:
    symlink_active:
      en: "Configuration management system is ready"
      zh-CN: "配置管理系统已就绪"
    imported:
      en: "Existing configuration imported successfully"
      zh-CN: "现有配置已成功导入"
    created:
      en: "Default configuration created"
      zh-CN: "默认配置已创建"
    migrated:
      en: "Configuration migrated to symlink system"
      zh-CN: "配置已迁移到软链接系统"

  # 配置列表命令
  list:
    no_configs:
      en: "No configurations found"
      zh-CN: "未找到配置"
    suggestion_create:
      en: "Use 'llman x codex create <name>' to create a new configuration"
      zh-CN: "使用 'llman x codex create <name>' 创建新配置"
    available_configs:
      en: "Available configurations"
      zh-CN: "可用配置"
    current_config:
      en: "Current configuration"
      zh-CN: "当前配置"

  # 创建配置命令
  create:
    error:
      empty_name:
        en: "Configuration name cannot be empty"
        zh-CN: "配置名称不能为空"
      exists:
        en: "Configuration '%{name}' already exists"
        zh-CN: "配置 '%{name}' 已存在"
    success:
      en: "Configuration '%{name}' created successfully at %{path}"
      zh-CN: "配置 '%{name}' 已成功创建于 %{path}"
    suggestion_use:
      en: "Use 'llman x codex use %{name}' to switch to this configuration"
      zh-CN: "使用 'llman x codex use %{name}' 切换到此配置"

  # 编辑配置命令
  edit:
    error:
      not_found:
        en: "Configuration '%{name}' not found"
        zh-CN: "未找到配置 '%{name}'"
      no_configs:
        en: "No configurations available to edit"
        zh-CN: "没有可编辑的配置"
      editor_failed:
        en: "Failed to open editor"
        zh-CN: "打开编辑器失败"
    success:
      en: "Configuration '%{name}' edited successfully"
      zh-CN: "配置 '%{name}' 编辑成功"

  # 删除配置命令
  delete:
    warning:
      en: "You are about to delete configuration '%{name}'. This action cannot be undone."
      zh-CN: "您即将删除配置 '%{name}'。此操作无法撤销。"
    confirm:
      en: "Are you sure you want to delete configuration '%{name}'?"
      zh-CN: "确定要删除配置 '%{name}' 吗？"
    cancelled:
      en: "Deletion cancelled"
      zh-CN: "删除已取消"

  # 使用配置命令
  use:
    already_active:
      en: "Configuration '%{name}' is already active"
      zh-CN: "配置 '%{name}' 已是激活状态"
    switched:
      en: "Switched to configuration: %{name}"
      zh-CN: "已切换到配置: %{name}"
    cancelled:
      en: "Configuration switch cancelled"
      zh-CN: "配置切换已取消"
    confirm:
      en: "Switch to configuration '%{name}'?"
      zh-CN: "切换到配置 '%{name}'？"
    error:
      no_configs:
        en: "No configurations available"
        zh-CN: "没有可用的配置"
      config_not_found:
        en: "Configuration '%{name}' not found"
        zh-CN: "未找到配置 '%{name}'"
      cannot_delete_active:
        en: "Cannot delete active configuration '%{name}'. Switch to another configuration first."
        zh-CN: "无法删除激活的配置 '%{name}'。请先切换到其他配置。"
    suggestion_create:
      en: "Use 'llman x codex create <name>' to create a new configuration"
      zh-CN: "使用 'llman x codex create <name>' 创建新配置"

  # 显示配置命令
  show:
    current_config:
      en: "Current configuration"
      zh-CN: "当前配置"
    config_path:
      en: "Configuration file"
      zh-CN: "配置文件"
    active_link:
      en: "Active symlink"
      zh-CN: "激活的软链接"
    config_content:
      en: "Configuration content"
      zh-CN: "配置内容"
    no_active_config:
      en: "No active configuration found"
      zh-CN: "未找到激活的配置"
    suggestion_use:
      en: "Use 'llman x codex use <name>' to activate a configuration"
      zh-CN: "使用 'llman x codex use <name>' 激活配置"

  # 运行 codex 命令
  run:
    no_active_config:
      en: "No active configuration. Use 'llman x codex use <name>' to set a configuration."
      zh-CN: "未设置激活配置。使用 'llman x codex use <name>' 设置配置。"
    suggestion_use:
      en: "Set a configuration first"
      zh-CN: "请先设置配置"
    codex_not_found:
      en: "codex command not found. Please install OpenAI Codex CLI."
      zh-CN: "未找到 codex 命令。请安装 OpenAI Codex CLI。"
    starting:
      en: "Starting codex with configuration: %{config}"
      zh-CN: "使用配置启动 codex: %{config}"
    failed:
      en: "codex command failed"
      zh-CN: "codex 命令执行失败"

  # 默认命令（无子命令时）
  default:
    starting_codex:
      en: "Starting codex with configuration: %{config}"
      zh-CN: "使用配置启动 codex: %{config}"
    no_config_selected:
      en: "No configuration selected"
      zh-CN: "未选择配置"
    initialized:
      en: "Configuration management initialized"
      zh-CN: "配置管理已初始化"
    suggestion_run:
      en: "Use 'llman x codex' to select configuration and run codex"
      zh-CN: "使用 'llman x codex' 选择配置并运行 codex"

  # 账户管理
  account:
    menu:
      title:
        en: "Account Management"
        zh-CN: "账户管理"
      help:
        en: "Select an action to manage your codex configurations"
        zh-CN: "选择操作来管理你的 codex 配置"
      upsert:
        en: "Upsert configuration"
        zh-CN: "创建/更新配置"
      exit:
        en: "Exit"
        zh-CN: "退出"
      continue:
        en: "Continue managing configurations?"
        zh-CN: "继续管理配置？"

  # Upsert 配置
  upsert:
    updating:
      en: "Updating configuration '%{name}'..."
      zh-CN: "正在更新配置 '%{name}'..."
    success:
      en: "Configuration '%{name}' updated successfully at %{path}"
      zh-CN: "配置 '%{name}' 已成功更新于 %{path}"

  # 配置模板
  template:
    basic:
      description:
        en: "Basic template - customizable for any provider"
        zh-CN: "基础模板 - 可自定义适配任何提供商"
    openai-compatible:
      description:
        en: "OpenAI-compatible provider template"
        zh-CN: "OpenAI兼容提供商模板"
    secure:
      description:
        en: "Secure template with strict settings for production"
        zh-CN: "安全模板 - 生产环境严格设置"
    development:
      description:
        en: "Development template with relaxed restrictions"
        zh-CN: "开发模板 - 宽松限制便于开发"

  # 交互式功能
  interactive:
    select_template:
      en: "Select a configuration template:"
      zh-CN: "选择配置模板："
    template_help:
      en: "Templates provide starting points for different types of configurations"
      zh-CN: "模板为不同类型的配置提供起点"
    select_config_to_edit:
      en: "Select a configuration to edit:"
      zh-CN: "选择要编辑的配置："
    select_config_to_use:
      en: "Select a configuration to use:"
      zh-CN: "选择要使用的配置："
    select_config_to_switch:
      en: "Select a configuration to switch to:"
      zh-CN: "选择要切换的配置："
    switch_help:
      en: "The configuration will be set as active for OpenAI Codex"
      zh-CN: "该配置将被设置为 OpenAI Codex 的激活配置"
    use_help:
      en: "Select configuration to use for this session"
      zh-CN: "选择本次会话要使用的配置"
    current_marker:
      en: "→"
      zh-CN: "→"
    config_name_prompt:
      en: "Configuration name:"
      zh-CN: "配置名称："
    config_name_help:
      en: "Use letters, numbers, hyphens, and underscores. 2-50 characters."
      zh-CN: "使用字母、数字、连字符和下划线。2-50个字符。"
    config_preview:
      en: "Configuration preview"
      zh-CN: "配置预览"
    edit_now:
      en: "Edit this configuration now?"
      zh-CN: "现在编辑此配置？"
    opening_in:
      en: "Opening in"
      zh-CN: "正在打开"
    edit_completed:
      en: "Edit completed"
      zh-CN: "编辑完成"

  # 配置导入/迁移
  config:
    import:
      found_existing:
        en: "Found existing OpenAI Codex configuration, importing..."
        zh-CN: "发现现有 OpenAI Codex 配置，正在导入..."
      imported_as_default:
        en: "Existing configuration imported as 'default'"
        zh-CN: "现有配置已导入为 'default'"
      default_location:
        en: "Default configuration location: %{path}"
        zh-CN: "默认配置位置: %{path}"
    setup:
      creating_default:
        en: "First time use, creating default configuration..."
        zh-CN: "首次使用，创建默认配置..."
      default_created:
        en: "Default configuration created"
        zh-CN: "默认配置已创建"
    migrate:
      detected_regular_file:
        en: "Detected regular configuration file, migrating to symlink system..."
        zh-CN: "检测到常规配置文件，正在迁移到软链接系统..."
      migrated_success:
        en: "Configuration migrated to symlink system successfully"
        zh-CN: "配置已成功迁移到软链接系统"
      backup_location:
        en: "Original configuration backed up to: %{path}"
        zh-CN: "原始配置已备份到: %{path}"

  # 验证规则
  validation:
    name_required:
      en: "Configuration name is required"
      zh-CN: "配置名称是必需的"
    invalid_chars:
      en: "Name can only contain letters, numbers, hyphens, and underscores"
      zh-CN: "名称只能包含字母、数字、连字符和下划线"
    name_too_short:
      en: "Name must be at least 2 characters long"
      zh-CN: "名称至少需要2个字符"
    name_too_long:
      en: "Name must be less than 50 characters"
      zh-CN: "名称必须少于50个字符"

  # Account Management (新增)
  account:
    help_title:
      en: "🎛️  LLMAN Codex Account Management"
      zh-CN: "🎛️  LLMAN Codex 账户管理"
    usage:
      en: "Usage:"
      zh-CN: "用法："
    commands:
      en: |-
        llman x codex account           Show this help message
        llman x codex account -i        Interactive profile management
        llman x codex                   Select profile and run codex
      zh-CN: |-
        llman x codex account           显示此帮助信息
        llman x codex account -i        交互式配置管理
        llman x codex                   选择配置并运行 codex
    examples:
      en: "Examples:"
      zh-CN: "示例："
    management_title:
      en: "🎛️  LLMAN Codex Account Management"
      zh-CN: "🎛️  LLMAN Codex 账户管理"
    select_action:
      en: "What would you like to do?"
      zh-CN: "您想做什么？"
    action_help:
      en: "Choose an action to manage your Codex profiles"
      zh-CN: "选择操作来管理您的 Codex 配置"
    actions:
      upsert_profile:
        en: "Upsert profile"
        zh-CN: "创建/更新配置"
      list_profiles:
        en: "List profiles"
        zh-CN: "列出配置"
      edit_configuration:
        en: "Edit configuration"
        zh-CN: "编辑配置"
      remove_profile:
        en: "Remove profile"
        zh-CN: "删除配置"
      exit:
        en: "Exit"
        zh-CN: "退出"

    # Profile Selection
    profile_selection_title:
      en: "🎛️  Select a Codex profile to use:"
      zh-CN: "🎛️  选择要使用的 Codex 配置："
    choose_profile:
      en: "Choose profile:"
      zh-CN: "选择配置："
    profile_help:
      en: "Select a profile to use with codex"
      zh-CN: "选择要用于 codex 的配置"
    running_codex:
      en: "🚀 Running: codex --profile %{profile}"
      zh-CN: "🚀 正在运行: codex --profile %{profile}"

    # Upsert Profile
    upsert_title:
      en: "🔧 Upsert Profile"
      zh-CN: "🔧 创建/更新配置"
    select_security_template:
      en: "Select security template:"
      zh-CN: "选择安全模板："
    template_help:
      en: "Choose a security template based on your use case"
      zh-CN: "根据您的用例选择安全模板"
    templates:
      development:
        en: "Development environment (relaxed security, enabled features)"
        zh-CN: "开发环境（宽松安全，启用功能）"
      production:
        en: "Production environment (strict security, limited features)"
        zh-CN: "生产环境（严格安全，受限功能）"
    profile_created:
      en: "✅ Profile '%{name}' created/updated and exported!"
      zh-CN: "✅ 配置 '%{name}' 已创建/更新并导出！"
    profile_usage_hint:
      en: "💡 Use with: llman x codex (select profile when prompted)"
      zh-CN: "💡 使用方法: llman x codex (提示时选择配置)"

    # Messages
    no_profiles_configured:
      en: "📭 No profiles configured."
      zh-CN: "📭 未配置任何配置。"
    use_account_import:
      en: "💡 Use 'llman x codex account -i' to create a new configuration."
      zh-CN: "💡 使用 'llman x codex account -i' 创建新配置。"
    failed_select_profile:
      en: "❌ Failed to select profile."
      zh-CN: "❌ 选择配置失败。"
    failed_select_action:
      en: "❌ Failed to select action."
      zh-CN: "❌ 选择操作失败。"
    no_profiles_found:
      en: "📭 No profiles found."
      zh-CN: "📭 未找到任何配置。"
    no_profiles_to_remove:
      en: "📭 No profiles to remove."
      zh-CN: "📭 没有要删除的配置。"
    opening_config_file:
      en: "📝 Opening configuration file: %{path}"
      zh-CN: "📝 打开配置文件: %{path}"
    config_updated:
      en: "✅ Configuration updated and exported."
      zh-CN: "✅ 配置已更新并导出。"
    editor_failed:
      en: "❌ Editor failed to open configuration file"
      zh-CN: "❌ 编辑器打开配置文件失败"
    goodbye:
      en: "👋 Goodbye!"
      zh-CN: "👋 再见！"
    available_profiles:
      en: "📋 Available profiles:"
      zh-CN: "📋 可用配置："

  # 安全警告
  security:
    warning:
      en: "Configuration path: <{config_path}> Configuration item: {config_item} is prohibited in <llman config>/claude-code.toml"
      zh-CN: "配置路径: <{config_path}> 配置项: {config_item} 被禁止在 <llman config>/claude-code.toml 中"
    disabled:
      en: "Security checks are disabled"
      zh-CN: "已禁用安全检查"
    no_settings:
      en: "No Claude Code settings files found"
      zh-CN: "未找到 Claude Code 设置文件"
    parse_error:
      en: "Error parsing settings file {path}: {error}"
      zh-CN: "解析设置文件 {path} 时出错: {error}"

  # 错误信息
  error:
    unknown_template:
      en: "Unknown template: %{template}"
      zh-CN: "未知模板: %{template}"
    failed_codex_command:
      en: "Failed to run codex command"
      zh-CN: "运行 codex 命令失败"
