From ec675ed6ccd1ad80e289dc01275e225552c489a3 Mon Sep 17 00:00:00 2001 From: James Jenkins <2.8litre@gmail.com> Date: Thu, 6 Mar 2014 10:03:25 -0500 Subject: [PATCH] Fixed #22070 -- Changed verbose_name for apps in django.contrib to use title case Thanks bendavis78 for the report. --- django/contrib/admin/apps.py | 2 +- django/contrib/admindocs/apps.py | 2 +- django/contrib/auth/apps.py | 2 +- django/contrib/comments/apps.py | 2 +- django/contrib/contenttypes/apps.py | 2 +- django/contrib/flatpages/apps.py | 2 +- django/contrib/formtools/apps.py | 2 +- django/contrib/humanize/apps.py | 2 +- django/contrib/messages/apps.py | 2 +- django/contrib/redirects/apps.py | 2 +- django/contrib/sessions/apps.py | 2 +- django/contrib/sitemaps/apps.py | 2 +- django/contrib/sites/apps.py | 2 +- django/contrib/staticfiles/apps.py | 2 +- django/contrib/syndication/apps.py | 2 +- django/contrib/webdesign/apps.py | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/django/contrib/admin/apps.py b/django/contrib/admin/apps.py index 93dab8a787..a1f4042998 100644 --- a/django/contrib/admin/apps.py +++ b/django/contrib/admin/apps.py @@ -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) diff --git a/django/contrib/admindocs/apps.py b/django/contrib/admindocs/apps.py index ddc23051f4..7994f618cd 100644 --- a/django/contrib/admindocs/apps.py +++ b/django/contrib/admindocs/apps.py @@ -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") diff --git a/django/contrib/auth/apps.py b/django/contrib/auth/apps.py index a0389acabe..f0e169c23c 100644 --- a/django/contrib/auth/apps.py +++ b/django/contrib/auth/apps.py @@ -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) diff --git a/django/contrib/comments/apps.py b/django/contrib/comments/apps.py index d6164dd697..295329b42c 100644 --- a/django/contrib/comments/apps.py +++ b/django/contrib/comments/apps.py @@ -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") diff --git a/django/contrib/contenttypes/apps.py b/django/contrib/contenttypes/apps.py index 4e515d8a00..fbe4fccfa6 100644 --- a/django/contrib/contenttypes/apps.py +++ b/django/contrib/contenttypes/apps.py @@ -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) diff --git a/django/contrib/flatpages/apps.py b/django/contrib/flatpages/apps.py index 67be36ebc5..c35bebf721 100644 --- a/django/contrib/flatpages/apps.py +++ b/django/contrib/flatpages/apps.py @@ -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") diff --git a/django/contrib/formtools/apps.py b/django/contrib/formtools/apps.py index 335b685bad..9b76766d1a 100644 --- a/django/contrib/formtools/apps.py +++ b/django/contrib/formtools/apps.py @@ -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") diff --git a/django/contrib/humanize/apps.py b/django/contrib/humanize/apps.py index e52a5aa044..67b3012175 100644 --- a/django/contrib/humanize/apps.py +++ b/django/contrib/humanize/apps.py @@ -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") diff --git a/django/contrib/messages/apps.py b/django/contrib/messages/apps.py index f8b07e9cb6..1a9189383e 100644 --- a/django/contrib/messages/apps.py +++ b/django/contrib/messages/apps.py @@ -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") diff --git a/django/contrib/redirects/apps.py b/django/contrib/redirects/apps.py index b4f8c168d8..247d8b5177 100644 --- a/django/contrib/redirects/apps.py +++ b/django/contrib/redirects/apps.py @@ -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") diff --git a/django/contrib/sessions/apps.py b/django/contrib/sessions/apps.py index 8b5093e7c9..78110a477d 100644 --- a/django/contrib/sessions/apps.py +++ b/django/contrib/sessions/apps.py @@ -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") diff --git a/django/contrib/sitemaps/apps.py b/django/contrib/sitemaps/apps.py index 8237f0f188..3749b5a759 100644 --- a/django/contrib/sitemaps/apps.py +++ b/django/contrib/sitemaps/apps.py @@ -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") diff --git a/django/contrib/sites/apps.py b/django/contrib/sites/apps.py index ea81102da0..91f0936020 100644 --- a/django/contrib/sites/apps.py +++ b/django/contrib/sites/apps.py @@ -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") diff --git a/django/contrib/staticfiles/apps.py b/django/contrib/staticfiles/apps.py index abb99c3cea..ae69667b7b 100644 --- a/django/contrib/staticfiles/apps.py +++ b/django/contrib/staticfiles/apps.py @@ -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") diff --git a/django/contrib/syndication/apps.py b/django/contrib/syndication/apps.py index a63adb3e1b..8a34fe18f8 100644 --- a/django/contrib/syndication/apps.py +++ b/django/contrib/syndication/apps.py @@ -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") diff --git a/django/contrib/webdesign/apps.py b/django/contrib/webdesign/apps.py index 87047edaf0..b78e801795 100644 --- a/django/contrib/webdesign/apps.py +++ b/django/contrib/webdesign/apps.py @@ -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")