// 用户管理模块 - 英文翻译
export default {
  // 搜索表单
  search: {
    deptPlaceholder: 'Please enter department name',
    userName: 'User Name',
    userNamePlaceholder: 'Please enter user name',
    nickName: 'Nick Name',
    nickNamePlaceholder: 'Please enter nick name',
    phonenumber: 'Phone Number',
    phonenumberPlaceholder: 'Please enter phone number',
    status: 'Status',
    statusPlaceholder: 'User status',
    createTime: 'Create Time',
    startDate: 'Start Date',
    endDate: 'End Date',
    search: 'Search',
    reset: 'Reset'
  },
  // 按钮操作
  button: {
    add: 'Add',
    edit: 'Edit',
    delete: 'Delete',
    more: 'More',
    downloadTemplate: 'Download Template',
    import: 'Import Data',
    export: 'Export Data',
    resetPwd: 'Reset Password',
    assignRole: 'Assign Role',
    submit: 'Submit',
    cancel: 'Cancel',
    back: 'Back'
  },
  // 表格列
  table: {
    userId: 'User ID',
    userName: 'User Name',
    nickName: 'Nick Name',
    deptName: 'Department',
    phonenumber: 'Phone Number',
    status: 'Status',
    appletStatus: 'Applet Status',
    createTime: 'Create Time',
    operation: 'Operation'
  },
  // 表单
  form: {
    nickName: 'Nick Name',
    nickNamePlaceholder: 'Please enter nick name',
    deptId: 'Department',
    deptIdPlaceholder: 'Please select department',
    phonenumber: 'Phone Number',
    phonenumberPlaceholder: 'Please enter phone number',
    email: 'Email',
    emailPlaceholder: 'Please enter email',
    userName: 'User Name',
    userNamePlaceholder: 'Please enter user name',
    password: 'Password',
    passwordPlaceholder: 'Please enter password',
    sex: 'Gender',
    selectPlaceholder: 'Please select',
    status: 'Status',
    postIds: 'Post',
    postIdsPlaceholder: 'Please select',
    roleIds: 'Role',
    roleIdsPlaceholder: 'Please select',
    remark: 'Remark',
    remarkPlaceholder: 'Please enter content'
  },
  // 对话框标题
  dialog: {
    add: 'Add User',
    edit: 'Edit User',
    import: 'User Import',
    importResult: 'Import Result'
  },
  // 上传
  upload: {
    dragText: 'Drop file here or <em>click to upload</em>',
    updateSupport: 'Whether to update existing user data',
    fileType: 'Only xls and xlsx format files are allowed.',
    downloadTemplate: 'Download Template'
  },
  // 验证规则
  rule: {
    userNameRequired: 'User name cannot be empty',
    userNameLength: 'User name length must be between 2 and 20',
    nickNameRequired: 'Nick name cannot be empty',
    passwordRequired: 'Password cannot be empty',
    passwordLength: 'Password length must be between 5 and 20',
    passwordPattern: "Cannot contain illegal characters: < > \" ' \\ |",
    emailFormat: 'Please enter a valid email address',
    phonenumberFormat: 'Please enter a valid phone number',
    roleIdsRequired: 'User role cannot be empty'
  },
  // 提示信息
  message: {
    deleteConfirm: 'Are you sure to delete the data item with user ID "{ids}"?',
    deleteSuccess: 'Delete successfully',
    statusEnable: 'Enable',
    statusDisable: 'Disable',
    statusChangeConfirm: 'Are you sure to "{text}" user "{userName}"?',
    statusChangeSuccess: '{text} successfully',
    appletStatusEnable: 'Enable',
    appletStatusDisable: 'Disable',
    appletStatusChangeConfirm: 'Are you sure to {text} applet access for user "{userName}"?',
    appletStatusChangeSuccess: '{text} successfully',
    resetPwdTitle: 'Prompt',
    resetPwdText: 'Please enter new password for "{userName}"',
    resetPwdSuccess: 'Modified successfully, new password is: {password}',
    resetPwdLengthError: 'Password length must be between 5 and 20',
    resetPwdPatternError: "Cannot contain illegal characters: < > \" ' \\ |",
    confirmButton: 'Confirm',
    cancelButton: 'Cancel',
    operationSuccess: 'Operation successful'
  },
  // 角色分配
  authRole: {
    basicInfo: 'Basic Information',
    nickName: 'Nick Name',
    userName: 'User Name',
    roleInfo: 'Role Information',
    serialNumber: 'No.',
    roleId: 'Role ID',
    roleName: 'Role Name',
    roleKey: 'Role Key',
    createTime: 'Create Time',
    submit: 'Submit',
    back: 'Back',
    authSuccess: 'Authorization successful'
  }
};
