// Personal Center Module - English Translation
export default {
  // Card Titles
  card: {
    personalInfo: 'Personal Info',
    basicInfo: 'Basic Information'
  },
  // User Information Fields
  info: {
    userName: 'User Name',
    phonenumber: 'Phone Number',
    email: 'Email',
    dept: 'Department',
    role: 'Role',
    createTime: 'Create Time'
  },
  // Tabs
  tab: {
    userInfo: 'Basic Info',
    resetPwd: 'Change Password',
    thirdParty: 'Third Party',
    onlineDevice: 'Online Devices'
  },
  // User Info Form
  userInfoForm: {
    nickName: 'Nickname',
    sex: 'Gender',
    male: 'Male',
    female: 'Female',
    save: 'Save',
    close: 'Close'
  },
  // Reset Password Form
  resetPwdForm: {
    oldPassword: 'Old Password',
    oldPasswordPlaceholder: 'Please enter old password',
    newPassword: 'New Password',
    newPasswordPlaceholder: 'Please enter new password',
    confirmPassword: 'Confirm Password',
    confirmPasswordPlaceholder: 'Please confirm new password',
    save: 'Save',
    close: 'Close'
  },
  // Online Device Table
  onlineDevice: {
    deviceType: 'Device Type',
    ipaddr: 'Host',
    loginLocation: 'Login Location',
    os: 'Operating System',
    browser: 'Browser',
    loginTime: 'Login Time',
    operation: 'Actions',
    delete: 'Delete',
    deleteConfirm: 'After deleting the device, re-verification is required to log in on this device',
    deleteSuccess: 'Deleted successfully'
  },
  // Validation Rules
  rule: {
    nickNameRequired: 'Nickname cannot be empty',
    emailRequired: 'Email address cannot be empty',
    emailFormat: 'Please enter a valid email address',
    phonenumberRequired: 'Phone number cannot be empty',
    phonenumberFormat: 'Please enter a valid phone number',
    oldPasswordRequired: 'Old password cannot be empty',
    newPasswordRequired: 'New password cannot be empty',
    passwordLength: 'Length must be between 6 and 20 characters',
    passwordPattern: 'Cannot contain illegal characters: < > " \' \\ |',
    confirmPasswordRequired: 'Confirm password cannot be empty',
    passwordMismatch: 'The two passwords entered do not match'
  },
  // Messages
  message: {
    updateSuccess: 'Updated successfully'
  }
};
