diff options
author | Bin Li <libin.charles@gmail.com> | 2010-05-31 21:28:20 +0200 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2010-07-28 15:13:16 +0100 |
commit | 523c61a46f16d766940191e8e882900e87b3c6ab (patch) | |
tree | ac967f10603b435997d76a40a2d659bc5fbdf341 | |
parent | 432765f8845aa3ff1cf83ebd4340d94a06f8cc7c (diff) | |
download | gnome-control-center-523c61a46f16d766940191e8e882900e87b3c6ab.tar.gz |
Catch yet another new error message from passwd
Also deal with "it is too simplistic/systematic". Closes bug
-rw-r--r-- | 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 e951b122a..f683be287 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 || |