Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case
Thanks bendavis78 for the report.
This commit is contained in:
parent
1232acb884
commit
ec675ed6cc
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue