[LON-CAPA-cvs] cvs: loncom /homework optionresponse.pm

raeburn raeburn@source.lon-capa.org
Wed, 10 Dec 2008 21:48:21 -0000


raeburn		Wed Dec 10 21:48:21 2008 EDT

  Modified files:              
    /loncom/homework	optionresponse.pm 
  Log:
  - Avoid &mt(&mt()).
    - No need to &mt() the array items to be displayed as text -- edit::select_arg() does this anyway.
  
  
Index: loncom/homework/optionresponse.pm
diff -u loncom/homework/optionresponse.pm:1.156 loncom/homework/optionresponse.pm:1.157
--- loncom/homework/optionresponse.pm:1.156	Thu Nov 20 15:19:15 2008
+++ loncom/homework/optionresponse.pm	Wed Dec 10 21:48:21 2008
@@ -1,7 +1,7 @@
 # LearningOnline Network with CAPA
 # option list style responses
 #
-# $Id: optionresponse.pm,v 1.156 2008/11/20 15:19:15 jms Exp $
+# $Id: optionresponse.pm,v 1.157 2008/12/10 21:48:21 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -65,8 +65,8 @@
         &Apache::edit::select_arg('Randomize Foil Order:','randomize',
 				  ['yes','no'],$token).
         &Apache::edit::select_arg(&mt('Display of options when printed'),'TeXlayout',
-				  [['horizontal',&mt('Normal list')],
-				   ['vertical',&mt('Listed in a vertical column')]],$token).
+				  [['horizontal','Normal list'],
+				   ['vertical','Listed in a vertical column']],$token).
         &Apache::edit::end_row().&Apache::edit::start_spanning_row();
   } elsif ($target eq 'modified') {
     my $constructtag=&Apache::edit::get_new_args($token,$parstack,
@@ -841,4 +841,4 @@
 
 =back
 
-=cut
\ No newline at end of file
+=cut