Created
December 11, 2014 10:57
-
-
Save Pacodastre/611c0be2ffa03cf4b845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 90f594d8b40a2cd530ffc8350f974df141f97e5c | |
Author: Francois Ribemont <francois.ribemont@openapp.ie> | |
Date: Fri Oct 17 13:35:31 2014 +0100 | |
Typo | |
diff --git a/django_auth_policy/password_change.py b/django_auth_policy/password_change.py | |
index 4ea6597..93dd5f7 100644 | |
--- a/django_auth_policy/password_change.py | |
+++ b/django_auth_policy/password_change.py | |
@@ -45,7 +45,7 @@ class PasswordChangeExpired(PasswordChangePolicy): | |
class PasswordChangeTemporary(PasswordChangePolicy): | |
""" Enforces temporary passwords to be changed | |
""" | |
- text = _('Your must change your temporary password into a ' | |
+ text = _('You must change your temporary password into a ' | |
'personal password.') | |
def validate(self, last_pw_change): | |
diff --git a/django_auth_policy/password_strength.py b/django_auth_policy/password_strength.py | |
index 0f61573..baf9c79 100644 | |
--- a/django_auth_policy/password_strength.py | |
+++ b/django_auth_policy/password_strength.py | |
@@ -95,7 +95,7 @@ class PasswordContainsUpperCase(PasswordContains): | |
class PasswordContainsLowerCase(PasswordContains): | |
chars = 'abcdefghijklmnopqrstuvwxyz' | |
- text = _('Passwords must have at least one lowecase character.') | |
+ text = _('Passwords must have at least one lowercase character.') | |
plural_text = _('Passwords must have at least {min_count} ' | |
'lowercase characters.') | |
@@ -109,7 +109,9 @@ class PasswordContainsNumbers(PasswordContains): | |
class PasswordContainsSymbols(PasswordContains): | |
chars = '!@#$%^&*()_+-={}[]:;"\'|\\,.<>?/~` ' | |
- text = _('Passwords must have at least one special character (punctuation).') | |
+ text = _( | |
+ 'Passwords must have at least one special character (punctuation).' | |
+ ) | |
plural_text = _('Passwords must have at least {min_count} special ' | |
'characters (punctuation).') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment