mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-27 09:29:18 +01:00
44 lines
2.7 KiB
PHP
44 lines
2.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Authentication Language Lines
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| The following language lines are used during authentication for various
|
|
| messages that we need to display to the user. You are free to modify
|
|
| these language lines according to your application's requirements.
|
|
|
|
|
*/
|
|
|
|
'resource_not_found' => 'Resource not found',
|
|
'error_occured' => 'An error occured:',
|
|
'cannot_register_more_user' => 'You cannot register more than one user.',
|
|
'refresh' => 'Refresh',
|
|
'no_valid_otp' => 'No valid OTP resource in this QR code',
|
|
'something_wrong_with_server' => 'Something is wrong with your server',
|
|
'Unable_to_decrypt_uri' => 'Unable to decrypt uri',
|
|
'not_a_supported_otp_type' => 'This OTP format is not currently supported',
|
|
'cannot_create_otp_without_secret' => 'Cannot create an OTP without a secret',
|
|
'data_of_qrcode_is_not_valid_URI' => 'The data of this QR code is not a valid OTP Auth URI:',
|
|
'wrong_current_password' => 'Wrong current password, nothing has changed',
|
|
'error_during_encryption' => 'Encryption failed, your database remains unprotected.',
|
|
'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.',
|
|
'qrcode_cannot_be_read' => 'This QR code is unreadable',
|
|
'too_many_ids' => 'too many ids were included in the query parameter, max 100 allowed',
|
|
'delete_user_setting_only' => 'Only user-created setting can be deleted',
|
|
'indecipherable' => '*indecipherable*',
|
|
'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.',
|
|
'https_required' => 'HTTPS context required',
|
|
'browser_does_not_support_webauthn' => 'Your device does not support webauthn. Try again later using a more modern browser',
|
|
'aborted_by_user' => 'Aborted by user',
|
|
'security_device_unsupported' => 'Security device unsupported',
|
|
'unsupported_with_reverseproxy' => 'Not applicable when using an auth proxy',
|
|
'user_deletion_failed' => 'User account deletion failed, no data have been deleted',
|
|
'auth_proxy_failed' => 'Proxy authentication failed',
|
|
'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.',
|
|
'invalid_google_auth_migration' => 'Invalid or unreadable Google Authenticator data',
|
|
'unsupported_otp_type' => 'Unsupported OTP type',
|
|
]; |