mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
This commit is contained in:
committed by
Mariusz Felisiak
parent
2b03e8e9e8
commit
42b9a23267
@@ -178,7 +178,7 @@ class UserAttributeSimilarityValidatorTest(TestCase):
|
||||
def test_help_text(self):
|
||||
self.assertEqual(
|
||||
UserAttributeSimilarityValidator().get_help_text(),
|
||||
"Your password can't be too similar to your other personal information."
|
||||
'Your password can’t be too similar to your other personal information.'
|
||||
)
|
||||
|
||||
|
||||
@@ -210,7 +210,7 @@ class CommonPasswordValidatorTest(SimpleTestCase):
|
||||
def test_help_text(self):
|
||||
self.assertEqual(
|
||||
CommonPasswordValidator().get_help_text(),
|
||||
"Your password can't be a commonly used password."
|
||||
'Your password can’t be a commonly used password.'
|
||||
)
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ class NumericPasswordValidatorTest(SimpleTestCase):
|
||||
def test_help_text(self):
|
||||
self.assertEqual(
|
||||
NumericPasswordValidator().get_help_text(),
|
||||
"Your password can't be entirely numeric."
|
||||
'Your password can’t be entirely numeric.'
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user