diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2019-06-27 09:39:47 -0700 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-06-28 16:46:18 +0200 |
| commit | 42b9a23267f14be39b9b00958e18d5746783208e (patch) | |
| tree | f19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /django/contrib/auth/password_validation.py | |
| parent | 2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff) | |
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'django/contrib/auth/password_validation.py')
| -rw-r--r-- | django/contrib/auth/password_validation.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/django/contrib/auth/password_validation.py b/django/contrib/auth/password_validation.py index 59fd726f9f..845f4d86d5 100644 --- a/django/contrib/auth/password_validation.py +++ b/django/contrib/auth/password_validation.py @@ -154,7 +154,7 @@ class UserAttributeSimilarityValidator: ) def get_help_text(self): - return _("Your password can't be too similar to your other personal information.") + return _('Your password can’t be too similar to your other personal information.') class CommonPasswordValidator: @@ -185,7 +185,7 @@ class CommonPasswordValidator: ) def get_help_text(self): - return _("Your password can't be a commonly used password.") + return _('Your password can’t be a commonly used password.') class NumericPasswordValidator: @@ -200,4 +200,4 @@ class NumericPasswordValidator: ) def get_help_text(self): - return _("Your password can't be entirely numeric.") + return _('Your password can’t be entirely numeric.') |
