Fix translation category

This commit is contained in:
E.Alamo
2018-05-27 05:58:04 +02:00
parent 5dcaad02e7
commit dbe52388b3

View File

@ -77,7 +77,7 @@ class RegistrationForm extends Model
'gdprRequired' => ['gdpr_consent', 'gdprRequired' => ['gdpr_consent',
'compare', 'compare',
'compareValue' => true, 'compareValue' => true,
'message' => Yii::t('xenon','Your consent is required to register'), 'message' => Yii::t('usuario', 'Your consent is required to register'),
'when' => function () { 'when' => function () {
return $this->module->enableGDPRcompliance; return $this->module->enableGDPRcompliance;
}] }]
@ -100,8 +100,7 @@ class RegistrationForm extends Model
public function attributeHints() public function attributeHints()
{ {
return [ return [
'gdpr_consent' => Yii::t('usuario', 'I aggree processing of my personal data and the use of cookies '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}',
to facilitate the operation of this site. For more information read our {privacyPolicy}',
[ [
'privacyPolicy' => Html::a(Yii::t('usuario', 'privacy policy'), 'privacyPolicy' => Html::a(Yii::t('usuario', 'privacy policy'),
$this->module->GDPRprivacyPolicyUrl, $this->module->GDPRprivacyPolicyUrl,