[LON-CAPA-cvs] cvs: loncom /homework grades.pm

banghart lon-capa-cvs-allow@mail.lon-capa.org
Tue, 21 Aug 2007 18:48:19 -0000


banghart		Tue Aug 21 14:48:19 2007 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  	Localize.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.430 loncom/homework/grades.pm:1.431
--- loncom/homework/grades.pm:1.430	Tue Aug 21 14:41:27 2007
+++ loncom/homework/grades.pm	Tue Aug 21 14:48:18 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.430 2007/08/21 18:41:27 banghart Exp $
+# $Id: grades.pm,v 1.431 2007/08/21 18:48:18 banghart Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2975,11 +2975,11 @@
     if ($env{'form.section'} eq 'all') {
 	$sectionClass='Class </h3>';
     } elsif ($env{'form.section'} eq 'none') {
-	$sectionClass='Students in no Section </h3>';
+	$sectionClass=&mt('Students in no Section').'</h3>';
     } else {
-	$sectionClass='Students in Section(s) '.$section_display.'</h3>';
+	$sectionClass=&mt('Students in Section(s) [_1]',$section_display).'</h3>';
     }
-    $result.='<h3>Assign Common Grade To '.$sectionClass;
+    $result.='<h3>'.&mt('Assign Common Grade To [_1]',$sectionClass);
     $result.= '<table border=0><tr><td bgcolor="#777777">'."\n".
 	'<table border=0><tr bgcolor="#ffffdd"><td>';
     #radio buttons/text box for assigning points for a section or class.