#5518: [newform-admin] - capitalized verbose names for models
------------------------------------------------------------+---------------
Reporter: Petr Marhoun <[email protected]> | Owner:
nobody
Status: reopened | Milestone:
Component: Internationalization | Version:
newforms-admin
Resolution: | Keywords:
admin, verbose_name, nfa-someday i18n-nofix
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------------------+---------------
Changes (by mtredinnick):
* stage: Design decision needed => Accepted
Comment:
Design decision (after much discussion between jezdez, Russ and myself):
whenever the verbose name on a model or form field is specified, we should
not run the result through the capfirst filter. If we are auto-generating
the label string, we should be using the equivalent of capfirst.
This is not going to be entirely simple to implement, since it moves the
capfirst-ing out of the template into the form data generation, perhaps.
But it's the only backwards-incompatible, let everything be possible
solution we can find that is likely to work.
--
Ticket URL: <http://code.djangoproject.com/ticket/5518#comment:15>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.