// 角色管理模块 - 英文翻译
export default {
  // 搜索表单
  search: {
    roleName: 'Role Name',
    roleNamePlaceholder: 'Please enter role name',
    roleKey: 'Role Key',
    roleKeyPlaceholder: 'Please enter role key',
    status: 'Status',
    statusPlaceholder: 'Role status',
    createTime: 'Create Time',
    startDate: 'Start Date',
    endDate: 'End Date',
    search: 'Search',
    reset: 'Reset'
  },
  // 按钮操作
  button: {
    add: 'Add',
    edit: 'Edit',
    delete: 'Delete',
    export: 'Export',
    submit: 'Submit',
    cancel: 'Cancel'
  },
  // 表格列
  table: {
    roleId: 'Role ID',
    roleName: 'Role Name',
    roleKey: 'Role Key',
    roleSort: 'Sort Order',
    status: 'Status',
    createTime: 'Create Time',
    operation: 'Operation'
  },
  // 表单
  form: {
    roleName: 'Role Name',
    roleNamePlaceholder: 'Please enter role name',
    roleKey: 'Role Key',
    roleKeyPlaceholder: 'Please enter role key',
    roleKeyTooltip: 'Permission character defined in controller, e.g.: @SaCheckRole(\'admin\')',
    roleSort: 'Sort Order',
    status: 'Status',
    menuPermission: 'Menu Permission',
    expandCollapse: 'Expand/Collapse',
    selectAll: 'Select All/None',
    parentChild: 'Parent-Child Link',
    loading: 'Loading, please wait',
    remark: 'Remark',
    remarkPlaceholder: 'Please enter content',
    dataScope: 'Data Scope',
    dataPermission: 'Data Permission'
  },
  // 对话框标题
  dialog: {
    add: 'Add Role',
    edit: 'Edit Role',
    dataScope: 'Assign Data Permission'
  },
  // 提示信息
  message: {
    deleteConfirm: 'Are you sure to delete role with ID {ids}?',
    deleteSuccess: 'Delete successfully',
    statusEnable: 'Enable',
    statusDisable: 'Disable',
    statusChangeConfirm: 'Are you sure to "{text}" role "{roleName}"?',
    statusChangeSuccess: '{text} successfully',
    operationSuccess: 'Operation successful',
    modifySuccess: 'Modified successfully'
  },
  // Tooltip 提示
  tooltip: {
    edit: 'Edit',
    delete: 'Delete',
    dataScope: 'Data Permission',
    assignUser: 'Assign User'
  },
  // 数据范围选项
  dataScope: {
    all: 'All Data Permission',
    custom: 'Custom Data Permission',
    dept: 'Department Data Permission',
    deptAndBelow: 'Department and Below Data Permission',
    self: 'Self Data Permission Only',
    deptBelowOrSelf: 'Department Below or Self Data Permission'
  },
  // 验证规则
  rule: {
    roleNameRequired: 'Role name cannot be empty',
    roleKeyRequired: 'Role key cannot be empty',
    roleSortRequired: 'Sort order cannot be empty'
  }
};
