export default {
  'menu.user.center': '个人中心',
  'userCenter.tab.basicInfo': '基础信息',
  'userCenter.tab.securitySettings': '安全设置',
  'userCenter.tab.operationLog': '操作日志',

  // user-panel
  'userCenter.panel.avatar': '头像',
  'userCenter.panel.label.nickname': '昵称 :',
  'userCenter.panel.label.gender': '性别 :',
  'userCenter.panel.label.phone': '手机号码 :',
  'userCenter.panel.label.email': '邮箱 :',
  'userCenter.panel.label.deptName': '所属部门 :',
  'userCenter.panel.label.registrationDate': '注册日期 :',
  'userCenter.panel.male': '男',
  'userCenter.panel.female': '女',
  'userCenter.panel.unknown': '未知',

  // basic-info
  'userCenter.basicInfo.form.label.username': '用户名',
  'userCenter.basicInfo.form.label.nickname': '昵称',
  'userCenter.basicInfo.form.label.gender': '性别',

  'userCenter.basicInfo.form.placeholder.username': '请输入用户名',
  'userCenter.basicInfo.form.placeholder.nickname': '请输入昵称',

  'userCenter.basicInfo.form.error.required.username': '请输入用户名',
  'userCenter.basicInfo.form.error.match.username':
    '长度为 4 到 16 位，可以包含字母、数字，下划线，以字母开头',
  'userCenter.basicInfo.form.error.required.nickname': '请输入昵称',
  'userCenter.basicInfo.form.error.match.nickname':
    '长度为 1 到 20 位，可以包含中文、字母、数字、下划线，短横线',

  'userCenter.basicInfo.form.save': '保存',
  'userCenter.basicInfo.form.save.success': '保存成功',
  'userCenter.basicInfo.form.reset': '重置',

  // security-settings
  // update-pwd
  'userCenter.securitySettings.updatePwd.label.password': '登录密码',
  'userCenter.securitySettings.updatePwd.placeholder.success.password':
    '已设置',
  'userCenter.securitySettings.updatePwd.placeholder.error.password':
    '您暂未设置密码，密码至少6位字符，支持数字、字母和除空格外的特殊字符。',

  'userCenter.securitySettings.updatePwd.modal.title': '修改登录密码',
  'userCenter.securitySettings.updatePwd.form.label.oldPassword': '当前密码',
  'userCenter.securitySettings.updatePwd.form.label.newPassword': '新密码',
  'userCenter.securitySettings.updatePwd.form.label.rePassword': '确认新密码',

  'userCenter.securitySettings.updatePwd.form.placeholder.oldPassword':
    '请输入当前密码',
  'userCenter.securitySettings.updatePwd.form.placeholder.newPassword':
    '长度为 6 到 32 位，同时包含字母和数字',
  'userCenter.securitySettings.updatePwd.form.placeholder.rePassword':
    '请再次输入新密码',

  'userCenter.securitySettings.updatePwd.form.error.required.oldPassword':
    '请输入当前密码',
  'userCenter.securitySettings.updatePwd.form.error.required.newPassword':
    '请输入新密码',
  'userCenter.securitySettings.updatePwd.form.error.match.newPassword':
    '长度为 6 到 32 位，同时包含字母和数字',
  'userCenter.securitySettings.updatePwd.form.error.validator.newPassword':
    '新密码不能与当前密码相同',
  'userCenter.securitySettings.updatePwd.form.error.required.rePassword':
    '请再次输入新密码',
  'userCenter.securitySettings.updatePwd.form.error.validator.rePassword':
    '两次输入的密码不一致',

  // update-phone
  'userCenter.securitySettings.updatePhone.label.phone': '安全手机',
  'userCenter.securitySettings.updatePhone.placeholder.success.phone': '已绑定',
  'userCenter.securitySettings.updatePhone.placeholder.error.phone':
    '您暂未设置手机号，绑定手机号可以用来找回密码、接收通知、短信登录等。',

  // update-email
  'userCenter.securitySettings.updateEmail.label.email': '安全邮箱',
  'userCenter.securitySettings.updateEmail.placeholder.success.email': '已绑定',
  'userCenter.securitySettings.updateEmail.placeholder.error.email':
    '您暂未设置邮箱，绑定邮箱可以用来找回密码、接收通知等。',

  'userCenter.securitySettings.updateEmail.modal.title': '修改邮箱',
  'userCenter.securitySettings.updateEmail.form.label.newEmail': '新邮箱',
  'userCenter.securitySettings.updateEmail.form.label.captcha': '验证码',
  'userCenter.securitySettings.updateEmail.form.label.currentPassword':
    '当前密码',
  'userCenter.securitySettings.updateEmail.form.sendCaptcha': '发送验证码',
  'userCenter.securitySettings.updateEmail.form.reSendCaptcha': '重新发送',
  'userCenter.securitySettings.updateEmail.form.loading.sendCaptcha':
    '发送中...',

  'userCenter.securitySettings.updateEmail.form.placeholder.newEmail':
    '请输入新邮箱',
  'userCenter.securitySettings.updateEmail.form.placeholder.captcha':
    '请输入邮箱验证码',
  'userCenter.securitySettings.updateEmail.form.placeholder.currentPassword':
    '请输入当前密码',

  'userCenter.securitySettings.updateEmail.form.error.required.newEmail':
    '请输入新邮箱',
  'userCenter.securitySettings.updateEmail.form.error.match.newEmail':
    '请输入正确的邮箱',
  'userCenter.securitySettings.updateEmail.form.error.validator.newEmail':
    '新邮箱不能与当前邮箱相同',
  'userCenter.securitySettings.updateEmail.form.error.required.captcha':
    '请输入邮箱验证码',
  'userCenter.securitySettings.updateEmail.form.error.required.currentPassword':
    '请输入当前密码',

  'userCenter.securitySettings.button.update': '修改',
};
