[LON-CAPA-cvs] cvs: loncom /interface loncreateuser.pm /localize/localize de.pm zh.pm

bisitz bisitz@source.lon-capa.org
Tue, 17 Feb 2009 16:53:42 -0000


bisitz		Tue Feb 17 16:53:42 2009 EDT

  Modified files:              
    /loncom/interface	loncreateuser.pm 
    /loncom/localize/localize	de.pm zh.pm 
  Log:
  - "&mt(" instead of "&mt ("
  - Include full stop in error text for invalid names
  
  
Index: loncom/interface/loncreateuser.pm
diff -u loncom/interface/loncreateuser.pm:1.280 loncom/interface/loncreateuser.pm:1.281
--- loncom/interface/loncreateuser.pm:1.280	Mon Feb  9 04:11:11 2009
+++ loncom/interface/loncreateuser.pm	Tue Feb 17 16:53:37 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Create a user
 #
-# $Id: loncreateuser.pm,v 1.280 2009/02/09 04:11:11 raeburn Exp $
+# $Id: loncreateuser.pm,v 1.281 2009/02/17 16:53:37 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1713,8 +1713,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;
     }
@@ -1724,8 +1724,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;
     }
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.222 loncom/localize/localize/de.pm:1.223
--- loncom/localize/localize/de.pm:1.222	Tue Feb 17 11:47:19 2009
+++ loncom/localize/localize/de.pm	Tue Feb 17 16:53:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.222 2009/02/17 11:47:19 weissno Exp $
+# $Id: de.pm,v 1.223 2009/02/17 16:53:41 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9754,10 +9754,10 @@
    'No login name specified'
 => 'Kein Loginname angegeben',
 
-   'Invalid login name'
-=> 'Ungültiger Loginname',
+   'Invalid login name.'
+=> 'Ungültiger Loginname.',
 
-   'Only letters, numbers, periods, dashes, @, and underscores are valid'
+   'Only letters, numbers, periods, dashes, @, and underscores are valid.'
 => 'Es sind nur erlaubt: Buchstaben, Ziffern, ".", "@", ,"-", "_"',
 
    'For this user, the default quota would be [_1] Mb.'
@@ -15808,7 +15808,7 @@
    'Invalid domain name'
 => 'Ungültiger Domänenname',
 
-   'Only letters, numbers, periods, dashes, and underscores are valid'
+   'Only letters, numbers, periods, dashes, and underscores are valid.'
 => 'Es sind nur erlaubt: Buchstaben, Ziffern, ".", "-", "_"',
 
    'You do not have the authority to modify this users authentification information'
@@ -16190,8 +16190,8 @@
    'Selecting an Author'
 => 'Auswahl eines Autors',
 
-   'Invalid domain'
-=> 'Ungültige Domäne',
+   'Invalid domain.'
+=> 'Ungültige Domäne.',
 
    'There are no library servers containing Construction spaces currently in domain: [_1], so you can not assume a co-author role.'
 => 'In der Domäne [_1] existieren keine Library-Server mit Konstruktionsbereichen. Somit können Sie auch keine Co-Autoren-Rolle annehmen.',
Index: loncom/localize/localize/zh.pm
diff -u loncom/localize/localize/zh.pm:1.15 loncom/localize/localize/zh.pm:1.16
--- loncom/localize/localize/zh.pm:1.15	Mon Feb 16 16:35:31 2009
+++ loncom/localize/localize/zh.pm	Tue Feb 17 16:53:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Chinese Simplified Localization Lexicon
 #
-# $Id: zh.pm,v 1.15 2009/02/16 16:35:31 bisitz Exp $
+# $Id: zh.pm,v 1.16 2009/02/17 16:53:41 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9838,10 +9838,10 @@
    'No login name specified'
 => 'Kein Loginname angegeben',
 
-   'Invalid login name'
-=> 'Ungültiger Loginname',
+   'Invalid login name.'
+=> 'Ungültiger Loginname.',
 
-   'Only letters, numbers, periods, dashes, @, and underscores are valid'
+   'Only letters, numbers, periods, dashes, @, and underscores are valid.'
 => 'Es sind nur erlaubt: Buchstaben, Ziffern, ".", "@", ,"-", "_"',
 
    'For this user, the default quota would be [_1] Mb.'
@@ -15843,10 +15843,10 @@
    'No domain specified'
 => 'Keine Domäne spezifiziert',
 
-   'Invalid domain name'
-=> 'Ungültiger Domänenname',
+   'Invalid domain name.'
+=> 'Ungültiger Domänenname.',
 
-   'Only letters, numbers, periods, dashes, and underscores are valid'
+   'Only letters, numbers, periods, dashes, and underscores are valid.'
 => 'Es sind nur erlaubt: Buchstaben, Ziffern, ".", "-", "_"',
 
    'You do not have the authority to modify this users authentification information'