Set to lowerCamelCase acronym GDPR #254

This commit is contained in:
bscheshirwork
2018-09-24 10:08:24 +03:00
committed by Lorenzo Milesi
parent 1e4a001d8a
commit 76f6b056ba
10 changed files with 24 additions and 23 deletions

View File

@ -82,7 +82,7 @@ class RegistrationForm extends Model
'compareValue' => true,
'message' => Yii::t('usuario', 'Your consent is required to register'),
'when' => function () {
return $this->module->enableGDPRcompliance;
return $this->module->enableGdprCompliance;
}]
];
}
@ -106,7 +106,7 @@ class RegistrationForm extends Model
'gdpr_consent' => Yii::t('usuario', '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}',
[
'privacyPolicy' => Html::a(Yii::t('usuario', 'privacy policy'),
$this->module->GDPRprivacyPolicyUrl,
$this->module->gdprPrivacyPolicyUrl,
['target' => '_blank']
)
])