Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case

Thanks bendavis78 for the report.
This commit is contained in:
James Jenkins 2014-03-06 10:03:25 -05:00 committed by Tim Graham
parent 1232acb884
commit ec675ed6cc
16 changed files with 16 additions and 16 deletions

View File

@ -8,7 +8,7 @@ class SimpleAdminConfig(AppConfig):
"""Simple AppConfig which does not do automatic discovery."""
name = 'django.contrib.admin'
verbose_name = _("administration")
verbose_name = _("Administration")
def ready(self):
checks.register('admin')(check_admin_app)

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class AdminDocsConfig(AppConfig):
name = 'django.contrib.admindocs'
verbose_name = _("administrative documentation")
verbose_name = _("Administrative Documentation")

View File

@ -7,7 +7,7 @@ from django.utils.translation import ugettext_lazy as _
class AuthConfig(AppConfig):
name = 'django.contrib.auth'
verbose_name = _("authentication and authorization")
verbose_name = _("Authentication and Authorization")
def ready(self):
checks.register('models')(check_user_model)

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class CommentsConfig(AppConfig):
name = 'django.contrib.comments'
verbose_name = _("comments")
verbose_name = _("Comments")

View File

@ -6,7 +6,7 @@ from django.utils.translation import ugettext_lazy as _
class ContentTypesConfig(AppConfig):
name = 'django.contrib.contenttypes'
verbose_name = _("content types")
verbose_name = _("Content Types")
def ready(self):
checks.register('models')(check_generic_foreign_keys)

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class FlatPagesConfig(AppConfig):
name = 'django.contrib.flatpages'
verbose_name = _("flat pages")
verbose_name = _("Flat Pages")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class FormToolsConfig(AppConfig):
name = 'django.contrib.formtools'
verbose_name = _("form tools")
verbose_name = _("Form Tools")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class HumanizeConfig(AppConfig):
name = 'django.contrib.humanize'
verbose_name = _("humanize")
verbose_name = _("Humanize")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class MessagesConfig(AppConfig):
name = 'django.contrib.messages'
verbose_name = _("messages")
verbose_name = _("Messages")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class RedirectsConfig(AppConfig):
name = 'django.contrib.redirects'
verbose_name = _("redirects")
verbose_name = _("Redirects")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class SessionsConfig(AppConfig):
name = 'django.contrib.sessions'
verbose_name = _("sessions")
verbose_name = _("Sessions")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class SiteMapsConfig(AppConfig):
name = 'django.contrib.sitemaps'
verbose_name = _("site maps")
verbose_name = _("Site Maps")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class SitesConfig(AppConfig):
name = 'django.contrib.sites'
verbose_name = _("sites")
verbose_name = _("Sites")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class StaticFilesConfig(AppConfig):
name = 'django.contrib.staticfiles'
verbose_name = _("static files")
verbose_name = _("Static Files")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class SyndicationConfig(AppConfig):
name = 'django.contrib.syndication'
verbose_name = _("syndication")
verbose_name = _("Syndication")

View File

@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
class WebDesignConfig(AppConfig):
name = 'django.contrib.webdesign'
verbose_name = _("web design")
verbose_name = _("Web Design")