[Django] #34662: Translation strings of ArrayField length validators depend on wrong ngettext key

8 views
Skip to first unread message

Django

unread,
Jun 17, 2023, 6:26:19 AM6/17/23
to django-...@googlegroups.com
#34662: Translation strings of ArrayField length validators depend on wrong
ngettext key
-------------------------------------+-------------------------------------
Reporter: şuayip | Owner: şuayip üzülmez
üzülmez |
Type: Bug | Status: assigned
Component: | Version: dev
contrib.postgres |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
It seems that in ArrayMaxLengthValidator and ArrayMinLengthValidator
ngettext's number argument depends on wrong key.


Patch: https://github.com/django/django/pull/16986

--
Ticket URL: <https://code.djangoproject.com/ticket/34662>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 17, 2023, 8:31:17 AM6/17/23
to django-...@googlegroups.com
#34662: Translation strings of ArrayField length validators depend on wrong
ngettext key
-------------------------------------+-------------------------------------
Reporter: şuayip üzülmez | Owner: şuayip

| üzülmez
Type: Bug | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_tests: 0 => 1
* stage: Unreviewed => Accepted


Comment:

[https://github.com/django/django/pull/16986 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34662#comment:1>

Django

unread,
Jun 18, 2023, 8:42:50 AM6/18/23
to django-...@googlegroups.com
#34662: Translation strings of ArrayField length validators depend on wrong
ngettext key
-------------------------------------+-------------------------------------
Reporter: şuayip üzülmez | Owner: şuayip
| üzülmez
Type: Bug | Status: assigned
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34662#comment:2>

Django

unread,
Jun 18, 2023, 1:23:23 PM6/18/23
to django-...@googlegroups.com
#34662: Translation strings of ArrayField length validators depend on wrong
ngettext key
-------------------------------------+-------------------------------------
Reporter: şuayip üzülmez | Owner: şuayip
| üzülmez
Type: Bug | Status: closed
Component: contrib.postgres | Version: dev
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"0c5146523b614783b60ba9f9222769dff83c776c" 0c51465]:
{{{
#!CommitTicketReference repository=""
revision="0c5146523b614783b60ba9f9222769dff83c776c"
Fixed #34662 -- Corrected number in error messages for
Array(Min/Max)LengthValidator.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34662#comment:3>

Reply all
Reply to author
Forward
0 new messages