[gnome-control-center/gnome-2-32: 5/7] Catch yet another new error message from passwd
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-2-32: 5/7] Catch yet another new error message from passwd
- Date: Thu, 29 Jul 2010 10:12:05 +0000 (UTC)
commit 523c61a46f16d766940191e8e882900e87b3c6ab
Author: Bin Li <libin charles gmail com>
Date: Mon May 31 21:28:20 2010 +0200
Catch yet another new error message from passwd
Also deal with "it is too simplistic/systematic". Closes bug
capplets/about-me/gnome-about-me-password.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/capplets/about-me/gnome-about-me-password.c b/capplets/about-me/gnome-about-me-password.c
index e951b12..f683be2 100644
--- a/capplets/about-me/gnome-about-me-password.c
+++ b/capplets/about-me/gnome-about-me-password.c
@@ -504,7 +504,7 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog *pdi
"longer",
"palindrome",
"dictionary",
- "simple",
+ "simpl", /* catches both simple and simplistic */
"similar",
"different",
"case",
@@ -539,7 +539,7 @@ io_watch_stdout (GIOChannel *source, GIOCondition condition, PasswordDialog *pdi
g_strrstr (str->str, "longer") != NULL) {
msg = g_strdup (_("The password is too short."));
} else if (g_strrstr (str->str, "palindrome") != NULL ||
- g_strrstr (str->str, "simple") != NULL ||
+ g_strrstr (str->str, "simpl") != NULL ||
g_strrstr (str->str, "dictionary") != NULL) {
msg = g_strdup (_("The password is too simple."));
} else if (g_strrstr (str->str, "similar") != NULL ||
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]