#22716: The unique error message uses incorrect grammar
-------------------------------+--------------------------------------
Reporter: jdufresne | Owner: nobody
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 1.6
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by timo):
Regarding backwards compatibility, several of the message parameters are
passed to `capfirst`.
For example, `"%(model_name)s with this %(field_labels)s already exists."`
-- if we remove capfirst from `model_name` then the sentence wouldn't
start with a capital (yes, maybe we could `capfirst` the entire sentence
to fix that). If someone is using a custom error message where
`field_label` is first, then they will have to make a fix if we stop
capitalizing `field_label`.
--
Ticket URL: <https://code.djangoproject.com/ticket/22716#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.8b7c156026a2e42a4a3e4675480881af%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.