diff --git a/CHANGELOG.md b/CHANGELOG.md index 0007c1f..c46bc40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Enh: Added SK translations (snickom) - Fix: allow password_changed_at to be saved when reseting password (p4blojf) - Fix #430: Moved EVENT_BEFORE_PROFILE_UPDATE to correct place (eluhr) + - ## 1.5.1 April 5, 2020 - Fix #370: Extending view fix (effsoft) diff --git a/docs/installation/configuration-options.md b/docs/installation/configuration-options.md index e95f165..29c6a3a 100644 --- a/docs/installation/configuration-options.md +++ b/docs/installation/configuration-options.md @@ -12,6 +12,38 @@ Setting this attribute will allow users to configure their login process with tw By default, Google Authenticator App for two-factor authentication cycles in periods of 30 seconds. In order to allow a bigger period so to avoid out of sync issues. +#### twoFactorAuthenticationValidators (type: `array`) + +An array of arrays of channels availables for two factor authentication. The keys in the arrays have the following meaning: +class: it will be the validator class with namespace +name: the name that will be displayed in the section to the user +configurationUrl: the url to the action that will dispaly the configuration form for the validator +codeDurationTime: time duration of the code in session in seconds (not applicable for Google authenticator) +smsSender: the reference to SmsSenderInterface for managing SMS send. + +The following is the deafult configuration: + +'google-authenticator'=>[ + 'class'=>\Da\User\Validator\TwoFactorCodeValidator::class, + 'description'=>Yii::t('usuario', 'Google Authenticator'), + 'configurationUrl'=>'user/settings/two-factor' +], +'email'=>[ + 'class'=>\Da\User\Validator\TwoFactorEmailValidator::class, + 'description'=>Yii::t('usuario', 'Email'), + 'configurationUrl'=>'user/settings/two-factor-email', + 'codeDurationTime'=>300 +], +'sms'=>[ + 'class'=>\Da\User\Validator\TwoFactorTextMessageValidator::class, + 'description'=>Yii::t('usuario', 'Text message'), + 'configurationUrl'=>'user/settings/two-factor-sms', + 'codeDurationTime'=>300, + 'smsSender'=>'smsSender' +] + +For instructions about implementation of SMS sending see at the following link: https://www.yiiframework.com/extension/yetopen/yii2-sms-aruba + #### enableGdprCompliance (type: `boolean`, default: `false`) Setting this attribute enables a serie of measures to comply with EU GDPR regulation, like data consent, right to be forgotten and data portability. diff --git a/src/User/Bootstrap.php b/src/User/Bootstrap.php index 3bfcc41..22e0a04 100644 --- a/src/User/Bootstrap.php +++ b/src/User/Bootstrap.php @@ -131,7 +131,7 @@ class Bootstrap implements BootstrapInterface if (in_array($name, ['User', 'Profile', 'Token', 'SocialNetworkAccount'])) { $di->set( "Da\\User\\Query\\{$name}Query", - function () use ($model) { + function() use($model) { return $model::find(); } ); diff --git a/src/User/Controller/SecurityController.php b/src/User/Controller/SecurityController.php index d995bd2..1af964e 100644 --- a/src/User/Controller/SecurityController.php +++ b/src/User/Controller/SecurityController.php @@ -217,13 +217,14 @@ class SecurityController extends Controller $credentials=Yii::$app->session->get('credentials'); $login= $credentials['login']; $user = User::findOne(['email'=>$login]); - if( $user==null) + if( $user==null){ $user = User::findOne(['username'=>$login]); + } $tfType = $user->getAuthTfType(); $class = ArrayHelper::getValue($validators,$tfType.'.class'); $object = $this - ->make($class, [$user, null, $this->module->twoFactorAuthenticationCycles]); + ->make($class, [$user, null, $this->module->twoFactorAuthenticationCycles]); $object->generateCode(); diff --git a/src/User/Controller/SettingsController.php b/src/User/Controller/SettingsController.php index 764389d..baccb1b 100644 --- a/src/User/Controller/SettingsController.php +++ b/src/User/Controller/SettingsController.php @@ -453,11 +453,10 @@ class SettingsController extends Controller $class = ArrayHelper::getValue($validators,$choice.'.class'); $object = $this - ->make($class, [$user, $code, $this->module->twoFactorAuthenticationCycles]); + ->make($class, [$user, $code, $this->module->twoFactorAuthenticationCycles]); $success = $object->validate(); $success = $success && $user->updateAttributes(['auth_tf_enabled' => '1','auth_tf_type' => $choice]); - $message = $success - ? $object->getSuccessMessage():$object->getUnsuccessMessage($codeDurationTime); + $message = $success? $object->getSuccessMessage():$object->getUnsuccessMessage($codeDurationTime); return [ 'success' => $success, @@ -544,7 +543,7 @@ class SettingsController extends Controller 'success' => $success, 'message' => $success ? Yii::t('usuario', 'Mobile phone number successfully enabled.') - : Yii::t('usuario', 'Mobile phone number not registered.'), + : Yii::t('usuario', 'Error while enabling SMS two factor authentication.'), ]; } } diff --git a/src/User/Migration/m000000_000010_add_auth_tf_type_column_to_user_table.php b/src/User/Migration/m000000_000010_add_auth_tf_type_auth_tf_mobile_phone_columns_to_user_table.php similarity index 55% rename from src/User/Migration/m000000_000010_add_auth_tf_type_column_to_user_table.php rename to src/User/Migration/m000000_000010_add_auth_tf_type_auth_tf_mobile_phone_columns_to_user_table.php index 57e8161..b64c146 100644 --- a/src/User/Migration/m000000_000010_add_auth_tf_type_column_to_user_table.php +++ b/src/User/Migration/m000000_000010_add_auth_tf_type_auth_tf_mobile_phone_columns_to_user_table.php @@ -7,14 +7,16 @@ use yii\db\Migration; /** * Handles adding columns to table `{{%user}}`. */ -class m000000_000010_add_auth_tf_type_column_to_user_table extends Migration +class m000000_000010_add_auth_tf_type_auth_tf_mobile_phone_columns_to_user_table extends Migration { /** * {@inheritdoc} */ public function safeUp() { - $this->addColumn('{{%user}}', 'auth_tf_type', $this->string(20)->after('auth_tf_enabled')); + $this->addColumn('{{%user}}', 'auth_tf_type', $this->string(20)->after('auth_tf_enabled')->null()); + $this->addColumn('{{%user}}', 'auth_tf_mobile_phone', $this->string(20)->after('auth_tf_type')->null()); + } /** @@ -23,5 +25,6 @@ class m000000_000010_add_auth_tf_type_column_to_user_table extends Migration public function safeDown() { $this->dropColumn('{{%user}}', 'auth_tf_type'); + $this->dropColumn('{{%user}}', 'auth_tf_mobile_phone'); } } diff --git a/src/User/Migration/m000000_000011_add_auth_tf_mobile_phone_column_to_user_table.php b/src/User/Migration/m000000_000011_add_auth_tf_mobile_phone_column_to_user_table.php deleted file mode 100644 index e35cf33..0000000 --- a/src/User/Migration/m000000_000011_add_auth_tf_mobile_phone_column_to_user_table.php +++ /dev/null @@ -1,25 +0,0 @@ -addColumn('{{%user}}', 'auth_tf_mobile_phone', $this->string(20)->after('auth_tf_type')); - } - - /** - * {@inheritdoc} - */ - public function safeDown() - { - $this->dropColumn('{{%user}}', 'auth_tf_mobile_phone'); - } -} diff --git a/src/User/Module.php b/src/User/Module.php index 2162085..7dbe44a 100644 --- a/src/User/Module.php +++ b/src/User/Module.php @@ -82,7 +82,7 @@ class Module extends BaseModule */ public $enableTwoFactorAuthentication = false; /** - * @var array list of channel for two factor authentication availables + * @var array list of channels for two factor authentication availables */ public $twoFactorAuthenticationValidators = null; /** @@ -90,10 +90,6 @@ class Module extends BaseModule * @see http://2fa-library.readthedocs.io/en/latest/ */ public $twoFactorAuthenticationCycles = 1; - /** - * @var int the number of seconds for which the code sent by email or by mobile phone is valid - * */ - public $twoFactorEmailAuthenticationValidity = 300; /** * @var bool whether to allow auto login or not */ diff --git a/src/User/resources/i18n/ca/usuario.php b/src/User/resources/i18n/ca/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/ca/usuario.php +++ b/src/User/resources/i18n/ca/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/da/usuario.php b/src/User/resources/i18n/da/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/da/usuario.php +++ b/src/User/resources/i18n/da/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/de-DU/usuario.php b/src/User/resources/i18n/de-DU/usuario.php index db98447..68b45a6 100644 --- a/src/User/resources/i18n/de-DU/usuario.php +++ b/src/User/resources/i18n/de-DU/usuario.php @@ -275,14 +275,13 @@ return [ '{0} cannot be blank.' => '{0} darf nicht leer sein.', 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -294,4 +293,8 @@ return [ 'Unfortunately, you can not work with this site without giving us consent to process your data.' => '', 'Your consent is required to work with this site' => '', 'A message has been sent to your email address. ' => '@@Eine Nachricht wurde an Deine E-Mail Adresse gesendet@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/de/usuario.php b/src/User/resources/i18n/de/usuario.php index 91f2e2b..0564503 100644 --- a/src/User/resources/i18n/de/usuario.php +++ b/src/User/resources/i18n/de/usuario.php @@ -22,6 +22,7 @@ return [ 'A message has been sent to your email address. It contains a confirmation link that you must click to complete registration.' => 'Eine Nachricht wurde an Ihre E-Mail-Adresse gesendet. Sie enthält einen Bestätigungslink, den Sie anklicken müssen, um die Registrierung abzuschließen.', 'A new confirmation link has been sent' => 'Ein neuer Bestätigungslink wurde versendet', 'A password will be generated automatically if not provided' => 'Leer lassen, um automatisch ein Passwort zu generieren', + 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => 'Gemäß der europäischen Datenschutzgrundverordnung (DSGVO) benötigen wir Ihre Zustimmung, um mit Ihren personenbezogenen Daten zu arbeiten.', 'Account' => 'Konto', 'Account confirmation' => 'Kontobestätigung', 'Account details' => 'Kontodetails', @@ -82,6 +83,7 @@ return [ 'Credentials will be sent to the user by email' => 'Die Zugangsdaten werden dem Nutzer per E-Mail versendet', 'Current password' => 'Aktuelles Passwort', 'Current password is not valid' => 'Das aktuelle Passwort ist nicht korrekt', + 'Data privacy' => 'Datenschutz', 'Data processing consent' => 'Zustimmung zur Datenverarbeitung', 'Delete' => 'Löschen', 'Delete account' => 'Konto Löschen', @@ -187,6 +189,7 @@ return [ 'Sign in' => 'Anmelden', 'Sign up' => 'Registrieren', 'Something went wrong' => 'Etwas ist schief gelaufen', + 'Submit' => 'Absenden', 'Switch identities is disabled.' => 'Identitäten wechseln ist deaktiviert.', 'Thank you for signing up on {0}' => 'Danke für ihre Registrierung auf {0}', 'Thank you, registration is now complete.' => 'Danke, ihre Registrierung ist nun abgeschlossen.', @@ -221,6 +224,7 @@ return [ 'Unable to update block status.' => 'Konnte den Block-Status nicht ändern', 'Unblock' => 'Freischalten', 'Unconfirmed' => 'Unbestätigt', + 'Unfortunately, you can not work with this site without giving us consent to process your data.' => 'Leider können Sie nicht mit dieser Seite arbeiten, ohne uns die Zustimmung zur Verarbeitung Ihrer Daten zu geben.', 'Update' => 'Bearbeiten', 'Update assignments' => 'Zuweisung ändern', 'Update permission' => 'Berechtigung ändern', @@ -264,6 +268,7 @@ return [ 'Your account on {0} has been created' => 'Ihr Konto auf {0} wurde erstellt', 'Your confirmation token is invalid or expired' => 'Ihr Bestätigungstoken ist falsch oder abgelaufen', 'Your consent is required to register' => 'Sie müssen Ihre Zustimmung registrieren', + 'Your consent is required to work with this site' => 'Ihre Zustimmung ist erforderlich, um mit dieser Website zu arbeiten', 'Your email address has been changed' => 'Ihre E-Mail-Adresse wurde geändert', 'Your password has expired, you must change it now' => 'Ihr Passwort ist abgelaufen, Sie müssen es jetzt ändern', 'Your personal information has been removed' => 'Ihre persönlichen Daten wurden gelöscht', @@ -272,20 +277,14 @@ return [ '{0, date, MMM dd, YYYY HH:mm}' => '{0, date, dd. MMM YYYY, HH:mm}', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd. MMMM YYYY, HH:mm}', '{0} cannot be blank.' => '{0} darf nicht leer sein.', - 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => 'Gemäß der europäischen Datenschutzgrundverordnung (DSGVO) benötigen wir Ihre Zustimmung, um mit Ihren personenbezogenen Daten zu arbeiten.', - 'Data privacy' => 'Datenschutz', - 'Submit' => 'Absenden', - 'Unfortunately, you can not work with this site without giving us consent to process your data.' => 'Leider können Sie nicht mit dieser Seite arbeiten, ohne uns die Zustimmung zur Verarbeitung Ihrer Daten zu geben.', - 'Your consent is required to work with this site' => 'Ihre Zustimmung ist erforderlich, um mit dieser Website zu arbeiten', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Information' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -293,5 +292,9 @@ return [ 'This is the code to insert to enable two factor authentication' => '', 'Two factor authentication code by SMS' => '', 'Two factor authentication code by email' => '', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', 'Now you can resume the login process' => '@@@@', ]; diff --git a/src/User/resources/i18n/es/usuario.php b/src/User/resources/i18n/es/usuario.php index 2cb4750..1d90550 100644 --- a/src/User/resources/i18n/es/usuario.php +++ b/src/User/resources/i18n/es/usuario.php @@ -276,14 +276,13 @@ return [ 'privacy policy' => 'política de privacidad', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd MMMM, YYYY HH:mm}', '{0} cannot be blank.' => '{0} no puede estar vacío.', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -294,5 +293,9 @@ return [ 'Your consent is required to work with this site' => '', '{0, date, MMM dd, YYYY HH:mm}' => '', 'An email has been sent with instructions for resetting your password' => '@@Se ha enviado un correo electrónico con instrucciones para restablecer su contraseña@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', 'Two factor authentication protects you against stolen credentials' => '@@La autenticación de dos factores le protege del robo de credenciales@@', ]; diff --git a/src/User/resources/i18n/et/usuario.php b/src/User/resources/i18n/et/usuario.php index 86bcfb7..fe54eb2 100644 --- a/src/User/resources/i18n/et/usuario.php +++ b/src/User/resources/i18n/et/usuario.php @@ -109,6 +109,7 @@ return [ 'Gravatar email' => 'Gravatari e-posti aadress', 'Hello' => 'Tere', 'Here you can download your personal data in a comma separated values format.' => 'Siit saad alla laadida sinuga seotud andmed CSV formaadis.', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Nõusutn oma isikuandmete töötlemise ning küpsiste kasutamisega, et selle lehe kasutamiset hõlbustada. Lisainfot loe lehelt {privacyPolicy}.', 'If you already registered, sign in and connect this account on settings page' => 'Kui oled juba registreerunud, logi sisse ja ühenda see konto oma seadete lehel', 'If you cannot click the link, please try pasting the text into your browser' => 'Kui sa ei saa lingil klikkida, proovi see kleepida oma brausri aadressireale', 'If you did not make this request you can ignore this email' => 'Kui sa ei ole seda päringut tellinud, siis võid seda kirja ignoreerida', @@ -264,18 +265,18 @@ return [ 'Your password has expired, you must change it now' => 'Sinu parool on aegunud, pead seda uuendama.', 'Your personal information has been removed' => 'Sinu isiklikud andmed on kustutatud', 'Your profile has been updated' => 'Sinu profiil on uuendatud', + 'privacy policy' => 'privaatsuspoliitika', '{0} cannot be blank.' => '{0} ei või olla tühi.', 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'Authentication rule class {0} can not be instantiated' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -291,6 +292,8 @@ return [ 'Your consent is required to work with this site' => '', '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', - 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'Nõusutn oma isikuandmete töötlemise ning küpsiste kasutamisega, et selle lehe kasutamiset hõlbustada. Lisainfot loe lehelt {privacyPolicy}.', - 'privacy policy' => 'privaatsuspoliitika', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/fa-IR/usuario.php b/src/User/resources/i18n/fa-IR/usuario.php index c93ed9a..6cb7a29 100644 --- a/src/User/resources/i18n/fa-IR/usuario.php +++ b/src/User/resources/i18n/fa-IR/usuario.php @@ -190,16 +190,18 @@ return [ 'Enable two factor authentication' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Force password change at next login' => '', 'Google Authenticator' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'Impersonate this user' => '', 'In order to finish your registration, we need you to enter following fields' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid password' => '', 'Invalid two factor authentication code' => '', 'Invalid value' => '', @@ -209,7 +211,6 @@ return [ 'Last login time' => '', 'Last password change' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Never' => '', 'New rule' => '', @@ -288,7 +289,12 @@ return [ 'Your consent is required to work with this site' => '', 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', 'An email has been sent with instructions for resetting your password' => '@@ایمیلی حاوی راهنمایی برای تنظیم مجدد رمز عبور به شما ارسال شد@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', 'Registration ip' => '@@ای پی ثبت نام@@', ]; diff --git a/src/User/resources/i18n/fi/usuario.php b/src/User/resources/i18n/fi/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/fi/usuario.php +++ b/src/User/resources/i18n/fi/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/fr/usuario.php b/src/User/resources/i18n/fr/usuario.php index 12bf6b8..a204e9e 100644 --- a/src/User/resources/i18n/fr/usuario.php +++ b/src/User/resources/i18n/fr/usuario.php @@ -110,6 +110,7 @@ return [ 'Gravatar email' => 'Email gravatar', 'Hello' => 'Bonjour', 'Here you can download your personal data in a comma separated values format.' => 'Ici vous pouvez télécharger vos données personnelles dans un format avec les données séparées par des virgules', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'J\'accepte le traitement de mes données personnelles et l\'utilisation de cookies pour faciliter le fonctionnement de ce site. Pour plus d\'information, lisez notre {privacyPolicy}', 'If you already registered, sign in and connect this account on settings page' => 'Si vous êtes déjà inscrit, connectez-vous et liez ce compte dans la page des réglages', 'If you cannot click the link, please try pasting the text into your browser' => 'Si vous ne parvenez pas à cliquer sur le lien, veuillez essayer de coller le texte dans votre navigateur', 'If you did not make this request you can ignore this email' => 'Si vous n\'avez pas fait cette demande, vous pouvez ignorer cet email', @@ -268,18 +269,18 @@ return [ 'Your password has expired, you must change it now' => 'Votre mot de passe a expiré, vous devez le renouveler maintenant', 'Your personal information has been removed' => 'Vos données personnelles ont été supprimées', 'Your profile has been updated' => 'Votre profil a été mis à jour', + 'privacy policy' => 'politique de confidentialité', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd MMMM YYYY HH:mm}', '{0} cannot be blank.' => '{0} ne peut être vide.', 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -291,6 +292,8 @@ return [ 'Unfortunately, you can not work with this site without giving us consent to process your data.' => '', 'Your consent is required to work with this site' => '', '{0, date, MMM dd, YYYY HH:mm}' => '', - 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => 'J\'accepte le traitement de mes données personnelles et l\'utilisation de cookies pour faciliter le fonctionnement de ce site. Pour plus d\'information, lisez notre {privacyPolicy}', - 'privacy policy' => 'politique de confidentialité', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/hr/usuario.php b/src/User/resources/i18n/hr/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/hr/usuario.php +++ b/src/User/resources/i18n/hr/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/hu/usuario.php b/src/User/resources/i18n/hu/usuario.php index 6670a01..7d33fdd 100644 --- a/src/User/resources/i18n/hu/usuario.php +++ b/src/User/resources/i18n/hu/usuario.php @@ -272,14 +272,13 @@ return [ 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -298,9 +297,13 @@ return [ 'Awesome, almost there. ' => '@@Hurrá, majdnem kész.@@', 'Disable Two-Factor Auth' => '@@Letiltja a kétütemű hitelesítést@@', 'Enable Two-factor auth' => '@@Engedélyezze a kétütemű hitelesítést@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', '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}' => '@@Aggregálom a személyes adataim feldolgozását és a cookie-k használatát a webhely működésének megkönnyítése érdekében. További információért olvassa el a {privacyPolicy}@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Érvénytelen kétütemű kód@@', 'Last login' => '@@Utolsó bejelentkezés@@', + 'Mobile phone number not registered.' => '@@@@', 'This will disable two-factor auth. Are you sure?' => '@@Ez letiltja a kétütemű hitelesítést. biztos vagy ebben?@@', 'Two Factor Authentication' => '@@Két tényező hitelesítés@@', 'Two factor authentication protects you against stolen credentials' => '@@Két tényező-hitelesítés megvédi az ellopott hitelesítő adatokat@@', diff --git a/src/User/resources/i18n/it/usuario.php b/src/User/resources/i18n/it/usuario.php index d884e27..8295187 100644 --- a/src/User/resources/i18n/it/usuario.php +++ b/src/User/resources/i18n/it/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => 'Si è verificato un errore durante l\'eliminazione dell\'utente', 'Error sending registration message to "{email}". Please try again later.' => 'C\'è stato un errore nell\'invio del messaggio di registrazione all\'indirizzo "{email}". Per favore ritenta più tardi.', 'Error sending welcome message to "{email}". Please try again later.' => 'C\'è stato un errore nell\'invio del messaggio di benvenuto all\'indirizzo "{email}". Per favore ritenta più tardi.', + 'Error while enabling SMS two factor authentication.' => 'Errore in fase di attivazione dell\'autenticazione a due fattori tramite SMS', 'Export my data' => 'Esporta i miei dati', 'Finish' => 'Completa', 'Force password change at next login' => 'Forza il cambio password al prossimo accesso', @@ -125,7 +126,6 @@ return [ 'Insert' => 'Inserisci', 'Insert the code you received by SMS.' => 'Inserisci il codice ricevuto tramite SMS.', 'Insert the code you received by email.' => 'Inserisci il codice ricevuto tramite email.', - 'Insert the mobile phone number on which to receive text message.' => 'Inserisci il numero del cellulare sul quale ricevere i codici.', 'Invalid login or password' => 'Utente o password non validi', 'Invalid or expired link' => 'Collegamento non valido o scaduto', 'Invalid password' => 'Password non valida', @@ -142,7 +142,6 @@ return [ 'Logout' => 'Esci', 'Manage users' => 'Gestisci gli utenti', 'Mobile phone number' => 'Numero di cellulare', - 'Mobile phone number not registered.' => 'L\'attivazione del numero di cellulare non è riuscita', 'Mobile phone number successfully enabled.' => 'Il numero di cellulare è stato abilitato', 'Name' => 'Nome', 'Networks' => 'Rete', @@ -291,8 +290,12 @@ return [ '{0, date, MMM dd, YYYY HH:mm}' => '{0, date, MMM dd, YYYY HH:mm}', '{0, date, MMMM dd, YYYY HH:mm}' => '{0, date, dd MMMM YYYY HH:mm}', '{0} cannot be blank.' => '{0} non può essere vuoto.', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'This is the code to insert to enable two factor authentication' => '', 'An email has been sent with instructions for resetting your password' => '@@È stata inviata un\'email con le istruzioni per azzerare la tua password@@', + 'Insert the mobile phone number where you want to receive text message in international format.' => '@@@@', + 'Insert the mobile phone number where you want to receive the SMS.' => '@@Inserisci il numero del cellulare sul quale ricevere l\'SMS.@@', + 'Mobile phone number not registered.' => '@@L\'attivazione del numero di cellulare non è riuscita@@', 'Now you can resume the login process' => '@@Ora puoi riprendere il processo di autenticazione@@', 'Send new code' => '@@Invia un nuovo codice@@', ]; diff --git a/src/User/resources/i18n/kk/usuario.php b/src/User/resources/i18n/kk/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/kk/usuario.php +++ b/src/User/resources/i18n/kk/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/lt/usuario.php b/src/User/resources/i18n/lt/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/lt/usuario.php +++ b/src/User/resources/i18n/lt/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/nl/usuario.php b/src/User/resources/i18n/nl/usuario.php index c56e36f..21fa7d8 100644 --- a/src/User/resources/i18n/nl/usuario.php +++ b/src/User/resources/i18n/nl/usuario.php @@ -272,14 +272,13 @@ return [ 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -299,11 +298,15 @@ return [ 'Class "{0}" does not exist' => '@@Class "{0} bestaat niet@@', 'Disable Two-Factor Auth' => '@@Tweetraps authenticatie uitschakelen@@', 'Enable Two-factor auth' => '@@Tweetraps authenticatie inschakelen@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', '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}@@', '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}@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Ongeldige tweetraps authenticatie code@@', 'Last login' => '@@Laatste login@@', + 'Mobile phone number not registered.' => '@@@@', '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"@@', diff --git a/src/User/resources/i18n/pl/usuario.php b/src/User/resources/i18n/pl/usuario.php index cbe7fdd..77f2c38 100644 --- a/src/User/resources/i18n/pl/usuario.php +++ b/src/User/resources/i18n/pl/usuario.php @@ -272,14 +272,13 @@ return [ 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -296,8 +295,12 @@ return [ 'An email has been sent with instructions for resetting your password' => '@@Email z instrukcją resetowania hasła został wysłany@@', 'Disable Two-Factor Auth' => '@@Wyłącz uwierzytelnianie dwuetapowe@@', 'Enable Two-factor auth' => '@@Włącz uwierzytelnianie dwuetapowe@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Nieprawidłowy kod uwierzytelniania dwuetapowego@@', 'Last login' => '@@Data ostatniego logowania@@', + 'Mobile phone number not registered.' => '@@@@', 'This will disable two-factor auth. Are you sure?' => '@@To wyłączy uwierzytelnianie dwuetapowe. Czy jesteś pewny?@@', 'Two Factor Authentication' => '@@Uwierzytelnianie dwuetapowe@@', 'Two factor authentication protects you against stolen credentials' => '@@Uwierzytelnianie dwuetapowe chroni Cię przed kradzieżą danych logowania@@', diff --git a/src/User/resources/i18n/pt-BR/usuario.php b/src/User/resources/i18n/pt-BR/usuario.php index 40e1188..d6988ea 100644 --- a/src/User/resources/i18n/pt-BR/usuario.php +++ b/src/User/resources/i18n/pt-BR/usuario.php @@ -272,14 +272,13 @@ return [ 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -299,11 +298,15 @@ return [ 'Class "{0}" does not exist' => '@@A classe "{0}" não existe@@', 'Disable Two-Factor Auth' => '@@Desabilitar autenticação em dois fatores@@', 'Enable Two-factor auth' => '@@Habilitar autenticação em dois fatores@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', '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}' => '@@Concordo com o processamento de meus dados pessoais e o uso de cookies para facilitar a operação deste site. Para mais informações, leia nosso {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}' => '@@Concordo com o processamento de meus dados pessoais e o uso de cookies para facilitar a operação deste site. Para mais informações, leia nosso {privacyPolicy}@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Código de dois fatores inválido@@', 'Last login' => '@@Último login@@', + 'Mobile phone number not registered.' => '@@@@', 'Registration ip' => '@@IP de registro@@', 'Rule class can not be instantiated' => '@@A classe de regras não pode ser instanciada@@', 'Rule class must extend "yii\\rbac\\Rule"' => '@@A classe de regras deve estender de "yii\\rbac\\Rule"@@', diff --git a/src/User/resources/i18n/pt-PT/usuario.php b/src/User/resources/i18n/pt-PT/usuario.php index 53e6010..57af028 100644 --- a/src/User/resources/i18n/pt-PT/usuario.php +++ b/src/User/resources/i18n/pt-PT/usuario.php @@ -264,16 +264,15 @@ return [ 'Class' => '', 'Data privacy' => '', 'Email' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Gravatar email' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Items' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Password' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', @@ -291,5 +290,10 @@ return [ 'Website' => '', 'Yandex' => '', 'Your consent is required to work with this site' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/ro/usuario.php b/src/User/resources/i18n/ro/usuario.php index e8b9d5c..8689ce1 100644 --- a/src/User/resources/i18n/ro/usuario.php +++ b/src/User/resources/i18n/ro/usuario.php @@ -272,14 +272,13 @@ return [ 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'An email with instructions to create a new password has been sent to {email} if it is associated with an {appName} account. Your existing password has not been changed.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -298,11 +297,15 @@ return [ 'Awesome, almost there. ' => '@@Minunat, aproape gata.@@', 'Disable Two-Factor Auth' => '@@Dezactivați autentificarea cu două factori@@', 'Enable Two-factor auth' => '@@Activați Auth@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', '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}' => '@@Am agregat prelucrarea datelor mele personale și utilizarea cookie-urilor pentru a facilita funcționarea acestui site. Pentru mai multe informații, citiți {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}' => '@@Am agregat prelucrarea datelor mele personale și utilizarea cookie-urilor pentru a facilita funcționarea acestui site. Pentru mai multe informații, citiți {privacyPolicy}@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Cod de două factori nevalid@@', 'Last login' => '@@Ultima logare@@', + 'Mobile phone number not registered.' => '@@@@', 'This will disable two-factor auth. Are you sure?' => '@@Aceasta va dezactiva auth-ul cu două factori. Esti sigur?@@', 'Two Factor Authentication' => '@@Două autentificare cu factori@@', 'Two factor authentication protects you against stolen credentials' => '@@Autentificarea cu două factori vă protejează împotriva acreditărilor furate@@', diff --git a/src/User/resources/i18n/ru/usuario.php b/src/User/resources/i18n/ru/usuario.php index b3fbbd4..69ffb3e 100644 --- a/src/User/resources/i18n/ru/usuario.php +++ b/src/User/resources/i18n/ru/usuario.php @@ -275,14 +275,13 @@ return [ '{0} cannot be blank.' => '{0} не может быть пустым.', 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -299,8 +298,12 @@ return [ 'Class "{0}" does not exist' => '@@Класс "{0}" не найден@@', 'Disable Two-Factor Auth' => '@@Отключить двухфакторную авторизацию@@', 'Enable Two-factor auth' => '@@Включить двухфакторную авторизацию@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Неверный код двухфакторной авторизации@@', 'Last login' => '@@Последний вход@@', + 'Mobile phone number not registered.' => '@@@@', 'Registration ip' => '@@IP при регистрации@@', 'Rule class can not be instantiated' => '@@Класс правила не может быть создан@@', 'Rule class must extend "yii\\rbac\\Rule"' => '@@Класс правила должен наследоваться от "yii\\rbac\\Rule"@@', diff --git a/src/User/resources/i18n/th/usuario.php b/src/User/resources/i18n/th/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/th/usuario.php +++ b/src/User/resources/i18n/th/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/tr-TR/usuario.php b/src/User/resources/i18n/tr-TR/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/tr-TR/usuario.php +++ b/src/User/resources/i18n/tr-TR/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/uk/usuario.php b/src/User/resources/i18n/uk/usuario.php index 1dd1a2e..11c0c0d 100644 --- a/src/User/resources/i18n/uk/usuario.php +++ b/src/User/resources/i18n/uk/usuario.php @@ -274,14 +274,13 @@ return [ '{0} cannot be blank.' => '{0} не може бути порожнім.', 'According to the European General Data Protection Regulation (GDPR) we need your consent to work with your personal data.' => '', 'Data privacy' => '', - 'Every user having your role has two factor authentication mandatory, you must enable it' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Google Authenticator' => '', 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please click on \'Cancel\' and repeat the login request.' => '', 'Please, enter the right code. The code is valid for {0} seconds. If you want to get a new code, please close this window and repeat the enabling request.' => '', @@ -299,9 +298,13 @@ return [ 'Class "{0}" does not exist' => '@@Клас "{0}" не існує@@', 'Disable Two-Factor Auth' => '@@Вимкнути двофакторну аутентифікацію@@', 'Enable Two-factor auth' => '@@Увімкнути двофакторну аутентифікацію@@', + 'Every user having your role has two factor authentication mandatory, you must enable it' => '@@@@', '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}' => '@@Я даю згоду на обробку моїх персональних даних та на використання cookie даним сайтом. Для більш детальної інформації ознайомтесь з {privacyPolicy}@@', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', 'Invalid two-factor code' => '@@Невірний код двофакторної авторизації@@', 'Last login' => '@@Останній вхід@@', + 'Mobile phone number not registered.' => '@@@@', 'Registration ip' => '@@IP реєстрації@@', 'Rule class can not be instantiated' => '@@Клас Правила не може бути ініційований@@', 'Rule class must extend "yii\\rbac\\Rule"' => '@@Клас Правила має розширювати "yii\\rbac\\Rule"@@', diff --git a/src/User/resources/i18n/vi/usuario.php b/src/User/resources/i18n/vi/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/vi/usuario.php +++ b/src/User/resources/i18n/vi/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/i18n/zh-CN/usuario.php b/src/User/resources/i18n/zh-CN/usuario.php index 843098b..8d6dd3f 100644 --- a/src/User/resources/i18n/zh-CN/usuario.php +++ b/src/User/resources/i18n/zh-CN/usuario.php @@ -105,6 +105,7 @@ return [ 'Error occurred while deleting user' => '', 'Error sending registration message to "{email}". Please try again later.' => '', 'Error sending welcome message to "{email}". Please try again later.' => '', + 'Error while enabling SMS two factor authentication.' => '', 'Export my data' => '', 'Finish' => '', 'Force password change at next login' => '', @@ -113,6 +114,7 @@ return [ 'Gravatar email' => '', 'Hello' => '', 'Here you can download your personal data in a comma separated values format.' => '', + 'I agree processing of my personal data and the use of cookies to facilitate the operation of this site. For more information read our {privacyPolicy}' => '', 'If you already registered, sign in and connect this account on settings page' => '', 'If you cannot click the link, please try pasting the text into your browser' => '', 'If you did not make this request you can ignore this email' => '', @@ -124,7 +126,7 @@ return [ 'Insert' => '', 'Insert the code you received by SMS.' => '', 'Insert the code you received by email.' => '', - 'Insert the mobile phone number on which to receive text message.' => '', + 'Insert the mobile phone number where you want to receive text message in international format' => '', 'Invalid login or password' => '', 'Invalid or expired link' => '', 'Invalid password' => '', @@ -141,7 +143,6 @@ return [ 'Logout' => '', 'Manage users' => '', 'Mobile phone number' => '', - 'Mobile phone number not registered.' => '', 'Mobile phone number successfully enabled.' => '', 'Name' => '', 'Networks' => '', @@ -287,6 +288,11 @@ return [ 'Your password has expired, you must change it now' => '', 'Your personal information has been removed' => '', 'Your profile has been updated' => '', + 'privacy policy' => '', + '{0, date, MMM dd, YYYY HH:mm}' => '', '{0, date, MMMM dd, YYYY HH:mm}' => '', '{0} cannot be blank.' => '', + 'Insert the mobile phone number on which to receive text message.' => '@@@@', + 'Insert the mobile phone number where you want to receive text message.' => '@@@@', + 'Mobile phone number not registered.' => '@@@@', ]; diff --git a/src/User/resources/views/mail/text/twofactorcode.php b/src/User/resources/views/mail/text/twofactorcode.php index 0a9eaf4..1725566 100644 --- a/src/User/resources/views/mail/text/twofactorcode.php +++ b/src/User/resources/views/mail/text/twofactorcode.php @@ -15,7 +15,7 @@ ?> , -. +: diff --git a/src/User/resources/views/mail/twofactorcode.php b/src/User/resources/views/mail/twofactorcode.php index a1f0ea0..210f84c 100644 --- a/src/User/resources/views/mail/twofactorcode.php +++ b/src/User/resources/views/mail/twofactorcode.php @@ -19,6 +19,9 @@ use yii\helpers\Html;

,

+

+ : +

diff --git a/src/User/resources/views/settings/two-factor-sms.php b/src/User/resources/views/settings/two-factor-sms.php index 166f99a..17823aa 100644 --- a/src/User/resources/views/settings/two-factor-sms.php +++ b/src/User/resources/views/settings/two-factor-sms.php @@ -18,7 +18,7 @@