[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 10 Oct 2008 16:07:19 -0000
bisitz Fri Oct 10 12:07:19 2008 EDT
Modified files:
/loncom/interface lonnavmaps.pm
Log:
Localization:
Added missing &mt() call to "n of m tries used" on navigate content screen
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.414 loncom/interface/lonnavmaps.pm:1.415
--- loncom/interface/lonnavmaps.pm:1.414 Thu Sep 11 13:09:48 2008
+++ loncom/interface/lonnavmaps.pm Fri Oct 10 12:07:16 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavmaps.pm,v 1.414 2008/09/11 17:09:48 bisitz Exp $
+# $Id: lonnavmaps.pm,v 1.415 2008/10/10 16:07:16 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -236,7 +236,7 @@
my $maxtries = $res->maxtries($part);
my $triesString = "";
if ($tries && $maxtries) {
- $triesString = "<font size=\"-1\"><i>($tries of $maxtries tries used)</i></font>";
+ $triesString = '<font size="-1"><i>('.&mt('[_1] of [_2] tries used',$tries,$maxtries).')</i></font>';
if ($maxtries > 1 && $maxtries - $tries == 1) {
$triesString = "<b>$triesString</b>";
}