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

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 28 Apr 2004 15:33:12 -0000


sakharuk		Wed Apr 28 11:33:12 2004 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  Changes for localization.
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.156 loncom/interface/lonparmset.pm:1.157
--- loncom/interface/lonparmset.pm:1.156	Tue Apr 27 15:11:14 2004
+++ loncom/interface/lonparmset.pm	Wed Apr 28 11:33:12 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.156 2004/04/27 19:11:14 sakharuk Exp $
+# $Id: lonparmset.pm,v 1.157 2004/04/28 15:33:12 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1676,6 +1676,13 @@
                 $onchange.' /></td><td>'.
 	    '<input type="checkbox" name="newp_setparmval" /></td></tr>';
     }
+    my %lt=&Apache::lonlocal::texthash(
+		    'par'   => 'Parameter',
+		    'val'   => 'Value',
+		    'set'   => 'Set',
+		    'sce'   => 'Set Course Environment'
+				       );
+
     my $Parameter=&mt('Parameter');
     my $Value=&mt('Value');
     my $Set=&mt('Set');
@@ -1693,10 +1700,10 @@
 $setoutput
 <p>
 <table border=2>
-<tr><th>$Parameter</th><th>$Value</th><th>$Set?</th></tr>
+<tr><th>$lt{'par'}</th><th>$lt{'val'}</th><th>$lt{'set'}?</th></tr>
 $output
 </table>
-<input type="submit" name="crsenv" value="Set Course Environment">
+<input type="submit" name="crsenv" value="$lt{'sce'}">
 </form>
 </body>
 </html>