{
  "title": "配置文件",
  "subtitle": "管理系统配置和设置",
  "editor": {
    "visual": "可视化编辑",
    "code": "代码编辑",
    "revertCode": "回到更改前的代码",
    "applyConfig": "应用此配置",
    "applyTip": "`应用此配置` 将配置暂存并应用到可视化。如要保存，需再点击右下角保存按钮。"
  },
  "actions": {
    "save": "保存配置",
    "delete": "删除这项",
    "add": "添加",
    "reset": "重置为默认",
    "export": "导出配置",
    "import": "导入配置",
    "validate": "验证配置"
  },
  "help": {
    "documentation": "官方文档",
    "support": "加群询问",
    "helpText": "不了解配置？请见 {documentation} 或 {support}。",
    "helpPrefix": "不了解配置？请见",
    "helpMiddle": "或",
    "helpSuffix": "。"
  },
  "messages": {
    "configApplied": "配置成功应用。如要保存，需再点击右下角保存按钮。",
    "configApplyError": "配置未应用，Json 格式错误。",
    "unsavedChangesNotice": "当前配置有未保存修改。请点击右下角保存按钮以生效。",
    "saveSuccess": "配置保存成功",
    "saveError": "配置保存失败",
    "loadError": "配置加载失败",
    "deleteSuccess": "删除成功",
    "deleteError": "删除失败",
    "updateSuccess": "更新成功",
    "updateError": "更新失败"
  },
  "sections": {
    "general": "常规设置",
    "advanced": "高级设置",
    "security": "安全设置",
    "appearance": "外观设置",
    "notification": "通知设置"
  },
  "general": {
    "botName": "机器人名称",
    "language": "界面语言",
    "timezone": "时区",
    "autoSave": "自动保存",
    "debugMode": "调试模式"
  },
  "advanced": {
    "logLevel": "日志级别",
    "maxConnections": "最大连接数",
    "timeout": "超时时间",
    "retryAttempts": "重试次数",
    "cacheSize": "缓存大小"
  },
  "security": {
    "apiKey": "API密钥",
    "allowedHosts": "允许的主机",
    "rateLimit": "频率限制",
    "encryption": "加密设置"
  },
  "configSelection": {
    "selectConfig": "选择配置文件",
    "normalConfig": "普通",
    "systemConfig": "系统"
  },
  "search": {
    "placeholder": "搜索配置项（字段名/描述/提示）",
    "noResult": "未找到匹配的配置项"
  },
  "configManagement": {
    "title": "配置文件管理",
    "description": "AstrBot 支持针对不同机器人分别设置配置文件。默认会使用 `default` 配置。",
    "newConfig": "新建配置文件",
    "editConfig": "编辑配置文件",
    "manageConfigs": "管理配置文件...",
    "configName": "名称",
    "fillConfigName": "填写配置文件名称",
    "confirmDelete": "确定要删除配置文件 \"{name}\" 吗?此操作不可恢复。",
    "pleaseEnterName": "请填写配置名称",
    "createFailed": "新配置文件创建失败",
    "deleteFailed": "删除配置文件失败",
    "updateFailed": "更新配置文件失败"
  },
  "buttons": {
    "cancel": "取消",
    "create": "创建",
    "update": "更新"
  },
  "codeEditor": {
    "title": "编辑配置文件"
  },
  "fileUpload": {
    "button": "管理文件",
    "dialogTitle": "已上传文件",
    "dropzone": "上传新文件",
    "allowedTypes": "允许类型：{types}",
    "empty": "暂无已上传文件",
    "statusMissing": "文件缺失",
    "statusUnconfigured": "未加入配置",
    "uploadSuccess": "已上传 {count} 个文件",
    "uploadFailed": "上传失败",
    "loadFailed": "获取文件列表失败",
    "fileTooLarge": "文件过大（上限 {max} MB）：{name}",
    "deleteSuccess": "已删除文件",
    "deleteFailed": "删除失败",
    "addToConfig": "已加入配置",
    "fileCount": "文件：{count}",
    "done": "完成"
    },
  "unsavedChangesWarning": {
    "dialogTitle": "未保存的更改",
    "leavePage": "当前配置有未保存的更改，切换前是否保存？",
    "switchConfig": "切换配置文件会丢失当前未保存的更改，是否先保存？",
    "options": {
      "save": "保存",
      "saveAndSwitch": "保存并切换",
      "discardAndSwitch": "放弃更改并切换",
      "closeCard": "关闭弹窗",
      "confirm": "确定",
      "cancel": "取消"
    }
  }
}
