Opened 11 years ago

Closed 11 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 by Claude Paroz, 11 years ago

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 by clay.evil@…, 11 years ago

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 by Claude Paroz, 11 years ago

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