From dbe52388b37b995cb89d22d1175c6396198064a1 Mon Sep 17 00:00:00 2001 From: "E.Alamo" Date: Sun, 27 May 2018 05:58:04 +0200 Subject: [PATCH] Fix translation category --- src/User/Form/RegistrationForm.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/User/Form/RegistrationForm.php b/src/User/Form/RegistrationForm.php index d0f9bc7..3b745c7 100644 --- a/src/User/Form/RegistrationForm.php +++ b/src/User/Form/RegistrationForm.php @@ -77,7 +77,7 @@ class RegistrationForm extends Model 'gdprRequired' => ['gdpr_consent', 'compare', 'compareValue' => true, - 'message' => Yii::t('xenon','Your consent is required to register'), + 'message' => Yii::t('usuario', 'Your consent is required to register'), 'when' => function () { return $this->module->enableGDPRcompliance; }] @@ -100,8 +100,7 @@ class RegistrationForm extends Model public function attributeHints() { return [ - 'gdpr_consent' => Yii::t('usuario', '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}', + 'gdpr_consent' => Yii::t('usuario', '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}', [ 'privacyPolicy' => Html::a(Yii::t('usuario', 'privacy policy'), $this->module->GDPRprivacyPolicyUrl,