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

sakharuk lon-capa-cvs@mail.lon-capa.org
Thu, 04 Dec 2003 21:44:21 -0000


sakharuk		Thu Dec  4 16:44:21 2003 EDT

  Modified files:              
    /loncom/interface	lonprintout.pm 
  Log:
  Localization of module is almost done.
  
  
Index: loncom/interface/lonprintout.pm
diff -u loncom/interface/lonprintout.pm:1.265 loncom/interface/lonprintout.pm:1.266
--- loncom/interface/lonprintout.pm:1.265	Tue Nov 11 14:32:22 2003
+++ loncom/interface/lonprintout.pm	Thu Dec  4 16:44:21 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Printout
 #
-# $Id: lonprintout.pm,v 1.265 2003/11/11 19:32:22 sakharuk Exp $
+# $Id: lonprintout.pm,v 1.266 2003/12/04 21:44:21 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1641,6 +1641,7 @@
 no strict;
 @ISA = ("Apache::lonhelper::element");
 use strict;
+use Apache::lonlocal;
 
 my $maxColumns = 2;
 my @paperSize = ("Letter [8 1/2x11 in]", "Legal [8 1/2x14 in]", 
@@ -1668,15 +1669,17 @@
     my $helper = Apache::lonhelper::getHelper();
     my $result = '';
     my $var = $self->{'variable'};
-
+    my $PageLayout=&mt('Page layout');
+    my $NumberOfColumns=&mt('Number of columns');
+    my $PaperType=&mt('Paper type');
     $result .= <<STATEHTML;
 
 <hr width="33%" />
 <table cellpadding="3">
   <tr>
-    <td align="center"><b>Page layout</b></td>
-    <td align="center"><b>Number of columns</b></td>
-    <td align="center"><b>Paper type</b></td>
+    <td align="center"><b>$PageLayout</b></td>
+    <td align="center"><b>$NumberOfColumns</b></td>
+    <td align="center"><b>$PaperType</b></td>
   </tr>
   <tr>
     <td>