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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 02 Oct 2008 15:38:56 -0000


bisitz		Thu Oct  2 11:38:56 2008 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Localization:
  - Added missing &mt() calls to titles of the first resource in a course
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.689 loncom/interface/loncommon.pm:1.690
--- loncom/interface/loncommon.pm:1.689	Thu Oct  2 10:05:45 2008
+++ loncom/interface/loncommon.pm	Thu Oct  2 11:38:56 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.689 2008/10/02 14:05:45 bisitz Exp $
+# $Id: loncommon.pm,v 1.690 2008/10/02 15:38:56 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9271,10 +9271,10 @@
         $outcome .= ($fatal?$errtext:'read ok').' - ';
         my $title; my $url;
         if ($args->{'firstres'} eq 'syl') {
-	    $title='Syllabus';
+	    $title=&mt('Syllabus');
             $url='/public/'.$$crsudom.'/'.$$crsunum.'/syllabus';
         } else {
-            $title='Navigate Contents';
+            $title=&mt('Navigate Contents');
             $url='/adm/navmaps';
         }