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

schafran schafran@source.lon-capa.org
Fri, 05 Dec 2008 17:41:35 -0000


schafran		Fri Dec  5 17:41:35 2008 EDT

  Modified files:              
    /loncom/interface	lonnotify.pm 
  Log:
  &mt added.
  
  
Index: loncom/interface/lonnotify.pm
diff -u loncom/interface/lonnotify.pm:1.31 loncom/interface/lonnotify.pm:1.32
--- loncom/interface/lonnotify.pm:1.31	Wed Dec  3 21:16:21 2008
+++ loncom/interface/lonnotify.pm	Fri Dec  5 17:41:34 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Sending messages
 #
-# $Id: lonnotify.pm,v 1.31 2008/12/03 21:16:21 schafran Exp $
+# $Id: lonnotify.pm,v 1.32 2008/12/05 17:41:34 schafran Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -464,8 +464,8 @@
 </ul>'."\n";
     my $submit_text = $lt{'comp'};
     my $cmd = 'compose';
-    $output .= &Apache::lonhtmlcommon::role_select_row(\@roles,'Roles');
-    $output .= &Apache::lonhtmlcommon::course_select_row('Courses',$formname,$totcodes,\@codetitles,\%idlist,\%idlist_titles);
+    $output .= &Apache::lonhtmlcommon::role_select_row(\@roles,&mt('Roles'));
+    $output .= &Apache::lonhtmlcommon::course_select_row(&mt('Courses'),$formname,$totcodes,\@codetitles,\%idlist,\%idlist_titles);
     $output .= &Apache::lonhtmlcommon::status_select_row(\%longtypes,&mt('Access status'));
     $output .= &Apache::lonhtmlcommon::email_default_row(\%authtypes,&mt('Username -> Email conversion'),$descrip);
     $output .= &Apache::lonhtmlcommon::submit_row(&mt('Submit'),$cmd,$submit_text);
@@ -769,9 +769,9 @@
 sub form_elements {
    my ($longtypes,$authtypes) = @_;
    %{$longtypes} = (
-                   active => 'Currently has access',
-                   previous => 'Previously had access',
-                   future => 'Will have future access',
+                   active => &mt('Currently has access'),
+                   previous => &mt('Previously had access'),
+                   future => &mt('Will have future access'),
                    );
    %{$authtypes} = (
                    krb4 => 'Kerberos 4',