Unify error message for invalid email with other messages
Other error messages are also ended with period. [MAILPOET-4471]
This commit is contained in:
committed by
Veljko V
parent
7f525068b3
commit
bf5d27cc79
@ -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')) {
|
||||
|
Reference in New Issue
Block a user