From: ivan Date: Fri, 28 Jun 2002 20:31:30 +0000 (+0000) Subject: better error message for illegal password X-Git-Tag: freeside_1_4_0_beta1~44 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=87efb86d904887f9ee48dcf77fb1470d4c23a87f better error message for illegal password --- diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm index e2ac18639..2bbbdcbb7 100644 --- a/FS/FS/svc_acct.pm +++ b/FS/FS/svc_acct.pm @@ -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}; } diff --git a/bin/populate-msgcat b/bin/populate-msgcat index 166f83720..f8e23cfa0 100755 --- a/bin/populate-msgcat +++ b/bin/populate-msgcat @@ -79,7 +79,7 @@ sub messages { 'en_US' => 'Illegal password (', }, - 'illeggal_password_characters' => { + 'illegal_password_characters' => { 'en_US' => ' characters)', },