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

bisitz bisitz at source.lon-capa.org
Tue May 22 07:18:26 EDT 2012


bisitz		Tue May 22 11:18:26 2012 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  Internationalization of lonmenu.pm 1.371
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.372 loncom/interface/lonmenu.pm:1.373
--- loncom/interface/lonmenu.pm:1.372	Mon May 21 16:24:14 2012
+++ loncom/interface/lonmenu.pm	Tue May 22 11:18:26 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.372 2012/05/21 16:24:14 raeburn Exp $
+# $Id: lonmenu.pm,v 1.373 2012/05/22 11:18:26 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -236,7 +236,7 @@
                 $numsub = @{$primary_submenu{$title}};
                 if ($numsub) {
                     $title =
-                        '<span class="LC_nobreak">'.$title.
+                        '<span class="LC_nobreak">'.&mt($title).
                         '<span class="LC_fontsize_small">'.
                         '▼</span></span>';
                 }
@@ -264,7 +264,7 @@
                         $menu .= '<li style="margin:0;padding:0">'.
                                  '<a href="'.$item->[0].
                                  '" style="padding:0 0 0 10px">'.
-                                 $item->[1].'</a></li>';
+                                 &mt($item->[1]).'</a></li>';
                     }
                 }
                 $menu .= '</ul>';




More information about the LON-CAPA-cvs mailing list