Unify error message for invalid email with other messages

Other error messages are also ended with period.
[MAILPOET-4471]
This commit is contained in:
Rostislav Wolny
2022-07-19 10:46:25 +02:00
committed by Veljko V
parent 7f525068b3
commit bf5d27cc79

View File

@ -34,7 +34,7 @@ class BlockRendererHelper {
$rules['required'] = true;
$rules['minlength'] = ModelValidator::EMAIL_MIN_LENGTH;
$rules['maxlength'] = ModelValidator::EMAIL_MAX_LENGTH;
$rules['type-message'] = __('This value should be a valid email', 'mailpoet');
$rules['type-message'] = __('This value should be a valid email.', 'mailpoet');
}
if (($blockId === 'first_name') || ($blockId === 'last_name')) {