errors.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Authentication Language Lines
  6. |--------------------------------------------------------------------------
  7. |
  8. | The following language lines are used during authentication for various
  9. | messages that we need to display to the user. You are free to modify
  10. | these language lines according to your application's requirements.
  11. |
  12. */
  13. 'resource_not_found' => 'Resource not found',
  14. 'error_occured' => 'An error occured:',
  15. 'cannot_register_more_user' => 'You cannot register more than one user.',
  16. 'refresh' => 'Refresh',
  17. 'no_valid_otp' => 'No valid OTP resource in this QR code',
  18. 'something_wrong_with_server' => 'Something is wrong with your server',
  19. 'Unable_to_decrypt_uri' => 'Unable to decrypt uri',
  20. 'not_a_supported_otp_type' => 'This OTP format is not currently supported',
  21. 'cannot_create_otp_without_secret' => 'Cannot create an OTP without a secret',
  22. 'data_of_qrcode_is_not_valid_URI' => 'The data of this QR code is not a valid OTP Auth URI:',
  23. 'wrong_current_password' => 'Wrong current password, nothing has changed',
  24. 'error_during_encryption' => 'Encryption failed, your database remains unprotected.',
  25. 'error_during_decryption' => 'Decryption failed, your database is still protected. This is mainly caused by an integrity issue of encrypted data for one or more accounts.',
  26. 'qrcode_cannot_be_read' => 'This QR code is unreadable',
  27. 'too_many_ids' => 'too many ids were included in the query parameter, max 100 allowed',
  28. 'delete_user_setting_only' => 'Only user-created setting can be deleted',
  29. 'indecipherable' => '*indecipherable*',
  30. 'cannot_decipher_secret' => 'The secret cannot be deciphered. This is mainly caused by a wrong APP_KEY set in the .env configuration file of 2Fauth or a corrupted data stored in database.',
  31. 'https_required' => 'HTTPS context required',
  32. 'browser_does_not_support_webauthn' => 'Your device does not support webauthn. Try again later using a more modern browser',
  33. 'aborted_by_user' => 'Aborted by user',
  34. 'security_device_unsupported' => 'Security device unsupported',
  35. 'unsupported_with_reverseproxy' => 'Not applicable when using an auth proxy',
  36. 'user_deletion_failed' => 'User account deletion failed, no data have been deleted',
  37. 'auth_proxy_failed' => 'Proxy authentication failed',
  38. 'auth_proxy_failed_legend' => '2Fauth is configured to run behind an authentication proxy but your proxy does not return the expected header. Check your configuration and try again.',
  39. 'invalid_google_auth_migration' => 'Invalid or unreadable Google Authenticator data',
  40. 'unsupported_otp_type' => 'Unsupported OTP type',
  41. 'no_logo_found_for_x' => 'No logo available for {service}'
  42. ];