Skip to content

Commit e0d64a5

Browse files
medmundsnessita
authored andcommitted
Fixed subject/verb agreement in DecimalValidator messages.
1 parent 4a89f5c commit e0d64a5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

django/core/validators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,17 +513,17 @@ class DecimalValidator:
513513
messages = {
514514
"invalid": _("Enter a number."),
515515
"max_digits": ngettext_lazy(
516-
"Ensure that there are no more than %(max)s digit in total.",
516+
"Ensure that there is no more than %(max)s digit in total.",
517517
"Ensure that there are no more than %(max)s digits in total.",
518518
"max",
519519
),
520520
"max_decimal_places": ngettext_lazy(
521-
"Ensure that there are no more than %(max)s decimal place.",
521+
"Ensure that there is no more than %(max)s decimal place.",
522522
"Ensure that there are no more than %(max)s decimal places.",
523523
"max",
524524
),
525525
"max_whole_digits": ngettext_lazy(
526-
"Ensure that there are no more than %(max)s digit before the decimal "
526+
"Ensure that there is no more than %(max)s digit before the decimal "
527527
"point.",
528528
"Ensure that there are no more than %(max)s digits before the decimal "
529529
"point.",

0 commit comments

Comments
 (0)