#5518: [newform-admin] - capitalized verbose names for models
-----------------------------------------------------+----------------------
Reporter: Petr Marhoun <[EMAIL PROTECTED]> | Owner: nobody
Status: reopened | Component:
Internationalization
Version: newforms-admin | Resolution:
Keywords: admin, verbose_name | Stage:
Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-----------------------------------------------------+----------------------
Comment (by mir):
Replying to [comment:6 Christopher Lenz <[EMAIL PROTECTED]>]:
> If I understand this patch correctly, this would break languages where
nouns are capitalized even inside sentences, such as German.
Yes. And I doubt that every language uses capitalization in field labels.
A clean solution might require:
* verbose names be always the "raw" forms, e.g. for English lower case,
for German dependant on the category (nouns are upper case)
* a filter tag {{{label}}} that converts the raw form into the label
form. For the languages I know, this is the same as firstcap.
--
Ticket URL: <http://code.djangoproject.com/ticket/5518#comment:7>
Django Code <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
-~----------~----~----~----~------~----~------~--~---