[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface loncreateuser.pm

raeburn raeburn@source.lon-capa.org
Wed, 18 Mar 2009 15:18:49 -0000


raeburn		Wed Mar 18 15:18:49 2009 EDT

  Modified files:              (Branch: version_2_8_X)
    /loncom/interface	loncreateuser.pm 
  Log:
  - Backport 1.281.
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.268.2.5 loncom/interface/loncreateuser.pm:1.268.2.6
--- loncom/interface/loncreateuser.pm:1.268.2.5	Mon Jan  5 17:13:11 2009
+++ loncom/interface/loncreateuser.pm	Wed Mar 18 15:18:49 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.268.2.5 2009/01/05 17:13:11 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.268.2.6 2009/03/18 15:18:49 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1687,8 +1687,8 @@
     }
     if (  $env{'form.ccuname'} ne 
 	  &LONCAPA::clean_username($env{'form.ccuname'}) ) {
-	$r->print($error.&mt('Invalid login name').'.  '.
-		  &mt('Only letters, numbers, periods, dashes, @, and underscores are valid').'.'.
+	$r->print($error.&mt('Invalid login name.').'  '.
+		  &mt('Only letters, numbers, periods, dashes, @, and underscores are valid.').
 		  $end.$rtnlink);
 	return;
     }
@@ -1698,8 +1698,8 @@
     }
     if (  $env{'form.ccdomain'} ne
 	  &LONCAPA::clean_domain($env{'form.ccdomain'}) ) {
-	$r->print($error.&mt ('Invalid domain name').'.  '.
-		  &mt('Only letters, numbers, periods, dashes, and underscores are valid').'.'.
+	$r->print($error.&mt ('Invalid domain name.').'  '.
+		  &mt('Only letters, numbers, periods, dashes, and underscores are valid.').
 		  $end.$rtnlink);
 	return;
     }