[LON-CAPA-cvs] cvs: loncom /interface slotrequest.pm

bisitz bisitz@source.lon-capa.org
Mon, 02 Feb 2009 18:20:16 -0000


bisitz		Mon Feb  2 18:20:16 2009 EDT

  Modified files:              
    /loncom/interface	slotrequest.pm 
  Log:
  Optimized &mt() call related to change in slotrequest.pm 1.87
  - Don't concatenate translations ("Change")
  - Corrected 2. (now 3.) parameter (missing "_")
  - Excluded paragraph closure from mt call
  
  
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.87 loncom/interface/slotrequest.pm:1.88
--- loncom/interface/slotrequest.pm:1.87	Mon Feb  2 02:56:12 2009
+++ loncom/interface/slotrequest.pm	Mon Feb  2 18:20:15 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for requesting to have slots added to a students record
 #
-# $Id: slotrequest.pm,v 1.87 2009/02/02 02:56:12 raeburn Exp $
+# $Id: slotrequest.pm,v 1.88 2009/02/02 18:20:15 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -606,7 +606,14 @@
    <input type="hidden" name="releaseslot" value="$slot_name" />
    <input type="hidden" name="command" value="change" />
 STUFF
-            $r->print('<p>'.&mt('You can either [_1] your reservation from [2] to [_3] or [_4]','<input type="submit" name="change" value="'.&mt('Change').'" />','<b>'.$description1.'</b>','<b>'.$description2.'</b><br />','</p>'));
+            $r->print('<p>'
+                     .&mt('You can either [_1]Change[_2] your reservation from [_3] to [_4] or'
+                         ,'<input type="submit" name="change" value="'
+                         ,'" />'
+                         ,'<b>'.$description1.'</b>'
+                         ,'<b>'.$description2.'</b>')
+                     .'<br /></p>'
+            );
 	    &return_link($r);
 	    $r->print(<<STUFF);
 </form>