#29131: Error message of ArrayField is unfriendly and has excessive trailing
space
--------------------------------------------+------------------------
Reporter: Vlada Macek | Owner: (none)
Type: Bug | Status: new
Component: contrib.postgres | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
--------------------------------------------+------------------------
There's an `'item_invalid'` error message
`"Item %(nth)s in the array did not validate: "`
that has problems:
* While this message is shown to end user, it contains a 0-based index,
which can be a challenge to explain, even in english...
* I believe "list" would be a better term instead of "array" for general
public. The same goes for my language.
* Additional message is concatenated right after this, so the trailing
space is needed in translations too. But on Transifex and many other i18n
tools the space is not apparent.
What about something like this:
`"Item %(nth)s (count from the left) in the list is not valid:"`
--
Ticket URL: <https://code.djangoproject.com/ticket/29131>
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/049.7bb0d5335149cd7f05fdddbe153a3206%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.