diff --git a/lib/Froxlor/UI/Form.php b/lib/Froxlor/UI/Form.php index 17fafaa6..e21fc727 100644 --- a/lib/Froxlor/UI/Form.php +++ b/lib/Froxlor/UI/Form.php @@ -191,7 +191,7 @@ class Form $otp_enabled_user = (int)CurrentUser::getField('type_2fa') != 0; $do_show = !$fielddata['required_otp'] || ($otp_enabled_system && $otp_enabled_user); if (!$do_show) { - $fielddata['note'] = lng('serversettings.option_required_otp'); + $fielddata['note'] = lng('serversettings.option_requires_otp'); if (!$otp_enabled_system) { $fielddata['note'] .= '
' . lng('2fa.2fa_not_activated'); } elseif (!$otp_enabled_user) { diff --git a/lng/de.lng.php b/lng/de.lng.php index 4dfd7818..f8054bdb 100644 --- a/lng/de.lng.php +++ b/lng/de.lng.php @@ -46,6 +46,8 @@ return [ '2fa_overview_desc' => 'Hier kann für das Konto eine Zwei-Faktor-Authentisierung aktiviert werden.

Es kann entweder eine Authenticator-App (time-based one-time password / TOTP) genutzt werden oder ein Einmalpasswort, welches nach erfolgreichem Login an die hinterlegte E-Mail Adresse gesendet wird.', '2fa_email_desc' => 'Das Konto ist eingerichtet, um Einmalpasswörter per E-Mail zu erhalten. Zum Deaktivieren, klicke auf "2FA deaktivieren"', '2fa_ga_desc' => 'Das Konto ist eingerichtet, um zeitbasierte Einmalpasswörter via Authenticator-App zu erhalten. Um die gewünschte Authenticator-App einzurichten, scanne bitte den untenstehenden QR-Code. Zum Deaktivieren, klicke auf "2FA deaktivieren"', + '2fa_not_activated' => 'Zwei-Faktor Authentifizierung ist nicht aktiviert', + '2fa_not_activated_for_user' => 'Zwei-Faktor Authentifizierung ist für den aktuellen Benutzer nicht aktiviert', ], 'admin' => [ 'overview' => 'Übersicht', @@ -2090,6 +2092,7 @@ Vielen Dank, Ihr Administrator', 'title' => 'Rate-Limit-Intervall', 'description' => 'Zeit in Sekunden für die maximale Anzahl von HTTP-Anfragen, Standard ist "60".', ], + 'option_requires_otp' => 'Das Ändern dieser Einstellung erfordert OTP Validierung', ], 'spf' => [ 'use_spf' => 'Aktiviere SPF für Domains?', diff --git a/lng/en.lng.php b/lng/en.lng.php index a5e84bd5..39b69856 100644 --- a/lng/en.lng.php +++ b/lng/en.lng.php @@ -46,6 +46,8 @@ return [ '2fa_overview_desc' => 'Here you can activate a two-factor authentication for your account.

You can either use an authenticator-app (time-based one-time password / TOTP) or let froxlor send you an email to your account-address after each successful login with a one-time password.', '2fa_email_desc' => 'Your account is set up to use one-time passwords via e-mail. To deactivate, click on "Deactivate 2FA"', '2fa_ga_desc' => 'Your account is set up to use time-based one-time passwords via authenticator-app. Please scan the QR code below with your desired authenticator app to generate the codes. To deactivate, click on "Deactivate 2FA"', + '2fa_not_activated' => 'Two-factor authentication is not enabled', + '2fa_not_activated_for_user' => 'Two-factor authentication is not enabled for the current user', ], 'admin' => [ 'overview' => 'Overview', @@ -2215,6 +2217,7 @@ Yours sincerely, your administrator', 'title' => 'Rate-limit interval', 'description' => 'Specify the time in seconds for the number of HTTP requests, default is "60"', ], + 'option_requires_otp' => 'This setting requires an OTP validation', ], 'spf' => [ 'use_spf' => 'Activate SPF for domains?',