[LON-CAPA-cvs] cvs: loncom /interface lonrequestcourse.pm /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Sat Mar 6 08:44:52 EST 2021


raeburn		Sat Mar  6 13:44:52 2021 EDT

  Modified files:              
    /loncom/interface	lonrequestcourse.pm 
  Log:
  - Some missing localizations call added.
  
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.109 loncom/interface/lonrequestcourse.pm:1.110
--- loncom/interface/lonrequestcourse.pm:1.109	Wed Jul  1 20:08:54 2020
+++ loncom/interface/lonrequestcourse.pm	Sat Mar  6 13:44:51 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Request a course
 #
-# $Id: lonrequestcourse.pm,v 1.109 2020/07/01 20:08:54 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.110 2021/03/06 13:44:51 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2427,7 +2427,7 @@
                       &Apache::loncommon::start_data_table_row().
                       '<td>'.$history{details}{'cdescr'}.'</td><td>'.
                       &Apache::lonlocal::locallocaltime($timestamp).'</td>'.
-                      '<td>'.$showtype.'</td>'.
+                      '<td>'.&mt($showtype).'</td>'.
                       &Apache::loncommon::end_data_table_row().
                       &Apache::loncommon::end_data_table().
                       '<br /><div class="LC_warning">';
@@ -2781,7 +2781,7 @@
                         $typename = $typenames->{$crstype};
                     }
                 }
-                $output .= '<option value="'.$crstype.'"'.$selstr.'>'.$typename.'</option>'."\n";
+                $output .= '<option value="'.$crstype.'"'.$selstr.'>'.&mt($typename).'</option>'."\n";
             }
             $output .= '</select></td>';
         }


More information about the LON-CAPA-cvs mailing list