diff options
Diffstat (limited to 'django/contrib/postgres/validators.py')
-rw-r--r-- | django/contrib/postgres/validators.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/django/contrib/postgres/validators.py b/django/contrib/postgres/validators.py index df2bd88eb9..47bb7bc7b6 100644 --- a/django/contrib/postgres/validators.py +++ b/django/contrib/postgres/validators.py @@ -12,16 +12,20 @@ from django.utils.translation import ngettext_lazy class ArrayMaxLengthValidator(MaxLengthValidator): message = ngettext_lazy( - "List contains %(show_value)d item, it should contain no more than %(limit_value)d.", - "List contains %(show_value)d items, it should contain no more than %(limit_value)d.", + "List contains %(show_value)d item, it should contain no more than " + "%(limit_value)d.", + "List contains %(show_value)d items, it should contain no more than " + "%(limit_value)d.", "limit_value", ) class ArrayMinLengthValidator(MinLengthValidator): message = ngettext_lazy( - "List contains %(show_value)d item, it should contain no fewer than %(limit_value)d.", - "List contains %(show_value)d items, it should contain no fewer than %(limit_value)d.", + "List contains %(show_value)d item, it should contain no fewer than " + "%(limit_value)d.", + "List contains %(show_value)d items, it should contain no fewer than " + "%(limit_value)d.", "limit_value", ) |