diff --git a/resources/lang/de/auth.php b/resources/lang/de/auth.php index 0830be8e..46381d3c 100644 --- a/resources/lang/de/auth.php +++ b/resources/lang/de/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/de/settings.php b/resources/lang/de/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/de/settings.php +++ b/resources/lang/de/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/de/twofaccounts.php b/resources/lang/de/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/de/twofaccounts.php +++ b/resources/lang/de/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/es/auth.php b/resources/lang/es/auth.php index 43dbb7fd..3b338586 100644 --- a/resources/lang/es/auth.php +++ b/resources/lang/es/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/es/settings.php b/resources/lang/es/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/es/settings.php +++ b/resources/lang/es/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/es/twofaccounts.php b/resources/lang/es/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/es/twofaccounts.php +++ b/resources/lang/es/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/fr/auth.php b/resources/lang/fr/auth.php index 88fe2af8..30a613ee 100644 --- a/resources/lang/fr/auth.php +++ b/resources/lang/fr/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Déconnexion', 'sign_in' => 'Se connecter', 'register' => 'Créer un compte', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Bienvenue {0}', 'already_authenticated' => 'Déjà authentifié', 'confirm' => [ 'logout' => 'Etes-vous sûrs de vouloir vous déconnecter ?', @@ -37,7 +37,7 @@ 'already_register' => 'Déjà enregistré ?', 'password_do_not_match' => 'Le mot de passe ne correspond pas', 'forgot_your_password' => 'Mot de passe oublié ?', - 'request_password_reset' => 'Réinitialiser le mot de passe', + 'request_password_reset' => 'Réinitialisez-le', 'reset_password' => 'Mot de passe oublié', 'no_reset_password_in_demo' => 'Réinitialisation impossible en mode Démo', 'new_password' => 'Nouveau mot de passe', @@ -52,6 +52,9 @@ 'edit_account' => 'Mis à jour du profil', 'profile_saved' => 'Profil mis à jour avec succès !', 'welcome_to_demo_app_use_those_credentials' => 'bienvenue sur la démo de 2FAuth.

Vous pouvez vous connecter en utilisant l\'adresse email demo@2fauth.app et le mot de passe demo', + 'register_punchline' => 'Bienvenue sur 2FAuth.
+ Vous avez besoin d\'un compte pour aller plus loin. Remplissez ce formulaire pour vous inscrire et, s\'il vous plaît, choisissez un mot de passe fort, les données 2FA sont sensibles.', + 'reset_punchline' => '2FAuth vous enverra un lien de réinitialisation de mot de passe à cette adresse. Cliquez sur le lien dans l\'e-mail reçu pour définir un nouveau mot de passe.', ], ]; diff --git a/resources/lang/fr/settings.php b/resources/lang/fr/settings.php index e1c539e9..1c894c8d 100644 --- a/resources/lang/fr/settings.php +++ b/resources/lang/fr/settings.php @@ -72,6 +72,10 @@ 'label' => 'Mode de saisie par défaut', 'help' => 'Mode de saisie utilisé par défaut lorsque l\'option Saisie directe est activée', ], + 'remember_active_group' => [ + 'label' => 'Mémoriser le filtrage par groupe', + 'help' => 'Enregistre le dernier groupe affiché et le restaure lors de votre prochaine visite', + ], 'never' => 'Jamais', 'on_token_copy' => 'Après copie d\'un code de sécurité', '1_minutes' => 'Après 1 minute', diff --git a/resources/lang/fr/twofaccounts.php b/resources/lang/fr/twofaccounts.php index 1c144dc7..2b4e74ee 100644 --- a/resources/lang/fr/twofaccounts.php +++ b/resources/lang/fr/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Méthodes alternatives', ], 'stream' => [ - 'need_grant_permission' => 'Vous devez autoriser l\'utilisation de votre caméra', - 'not_readable' => 'Le scanner ne se charge pas. La caméra est-elle déjà utilisée ?', - 'no_cam_on_device' => 'Votre équipement ne dispose pas de caméra', - 'secured_context_required' => 'Contexte sécurisé requis (HTTPS ou localhost)', + 'live_scan_cant_start' => 'Le scanner ne peut pas démarrer :(', + 'need_grant_permission' => [ + 'reason' => '2FAuth n\'a pas la permission d\'accéder à votre caméra', + 'solution' => 'Vous devez autoriser l\'utilisation de l\'appareil photo de votre appareil. Si vous avez déjà refusé et que votre navigateur ne vous le demande plus, veuillez vous référer à la documentation du navigateur pour savoir comment accorder l’autorisation.' + ], + 'not_readable' => [ + 'reason' => 'Impossible de charger le scanner', + 'solution' => 'La caméra est-elle déjà en cours d\'utilisation ? Assurez-vous qu\'aucune autre application n\'utilise votre appareil photo et réessayez' + ], + 'no_cam_on_device' => [ + 'reason' => 'Votre équipement ne dispose pas de caméra', + 'solution' => 'Peut-être avez-vous oublié de brancher votre webcam' + ], + 'secured_context_required' => [ + 'reason' => 'Contexte sécurisé requis', + 'solution' => 'Une connexion sécurisée HTTPS est requise pour utiliser le scanner. Si vous exécutez 2FAuth depuis votre ordinateur, n\'utilisez pas d\'hôte virtuel autre que localhost' + ], 'https_required' => 'HTTPS requis pour utiliser la caméra', - 'camera_not_suitable' => 'Votre équipement ne dispose pas d\'une caméra adaptée', - 'stream_api_not_supported' => 'L\'API Stream n\'est pas supportée par votre navigateur' + 'camera_not_suitable' => [ + 'reason' => 'Votre équipement ne dispose pas d\'une caméra adaptée', + 'solution' => 'Veuillez utiliser un autre appareil' + ], + 'stream_api_not_supported' => [ + 'reason' => 'L\'API Stream n\'est pas prise en charge dans ce navigateur', + 'solution' => 'Vous devriez utiliser un navigateur moderne' + ], ], 'confirm' => [ 'delete' => 'Etes-vous sûrs de vouloir supprimer le compte ?', diff --git a/resources/lang/it/auth.php b/resources/lang/it/auth.php index 72447117..681ba4e9 100644 --- a/resources/lang/it/auth.php +++ b/resources/lang/it/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/it/settings.php b/resources/lang/it/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/it/settings.php +++ b/resources/lang/it/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/it/twofaccounts.php b/resources/lang/it/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/it/twofaccounts.php +++ b/resources/lang/it/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/ja/auth.php b/resources/lang/ja/auth.php index 6dea87df..be6f3114 100644 --- a/resources/lang/ja/auth.php +++ b/resources/lang/ja/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/ja/settings.php b/resources/lang/ja/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/ja/settings.php +++ b/resources/lang/ja/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/ja/twofaccounts.php b/resources/lang/ja/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/ja/twofaccounts.php +++ b/resources/lang/ja/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/pt/auth.php b/resources/lang/pt/auth.php index 6dbe8bc8..110410e5 100644 --- a/resources/lang/pt/auth.php +++ b/resources/lang/pt/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/pt/settings.php b/resources/lang/pt/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/pt/settings.php +++ b/resources/lang/pt/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/pt/twofaccounts.php b/resources/lang/pt/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/pt/twofaccounts.php +++ b/resources/lang/pt/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/ru/auth.php b/resources/lang/ru/auth.php index 6c1246cd..0193bd59 100644 --- a/resources/lang/ru/auth.php +++ b/resources/lang/ru/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/ru/settings.php b/resources/lang/ru/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/ru/settings.php +++ b/resources/lang/ru/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/ru/twofaccounts.php b/resources/lang/ru/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/ru/twofaccounts.php +++ b/resources/lang/ru/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?', diff --git a/resources/lang/zh/auth.php b/resources/lang/zh/auth.php index 3ba06a5e..665dda37 100644 --- a/resources/lang/zh/auth.php +++ b/resources/lang/zh/auth.php @@ -21,7 +21,7 @@ 'sign_out' => 'Sign out', 'sign_in' => 'Sign in', 'register' => 'Register', - 'hello' => 'Hi {username} !', + 'welcome_back_x' => 'Welcome back {0}', 'already_authenticated' => 'Already authenticated', 'confirm' => [ 'logout' => 'Are you sure you want to log out?', @@ -37,7 +37,7 @@ 'already_register' => 'Already registered?', 'password_do_not_match' => 'Password do not match', 'forgot_your_password' => 'Forgot your password?', - 'request_password_reset' => 'Request a password reset', + 'request_password_reset' => 'Reset it', 'reset_password' => 'Reset password', 'no_reset_password_in_demo' => 'No reset in Demo mode', 'new_password' => 'New password', @@ -52,6 +52,9 @@ 'edit_account' => 'Edit account', 'profile_saved' => 'Profile successfully updated!', 'welcome_to_demo_app_use_those_credentials' => 'Welcome to the 2FAuth demo.

You can connect using the email address demo@2fauth.app and the password demo', + 'register_punchline' => 'Welcome to 2FAuth.
+ You need an account to go further. Fill this form to register yourself, and please, choose a strong password, 2FA data are sensitives.', + 'reset_punchline' => '2FAuth will send you a password reset link to this address. Click the link in the received email to set a new password.', ], ]; diff --git a/resources/lang/zh/settings.php b/resources/lang/zh/settings.php index c057af80..32bd2733 100644 --- a/resources/lang/zh/settings.php +++ b/resources/lang/zh/settings.php @@ -72,6 +72,10 @@ 'label' => 'Default input mode', 'help' => 'Default input mode used when the Direct input option is On', ], + 'remember_active_group' => [ + 'label' => 'Remember group filter', + 'help' => 'Save the last group filter applied and restore it on your next visit', + ], 'never' => 'Never', 'on_token_copy' => 'On security code copy', '1_minutes' => 'After 1 minute', diff --git a/resources/lang/zh/twofaccounts.php b/resources/lang/zh/twofaccounts.php index 0e894735..199f8b96 100644 --- a/resources/lang/zh/twofaccounts.php +++ b/resources/lang/zh/twofaccounts.php @@ -87,13 +87,32 @@ 'alternative_methods' => 'Alternative methods', ], 'stream' => [ - 'need_grant_permission' => 'You need to grant camera access permission', - 'not_readable' => 'Fail to load scanner. Is the camera already in use?', - 'no_cam_on_device' => 'No camera on this device', - 'secured_context_required' => 'Secure context required (HTTPS or localhost)', + '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' => 'Installed cameras are not suitable', - 'stream_api_not_supported' => 'Stream API is not supported in this browser' + '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?',