Skip to content

Commit

Permalink
Period at end of sentence.
Browse files Browse the repository at this point in the history
  • Loading branch information
PanderMusubi committed Jan 9, 2024
1 parent 613586e commit 27463b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wtforms/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.")
)


Expand Down

0 comments on commit 27463b0

Please sign in to comment.