{
  "title": "安全与风险规则",
  "subtitle": "配置命令风险分类规则和安全策略。",
  "riskRules": {
    "title": "命令风险规则",
    "addRule": "添加规则",
    "editRule": "编辑规则",
    "deleteRule": "删除规则",
    "loading": "正在加载风险规则...",
    "loadError": "加载风险规则失败：",
    "empty": "暂无配置的风险规则。",
    "table": {
      "pattern": "匹配模式",
      "riskLevel": "风险等级",
      "action": "处理方式",
      "description": "描述",
      "actions": "操作"
    },
    "form": {
      "pattern": "匹配模式",
      "patternPlaceholder": "rm -rf *、sudo * 等",
      "riskLevel": "风险等级",
      "action": "处理方式",
      "description": "描述"
    },
    "riskLevels": {
      "0": "0 - 无风险",
      "1": "1 - 低风险",
      "2": "2 - 中风险",
      "3": "3 - 高风险"
    },
    "actions": {
      "allow": "允许",
      "block": "阻止",
      "requireApproval": "需要审批"
    }
  },
  "permissionMatrix": {
    "title": "权限矩阵",
    "roles": {
      "admin": "管理员",
      "operator": "运维人员",
      "viewer": "只读用户",
      "readonly": "只读"
    },
    "permissions": {
      "manageServers": "管理服务器",
      "executeCommands": "执行命令",
      "viewAudit": "查看审计",
      "manageUsers": "管理用户",
      "approveCommands": "审批命令"
    },
    "savePermissions": "保存权限"
  },
  "credentials": {
    "title": "凭据",
    "subtitle": "管理服务器连接的 SSH 凭据",
    "addCredential": "添加凭据",
    "editCredential": "编辑凭据",
    "deleteCredential": "删除凭据",
    "testCredential": "测试",
    "loading": "正在加载凭据...",
    "loadError": "加载凭据失败：",
    "empty": "暂无凭据。",
    "securityNotice": "凭据以加密方式存储，仅在使用时解密。",
    "authTypes": {
      "password": "密码",
      "sshKey": "SSH 密钥",
      "sshKeyPassphrase": "SSH 密钥 + 密码短语"
    },
    "table": {
      "name": "名称",
      "type": "类型",
      "username": "用户名",
      "associatedServers": "关联服务器",
      "created": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "名称",
      "authType": "认证类型",
      "username": "用户名",
      "password": "密码",
      "privateKey": "私钥",
      "passphrase": "密码短语",
      "servers": "关联服务器"
    },
    "encryptionWarning": "加密数据保存后无法检索。"
  },
  "roles": {
    "title": "角色",
    "subtitle": "管理角色及其关联的权限",
    "addRole": "添加角色",
    "editRole": "编辑角色",
    "deleteRole": "删除角色",
    "loading": "正在加载角色...",
    "loadError": "加载角色失败：",
    "empty": "暂无角色。",
    "builtIn": "内置",
    "custom": "自定义",
    "showPerms": "权限",
    "hidePerms": "隐藏权限",
    "assignedPermissions": "已分配的权限",
    "savingPermissions": "正在保存权限...",
    "table": {
      "name": "名称",
      "description": "描述",
      "type": "类型",
      "permissions": "权限",
      "users": "用户",
      "created": "创建时间",
      "actions": "操作"
    },
    "form": {
      "name": "名称",
      "description": "描述"
    }
  },
  "permissions": {
    "title": "权限",
    "subtitle": "查看和管理各角色的权限矩阵",
    "loading": "正在加载权限矩阵...",
    "loadError": "加载权限失败：",
    "empty": "暂无权限。",
    "resource": "资源",
    "permission": "权限",
    "action": "操作",
    "details": "权限详情",
    "actionTypes": {
      "create": "创建",
      "read": "读取",
      "update": "更新",
      "delete": "删除",
      "execute": "执行"
    },
    "summary": {
      "title": "统计",
      "totalPermissions": "权限总数",
      "totalRoles": "角色总数",
      "resources": "资源数",
      "granted": "已授权"
    },
    "detailDialog": {
      "title": "权限详情",
      "key": "键",
      "resource": "资源",
      "action": "操作",
      "description": "描述"
    }
  }
}
