aboutsummaryrefslogtreecommitdiffstats
path: root/userdrake
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-07-17 10:33:01 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-07-17 10:33:01 +0000
commit29e42652820aa78bf9605e7d972ff8ef34d78564 (patch)
treec1001df79b3ad47a1d2f18065c8e2b85fae21228 /userdrake
parent658ebd25ee321318bae6db26bc81a11916eae4df (diff)
downloaduserdrake-29e42652820aa78bf9605e7d972ff8ef34d78564.tar
userdrake-29e42652820aa78bf9605e7d972ff8ef34d78564.tar.gz
userdrake-29e42652820aa78bf9605e7d972ff8ef34d78564.tar.bz2
userdrake-29e42652820aa78bf9605e7d972ff8ef34d78564.tar.xz
userdrake-29e42652820aa78bf9605e7d972ff8ef34d78564.zip
fixed English typo (caracters -> characters)
Diffstat (limited to 'userdrake')
-rwxr-xr-xuserdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/userdrake b/userdrake
index 7515ee7..106f58e 100755
--- a/userdrake
+++ b/userdrake
@@ -222,7 +222,7 @@ sub AddUser {
if ($nm) { RaiseError(N("User already exists, please choose another User Name")); $us->{o}->{login}->set_text('') };
$u{passwd} = $us->{o}->{passwd}->get_text();
if ($u{passwd} ne $us->{o}->{confpasswd}->get_text()) { RaiseError(N("Password Mismatch")) };
- if ($sec{SECURE_LEVEL} > 3 && length($u{passwd}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 caracters")) };
+ if ($sec{SECURE_LEVEL} > 3 && length($u{passwd}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 characters")) };
!$error and my $userEnt = $ctx->InitUser($u{username}, $is_system);
if ($us->{o}->{createhomedir}->get_active) {
$dontcreatehomedir = 0;
@@ -633,7 +633,7 @@ sub Edit {
if ($u{pw} ne $u{confm}) {
RaiseError(N("Password Mismatch"));
} elsif (($u{pw} eq $u{confm}) && $u{pw} ne ' ') {
- if ($sec{SECURE_LEVEL} > 3 && length($u{pw}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 caracters")) }
+ if ($sec{SECURE_LEVEL} > 3 && length($u{pw}) < 6) { RaiseError(N("This password is too simple. \n Good passwords should be > 6 characters")) }
!$error and $ctx->UserSetPass($userEnt, $u{pw});
}
if (!$error) {