{
  "name": "Role",
  "title": "Role Management",
  "roleName": "Role Name",
  "roleCode": "Role Code",
  "roleType": "Role Type",
  "dataScope": "Data Scope",
  "priority": "Role Priority",
  "priorityHelp": "Higher value means higher priority",
  "description": "Role Description",
  "descriptionPlaceholder": "Please enter role description",
  "remark": "Remark",
  "remarkPlaceholder": "Please enter remark",
  "status": "Status",
  "operation": "Operation",
  "edit": "Edit",
  "users": "Users",
  "addUsersSuccess": "Users added successfully",
  "removeUsersConfirm": "Are you sure you want to remove the selected {0} users?",
  "removeUsersSuccess": "Users removed successfully",
  "removeUsersFailed": "Failed to remove users",
  "codeFormatError": "Role code can only contain letters, numbers and underscores",
  "types": {
    "system": "System Role",
    "custom": "Custom Role"
  },
  "dataScopes": {
    "self": "Own Data Only",
    "dept": "Department Data",
    "deptAndSub": "Department and Sub-departments Data",
    "deptAndSubShort": "Dept & Sub",
    "all": "All Data",
    "custom": "Custom Data",
    "unknown": "Unknown"
  },
  "permissions": {
    "title": "Permission Assignment",
    "save": "Save",
    "selectRoleFirst": "Please select a role first",
    "noRoleSelected": "No role selected",
    "appList": "App List",
    "allApps": "All Apps",
    "loadAppsFailed": "Failed to load application list",
    "menuList": "Menu List",
    "selectAll": "Select All",
    "unselectAll": "Unselect All",
    "selectMenuPrompt": "Please select a menu from the left to view permissions",
    "noPermissionData": "No permission data",
    "loading": "Loading...",
    "noPermissions": "No permissions",
    "permissionCount": "permissions",
    "loadMenuFailed": "Failed to load menu list",
    "loadPermissionsFailed": "Failed to load permissions",
    "saveSuccess": "Menu and permissions assigned successfully",
    "saveFailed": "Failed to save menu and permission assignments",
    "getRoleDetailFailed": "Failed to get role details",
    "types": {
      "button": "Button Permission",
      "api": "API Permission",
      "data": "Data Permission",
      "other": "Other Permission"
    },
    "steps": {
      "menuApi": "Menu & API Permissions",
      "fieldData": "Field & Data Permissions"
    }
  },
  "resourceScope": {
    "title": "Data Permission",
    "helpTip": "Only effective after backend implementation, refer to zq-demo",
    "addResource": "Add Resource",
    "saveConfig": "Save Configuration",
    "deleteConfirm": "Are you sure to delete this configuration?",
    "selectRole": "Please select a role first",
    "noConfig": "No configuration, click [Add Resource] to start",
    "resourceType": "Resource Type",
    "selectResourceType": "Select Resource Type",
    "dataPermission": "Data Permission Scope",
    "selectDataPermission": "Select Data Permission",
    "customDept": "Custom Department",
    "selectDept": "Select Department",
    "operation": "Operation",
    "delete": "Delete",
    "saveSuccess": "Resource data permission configuration saved successfully",
    "saveFailed": "Failed to save resource data permission configuration",
    "loadFailed": "Failed to load resource data permission configuration",
    "loadResourceTypesFailed": "Failed to load resource types",
    "loadDeptsFailed": "Failed to load department list",
    "allTypesConfigured": "All resource types have been configured",
    "noResourceTypes": "No resource types available",
    "customDeptRequired": "Custom data permission must select departments"
  },
  "fieldPermission": {
    "title": "Field Permission",
    "helpTip": "Only effective after backend implementation, refer to zq-demo",
    "config": "Config",
    "resourceType": "Resource Type",
    "selectResourceType": "Select Resource Type",
    "selectRoleFirst": "Please select a role first",
    "selectRoleAndResource": "Please select a role and resource type first",
    "fieldName": "Field Name",
    "displayName": "Display Name",
    "sensitive": "Sensitive",
    "permissionType": "Permission Type",
    "maskRule": "Mask Rule",
    "description": "Description",
    "noConfig": "No field configuration",
    "saveConfig": "Save Configuration",
    "saveSuccess": "Field permission configuration saved successfully",
    "saveFailed": "Failed to save field permission configuration",
    "loadFailed": "Failed to load field permission configuration",
    "loadMetadataFailed": "Failed to load resource field metadata",
    "maskRuleRequired": "Mask rule is required",
    "permissionTypes": {
      "read": "Read",
      "write": "Write",
      "hidden": "Hidden",
      "masked": "Masked"
    },
    "maskRules": {
      "phone": "Phone",
      "email": "Email",
      "id_card": "ID Card",
      "name": "Name",
      "default": "Default"
    },
    "permissionDesc": {
      "read": "Can view this field",
      "write": "Can view and modify this field",
      "hidden": "Completely invisible",
      "masked": "Partially visible (masked display)"
    }
  }
}
