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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 14 Feb 2008 18:04:10 -0000


bisitz		Thu Feb 14 13:04:10 2008 EDT

  Modified files:              
    /loncom/interface	lonsearchcat.pm 
  Log:
  Localization:
  Added missing &mt() for close buttons
  
  
Index: loncom/interface/lonsearchcat.pm
diff -u loncom/interface/lonsearchcat.pm:1.290 loncom/interface/lonsearchcat.pm:1.291
--- loncom/interface/lonsearchcat.pm:1.290	Wed Feb 13 06:20:24 2008
+++ loncom/interface/lonsearchcat.pm	Thu Feb 14 13:04:09 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Search Catalog
 #
-# $Id: lonsearchcat.pm,v 1.290 2008/02/13 11:20:24 bisitz Exp $
+# $Id: lonsearchcat.pm,v 1.291 2008/02/14 18:04:09 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -266,7 +266,7 @@
     ## Configure dynamic components of interface
     ##
     if ($env{'form.catalogmode'} eq 'interactive') {
-        $closebutton="<input type='button' name='close' value='CLOSE' ";
+        $closebutton="<input type='button' name='close' value='".&mt('CLOSE')."' ";
         if ($env{'form.phase'} =~ /(results|run_search)/) {
 	    $closebutton .="onClick='parent.close()'";
         } else {
@@ -274,7 +274,7 @@
         }
         $closebutton .=">\n";
     } elsif ($env{'form.catalogmode'} eq 'import') {
-        $closebutton="<input type='button' name='close' value='CLOSE' ";
+        $closebutton="<input type='button' name='close' value='".&mt('CLOSE')."' ";
         if ($env{'form.phase'} =~ /(results|run_search)/) {
 	    $closebutton .="onClick='parent.close()'";
         } else {