mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 08:43:19 +01:00
122 lines
4.8 KiB
PHP
122 lines
4.8 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.
|
|
|
|
|
*/
|
|
|
|
'service' => 'Service',
|
|
'account' => 'Account',
|
|
'accounts' => 'Accounts',
|
|
'icon' => 'Icon',
|
|
'no_account_here' => 'No 2FA here!',
|
|
'add_first_account' => 'Add your first account',
|
|
'use_full_form' => 'Or use the full form',
|
|
'add_one' => 'Add one',
|
|
'show_qrcode' => 'Show QR code',
|
|
'forms' => [
|
|
'service' => [
|
|
'placeholder' => 'example.com',
|
|
],
|
|
'account' => [
|
|
'placeholder' => 'John DOE',
|
|
],
|
|
'new_account' => 'New account',
|
|
'edit_account' => 'Edit account',
|
|
'otp_uri' => 'OTP Uri',
|
|
'scan_qrcode' => 'Scan a QR code',
|
|
'upload_qrcode' => 'Upload a QR code',
|
|
'use_advanced_form' => 'Use the advanced form',
|
|
'prefill_using_qrcode' => 'Prefill using a QR Code',
|
|
'use_qrcode' => [
|
|
'val' => 'Use a qrcode',
|
|
'title' => 'Use a QR code to fill the form magically',
|
|
],
|
|
'unlock' => [
|
|
'val' => 'Unlock',
|
|
'title' => 'Unlock it (at your own risk)',
|
|
],
|
|
'lock' => [
|
|
'val' => 'Lock',
|
|
'title' => 'Lock it',
|
|
],
|
|
'choose_image' => 'Choose an image…',
|
|
'test' => 'Test',
|
|
'secret' => [
|
|
'label' => 'Secret',
|
|
'help' => 'The key used to generate your security codes'
|
|
],
|
|
'plain_text' => 'Plain text',
|
|
'otp_type' => [
|
|
'label' => 'Choose the type of OTP to create',
|
|
'help' => 'Time-based OTP or HMAC-based OTP'
|
|
],
|
|
'digits' => [
|
|
'label' => 'Digits',
|
|
'help' => 'The number of digits of the generated security codes'
|
|
],
|
|
'algorithm' => [
|
|
'label' => 'Algorithm',
|
|
'help' => 'The algorithm used to secure your security codes'
|
|
],
|
|
'period' => [
|
|
'label' => 'Period',
|
|
'placeholder' => 'Default is 30',
|
|
'help' => 'The period of validity of the generated security codes in second'
|
|
],
|
|
'counter' => [
|
|
'label' => 'Counter',
|
|
'placeholder' => 'Default is 0',
|
|
'help' => 'The initial counter value',
|
|
'help_lock' => 'It is risky to edit the counter as you can desynchronize the account with the verification server of the service. Use the lock icon to enable modification, but only if you know for you are doing'
|
|
],
|
|
'image' => [
|
|
'label' => 'Image',
|
|
'placeholder' => 'http://...',
|
|
'help' => 'The url of an external image to use as the account icon'
|
|
],
|
|
'options_help' => 'You can leave the following options blank if you don\'t know how to set them. The most commonly used values will be applied.',
|
|
'alternative_methods' => 'Alternative methods',
|
|
],
|
|
'stream' => [
|
|
'live_scan_cant_start' => 'Live scan can\'t start :(',
|
|
'need_grant_permission' => [
|
|
'reason' => '2FAuth does not have permission to access your camera',
|
|
'solution' => 'You need to grant permission to use your device camera. If you already denied and your browser do not prompt you again, please refers to the browser documentation to find out how to grant permission.'
|
|
],
|
|
'not_readable' => [
|
|
'reason' => 'Fail to load scanner',
|
|
'solution' => 'Is the camera already in use? Ensure that no other app use your camera and try again'
|
|
],
|
|
'no_cam_on_device' => [
|
|
'reason' => 'No camera on this device',
|
|
'solution' => 'Maybe your forget to plug in your webcam'
|
|
],
|
|
'secured_context_required' => [
|
|
'reason' => 'Secure context required',
|
|
'solution' => 'HTTPS is required for live scan. If you run 2FAuth from your computer, do not use virtual host other than localhost'
|
|
],
|
|
'https_required' => 'HTTPS required for camera streaming',
|
|
'camera_not_suitable' => [
|
|
'reason' => 'Installed cameras are not suitable',
|
|
'solution' => 'Please use another device/camera'
|
|
],
|
|
'stream_api_not_supported' => [
|
|
'reason' => 'Stream API is not supported in this browser',
|
|
'solution' => 'You should use a modern browser'
|
|
],
|
|
],
|
|
'confirm' => [
|
|
'delete' => 'Are you sure you want to delete this account?',
|
|
'cancel' => 'The account will be lost. Are you sure?'
|
|
],
|
|
|
|
]; |