#28605: Use verbose_name and localize field names in the admin history
-------------------------------------+-------------------------------------
Reporter: Carlos | Owner: nobody
Mermingas |
Type: | Status: new
Uncategorized |
Component: | Version: 1.11
Uncategorized |
Severity: Normal | Keywords: admin history
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
After an object's field is changed in the admin, the history displays
''Changed __field name__''.
Here, ''__field name__'' is the Python class' attribute that was defined
in the model.
I think that it would be better if the admin history displayed the
attribute's {{{verbose_name}}}, if it has one, and translated it.
I am working on an app that will be used in Spanish and English. The admin
history in Spanish shows sentences such as "Modificación de name y
description" when it should be "Modificación de nombre y descripción". The
{{{name}}} and {{{description}}} fields show their correct translations
elsewhere in the admin.
--
Ticket URL: <https://code.djangoproject.com/ticket/28605>
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/053.30ada9cd5b0a4e0f1768ffd479e4d8b6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.