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."""
|
"""Simple AppConfig which does not do automatic discovery."""
|
||||||
|
|
||||||
name = 'django.contrib.admin'
|
name = 'django.contrib.admin'
|
||||||
verbose_name = _("administration")
|
verbose_name = _("Administration")
|
||||||
|
|
||||||
def ready(self):
|
def ready(self):
|
||||||
checks.register('admin')(check_admin_app)
|
checks.register('admin')(check_admin_app)
|
||||||
|
|
|
@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
class AdminDocsConfig(AppConfig):
|
class AdminDocsConfig(AppConfig):
|
||||||
name = 'django.contrib.admindocs'
|
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):
|
class AuthConfig(AppConfig):
|
||||||
name = 'django.contrib.auth'
|
name = 'django.contrib.auth'
|
||||||
verbose_name = _("authentication and authorization")
|
verbose_name = _("Authentication and Authorization")
|
||||||
|
|
||||||
def ready(self):
|
def ready(self):
|
||||||
checks.register('models')(check_user_model)
|
checks.register('models')(check_user_model)
|
||||||
|
|
|
@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
class CommentsConfig(AppConfig):
|
class CommentsConfig(AppConfig):
|
||||||
name = 'django.contrib.comments'
|
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):
|
class ContentTypesConfig(AppConfig):
|
||||||
name = 'django.contrib.contenttypes'
|
name = 'django.contrib.contenttypes'
|
||||||
verbose_name = _("content types")
|
verbose_name = _("Content Types")
|
||||||
|
|
||||||
def ready(self):
|
def ready(self):
|
||||||
checks.register('models')(check_generic_foreign_keys)
|
checks.register('models')(check_generic_foreign_keys)
|
||||||
|
|
|
@ -5,4 +5,4 @@ from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
class FlatPagesConfig(AppConfig):
|
class FlatPagesConfig(AppConfig):
|
||||||
name = 'django.contrib.flatpages'
|
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):
|
class FormToolsConfig(AppConfig):
|
||||||
name = 'django.contrib.formtools'
|
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):
|
class HumanizeConfig(AppConfig):
|
||||||
name = 'django.contrib.humanize'
|
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):
|
class MessagesConfig(AppConfig):
|
||||||
name = 'django.contrib.messages'
|
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):
|
class RedirectsConfig(AppConfig):
|
||||||
name = 'django.contrib.redirects'
|
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):
|
class SessionsConfig(AppConfig):
|
||||||
name = 'django.contrib.sessions'
|
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):
|
class SiteMapsConfig(AppConfig):
|
||||||
name = 'django.contrib.sitemaps'
|
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):
|
class SitesConfig(AppConfig):
|
||||||
name = 'django.contrib.sites'
|
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):
|
class StaticFilesConfig(AppConfig):
|
||||||
name = 'django.contrib.staticfiles'
|
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):
|
class SyndicationConfig(AppConfig):
|
||||||
name = 'django.contrib.syndication'
|
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):
|
class WebDesignConfig(AppConfig):
|
||||||
name = 'django.contrib.webdesign'
|
name = 'django.contrib.webdesign'
|
||||||
verbose_name = _("web design")
|
verbose_name = _("Web Design")
|
||||||
|
|
Loading…
Reference in New Issue