[PATCH 3/6] Make alias length error message to be 4->6 letters.

Junichi Uekawa dancer at netfort.gr.jp
Mon Jun 22 14:22:36 UTC 2009


displayed content is wrong: it's at least 6 letters long, and it's said elsewhere.
---
 trunk/ddtss-cgi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/trunk/ddtss-cgi b/trunk/ddtss-cgi
index dba4738..e75a1b8 100755
--- a/trunk/ddtss-cgi
+++ b/trunk/ddtss-cgi
@@ -1259,7 +1259,7 @@ sub display_createlogin
     if( $email !~ /^[A-Z0-9._+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i )
     { display_error( "Dodgy email address, try again" ) }
     if( $alias !~ /^\w{6,}$/ )
-    { display_error( "Aliases are numbers, letters and underscore and at least 4 letters long, thanks" ) }
+    { display_error( "Aliases are numbers, letters and underscore and at least 6 letters long, thanks" ) }
     if( $realname !~ /^[\w ']{4,}$/ )
     { display_error( "Real names consist of alphanumeric characters, spaces and quotes and are at least 6 letter long, thanks" ) }
     if( $q->param("password1") ne $q->param("password2") )
-- 
1.6.3.1


--Multipart_Tue_Jun_23_08:32:41_2009-1
Content-Type: application/octet-stream; type=patch
Content-Disposition: attachment;
 filename="0004-The-condition-triggers-on-4-letters-instead-of-6.patch"
Content-Transfer-Encoding: 7bit



More information about the Debian-l10n-devel mailing list