[LON-CAPA-cvs] cvs: loncom /interface lonnavdisplay.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Fri, 11 Apr 2008 13:17:10 -0000
bisitz Fri Apr 11 09:17:10 2008 EDT
Modified files:
/loncom/interface lonnavdisplay.pm
Log:
Localization:
Added some missing mt() calls and optimized mt() call
Index: loncom/interface/lonnavdisplay.pm
diff -u loncom/interface/lonnavdisplay.pm:1.3 loncom/interface/lonnavdisplay.pm:1.4
--- loncom/interface/lonnavdisplay.pm:1.3 Tue Mar 11 22:45:07 2008
+++ loncom/interface/lonnavdisplay.pm Fri Apr 11 09:17:09 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Navigate Maps Handler
#
-# $Id: lonnavdisplay.pm,v 1.3 2008/03/12 02:45:07 raeburn Exp $
+# $Id: lonnavdisplay.pm,v 1.4 2008/04/11 13:17:09 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -255,7 +255,9 @@
# If we found no problems, print a note to that effect.
if (!$foundDoableProblem) {
- $r->print("<font size='+2'>All homework assignments have been completed.</font><br /><br />");
+ $r->print("<font size='+2'>"
+ .&mt("All homework assignments have been completed.")
+ ."</font><br /><br />");
}
} else {
&Apache::lonnavmaps::add_linkitem(\%toplinkitems,'firsthomework',
@@ -321,9 +323,9 @@
# user knows there was no error.
if ($renderArgs->{'counter'} == 0) {
if ($showOnlyHomework) {
- $r->print("<p><font size='+1'>".&mt("All homework is currently completed").".</font></p>");
+ $r->print("<p><font size='+1'>".&mt("All homework is currently completed.")."</font></p>");
} else { # both jumpToFirstHomework and normal use the same: course must be empty
- $r->print("<p><font size='+1'>This course is empty.</font></p>");
+ $r->print("<p><font size='+1'>".&mt("This course is empty.")."</font></p>");
}
}
#my $td=&tv_interval($t0);