On Mon, Mar 10, 2014 at 4:23 AM, Aymeric Augustin <
[email protected]> wrote:

> Hello,
>
> https://code.djangoproject.com/ticket/22070 reported an inconsistency in
> the capitalization of application verbose names. It was most visible in the
> admin index page. In order to fix this bug, application names were
> capitalized. The alternative was to pass application names through capfirst
> like model names.
>
> AppConfig.verbose_name is intended to mirror
> Model._meta.verbose_name/verbose_name_plural. The latter are expected to be
> lower-case:
> https://docs.djangoproject.com/en/dev/ref/models/options/#verbose-name.
> That makes it easier to use them in sentences such as "Delete selected
> %(verbose_name_plural)s".
>
> Can the same argument be applied to application names? In theory, maybe,
> and that's why I was surprised by the fix for #22070. In practice there's
> usually a single instance of each application in a Django project. From
> that perspective application names can be treated like proper nouns and
> should be capitalized.
>
> This question matters because it isn't possible to capitalize or
> lower-case correctly in general. I'd like to avoid changing the API after
> the beta.
>
> I'm now thinking that it's acceptable to keep capitalized application
> names and live with the inconsistency. However, if I have missed an
> argument in favor of lower case names, let me know.
>

I agree it's an inconsistency, but I think it's an inconsistency that makes
sense in light of the "proper noun" observation that you've made. I can't
think of any example where you'd refer to an application in the plural - to
my mind, it's a standalone product that is by its very nature limited to
cardinality 1 in any Django context. Autocapitalization is essentially
impossible to get right, and the most common usage of the app name is as a
label in the admin; on the flip side, I can't see any reason why the
lowercase admin name is desirable.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" 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].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAJxq84_26dRsmjxDnYq5dHWQW5ROo6qMWR15G8%2Brggw2mie9cA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to