export default {
  api: {
    operationFailed: 'Operation failed',
    errorTip: 'Error message',
    errorMessage: 'Operation failed, system abnormality!',
    timeoutMessage: 'Login timed out, please log in again!',
    apiTimeoutMessage: 'Interface request timed out, please refresh the page and try again!',
    apiRequestFailed: 'Request error, please try again later',
    networkException: 'Network abnormality',
    networkExceptionMsg:
      'Network abnormality, please check whether your network connection is normal!',

    errMsg401: 'User has no permission (token, username, password error)!',
    errMsg403: 'User is authorized, but access is prohibited. !',
    errMsg404: 'Network request error, the resource was not found!',
    errMsg405: 'Network request error, the request method is not allowed!',
    errMsg408: 'Network request timed out!',
    errMsg500: 'Server error, please contact the administrator!',
    errMsg501: 'Network not implemented!',
    errMsg502: 'Network error!',
    errMsg503: 'Service unavailable, the server is temporarily overloaded or maintained!',
    errMsg504: 'Network timed out!',
    errMsg505: 'http version does not support the request!',
  },
  app: {
    logoutTip: 'Warm reminder',
    logoutMessage: 'Are you sure you want to exit the system?',
    menuLoading: 'Menu loading...',
  },
  errorLog: {
    tableTitle: 'Log list',
    tableColumnType: 'Type',
    tableColumnDate: 'Time',
    tableColumnFile: 'File',
    tableColumnMsg: 'Error message',
    tableColumnStackMsg: 'Stack message',
    tableActionDesc: 'Details',

    modalTitle: 'Error details',

    fireVueError: 'Click to trigger vue error',
    fireResourceError: 'Click to trigger resource loading error',
    fireAjaxError: 'Click to trigger ajax error',

    enableMessage: 'Only works when useErrorHandle=true in `/src/settings/projectSetting.ts`.',
  },
  exception: {
    backLogin: 'Back to login',
    backHome: 'Back to homepage',
    subTitle403: 'Sorry, you do not have permission to access this page. ',
    subTitle404: 'Sorry, the page you visited does not exist. ',
    subTitle500: 'Sorry, the server reported an error. ',
    noDataTitle: 'There is no data on this page',
    networkErrorTitle: 'Network error',
    networkErrorSubTitle:
      'Sorry, your network connection has been disconnected, please check your network! ',
  },
  lock: {
    unlock: 'Click to unlock',
    alert: 'Wrong lock screen password',
    backToLogin: 'Return to login',
    entry: 'Enter the system',
    placeholder: 'Please enter the lock screen password or user password',
  },
  login: {
    backSignIn: 'Return',
    signInFormTitle: 'Login',
    mobileSignInFormTitle: 'Mobile login',
    qrSignInFormTitle: 'QR code login',
    signUpFormTitle: 'Register',
    forgetFormTitle: 'Reset password',
    signInTitle: 'Dealer management system',
    signInDesc: '',
    policy: 'I agree to xxx privacy policy',
    scanSign: `Scan the code and click "Confirm" to complete the login`,
    loginButton: 'Login',
    registerButton: 'Register',
    rememberMe: 'Remember me',
    forgetPassword: 'Forgot your password?',
    otherSignIn: 'Other login methods',
    // notify
    loginSuccessTitle: 'Login successful',
    loginSuccessDesc: 'Welcome back',
    // placeholder
    accountPlaceholder: 'Please enter your account',
    passwordPlaceholder: 'Please enter your password',
    smsPlaceholder: 'Please enter your verification code',
    mobilePlaceholder: 'Please enter your mobile number',
    policyPlaceholder: 'Check this to register',
    diffPwd: 'The two passwords you entered do not match',
    userName: 'Account',
    password: 'Password',
    confirmPassword: 'Confirm password',
    email: 'Email',
    smsCode: 'SMS verification code',
    mobile: 'Mobile number',
  },
};
