From cf5c4921241bdbd0ad8c7b9a2c09f4ee2b76b406 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Fri, 27 Jan 2023 09:25:45 +0100 Subject: [PATCH] add english translations --- .../translations/de/d3webauthn_lang.php | 6 +-- .../translations/en/d3webauthn_lang.php | 51 +++++++++++++++++++ 2 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 src/Application/translations/en/d3webauthn_lang.php diff --git a/src/Application/translations/de/d3webauthn_lang.php b/src/Application/translations/de/d3webauthn_lang.php index 40831f8..cc9e57a 100755 --- a/src/Application/translations/de/d3webauthn_lang.php +++ b/src/Application/translations/de/d3webauthn_lang.php @@ -40,9 +40,9 @@ $aLang = [ 'D3_WEBAUTHN_NOKEYREGISTERED' => 'kein Schlüssel registriert', 'D3_WEBAUTHN_ACCOUNT_TYPE0' => 'nur Passwort', - 'D3_WEBAUTHN_ACCOUNT_TYPE1' => 'nur Auth-Stick', - 'D3_WEBAUTHN_ACCOUNT_TYPE2' => 'nur Auth-Stick, Passwort als Alternative', - 'D3_WEBAUTHN_ACCOUNT_TYPE3' => 'Auth-Stick und Passwort in Kombination', + 'D3_WEBAUTHN_ACCOUNT_TYPE1' => 'nur Auth-Schlüssel', + 'D3_WEBAUTHN_ACCOUNT_TYPE2' => 'nur Auth-Sschlüssel, Passwort als Alternative', + 'D3_WEBAUTHN_ACCOUNT_TYPE3' => 'Auth-Schlüssel und Passwort in Kombination', 'D3_WEBAUTHN_ERR_UNSECURECONNECTION' => 'Die Verwendung von Sicherheitsschlüsseln ist nur bei lokalen oder gesicherten Verbindungen (https) möglich.', 'D3_WEBAUTHN_ERR_LOGINPROHIBITED' => 'Die Anmeldung mit Sicherheitsschlüssel ist aus technischen Gründen derzeit leider nicht möglich. Bitte verwenden Sie statt dessen Ihr Passwort.', diff --git a/src/Application/translations/en/d3webauthn_lang.php b/src/Application/translations/en/d3webauthn_lang.php new file mode 100644 index 0000000..e513f77 --- /dev/null +++ b/src/Application/translations/en/d3webauthn_lang.php @@ -0,0 +1,51 @@ + + * @link https://www.oxidmodule.com + */ + +$sLangName = 'English'; + +// ------------------------------- +// RESOURCE IDENTIFIER = STRING +// ------------------------------- +$aLang = [ + 'charset' => 'UTF-8', + + 'PAGE_TITLE_D3WEBAUTHNLOGIN' => 'Passwordless login', + 'D3_WEBAUTHN_ACCOUNT' => 'My keys', + 'PAGE_TITLE_D3_ACCOUNT_WEBAUTHN' => 'My keys', + 'D3_WEBAUTHN_ACCOUNT_DESC' => 'Manage your login keys here.', + 'D3_WEBAUTHN_ACC_REGISTERNEW' => 'create new registration', + 'D3_WEBAUTHN_ACC_ADDKEY' => 'add security key', + + 'D3_WEBAUTHN_ACC_REGISTEREDKEYS' => 'registered keys', + + 'WEBAUTHN_INPUT_HELP' => 'Please authenticate with hardware key.', + 'WEBAUTHN_CANCEL_LOGIN' => 'Cancel login', + 'D3_WEBAUTHN_BREADCRUMB' => 'Passwordless login', + 'D3_WEBAUTHN_CONFIRMATION' => 'Confirmation required', + 'D3_WEBAUTHN_CONF_BROWSER_REQUEST' => 'Please confirm the browser request.', + 'D3_WEBAUTHN_CANCEL' => 'cancel', + 'D3_WEBAUTHN_DELETE' => 'delete', + 'D3_WEBAUTHN_DELETE_CONFIRM' => 'Do you really want to delete the key?', + 'D3_WEBAUTHN_KEYNAME' => 'name of the key', + 'D3_WEBAUTHN_NOKEYREGISTERED' => 'no key registered', + + 'D3_WEBAUTHN_ACCOUNT_TYPE0' => 'password only', + 'D3_WEBAUTHN_ACCOUNT_TYPE1' => 'auth keys only', + 'D3_WEBAUTHN_ACCOUNT_TYPE2' => 'auth keys only, password as an alternative', + 'D3_WEBAUTHN_ACCOUNT_TYPE3' => 'auth key and password combined', + + 'D3_WEBAUTHN_ERR_UNSECURECONNECTION' => 'The use of security keys is only possible with local or secured connections (https).', + 'D3_WEBAUTHN_ERR_LOGINPROHIBITED' => 'Unfortunately, logging in with a security key is currently not possible for technical reasons. Please use your password instead.', + 'D3_WEBAUTHN_ERR_NOTLOADEDUSER' => "Cannot obtain login data from unloaded customer account.", + 'D3_WEBAUTHN_ERR_NOTCREDENTIALNOTSAVEABLE' => "The key cannot be registered for technical reasons. Please contact the shop operator.", +];