better error message for illegal password
authorivan <ivan>
Fri, 28 Jun 2002 20:31:30 +0000 (20:31 +0000)
committerivan <ivan>
Fri, 28 Jun 2002 20:31:30 +0000 (20:31 +0000)
FS/FS/svc_acct.pm
bin/populate-msgcat

index e2ac186..2bbbdcb 100644 (file)
@@ -787,7 +787,7 @@ sub check {
     $recref->{_password} = '!!';
   } else {
     #return "Illegal password";
-    return gettext('illegal_password'). "$passwordmin-$passwordmax".
+    return gettext('illegal_password'). " $passwordmin-$passwordmax ".
            FS::Msgcat::_gettext('illegal_password_characters').
            ": ". $recref->{_password};
   }
index 166f837..f8e23cf 100755 (executable)
@@ -79,7 +79,7 @@ sub messages {
       'en_US' => 'Illegal password (',
     },
 
-    'illeggal_password_characters' => {
+    'illegal_password_characters' => {
       'en_US' => ' characters)',
     },