[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonrequestcourse.pm

raeburn raeburn at source.lon-capa.org
Sat Mar 6 18:08:03 EST 2021


raeburn		Sat Mar  6 23:08:03 2021 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	lonrequestcourse.pm 
  Log:
  - For 2.11
    Backport 1.110
  
  
Index: loncom/interface/lonrequestcourse.pm
diff -u loncom/interface/lonrequestcourse.pm:1.95.2.5 loncom/interface/lonrequestcourse.pm:1.95.2.6
--- loncom/interface/lonrequestcourse.pm:1.95.2.5	Wed Feb 12 22:16:25 2020
+++ loncom/interface/lonrequestcourse.pm	Sat Mar  6 23:08:03 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Request a course
 #
-# $Id: lonrequestcourse.pm,v 1.95.2.5 2020/02/12 22:16:25 raeburn Exp $
+# $Id: lonrequestcourse.pm,v 1.95.2.6 2021/03/06 23:08:03 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2395,7 +2395,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">';
@@ -2749,7 +2749,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