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

raeburn raeburn@source.lon-capa.org
Fri, 12 Dec 2008 20:33:39 -0000


raeburn		Fri Dec 12 20:33:39 2008 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - Use &mt([quant,  ). 
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.421 loncom/interface/lonnavmaps.pm:1.422
--- loncom/interface/lonnavmaps.pm:1.421	Thu Dec 11 14:55:15 2008
+++ loncom/interface/lonnavmaps.pm	Fri Dec 12 20:33:39 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.421 2008/12/11 14:55:15 bisitz Exp $
+# $Id: lonnavmaps.pm,v 1.422 2008/12/12 20:33:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -670,7 +670,7 @@
         my $maxtries = $res->maxtries($part);
         my $triesString = "";
         if ($tries && $maxtries) {
-            $triesString = '<font size="-1"><i>('.&mt('[_1] of [_2] tries used',$tries,$maxtries).')</i></font>';
+            $triesString = '<font size="-1"><i>('.&mt('[_1] of [quant,_2,try,tries] used',$tries,$maxtries).')</i></font>';
             if ($maxtries > 1 && $maxtries - $tries == 1) {
                 $triesString = "<b>$triesString</b>";
             }