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

wenzelju wenzelju@source.lon-capa.org
Wed, 10 Mar 2010 14:20:53 -0000


wenzelju		Wed Mar 10 14:20:53 2010 EDT

  Modified files:              
    /loncom/interface	lonsyllabus.pm 
  Log:
  Added &mt()-call for translation.
  
  
Index: loncom/interface/lonsyllabus.pm
diff -u loncom/interface/lonsyllabus.pm:1.107 loncom/interface/lonsyllabus.pm:1.108
--- loncom/interface/lonsyllabus.pm:1.107	Wed Mar  3 21:33:15 2010
+++ loncom/interface/lonsyllabus.pm	Wed Mar 10 14:20:53 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Syllabus
 #
-# $Id: lonsyllabus.pm,v 1.107 2010/03/03 21:33:15 droeschl Exp $
+# $Id: lonsyllabus.pm,v 1.108 2010/03/10 14:20:53 wenzelju Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -356,13 +356,13 @@
              &Apache::lonannounce::readcalendar($cdom.'_'.$cnum));
     if ($target ne 'tex') {
         if ($allowed) {
-            &Apache::lontemplate::print_start_template($r,'RSS Feeds and Blogs','LC_Box');
+            &Apache::lontemplate::print_start_template($r,&mt('RSS Feeds and Blogs'),'LC_Box');
             $r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom,$forceedit));
             my $editurl= &Apache::lonnet::absolute_url().'/adm/'.$cdom.'/'.$cnum.'/_rss.html';
             $r->print( '<a href="'.$editurl.'">'.&mt('New RSS Feed or Blog').'</a>');
             &Apache::lontemplate::print_end_template($r);
         } elsif (&Apache::lonrss::advertisefeeds($cnum,$cdom) ne '') {
-            &Apache::lontemplate::print_start_template($r,'RSS Feeds and Blogs','LC_Box');
+            &Apache::lontemplate::print_start_template($r,&mt('RSS Feeds and Blogs'),'LC_Box');
             $r->print(&Apache::lonrss::advertisefeeds($cnum,$cdom,$forceedit));
             &Apache::lontemplate::print_end_template($r);
         }