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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 21 Aug 2008 10:48:37 -0000


bisitz		Thu Aug 21 06:48:37 2008 EDT

  Modified files:              
    /loncom/interface	lonhtmlcommon.pm 
  Log:
  Localization:
  Added missing &mt() call to "Edit Math" button text
  
  
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.177 loncom/interface/lonhtmlcommon.pm:1.178
--- loncom/interface/lonhtmlcommon.pm:1.177	Mon Jul 28 01:25:59 2008
+++ loncom/interface/lonhtmlcommon.pm	Thu Aug 21 06:48:37 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.177 2008/07/28 05:25:59 raeburn Exp $
+# $Id: lonhtmlcommon.pm,v 1.178 2008/08/21 10:48:37 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -84,8 +84,9 @@
     if ($helpicon) {
         $help_text = &Apache::loncommon::help_open_topic('Authoring_Math_Editor');
     }
+    my $buttontext=&mt('Edit Math');
     return <<ENDDRAGMATH;
-                <input type="button" value="Edit Math", onclick="javascript:mathedit('$textarea',document)" />$help_text
+                <input type="button" value="$buttontext", onclick="javascript:mathedit('$textarea',document)" />$help_text
 ENDDRAGMATH
 }