summaryrefslogtreecommitdiff
path: root/django/contrib/admin/widgets.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-09-25 07:30:18 -0700
committerTim Graham <timograham@gmail.com>2018-09-25 10:30:18 -0400
commit8c3e0eb1c16abbcded3503b4ea3473b353520f61 (patch)
tree1536a0599e8cbae25b3079d27571593fcb59613f /django/contrib/admin/widgets.py
parentabeed587b119197270a885830619694b2c5ba1f1 (diff)
Normalized spelling of "lowercase" and "lowercased".
Diffstat (limited to 'django/contrib/admin/widgets.py')
-rw-r--r--django/contrib/admin/widgets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py
index c5cde4b14d..9385104d59 100644
--- a/django/contrib/admin/widgets.py
+++ b/django/contrib/admin/widgets.py
@@ -356,8 +356,8 @@ class AdminUUIDInputWidget(forms.TextInput):
super().__init__(attrs={'class': 'vUUIDField', **(attrs or {})})
-# Mapping of lower case language codes [returned by Django's get_language()]
-# to language codes supported by select2.
+# Mapping of lowercase language codes [returned by Django's get_language()] to
+# language codes supported by select2.
# See django/contrib/admin/static/admin/js/vendor/select2/i18n/*
SELECT2_TRANSLATIONS = {x.lower(): x for x in [
'ar', 'az', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en', 'es', 'et',