From 27463b06c1f4be4559349bdcc12f40cda6af1020 Mon Sep 17 00:00:00 2001 From: Pander Date: Tue, 9 Jan 2024 21:27:24 +0100 Subject: [PATCH] Period at end of sentence. --- src/wtforms/validators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wtforms/validators.py b/src/wtforms/validators.py index 59134f20f..d5b3c39a9 100644 --- a/src/wtforms/validators.py +++ b/src/wtforms/validators.py @@ -695,7 +695,7 @@ def __init__(self): def __call__(self, form, field): if field.data != field.object_data: - raise ValidationError(field.gettext("This field cannot be edited")) + raise ValidationError(field.gettext("This field cannot be edited.")) class Disabled: @@ -711,7 +711,7 @@ def __init__(self): def __call__(self, form, field): if field.raw_data is not None: raise ValidationError( - field.gettext("This field is disabled and cannot have a value") + field.gettext("This field is disabled and cannot have a value.") )