en.js 2.3 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
const word = {
  login: 'login',
  'verify-mobile': 'verify phone number'
}

const sentence = {
  'uni-id-account-exists': 'Account exists',
  'uni-id-account-not-exists': 'Account does not exists',
  'uni-id-account-conflict': 'User account conflict',
  'uni-id-account-banned': 'Account has been banned',
  'uni-id-account-auditing': 'Account audit in progress',
  'uni-id-account-audit-failed': 'Account audit failed',
  'uni-id-account-closed': 'Account has been closed',
  'uni-id-captcha-required': 'Captcha required',
  'uni-id-password-error': 'Username or password error',
雪洛's avatar
雪洛 已提交
16
  'uni-id-password-error-exceed-limit': 'The number of password errors is excessive',
DCloud_JSON's avatar
DCloud_JSON 已提交
17 18
  'uni-id-invalid-username': 'Invalid username',
  'uni-id-invalid-password': 'invalid password',
雪洛's avatar
雪洛 已提交
19 20 21 22
  'uni-id-invalid-password-super': 'Passwords must have 8-16 characters and contain uppercase letters, lowercase letters, numbers, and symbols.',
  'uni-id-invalid-password-strong': 'Passwords must have 8-16 characters and contain letters, numbers and symbols.',
  'uni-id-invalid-password-medium': 'Passwords must have 8-16 characters and contain at least two of the following: letters, numbers, and symbols.',
  'uni-id-invalid-password-weak': 'Passwords must have 6-16 characters and contain letters and numbers.',
DCloud_JSON's avatar
DCloud_JSON 已提交
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
  'uni-id-invalid-mobile': 'Invalid mobile phone number',
  'uni-id-invalid-email': 'Invalid email address',
  'uni-id-invalid-nickname': 'Invalid nickname',
  'uni-id-invalid-param': 'Invalid parameter',
  'uni-id-param-required': 'Parameter required: {param}',
  'uni-id-get-third-party-account-failed': 'Get third party account failed',
  'uni-id-get-third-party-user-info-failed': 'Get third party user info failed',
  'uni-id-mobile-verify-code-error': 'Verify code error or expired',
  'uni-id-email-verify-code-error': 'Verify code error or expired',
  'uni-id-admin-exists': 'Administrator exists',
  'uni-id-permission-error': 'Permission denied',
  'uni-id-system-error': 'System error',
  'uni-id-set-invite-code-failed': 'Set invite code failed',
  'uni-id-invalid-invite-code': 'Invalid invite code',
  'uni-id-change-inviter-forbidden': 'Change inviter is not allowed',
38 39
  'uni-id-bind-conflict': 'This account has been bound',
  'uni-id-admin-exist-in-other-apps': 'Administrator is registered in other consoles'
DCloud_JSON's avatar
DCloud_JSON 已提交
40 41 42 43 44 45
}

module.exports = {
  ...word,
  ...sentence
}