From 11ed7449b01efa46c9037c2585c87a4c40790909 Mon Sep 17 00:00:00 2001 From: Waut Van den Abbeele Date: Tue, 7 Aug 2018 01:42:39 +0200 Subject: [PATCH 1/4] improve nl translations --- src/User/resources/i18n/nl/usuario.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/User/resources/i18n/nl/usuario.php b/src/User/resources/i18n/nl/usuario.php index d8a4047..a72b6f2 100644 --- a/src/User/resources/i18n/nl/usuario.php +++ b/src/User/resources/i18n/nl/usuario.php @@ -62,7 +62,7 @@ return [ 'Children' => 'Kinderen', 'Class' => 'Klasse', 'Close' => 'Sluiten', - 'Complete password reset on {0}' => 'Vervollig het resetten van het wachtwoord op {0}', + 'Complete password reset on {0}' => 'Vervolledig het resetten van het wachtwoord op {0}', 'Confirm' => 'Bevestig', 'Confirm account on {0}' => 'Bevestig account op {0}', 'Confirm email change on {0}' => 'Bevestig email wijziging op {0}', From d4f148a1be65da10092d1a0bed5ebba14d50d126 Mon Sep 17 00:00:00 2001 From: Waut Van den Abbeele Date: Tue, 7 Aug 2018 04:21:32 +0200 Subject: [PATCH 2/4] improve nl translations --- src/User/resources/i18n/nl/usuario.php | 52 +++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/User/resources/i18n/nl/usuario.php b/src/User/resources/i18n/nl/usuario.php index a72b6f2..c692d80 100644 --- a/src/User/resources/i18n/nl/usuario.php +++ b/src/User/resources/i18n/nl/usuario.php @@ -75,7 +75,7 @@ return [ 'Continue' => 'Doorgaan', 'Create' => 'Aanmaken', 'Create a user account' => 'Maak een gebruikers account aan', - 'Create new permission' => 'Maak een nieuwe permissie aan', + 'Create new permission' => 'Maak een nieuwe machtiging aan', 'Create new role' => 'Maak een nieuw rol aan', 'Create new rule' => 'maak een nieuwe regel aan', 'Created at' => 'Gemaakt op', @@ -139,7 +139,7 @@ return [ 'Never' => 'Nooit', 'New email' => 'Nieuwe email', 'New password' => 'Nieuw wachtwoord', - 'New permission' => 'Nieuwe permissies', + 'New permission' => 'Nieuwe machtiging', 'New role' => 'Nieuwe rol', 'New rule' => 'Nieuwe regel', 'New user' => 'Nieuwe gebruiker', @@ -270,29 +270,29 @@ return [ 'privacy policy' => 'privacy policy', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, MMMM dd, YYYY HH:mm}\'', '{0} cannot be blank.' => '{0} kan niet leeg zijn.', - 'A message has been sent to your email address. ' => '@@@@', - 'Awesome, almost there. ' => '@@@@', - 'Class "{0}" does not exist' => '@@@@', - 'Disable Two-Factor Auth' => '@@@@', - 'Enable Two-factor auth' => '@@@@', + 'A message has been sent to your email address. ' => 'Een bericht werd naar jouw emailadres verzonden', + 'Awesome, almost there. ' => 'Super, bijna klaar.', + 'Class "{0}" does not exist' => 'Class "{0} bestaat niet', + 'Disable Two-Factor Auth' => 'Tweetraps authenticatie uitschakelen', + 'Enable Two-factor auth' => 'Tweetraps authenticatie inschakelen', 'I aggree processing of my personal data and the use of cookies - to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@', - 'I aggree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '@@@@', - 'Invalid two-factor code' => '@@@@', - 'Last login' => '@@@@', - 'Registration ip' => '@@@@', - 'Rule class can not be instantiated' => '@@@@', - 'Rule class must extend "yii\\rbac\\Rule"' => '@@@@', - 'This will disable two-factor auth. Are you sure?' => '@@@@', - 'Two Factor Authentication' => '@@@@', - 'Two factor successfully enabled.' => '@@@@', - 'Two-Factor Authentication' => '@@@@', - 'Two-factor auth protects you against stolen credentials' => '@@@@', - 'Two-factor authentication code' => '@@@@', - 'Two-factor authorization has been disabled.' => '@@@@', - 'Two-factor code' => '@@@@', - 'Unable to disable two-factor authorization.' => '@@@@', - 'We couldn\'t re-send the mail to confirm your address. ' => '@@@@', - 'We have sent confirmation links to both old and new email addresses. ' => '@@@@', - '{0, date, MMM dd, YYYY HH:mm}' => '@@@@', + to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Ik ga akkoord dat mijn persoonlijke data en cookies worden verwerkt voor het gebruik van deze website. Voor meer informatie lees onze {privacyPolicy}', + 'I aggree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Ik ga akkoord dat mijn persoonlijke data en cookies worden verwerkt voor het gebruik van deze website. Voor meer informatie lees onze {privacyPolicy}', + 'Invalid two-factor code' => 'Ongeldige tweetraps authenticatie code', + 'Last login' => 'Laatste login', + 'Registration ip' => 'Registratie IP', + 'Rule class can not be instantiated' => 'Registratie IP', + 'Rule class must extend "yii\\rbac\\Rule"' => 'Regel klasse moet worden uitgebreid met "yii\\rbac\\Rule"', + 'This will disable two-factor auth. Are you sure?' => 'Dit zal de tweetraps authenticatie uitschakelen. Ben je zeker?', + 'Two Factor Authentication' => 'Tweetraps authenticatie', + 'Two factor successfully enabled.' => 'Tweetraps authenticatie ingeschakeld', + 'Two-Factor Authentication' => 'Tweetraps authenticatie', + 'Two-factor auth protects you against stolen credentials' => 'Tweetraps authenticatie beschermt je tegen gestolen authenticatie gegevens', + 'Two-factor authentication code' => 'Tweetraps authenticatie code', + 'Two-factor authorization has been disabled.' => 'Tweetraps authenticatie werd uitgeschakeld.', + 'Two-factor code' => 'Tweetraps authenticatie code', + 'Unable to disable two-factor authorization.' => 'Tweetraps authenticatie kon niet worden uitgeschakeld', + 'We couldn\'t re-send the mail to confirm your address. ' => 'Wij konden de email bevestigingsmail niet opnieuw naar jouw adres verzenden.', + 'We have sent confirmation links to both old and new email addresses. ' => 'We hebben de bevestigingsmail naar zowel jouw oud als nieuw emailadres verzonden.', + '{0, date, MMM dd, YYYY HH:mm}' => '{0, date, MMM dd, YYYY HH:mm}', ]; From 4b81de412c2884bcc227d3a17fad08666731808c Mon Sep 17 00:00:00 2001 From: Waut Van den Abbeele Date: Tue, 7 Aug 2018 10:19:48 +0200 Subject: [PATCH 3/4] improve nl translations --- src/User/resources/i18n/nl/usuario.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/User/resources/i18n/nl/usuario.php b/src/User/resources/i18n/nl/usuario.php index c692d80..704c372 100644 --- a/src/User/resources/i18n/nl/usuario.php +++ b/src/User/resources/i18n/nl/usuario.php @@ -90,14 +90,14 @@ return [ 'Deleted by GDPR request' => 'Verwijder mijn GDPR aanvraag', 'Description' => 'Omschrijving', 'Didn\'t receive confirmation message?' => 'Geen bevestiging email ontvangen?', - 'Disable two factor authentication' => '2 traps authenticatie uitschakelen', + 'Disable two factor authentication' => 'Tweetraps authenticatie uitschakelen', 'Disconnect' => 'Verbindig verbreken', 'Don\'t have an account? Sign up!' => 'Geen account? Meld je aan', 'Download my data' => 'Download mijn data', 'Email' => 'Email', 'Email (public)' => 'Email (publiek)', 'Enable' => 'Inschakelen', - 'Enable two factor authentication' => 'Schakel 2 traps authenticatie in', + 'Enable two factor authentication' => 'Schakel tweetraps authenticatie in', 'Error occurred while changing password' => 'Een error deed zich voor tijdens het wijzigen van het wachtwoord', 'Error occurred while confirming user' => 'Een error deed zich voor tijdens het bevestigen van de gebruiker', 'Error occurred while deleting user' => 'Een error deed zich voor tijdens het wissen van de gebruiker', @@ -122,7 +122,7 @@ return [ 'Invalid login or password' => 'Ongeldige login of wachtwoord', 'Invalid or expired link' => 'Ongeldige of vervallen link', 'Invalid password' => 'Ongeldig wachtwoord', - 'Invalid two factor authentication code' => 'Ongeldige 2 traps authenticatie code', + 'Invalid two factor authentication code' => 'Ongeldige tweetraps authenticatie code', 'Invalid value' => 'Ongeldige waarde', 'It will be deleted forever' => 'Het zal voor altijd verwijderd worden', 'Items' => 'Items', @@ -197,21 +197,21 @@ return [ 'This account has already been connected to another user' => 'Dit account is al verbonden met een andere gebruiker', 'This email address has already been taken' => 'Dit emailadres is al in gebruik', 'This username has already been taken' => 'Deze gebruikersnaam is al in gebruik', - 'This will disable two factor authentication. Are you sure?' => 'Dit zal de 2 traps authenticatie uitschakelen. Ben je zeker?', + 'This will disable two factor authentication. Are you sure?' => 'Dit zal de tweetraps authenticatie uitschakelen. Ben je zeker?', 'This will remove your personal data from this site. You will no longer be able to sign in.' => 'Dit zal jouw persoonlijke data van de website wissen. Je zal niet langer kunnen inloggen.', 'Time zone' => 'Tijd zonde', 'Time zone is not valid' => 'Tijd zone is niet geldig', - 'Two Factor Authentication (2FA)' => '2 traps authenticatie (2FA)', - 'Two factor authentication code' => '2 traps authenticatie code', - 'Two factor authentication has been disabled.' => '2 traps authenticatie is uitgeschakeld', - 'Two factor authentication protects you against stolen credentials' => '2 traps authenticatie beschermt je tegen gestolen inloggegevens', - 'Two factor authentication successfully enabled.' => '2 traps authenticatie met succes ingeschakeld', + 'Two Factor Authentication (2FA)' => 'Tweetraps authenticatie (2FA)', + 'Two factor authentication code' => 'Tweetraps authenticatie code', + 'Two factor authentication has been disabled.' => 'Tweetraps authenticatie is uitgeschakeld', + 'Two factor authentication protects you against stolen credentials' => 'Tweetraps authenticatie beschermt je tegen gestolen inloggegevens', + 'Two factor authentication successfully enabled.' => 'Tweetraps authenticatie met succes ingeschakeld', 'Unable to confirm user. Please, try again.' => 'Onmogelijk om de gebruiker te bevestigen. Probeer opnieuw.', 'Unable to create an account.' => 'Onmogelijk om een account aan te maken.', 'Unable to create authorization item.' => 'Onmogelijk om een authorisatie item aan te maken', 'Unable to create new authorization rule.' => 'Onmogelijk om een authorisatie regel aan te maken', 'Unable to delete user. Please, try again later.' => 'Onmogelijk om de gebruiker te wissen. Probeer later opnieuw.', - 'Unable to disable Two factor authentication.' => 'Onmogelijk om de 2 traps authenticatie uit te schakelen.', + 'Unable to disable Two factor authentication.' => 'Onmogelijk om de tweetraps authenticatie uit te schakelen.', 'Unable to remove authorization item.' => 'Onmogelijk om het authorisatie item te wissen.', 'Unable to send confirmation link' => 'Onmogelijk om de bevestigingsmail te versturen', 'Unable to send recovery message to the user' => 'Onmogelijk om de herstel email naar de gebruiker te versturen', From e3436d7f5d2f3a948ffda856f8921e34497b2a0d Mon Sep 17 00:00:00 2001 From: Waut Van den Abbeele Date: Wed, 8 Aug 2018 11:51:33 +0200 Subject: [PATCH 4/4] update documentation concerning allowAdminPasswordRecovery --- docs/installation/configuration-options.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/installation/configuration-options.md b/docs/installation/configuration-options.md index a7e60b4..e7399c1 100644 --- a/docs/installation/configuration-options.md +++ b/docs/installation/configuration-options.md @@ -76,8 +76,7 @@ If `true` it will enable password recovery process. #### allowAdminPasswordRecovery (type: `boolean`, default: `true`) -If `true` and `allowPasswordRecovery` is false, it will enable administrator to send a password recovery email to a -user. +If `true` it will enable administrator to send a password recovery email to a user. #### maxPasswordAge (type: `integer`, default: `null`)