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

raeburn raeburn at source.lon-capa.org
Sat Mar 6 08:40:33 EST 2021


raeburn		Sat Mar  6 13:40:33 2021 EDT

  Modified files:              
    /loncom/interface	lonmenu.pm 
  Log:
  - Missing &mt() for localization.
  
  
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.504 loncom/interface/lonmenu.pm:1.505
--- loncom/interface/lonmenu.pm:1.504	Sat Jan  2 21:07:36 2021
+++ loncom/interface/lonmenu.pm	Sat Mar  6 13:40:33 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines to control the menu
 #
-# $Id: lonmenu.pm,v 1.504 2021/01/02 21:07:36 raeburn Exp $
+# $Id: lonmenu.pm,v 1.505 2021/03/06 13:40:33 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -574,7 +574,7 @@
                     }
                 }
                 if (@scndsub > 0) {
-                    $menu .= &create_submenu($link,$target,$title,\@scndsub,1);
+                    $menu .= &create_submenu($link,$target,&mt($title),\@scndsub,1);
                 } elsif ($link ne '#') {
                     $menu .= '<li><a href="'.$link.'" target="'.$target.'">'.&mt($title).'</a></li>';
                 }




More information about the LON-CAPA-cvs mailing list