[gnome-system-tools: 3/3] Fix string about password length



commit 22f22826fc73fecd86d3e034bd038c6927ec6c88
Author: Milan Bouchet-Valat <nalimilan club fr>
Date:   Mon Apr 5 12:32:01 2010 +0200

    Fix string about password length
    
    !(len < 6) means that password must be "longer than 5 chars", not 6.

 src/users/user-password.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/users/user-password.c b/src/users/user-password.c
index 11de826..4d417e0 100644
--- a/src/users/user-password.c
+++ b/src/users/user-password.c
@@ -95,7 +95,7 @@ check_password (OobsUser *user)
 	}
 	else if (len < 6) {
 		primary_text = _("Password is too short");
-		secondary_text = _("User passwords must be longer than 6 characters and preferably "
+		secondary_text = _("User passwords must be longer than 5 characters and preferably "
 		                   "formed by numbers, letters and special characters.");
 	} else if (strcmp (password, confirmation) != 0) {
 		primary_text = _("Password confirmation is not correct");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]