[f22-branch 1/7] Add the text for weak passwords to constants

bcl installerbot-noreply at redhat.com
Tue Mar 17 23:09:15 UTC 2015


From: "Brian C. Lane" <bcl at redhat.com>

---
 pyanaconda/constants.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/constants.py b/pyanaconda/constants.py
index 26ed16b..46c8808 100644
--- a/pyanaconda/constants.py
+++ b/pyanaconda/constants.py
@@ -138,8 +138,10 @@
 PASSWORD_EMPTY_ERROR = N_("The password is empty.")
 PASSWORD_CONFIRM_ERROR_GUI = N_("The passwords do not match.")
 PASSWORD_CONFIRM_ERROR_TUI = N_("The passwords you entered were different.  Please try again.")
-PASSWORD_WEAK = N_("The password you have provided is weak.")
-PASSWORD_WEAK_WITH_ERROR = N_("The password you have provided is weak: %s.")
+PASSWORD_WEAK = N_("The password you have provided is weak. You will have to press Done twice to confirm it.")
+PASSWORD_WEAK_WITH_ERROR = N_("The password you have provided is weak: %s. You will have to press Done twice to confirm it.")
+PASSWORD_WEAK_CONFIRM = N_("You have provided a weak password. Press Done again to use anyway.")
+PASSWORD_WEAK_CONFIRM_WITH_ERROR = N_("You have provided a weak password: %s. Press Done again to use anyway.")
 PASSWORD_ASCII = N_("The password you have provided contains non-ASCII characters. You may not be able to switch between keyboard layouts to login. Press Done to continue.")
 
 PASSWORD_STRENGTH_DESC = [N_("Empty"), N_("Weak"), N_("Fair"), N_("Good"), N_("Strong")]


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/5c250a5706aca10aa94a109f578831619cdc3a18


More information about the anaconda-patches mailing list