{
  "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": "其他權限"
    },
    "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": "部分可見（脫敏顯示）"
    }
  }
}
