Opened 4 years ago

Closed 4 years ago

#19832 closed Bug (duplicate)

DecimalField validation shoud use plural forms

Reported by: clay.evil@… Owned by: nobody
Component: Forms Version: 1.4
Severity: Normal Keywords: DecimalField validation
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The django.forms.fields.DecimalField line 260 - shlud use plural forms for decimal places and digis errors. Thank you.

Change History (3)

comment:1 Changed 4 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

I guess you are targeting those strings:

    'max_digits': _('Ensure that there are no more than %s digits in total.'),
    'max_decimal_places': _('Ensure that there are no more than %s decimal places.'),
    'max_whole_digits': _('Ensure that there are no more than %s digits before the decimal point.')

#17840 is related.

comment:2 Changed 4 years ago by clay.evil@…

Yes, I know its annoying, but devil is in the detail, and since Django uses plural forms in many parts, this will add to Django's perfection.
I'm very happy that i can use Django, you have done a very very good & great & marvelous job. Thank you all. I'm coding right now, so i just felt the need to thank you.

comment:3 Changed 4 years ago by Claude Paroz

Resolution: duplicate
Status: newclosed

The patch of ticket #17840 now includes the ungettext_lazy calls. Closing as duplicate of that ticket.

Note: See TracTickets for help on using tickets.
Back to Top