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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 20 Dec 2007 10:18:19 -0000


bisitz		Thu Dec 20 05:18:19 2007 EDT

  Modified files:              
    /loncom/interface	lonquickgrades.pm 
  Log:
  - Localization: added some missing &mt('...')
  - Changed "Total Points" to "Awarded Total Points" to make it more clear that this value only refers to the _awarded_ points
  
  
Index: loncom/interface/lonquickgrades.pm
diff -u loncom/interface/lonquickgrades.pm:1.40 loncom/interface/lonquickgrades.pm:1.41
--- loncom/interface/lonquickgrades.pm:1.40	Wed Mar 15 17:11:04 2006
+++ loncom/interface/lonquickgrades.pm	Thu Dec 20 05:18:19 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Quick Student Grades Display
 #
-# $Id: lonquickgrades.pm,v 1.40 2006/03/15 22:11:04 albertel Exp $
+# $Id: lonquickgrades.pm,v 1.41 2007/12/20 10:18:19 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -92,7 +92,7 @@
 HEADER
     }
 
-    $r->print("This may take a few moments to display.");
+    $r->print(&mt('This may take a few moments to display.'));
 
     $r->rflush();
 
@@ -275,8 +275,8 @@
 	my $maxHelpLink = Apache::loncommon::help_open_topic("Quick_Grades_Possibly_Correct");
 
 	$title = $showPoints ? "Points" : "Parts Done";
-	
-	$r->print("<tr><td colspan='2' align='right'>Total $title: <b>$totalRight</b><br>");
+	my $totaltitle = $showPoints ? &mt("Awarded Total Points") : &mt("Total Parts Done");
+	$r->print("<tr><td colspan='2' align='right'>$totaltitle: <b>$totalRight</b><br>");
 	$r->print(&mt("Max Possible To Date")." $maxHelpLink: <b>$totalPossible</b><br>");
 	$title = $showPoints ? "Points" : "Parts";
 	$r->print(&mt("Total $title In Course").": <b>$totalParts</b></td></tr>\n\n");