{
  "name": "角色",
  "title": "角色管理",
  "roleName": "角色名称",
  "roleCode": "角色编码",
  "roleType": "角色类型",
  "dataScope": "数据范围",
  "priority": "角色优先级",
  "priorityHelp": "数字越大优先级越高",
  "description": "角色描述",
  "descriptionPlaceholder": "请输入角色描述",
  "remark": "备注",
  "remarkPlaceholder": "请输入备注信息",
  "status": "状态",
  "operation": "操作",
  "edit": "编辑",
  "users": "用户",
  "addUsersSuccess": "添加用户成功",
  "removeUsersConfirm": "确定要移除选中的 {0} 个用户吗？",
  "removeUsersSuccess": "移除用户成功",
  "removeUsersFailed": "移除用户失败",
  "codeFormatError": "角色编码只能包含字母、数字和下划线",
  "types": {
    "system": "系统角色",
    "custom": "自定义角色"
  },
  "dataScopes": {
    "self": "仅本人数据",
    "dept": "本部门数据",
    "deptAndSub": "本部门及下级部门数据",
    "deptAndSubShort": "本部门及下级",
    "all": "全部数据",
    "custom": "自定义数据",
    "unknown": "未知"
  },
  "permissions": {
    "title": "权限分配",
    "save": "保存",
    "selectRoleFirst": "请先选择角色",
    "noRoleSelected": "未选择角色",
    "appList": "应用列表",
    "allApps": "全部应用",
    "loadAppsFailed": "加载应用列表失败",
    "menuList": "菜单列表",
    "selectAll": "全选",
    "unselectAll": "反选",
    "selectMenuPrompt": "请从左侧选择菜单查看权限",
    "noPermissionData": "暂无权限数据",
    "loading": "加载中...",
    "noPermissions": "暂无权限",
    "permissionCount": "项权限",
    "loadMenuFailed": "加载菜单列表失败",
    "loadPermissionsFailed": "加载权限失败",
    "saveSuccess": "菜单和权限分配成功",
    "saveFailed": "保存菜单和权限分配失败",
    "getRoleDetailFailed": "获取角色详情失败",
    "types": {
      "button": "按钮权限",
      "api": "API权限",
      "data": "数据权限",
      "other": "其他权限"
    },
    "helpTip": "必须后端实现了相关的方法后才生效，参考 zq-demo",
    "steps": {
      "menuApi": "菜单与API权限",
      "fieldData": "字段与数据权限"
    }
  },
  "resourceScope": {
    "title": "数据权限配置",
    "helpTip": "必须后端实现了相关的方法后才生效，参考 zq-demo",
    "addResource": "添加资源",
    "saveConfig": "保存配置",
    "deleteConfirm": "确定删除此配置吗？",
    "selectRole": "请先选择角色",
    "noConfig": "暂无配置，点击【添加资源】开始配置",
    "resourceType": "资源类型",
    "selectResourceType": "选择资源类型",
    "dataPermission": "数据权限范围",
    "selectDataPermission": "选择数据权限",
    "customDept": "自定义部门",
    "selectDept": "选择部门",
    "operation": "操作",
    "delete": "删除",
    "saveSuccess": "资源数据权限配置保存成功",
    "saveFailed": "保存资源数据权限配置失败",
    "loadFailed": "加载资源数据权限配置失败",
    "loadResourceTypesFailed": "加载资源类型失败",
    "loadDeptsFailed": "加载部门列表失败",
    "allTypesConfigured": "所有资源类型都已配置",
    "noResourceTypes": "暂无可用资源类型",
    "customDeptRequired": "自定义数据权限必须选择部门"
  },
  "fieldPermission": {
    "title": "字段权限配置",
    "helpTip": "必须后端实现了相关的方法后才生效，参考 zq-demo",
    "config": "配置",
    "resourceType": "资源类型",
    "selectResourceType": "选择资源类型",
    "selectRoleFirst": "请先选择角色",
    "selectRoleAndResource": "请先选择角色和资源类型",
    "fieldName": "字段名",
    "displayName": "显示名称",
    "sensitive": "敏感",
    "permissionType": "权限类型",
    "maskRule": "脱敏规则",
    "description": "说明",
    "noConfig": "暂无字段配置",
    "saveConfig": "保存配置",
    "saveSuccess": "字段权限配置保存成功",
    "saveFailed": "保存字段权限配置失败",
    "loadFailed": "加载字段权限配置失败",
    "loadMetadataFailed": "加载资源字段元数据失败",
    "maskRuleRequired": "脱敏规则不能为空",
    "permissionTypes": {
      "read": "可读",
      "write": "可写",
      "hidden": "隐藏",
      "masked": "脱敏"
    },
    "maskRules": {
      "phone": "手机号",
      "email": "邮箱",
      "id_card": "身份证",
      "name": "姓名",
      "default": "默认"
    },
    "permissionDesc": {
      "read": "可以查看此字段",
      "write": "可以查看和修改此字段",
      "hidden": "完全不可见此字段",
      "masked": "部分可见（脱敏显示）"
    }
  }
}
