/* 
  InfoPlist.strings
  UploadPic

  Created by IT FB on 2025/6/9.
  
*/

// ====== SettingBasic ======
/* 语言设置 */
"language_setting" = "语言设置";
"language_setting_description" = "更改语言设置后需要重启应用以应用新的语言设置";
"language_follow_system" = "跟随系统";
"language_chinese" = "简体中文";
"language_english" = "English";
"language_japanese" = "日本語";
"language_korean" = "한국어";

"language_change_alert_title" = "语言设置已更改";
"language_change_alert_message" = "语言设置已更改，需要重启应用以应用新的语言设置。您可以选择立即重启或稍后手动重启。";
"restart_now" = "立即重启";
"restart_later" = "稍后重启";

/* 基础设置 */
"auto_upload" = "自动上传";
"auto_upload_description" = "在选择或者拖拽文件到上传区域后，文件自动上传。所以需要注意在上传前选择好上传的配置文件";
"auto_upload_context_menu" = "包括右键[通过 UploadPic 上传]";

"auto_copy_link" = "上传成功后自动复制链接";
"copy_format" = "复制格式";
"auto_copy_description" = "上传成功后自动将链接复制到剪贴板，方便直接粘贴使用。";
"auto_copy_batch_note" = "需要注意的是批量上传时不会复制文件链接哦";

"upload_notification" = "上传完成通知";
"notification_method" = "通知方式";
"notification_description" = "通知方式说明：";
"notification_each_file" = "• 每个文件 - 每完成一个文件就发送一条通知";
"notification_batch_only" = "• 仅批量完成 - 单个文件上传会通知，批量上传只在全部完成时通知";
"notification_all_complete" = "• 仅全部完成 - 只在所有上传任务完成时发送一条汇总通知";

"theme_mode" = "主题模式";
"follow_system" = "跟随系统";
"light_theme" = "浅色";
"dark_theme" = "深色";

"hide_dock_icon" = "隐藏程序坞图标";
"dock_icon_description" = "Dock 栏图标可以展示上传进度，如果你不需要，可以隐藏";

/* 选项值 */
"notification_each_file_option" = "每个文件";
"notification_batch_only_option" = "仅批量完成";
"notification_all_complete_option" = "仅全部完成";

"copy_format_url" = "URL";
"copy_format_markdown" = "Markdown";
"copy_format_html" = "HTML";

/* 通知消息 */
"file_upload_success" = "文件上传成功";
"file_upload_failed" = "文件上传失败";
"file_uploaded_to" = "%@ 已上传到 %@";
"file_upload_failed_to" = "%@ 上传失败到 %@";
"batch_upload_completed" = "批量上传任务已完成";
"upload_task_completed" = "上传任务已完成";
"all_files_uploaded_success" = "全部%d个文件上传成功";
"batch_upload_summary" = "共%d个文件，%d个成功，%d个失败";
"upload_summary" = "共%d个文件，%d个成功，%d个失败";

// ====== SettingCloudView ======
/* 云存储配置 */
"cloud_config_title" = "云存储配置";
"select_config" = "选择配置";
"no_config" = "无配置";
"unnamed_config" = "未命名配置";

/* 云服务商 */
"tencent_cloud" = "腾讯云";
"aliyun_cloud" = "阿里云";
"qiniu_cloud" = "七牛云";
"huawei_cloud" = "华为云";
"upyun_cloud" = "又拍云";
"baidu_cloud" = "百度云";
"github" = "GitHub";
"tencent_cos" = "腾讯云 COS";
"aliyun_oss" = "阿里云 OSS";
"qiniu_kodo" = "七牛云 KODO";
"huawei_obs" = "华为云 OBS";
"upyun_uss" = "又拍云 USS";
"baidu_bos" = "百度云 BOS";
"custom_upload" = "自定义上传";

/* 配置管理 */
"add_new_config" = "添加新配置";
"delete_current_config" = "删除当前配置";
"no_available_config" = "无可用配置";
"add_cloud_storage_config" = "请添加一个新的云存储配置";
"add_config" = "添加配置";

/* 删除确认 */
"confirm_delete" = "确认删除";
"delete" = "删除";
"delete_config_message" = "确定要删除这个配置吗？此操作不可恢复。";

/* 云服务商选择 */
"select_cloud_provider" = "选择云服务商";

/* 导入结果 */
"import_success" = "导入成功";
"import_success_message" = "成功导入了 %d 个配置";
"import_error" = "导入失败";

/* 导入错误类型 */
"config_import_invalid_format" = "配置文件格式无效";
"config_import_incompatible_version" = "配置文件版本不兼容";
"config_import_failed" = "配置导入失败";
"config_import_partial_success" = "部分配置导入成功";

// ====== xxxConfigDetailForm ======
/* 云配置 */
"config_name" = "配置名称";
"enter_config_name" = "请输入配置名称";
"secret_id" = "Secret ID";
"enter_secret_id" = "请输入 Secret ID";
"secret_key" = "Secret Key";
"enter_secret_key" = "请输入 Secret Key";

"username" = "用户名";
"enter_username" = "请输入用户名";
"operator" = "操作员";
"enter_operator" = "请输入操作员";
"password" = "密码";
"enter_password" = "请输入密码";

/* 区域设置 */
"region_settings" = "区域设置";
"country" = "国家";

/* 存储配置 */
"bucket_name" = "存储桶名称";
"enter_bucket_name" = "请输入存储桶名称";

"enter_service_name" = "请输入服务名称";

/* 上传配置 */
"upload_config" = "上传配置";
"upload_domain_optional" = "上传域名 (可选)";
"upload_path_strategy" = "上传路径策略";
"custom_path" = "自定义路径";
"prefix_path_optional" = "前缀路径 (可选)";
"suffix_path_optional" = "后缀路径 (可选)";
"preview" = "预览";

/* 访问配置 */
"access_config" = "访问配置";
"access_domain_optional" = "访问域名 (可选)";
"access_path_strategy" = "访问路径策略";

/* 并发上传 */
"concurrent_uploads" = "并发上传数量";

/* 文件命名策略 */
"file_naming_strategy" = "文件命名策略";
"file_naming_custom_prefix" = "自定义前缀名";
"file_naming_custom_prefix_placeholder" = "可选，为文件名添加前缀";
"keep_original_name" = "保持文件的原始名称不变";
"use_uuid" = "使用随机生成的UUID作为文件名";
"use_uuid_lowercase" = "使用随机生成的小写UUID作为文件名";
"use_timestamp" = "使用当前时间戳作为文件名（格式：yyyyMMdd_HHmmss_SSS）";
"timestamp_with_original" = "时间戳+原文件名（格式：yyyyMMdd_HHmmss_原文件名）";
"uuid_with_original" = "短UUID+原文件名（格式：UUID前8位_原文件名）";
"use_hash" = "使用SHA256哈希值作为文件名";
"use_sha1" = "使用SHA1哈希值作为文件名";
"use_md5" = "使用MD5哈希值作为文件名";

/* 按钮和提示 */
"save_config" = "保存配置";
"tip" = "提示";
"confirm" = "确定";
"config_saved" = "配置已保存";
"required_fields_error" = "Secret ID、Secret Key 和存储桶名称不能为空";
"required_fields_error_upyun" = "操作员、密码和服务名称不能为空";

/* 示例文本 */
"example_domain" = "example.com";
"example_archive" = "如: archive";
"example_photos" = "如: photos";
"example_upload" = "如: upload";
"example_images" = "如: images";

/* 七牛云配置特有字段 */
"access_key" = "Access Key";
"enter_access_key" = "请输入 Access Key";
"storage_space_name" = "存储空间名称";
"enter_storage_space_name" = "请输入存储空间名称";
"access_key_secret_bucket_required" = "Access Key、Secret Key 和存储空间名称不能为空";

/* 华为云配置特有字段 */
"access_key_secret_bucket_region_required" = "Access Key、Secret Key、桶名称和区域不能为空";
"bucket_name_huawei" = "桶名称";
"enter_bucket_name_huawei" = "请输入桶名称";

/* 阿里云配置特有字段 */
"access_key_id" = "Access Key ID";
"enter_access_key_id" = "请输入 Access Key ID";
"access_key_secret" = "Access Key Secret";
"enter_access_key_secret" = "请输入 Access Key Secret";
"bucket_settings" = "存储桶设置";
"bucket_name_aliyun" = "Bucket 名称";
"enter_bucket_name_aliyun" = "请输入 Bucket 名称";
"access_key_id_secret_bucket_required" = "Access Key ID、Access Key Secret、Bucket名称不能为空";

// SettingWindowController
/* 窗口标题 */
"settings" = "设置";

// ====== SettingView ======
/* 设置页面标签 */
"general_tab" = "通用";
"cloud_storage_tab" = "云存储";
"about_tab" = "关于";

// ====== UploadListView ======
/* 上传列表 */
"file_name" = "文件名";
"config_file" = "配置文件";
"file_size" = "文件大小";
"start_time" = "开始时间";
"duration" = "耗时";
"status" = "状态";

/* 上传状态 */
"waiting" = "等待";
"uploading" = "上传中";
"success" = "成功";
"error" = "错误";
"not_uploaded" = "未上传";
"uploading_in_progress" = "上传中...";
"in_progress" = "进行中";
"waiting_status" = "等待中";

/* 错误相关 */
"error_info" = "错误信息";
"view_error_log" = "查看错误日志";
"unknown_error" = "未知错误";
"close" = "关闭";

/* 链接复制 */
"normal_link" = "普通链接";
"markdown_link" = "MarkDown 链接";
"img_tag" = "img 标签";
"link_copied" = "已复制链接到剪贴板";
"markdown_copied" = "已复制 MarkDown 链接到剪贴板";
"img_tag_copied" = "已复制 img 标签到剪贴板";

/* 时间单位 */
"seconds" = "秒";
"minutes" = "分";
"hours" = "时";

// ====== UploadStatusView ======
/* 上传状态视图 */
"config_selector" = "配置";
"not_selected" = "未选择";
"select_files" = "选择文件";
"clear_all" = "清空所有";
"start_upload" = "开始上传";
"please_select_config_first" = "请先选择配置文件再开始上传";
"config_deleted_please_reselect" = "配置已被删除，请重新选择";
"upload_list" = "上传列表";
"photo_album" = "相册";

/* 文件选择错误 */
"file_selection_error" = "文件选择错误";
"unable_to_access_file" = "无法访问安全作用域资源";

// ====== PhotoView ======
/* 相册视图 */
"photo_album_coming_soon" = "相册功能即将推出";
"photo_album_description" = "您可以在这里查看和管理已上传的图片";
"grid_view" = "网格视图";
"list_view" = "列表视图";
"no_photos_yet" = "还没有照片";
"photos_will_appear_here" = "上传的图片将出现在这里";
"custom_upload_album_not_supported" = "相册功能不支持自定义上传配置。请选择其他云存储配置。";
"thumbnail" = "缩略图";
"upload_date" = "上传时间";
"actions" = "操作";
"copy_link" = "复制链接";
"copy_normal_link" = "复制普通链接";
"copy_markdown_link" = "复制 Markdown 链接";
"copy_html_link" = "复制 HTML 链接";
"open_in_browser" = "在浏览器中打开";
"custom_domain" = "自定义域名";

// ====== UploadView ======
/* 上传视图 */
"drop_to_upload" = "松开鼠标即可上传";

// ====== BaseCloudConfig ======
/* 文件命名策略 */
"keep_original_filename" = "保持原文件名";
"use_uuid_filename" = "UUID";
"use_uuid_lowercase_filename" = "UUID小写";
"use_timestamp_filename" = "时间戳";
"timestamp_with_original_filename" = "时间戳+原文件名";
"uuid_with_original_filename" = "UUID+原文件名";
"use_hash_filename" = "HASH";
"use_sha1_filename" = "SHA1";
"use_md5_filename" = "MD5";

/* 路径策略 */
"custom_path_strategy" = "自定义路径";
"prefix_date_suffix_strategy" = "前缀+日期+后缀";
"prefix_year_month_suffix_strategy" = "前缀+年月+后缀";

// ====== UploadManager ======
/* 上传管理器状态 */
"idle" = "空闲";
"preparing_upload" = "准备上传队列...";
"ready_status" = "就绪 (等待: %d, 成功: %d, 失败: %d)";
"network_unavailable" = "网络连接不可用";
"no_cloud_service_selected" = "未选择云存储服务";
"no_files_to_upload" = "没有等待上传的文件";
"uploading_file" = "上传中: %@...";
"all_uploads_cancelled" = "已取消所有上传任务";
"upload_cancelled" = "已取消";
"config_deleted_reselect" = "配置已被删除，请重新选择";

/* 上传模式 */
"batch_upload_mode" = "批量上传模式";
"single_file_upload_mode" = "单个文件上传模式";

/* 上传日志 */
"adding_files" = "添加文件: %d个, 批量上传模式: %@";
"adding_network_urls" = "添加网络URL: %d个, 批量上传模式: %@";
"files_to_upload_found" = "找到待上传文件数：%d";
"no_new_files_to_upload" = "没有新文件需要上传";
"upload_mode" = "上传模式: %@";
"current_batch_files" = "当前批次文件数: %d";
"processing_upload_queue" = "处理上传队列，队列长度: %d，活跃上传: %d";
"starting_upload_file" = "开始上传文件: %@，当前活跃: %d/%d";
"file_upload_failed_with_error" = "文件上传失败: %@, 错误: %@";
"file_upload_success_log" = "文件上传成功: %@";
"sending_completion_notification" = "发送完成通知：当前批次总数=%d, 成功=%d, 失败=%d, 批量模式=%@";
"sending_batch_notification" = "正在发送批量上传完成通知";
"sending_normal_notification" = "正在发送普通上传完成通知";
"network_check_normal" = "网络连接正常，开始上传";
"cannot_start_upload" = "无法开始上传: service=%@, items=%d";

/* 布尔值文本 */
"yes" = "是";
"no" = "否";
"true" = "真";
"false" = "假";

// ====== PopoverContentView ======
/* 弹窗内容视图 */
"drag_files_here" = "拖放文件至此";
"or" = "或";
"select_files_button" = "选择文件";
"clear" = "清空";
"upload" = "上传";
"file_name_column" = "文件名";
"status_column" = "状态";
"waiting_upload" = "等待";
"success_upload" = "成功";
"error_upload" = "错误";
"normal_link_menu" = "普通链接";
"markdown_link_menu" = "MarkDown 链接";
"img_tag_menu" = "img 标签";
"file_selection_failed" = "文件选择错误";
"cannot_access_security_scoped_resource" = "无法访问安全作用域资源";

// ====== AppDelegate ======
/* 应用代理 - 菜单栏 */
"open_main_window" = "打开主窗口";
"settings_menu" = "设置";
"quit" = "退出";

/* 应用代理 - 上传相关 */
"upload_status_icon" = "上传";
"uploading_percentage" = "%d%%";

/* 应用代理 - 文件处理错误 */
"cannot_read_file_info" = "无法读取文件信息";
"no_files_selected" = "未选择任何文件";

// ====== 地区翻译 ======
/* 地区分类 */
"region_china" = "中国";
"region_asia_pacific" = "亚太地区";
"region_europe" = "欧洲地区";
"region_north_america" = "北美地区";
"region_south_america" = "南美地区";
"region_finance" = "金融地区";
"region_middle_east" = "中东地区";
"region_americas" = "美洲地区";
"region_africa" = "非洲地区";
"region_latin_america" = "拉美地区";

/* 腾讯云地区 */
"region_nanjing" = "南京";
"region_guangzhou" = "广州";
"region_chengdu" = "成都";
"region_hongkong" = "香港";
"region_beijing" = "北京";
"region_shanghai" = "上海";
"region_chongqing" = "重庆";
"region_singapore" = "新加坡";
"region_seoul" = "韩国首尔";
"region_bangkok" = "泰国曼谷";
"region_tokyo" = "日本东京";
"region_jakarta" = "印尼雅加达";
"region_frankfurt" = "德国法兰克福";
"region_virginia" = "美东弗吉尼亚";
"region_silicon_valley" = "美西硅谷";
"region_sao_paulo" = "巴西圣保罗";
"region_shenzhen_finance" = "深圳金融";
"region_shanghai_finance" = "上海金融";
"region_beijing_finance" = "北京金融";

/* 阿里云地区 */
"region_qingdao" = "华北 1（青岛）";
"region_beijing_aliyun" = "华北 2（北京）";
"region_zhangjiakou" = "华北 3（张家口）";
"region_huhehaote" = "华北 5（呼和浩特）";
"region_wulanchabu" = "华北 6（乌兰察布）";
"region_hangzhou" = "华东 1（杭州）";
"region_shanghai_aliyun" = "华东 2（上海）";
"region_shenzhen_aliyun" = "华南 1（深圳）";
"region_heyuan" = "华南 2（河源）";
"region_guangzhou_aliyun" = "华南 3（广州）";
"region_chengdu_aliyun" = "西南 1（成都）";
"region_hongkong_aliyun" = "中国香港";
"region_tokyo_aliyun" = "日本（东京）";
"region_seoul_aliyun" = "韩国（首尔）";
"region_singapore_aliyun" = "新加坡";
"region_sydney" = "澳大利亚（悉尼）";
"region_kuala_lumpur" = "马来西亚（吉隆坡）";
"region_jakarta_aliyun" = "印度尼西亚（雅加达）";
"region_manila" = "菲律宾（马尼拉）";
"region_bangkok_aliyun" = "泰国（曼谷）";
"region_mumbai" = "印度（孟买）";
"region_frankfurt_aliyun" = "德国（法兰克福）";
"region_london" = "英国（伦敦）";
"region_dubai" = "阿联酋（迪拜）";
"region_silicon_valley_aliyun" = "美国（硅谷）";
"region_virginia_aliyun" = "美国（弗吉尼亚）";
"region_mexico_city" = "墨西哥（墨西哥城）";
"region_sao_paulo_aliyun" = "巴西（圣保罗）";

/* 七牛云地区 */
"region_east_zhejiang" = "华东-浙江";
"region_north_hebei" = "华北-河北";
"region_south_guangdong" = "华南-广东";
"region_east_zhejiang2" = "华东-浙江2";
"region_singapore_qiniu" = "亚太-新加坡";
"region_seoul_qiniu" = "亚太-首尔";
"region_los_angeles" = "北美-洛杉矶";

/* 华为云地区 */
"region_beijing1_huawei" = "华北-北京1";
"region_beijing4_huawei" = "华北-北京4";
"region_shanghai1_huawei" = "华东-上海1";
"region_shanghai2_huawei" = "华东-上海2";
"region_guangzhou_huawei" = "华南-广州";
"region_guiyang" = "西南-贵阳1";
"region_hongkong_huawei" = "亚太-香港";
"region_singapore_huawei" = "亚太-新加坡";
"region_bangkok_huawei" = "亚太-曼谷";
"region_jakarta_huawei" = "亚太-雅加达";
"region_tokyo_huawei" = "亚太-东京";
"region_paris" = "欧洲-巴黎";
"region_berlin" = "欧洲-柏林";
"region_moscow" = "欧洲-莫斯科";
"region_johannesburg" = "非洲-约翰内斯堡";
"region_santiago" = "拉美-圣地亚哥";
"region_mexico_city_huawei" = "拉美-墨西哥城";
"region_dubai_huawei" = "中东-迪拜";

/* 百度云地区 */
"region_beijing_baidu" = "华北-北京";
"region_baoding_baidu" = "华北-保定";
"region_suzhou_baidu" = "华东-苏州";
"region_guangzhou_baidu" = "华南-广州";
"region_chengdu_baidu" = "西南-成都";
"region_wuhan_baidu" = "华中-武汉";
"region_shanghai_finance_baidu" = "华东金融-上海";
"region_hongkong_baidu" = "中国香港";

// ====== Menu Items ======
/* 菜单项 */
"about_app" = "关于 %@";
"preferences" = "偏好设置...";
"hide_app" = "隐藏 %@";
"hide_others" = "隐藏其他";
"show_all" = "显示全部";
"quit_app" = "退出 %@";
"file_menu" = "文件";
"new_window" = "新建窗口";
"close_window" = "关闭窗口";
"edit_menu" = "编辑";
"undo" = "撤销";
"redo" = "重做";
"cut" = "剪切";
"copy" = "拷贝";
"paste" = "粘贴";
"select_all" = "全选";
"window_menu" = "窗口";
"minimize" = "最小化";
"zoom" = "缩放";
"main_window" = "主窗口";
"bring_all_to_front" = "前置所有窗口";
"config_menu" = "配置";
"cloud_storage_config" = "云存储配置";
"clipboard_monitor" = "剪贴板监控";
"manage_configs" = "管理配置";
"no_config_available" = "暂无可用配置";
"clipboard_settings" = "剪贴板设置";

// ====== About ======
"cloud_api_desc" = "UploadPic APP 使用的是云服务的 API 接口";
"visit_website" = "访问网站";
"privacy_policy" = "隐私政策";
"author_website" = "作者网站";
"copyright" = "版权 © 2025 fengbblog.com";

// ====== Photo Album ======
"refresh_photos" = "刷新相册";
"loading_photos" = "正在加载相册...";
"load_photos_failed" = "加载相册失败";
"retry" = "重试";
"config_not_selected" = "未选择配置";

// ====== Custom Upload ======
"upload_url" = "上传URL";
"enter_upload_url" = "请输入上传URL";
"access_url" = "访问URL";
"enter_access_url" = "请输入访问URL基础地址";
"access_url_desc" = "例如：https://cdn.example.com，上传成功后将自动拼接文件名生成完整访问链接";
"http_method" = "HTTP方法";
"content_type" = "内容类型";
"content_type_config" = "内容类型配置";
"basic_config" = "基本配置";
"file_field_name" = "文件字段名";
"enter_file_field_name" = "请输入文件字段名";
"filename_field_name" = "文件名字段名";
"enter_filename_field_name" = "请输入文件名字段名";
"http_headers" = "HTTP头";
"header_key" = "头名称";
"header_value" = "头值";
"additional_fields" = "额外字段";
"field_key" = "字段名";
"field_value" = "字段值";
"upload_url_required" = "上传URL不能为空";
"invalid_upload_url" = "上传URL格式不正确";

/* 内容类型 */
"multipart_form_data" = "Multipart Form Data";
"multipart_form_data_desc" = "适用于文件上传和表单数据";
"application_json" = "Application JSON";
"application_json_desc" = "JSON格式数据传输";
"application_octet_stream" = "Binary Stream";
"application_octet_stream_desc" = "二进制文件流";

/* 文件名传递方式 */
"filename_delivery_method" = "文件名传递方式";
"filename_url_parameter" = "URL参数";
"filename_http_header" = "HTTP Header";
"filename_url_path" = "URL路径";
"filename_none" = "不传递";
"filename_url_parameter_desc" = "通过URL参数传递文件名，如: ?filename=image.jpg";
"filename_http_header_desc" = "通过 HTTP Header 传递文件名，如: X-File-Name: image.jpg";
"filename_url_path_desc" = "将文件名直接附加到上传URL路径后面，如：https://api.com/upload = https://api.com/upload/image.jpg";
"filename_none_desc" = "不传递文件名信息";
"filename_parameter_name" = "文件名参数名";
"enter_filename_parameter_name" = "请输入文件名参数名，如：filename";
"filename_header_name" = "HTTP Header 名称";
"enter_filename_header_name" = "请输入文件名 HTTP Header 的字段名，如：X-File-Name";

// ====== CLI Tools ======
/* 命令行工具 */
"cli_tools_tab" = "命令行工具";
"cli_installed" = "命令行工具已安装";
"cli_not_installed" = "命令行工具未安装";
"cli_install_path" = "安装路径:";
"cli_install" = "安装命令行工具";
"cli_uninstall" = "卸载命令行工具";
"cli_check_status" = "检查状态";
"cli_install_description" = "安装命令行工具后，你可以在终端或编辑器中使用 uploadpic-cli 命令上传图片";
"cli_uninstall_failed" = "卸载失败，请检查权限";
"cli_uninstall_cancelled" = "用户取消了卸载操作";

/* CLI 安装选项 */
"cli_install_options_title" = "选择安装方式";
"cli_install_options_message" = "请选择您喜欢的安装方式：";
"cli_auto_install" = "自动安装";
"cli_manual_install" = "手动安装";
"cli_auto_install_failed" = "自动安装失败，请尝试手动安装";

/* CLI 安装成功 */
"cli_install_success_title" = "安装成功";
"cli_install_success_message" = "命令行工具已成功安装！现在可以在终端或编辑器中使用 uploadpic-cli 命令了。";

/* CLI 手动安装 */
"cli_manual_install_title" = "需要手动安装";
"cli_manual_install_message" = "自动安装失败，请在终端中运行以下命令：\n\nsudo cp '%@' '%@'\nsudo chmod +x '%@'\n\n或者将文件手动复制到 /usr/local/bin/ 目录";
"cli_manual_install_instructions" = "请在终端中运行以下命令：\n\nsudo cp '%@' '%@'\nsudo chmod +x '%@'\n\n文件已准备好，您可以复制命令到终端执行";

/* CLI 使用说明 */
"cli_install_note" = "安装过程会要求输入管理员密码，这是正常的系统安全验证";
"cli_usage_title" = "使用说明";
"cli_basic_usage" = "基本用法";
"cli_markdown_format" = "Markdown 格式";
"cli_html_format" = "HTML 格式";
"cli_batch_upload" = "批量上传";
"cli_help" = "查看帮助";

/* CLI 编辑器集成 */
"cli_editor_integration" = "编辑器集成";
"cli_editor_note" = "在编辑器的图片上传设置中配置上述命令即可";

/* 通用按钮 */
"cancel" = "取消";
"ok" = "好的";
"done" = "完成";
"copy_command" = "复制命令";
"open_terminal" = "打开终端";

/* 又拍云相册 */
"no_upyun_config" = "无又拍云配置";
"add_upyun_config_first" = "请先在设置中添加又拍云配置";

// ====== Command Line Upload Errors ======
/* 命令行上传错误 */
"cli_no_valid_files_found" = "错误: 找不到有效的文件";
"cli_no_cloud_config_error" = "错误: 未配置云存储服务，请先运行应用进行配置";
"cli_upload_failed_files" = "上传失败的文件:";

// ====== CLI Settings View ======
/* CLI 设置视图 */
"cli_tool_title" = "命令行工具";
"cli_installed_status" = "命令行工具已安装";
"cli_not_installed_status" = "命令行工具未安装";
"cli_install_path_info" = "安装路径: %@";
"cli_after_install_description" = "安装后可在终端中使用 uploadpic-cli 命令";
"cli_management_title" = "管理工具";
"cli_install_tool" = "安装命令行工具";
"cli_uninstall_tool" = "卸载";
"cli_check_status_tool" = "检查状态";
"cli_clear_error" = "清除";
"cli_installed_info" = "工具已安装在 ~/.uploadpic 目录，类似 nvm、sdkman 等工具";
"cli_install_steps_1" = "• 将创建安装脚本到下载文件夹";
"cli_install_steps_2" = "• 需要访问下载文件夹权限";
"cli_install_steps_3" = "• 安装到 ~/.uploadpic 目录";

/* CLI 使用说明 */
"cli_usage_guide_title" = "使用说明";
"cli_install_script_title" = "安装脚本";
"cli_install_script_desc" = "运行下载的安装脚本";
"cli_basic_upload_title" = "基本上传";
"cli_basic_upload_desc" = "上传单个图片文件";
"cli_markdown_format_title" = "Markdown 格式";
"cli_markdown_format_desc" = "批量上传并输出 Markdown";
"cli_html_format_title" = "HTML 格式";
"cli_html_format_desc" = "上传并输出 HTML 标签";
"cli_view_help_title" = "查看帮助";
"cli_view_help_desc" = "显示所有可用选项";
"cli_reload_config_title" = "重载配置";
"cli_reload_config_desc" = "重新加载 shell 配置";

/* CLI 编辑器集成 */
"cli_editor_integration_title" = "编辑器集成";
"cli_markdown_editor" = "Markdown 编辑器";
"cli_html_editor" = "HTML 编辑器";
"cli_universal_editor" = "通用编辑器";
"cli_editor_setup_note" = "在编辑器的图片上传设置中配置上述命令即可实现自动上传";
"cli_copy_command_help" = "复制命令";

// ====== CLI Tool Manager ======
/* CLI 工具管理器 */
"cli_needs_downloads_access" = "需要访问下载文件夹";
"cli_access_downloads_message" = "UploadPic 需要访问下载文件夹来保存命令行工具安装脚本。\n\n系统将询问您是否允许访问。";
"cli_request_permission" = "请求权限";
"cli_access_denied" = "访问下载文件夹被拒绝，请在系统设置中授权";
"cli_manual_auth_needed" = "需要手动授权";
"cli_permission_instructions" = "请前往：\n系统设置 → 隐私与安全性 → 文件与文件夹\n找到 UploadPic 并勾选下载文件夹权限。";
"cli_open_system_settings" = "打开系统设置";
"cli_script_created_title" = "✅ 安装脚本已创建";
"cli_script_created_message" = "安装脚本已保存到：\n%@\n\n请在终端中运行安装命令完成安装。";
"cli_copy_install_command" = "复制安装命令";
"cli_open_downloads_folder" = "打开下载文件夹";
"cli_command_copied_title" = "📋 命令已复制";
"cli_command_copied_message" = "安装命令已复制到剪贴板：\n%@\n\n请在终端中粘贴并运行。";
"cli_create_install_script_failed" = "创建安装脚本失败: %@";
"cli_uninstall_failed_error" = "卸载失败: %@";

/* CLI 安装脚本相关 */
"cli_install_script_content_title" = "安装脚本";
"cli_install_script_content_message" = "由于沙盒限制，请手动创建安装脚本。点击下方按钮复制脚本内容，然后：\n\n1. 打开终端\n2. 创建文件：nano ~/install-uploadpic-cli.sh\n3. 粘贴脚本内容并保存\n4. 运行：bash ~/install-uploadpic-cli.sh";
"cli_copy_script" = "复制安装脚本";
"cli_copy_commands" = "复制创建命令";
"cli_script_copied_title" = "脚本已复制";
"cli_script_copied_message" = "安装脚本已复制到剪贴板。\n\n请按以下步骤操作：\n\n1. 打开终端\n2. 运行：nano ~/install-uploadpic-cli.sh\n3. 粘贴脚本内容（Cmd+V）\n4. 保存并退出（Ctrl+X, Y, Enter）\n5. 运行：bash ~/install-uploadpic-cli.sh";
"cli_commands_copied_title" = "命令已复制";
"cli_commands_copied_message" = "完整的创建和运行命令已复制到剪贴板。\n\n请按以下步骤操作：\n\n1. 打开终端\n2. 粘贴所有命令（Cmd+V）\n3. 按回车执行\n\n这将自动创建、设置权限并运行安装脚本。";

/* 应用代理 - 文件处理错误 */
"cannot_read_file_info" = "无法读取文件信息";
"no_files_selected" = "未选择任何文件";

/* 安全访问相关 */
"downloads_folder" = "下载文件夹";
"pictures_folder" = "图片文件夹";
"security_folder_access_title" = "选择文件夹以授权访问";
"security_folder_access_message" = "UploadPic 需要访问您的文件夹以支持命令行上传功能。\n\n请选择您经常使用的文件夹（如用户目录），系统将记住这个权限。";
"security_help_title" = "文件访问权限说明";
"security_help_message" = "由于应用沙盒限制，UploadPic 只能访问以下位置的文件：\n\n✅ 通过应用界面选择的文件\n✅ 下载文件夹中的文件\n✅ 您授权的文件夹中的文件\n\n💡 解决方案：\n1. 点击授权文件夹访问按钮\n2. 选择包含您要上传文件的父级文件夹\n3. 系统将记住这个权限，支持命令行上传\n\n🔒 隐私保护：\n- 只有您主动授权的文件夹才能被访问\n- 权限信息安全存储在您的设备上\n- 不会访问任何其他文件或文件夹";
"security_request_access" = "授权文件夹访问";
"security_access_granted" = "✅ 授权成功";
"security_access_granted_message" = "现在您可以使用命令行工具上传该文件夹及其子文件夹中的文件了。";
"security_access_denied" = "无法访问文件: %@";
"security_bookmark_creation_failed" = "无法为文件创建安全书签: %@";
"security_bookmark_resolution_failed" = "无法解析安全书签";
"security_file_access_denied_title" = "文件访问受限";
"security_file_access_denied_message" = "由于应用沙盒限制，无法访问以下文件：\n\n%@\n\n解决方案：\n1. 通过应用界面选择文件上传\n2. 将文件移动到下载文件夹\n3. 授权文件夹访问权限\n\n是否现在授权文件夹访问权限？";
"security_ignore_inaccessible" = "忽略无法访问的文件";
"security_access_settings" = "文件访问权限";
"security_access_description" = "管理文件夹访问权限以支持命令行上传功能";
"security_access_cli_description" = "命令行工具需要文件夹访问权限才能上传不在系统默认目录（下载、图片）中的文件。";
"security_help_button" = "查看说明";

/* 已授权目录管理 */
"authorized_directories_title" = "已授权目录";
"no_authorized_directories" = "暂无已授权目录";
"refresh_directories" = "刷新列表";
"clear_all_authorizations" = "清除所有授权";
"confirm_delete_directory" = "确认删除授权";
"delete_directory_message" = "确定要删除对以下目录的访问权限吗？\n\n%@\n\n删除后，命令行工具将无法访问此目录中的文件。";
"confirm_clear_all_title" = "确认清除所有授权";
"confirm_clear_all_message" = "确定要清除所有用户授权的目录访问权限吗？\n\n此操作不可恢复。";
"clear_all" = "全部清除";
"system_default" = "系统默认";
"show_in_finder" = "在访达中显示";
"remove_authorization" = "移除授权";
"delete" = "删除";
"cancel" = "取消";
"cli_security_notice" = "命令行工具需要访问权限才能上传任意位置的文件";

/* CLI 权限请求相关 */
"cli_permission_request_title" = "需要文件访问权限";
"cli_permission_request_message" = "命令行工具需要访问以下文件：\n\n文件：%@\n位置：%@\n\n由于应用沙盒限制，需要您授权访问包含此文件的文件夹。\n\n点击授权访问将打开文件夹选择器，请选择包含目标文件的文件夹（建议选择父级目录以获得更广泛的访问权限）。";
"cli_grant_access" = "授权访问";
"cli_skip_file" = "跳过此文件";
"cli_folder_access_message" = "请选择包含您要上传文件的文件夹。\n\n建议选择父级目录（如用户主目录）以获得更广泛的访问权限。";

/* S3 相关 */
"amazon_s3" = "S3";
"secret_access_key" = "Secret Access Key";
"enter_secret_access_key" = "请输入 Secret Access Key";
"region_setting" = "区域设置";
"region" = "区域";
"enter_region" = "请输入区域 (如: us-east-1)";
"endpoint_setting" = "端点设置";
"endpoint_optional" = "端点 (可选，用于兼容 S3 API 的服务。例如：Tencent COS，Aliyun OSS，MinIO 等)";
"enter_endpoint" = "如: https://s3.example.com";
"s3_required_fields_error" = "Access Key ID、Secret Access Key、区域和存储桶名称不能为空";
"country" = "国家";

/* S3 区域本地化 */
"region_us_east_1" = "美国东部 (弗吉尼亚北部)";
"region_us_east_2" = "美国东部 (俄亥俄)";
"region_us_west_1" = "美国西部 (加利福尼亚北部)";
"region_us_west_2" = "美国西部 (俄勒冈)";
"region_ca_central_1" = "加拿大 (中部)";
"region_eu_west_1" = "欧洲 (爱尔兰)";
"region_eu_west_2" = "欧洲 (伦敦)";
"region_eu_west_3" = "欧洲 (巴黎)";
"region_eu_central_1" = "欧洲 (法兰克福)";
"region_eu_north_1" = "欧洲 (斯德哥尔摩)";
"region_ap_northeast_1" = "亚太地区 (东京)";
"region_ap_northeast_2" = "亚太地区 (首尔)";
"region_ap_northeast_3" = "亚太地区 (大阪)";
"region_ap_southeast_1" = "亚太地区 (新加坡)";
"region_ap_southeast_2" = "亚太地区 (悉尼)";
"region_ap_south_1" = "亚太地区 (孟买)";
"region_sa_east_1" = "南美洲 (圣保罗)";

// ====== 剪切板监听 ======
/* 剪切板监听设置 */
"clipboard_tab" = "剪切板";
"clipboard_monitoring" = "剪切板监听";
"clipboard_monitoring_description" = "打开后可以监听截图和复制的图片，然后上传";
"basic_settings" = "基本设置";
"enable_clipboard_monitoring" = "启用剪切板监听";
"enable_clipboard_monitoring_desc" = "自动检测剪切板中的图像并提示上传";
"require_upload_confirmation" = "需要确认上传";
"require_upload_confirmation_desc" = "检测到图像时显示确认对话框";
"optimize_clipboard_images" = "优化剪切板图像";
"optimize_clipboard_images_desc" = "自动将大尺寸TIFF转换为更小的PNG/JPEG格式";

/* 剪切板监听状态 */
"clipboard_short" = "剪切板";
"clipboard_monitoring_active" = "剪切板监听中";
"clipboard_monitoring_inactive" = "剪切板监听已停止";
"pause_when_inactive" = "失去焦点时暂停";
"pause_when_inactive_desc" = "应用不在前台时暂停监听以节省资源";
"pause_when_inactive_desc_menubar" = "菜单栏应用通常不需要暂停监听，除非你想节省资源";

/* 监听状态 */
"monitoring_status" = "监听状态";
"monitoring_active" = "监听中";
"monitoring_inactive" = "已停止";
"stop_monitoring" = "停止监听";
"start_monitoring" = "开始监听";

/* 使用说明 */
"usage_instructions" = "使用说明";
"clipboard_usage_1" = "复制图像到剪切板（截图、复制图片等）";
"clipboard_usage_2" = "应用会自动检测并提示上传";
"clipboard_usage_3" = "支持 PNG、JPEG、GIF、WebP 等格式";
"clipboard_usage_4" = "重复内容在3秒内不会重复处理";
"clipboard_usage_5" = "菜单栏应用会持续监听，不受应用焦点影响";

/* 确认对话框 */
"clipboard_upload_confirmation_title" = "检测到剪切板图像";
"clipboard_upload_confirmation_message" = "是否要上传检测到的剪切板图像？";
"upload" = "上传";
"cancel" = "取消";

/* 状态信息 */
"clipboard_image_detected" = "检测到剪切板图像: %@";

/* 简短状态 */
"clipboard_short" = "剪切板";
"clipboard_monitoring_active" = "剪切板监听中";
"clipboard_monitoring_inactive" = "剪切板监听已停止";

// ====== GitHub 配置 ======
/* GitHub 基本配置 */
"github_repository_config" = "仓库配置";
"github_username_org" = "GitHub 用户名/组织名";
"github_username_org_placeholder" = "例如: username 或 organization";
"github_repository_name" = "仓库名称";
"github_repository_name_placeholder" = "例如: my-images";
"github_branch_name" = "分支名称";
"github_branch_name_placeholder" = "默认: main";

/* GitHub 认证配置 */
"github_auth_config" = "认证配置";
"github_personal_access_token" = "Personal Access Token";
"github_token_placeholder" = "请输入 GitHub Personal Access Token";

/* GitHub 路径配置 */
"github_path_config" = "路径配置";
"github_base_path" = "基础路径 (可选)";
"github_base_path_placeholder" = "例如: images/ 或留空";
"github_custom_domain" = "自定义访问域名 (可选)";
"github_custom_domain_placeholder" = "例如: cdn.example.com";
"github_custom_domain_description" = "用于生成访问链接，适用于 GitHub Pages 或 CDN 场景";

/* GitHub 提交配置 */
"github_commit_config" = "提交配置";
"github_commit_message" = "提交信息";
"github_commit_message_placeholder" = "Upload file via UploadPic";
"github_author_name" = "提交者姓名 (可选)";
"github_author_name_placeholder" = "留空使用默认";
"github_author_email" = "提交者邮箱 (可选)";
"github_author_email_placeholder" = "留空使用默认";

/* GitHub 验证错误信息 */
"github_owner_required" = "请输入 GitHub 用户名或组织名";
"github_repo_required" = "请输入仓库名称";
"github_token_required" = "请输入 Personal Access Token";

// ====== 配置导入导出 ======
"export_configs" = "导出配置";
"import_configs" = "导入配置";
/* 导入导出选项 */
"import_options" = "导入选项";
"merge_configs" = "合并配置";
"replace_configs" = "替换配置";
"import_options_message" = "选择导入方式：\n• 合并配置：将新配置添加到现有配置中\n• 替换配置：删除所有现有配置并导入新配置";

/* 导入结果 */
"import_success" = "导入成功";
"import_success_message" = "成功导入了 %d 个配置";
"import_error" = "导入失败";

/* 导入错误类型 */
"config_import_invalid_format" = "配置文件格式无效";
"config_import_incompatible_version" = "配置文件版本不兼容";
"config_import_failed" = "配置导入失败";
"config_import_partial_success" = "部分配置导入成功";

// ====== iCloud 同步 ======
/* iCloud 同步相关 */
"icloud_sync_toggle" = "启用/禁用 iCloud 同步";
"force_sync" = "手动同步";
"icloud_unavailable" = "iCloud 不可用";
"sync_idle" = "空闲";
"sync_syncing" = "同步中";
"sync_uploading" = "上传中";
"sync_downloading" = "下载中";
"sync_success" = "同步成功";
"sync_failed_format" = "同步失败: %@";
"sync_conflict_detected" = "检测到冲突: %@";
"last_sync" = "上次同步:";
"icloud_sync" = "iCloud 同步";

/* iCloud 同步界面 */
"icloud_sync_control_panel" = "iCloud 同步控制面板";
"sync_status" = "同步状态:";
"local_configs" = "本地配置:";
"config_count" = "%d 个配置";
"icloud_file" = "iCloud 文件:";
"sync_settings" = "同步设置";
"open_sync_control_panel" = "打开同步控制面板";
"file_info" = "文件信息";
"icloud_file_info" = "iCloud 文件信息";
"view_icloud_file_info" = "查看 iCloud 文件信息";
"delete_file" = "删除文件";
"delete_icloud_config_file" = "删除 iCloud 中的配置文件";
"icloud_drive_unavailable" = "iCloud Drive 不可用";
"enable_icloud_drive_message" = "请在系统设置中登录 iCloud 并启用 iCloud Drive";
"icloud_sync_settings" = "iCloud 同步设置";

/* 同步操作 */
"enable_icloud_sync" = "启用 iCloud 同步";
"enable_sync_confirmation" = "启用后将自动同步配置到 iCloud，确定继续吗？";
"icloud_sync_enabled" = "iCloud 同步已启用";
"icloud_sync_disabled" = "iCloud 同步已禁用";
"icloud_config_file_deleted" = "iCloud 配置文件已删除";
"delete_icloud_config_file_message" = "确定要删除 iCloud 中的配置文件吗？此操作不可恢复。";

/* 同步冲突 */
"sync_conflict_detected" = "检测到同步冲突";
"cloud_configs" = "云端配置";
"modified_at" = "修改于 %@";
"conflict_reason" = "冲突原因";
"choose_resolution_option" = "在下面选项中选择解决方案";

/* 相对时间 */
"just_now" = "刚刚";
"minutes_ago" = "%d 分钟前";
"hours_ago" = "%d 小时前";
"days_ago" = "%d 天前";

/* 文件状态 */
"file_exists_with_size" = "存在 (%@)";
"file_not_exists" = "不存在";
"file_status_error" = "文件状态异常";

/* 同步控制面板 */
"enable_sync_first" = "请先启用 iCloud 同步";
"use_local_configs" = "使用本地配置";
"use_local_configs_confirmation" = "这将用本地的 %d 个配置覆盖 iCloud 中的配置，确定继续吗？";
"overwrite_cloud_with_local" = "用本地配置覆盖云端";
"use_cloud_configs" = "使用云端配置";
"use_cloud_configs_confirmation" = "这将用 iCloud 中的配置覆盖本地的 %d 个配置，确定继续吗？";
"overwrite_local_with_cloud" = "用云端配置覆盖本地";
"smart_merge" = "智能合并";
"smart_merge_confirmation" = "这将自动合并本地和云端配置，避免重复，确定继续吗？";
"merge_local_and_cloud" = "合并本地和云端配置";
"config_conflict_detection" = "配置冲突检测";
"detect_and_handle_conflicts" = "检测并处理配置冲突";
"tool_operations" = "工具操作";
"view_file_info" = "查看文件信息";
"delete_cloud_file" = "删除云端文件";

/* 文件信息 */
"file_size_info" = "文件大小";
"modified_time_info" = "修改时间";
"created_time_info" = "创建时间";
"download_status_info" = "下载状态";
"downloaded" = "已下载";
"uploaded" = "已上传";
"file_info_error" = "文件信息错误";
"unknown" = "未知";
"file_status" = "文件状态";
"icloud_status_info" = "iCloud 状态";
"file_path" = "文件路径";
"icloud_available" = "iCloud 可用";
"sync_enabled" = "同步启用";

/* iCloud 可用性检查 */
"icloud_unavailable_reasons" = "可能的原因：";
"not_logged_into_icloud" = "未登录 iCloud 账户";
"icloud_drive_not_enabled" = "未启用 iCloud Drive";
"app_icloud_permissions" = "应用缺少 iCloud 权限";
"icloud_storage_full" = "iCloud 存储空间不足";
"open_system_settings" = "打开系统设置";
"open_icloud_settings" = "打开 iCloud 设置";
"recheck" = "重新检查";
"recheck_icloud_availability" = "重新检查 iCloud 可用性";
"icloud_unavailable_detailed_message" = "为了使用 iCloud 同步功能，请确保：";
"logged_into_icloud" = "已登录 iCloud 账户";
"icloud_drive_enabled" = "已启用 iCloud Drive";
"sufficient_icloud_storage" = "有足够的 iCloud 存储空间";