[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface lonmenu.pm
raeburn
raeburn@source.lon-capa.org
Thu, 16 Jun 2011 22:55:17 -0000
raeburn Thu Jun 16 22:55:17 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/interface lonmenu.pm
Log:
- Bug 6478. Missing localization.
Index: loncom/interface/lonmenu.pm
diff -u loncom/interface/lonmenu.pm:1.315.2.11 loncom/interface/lonmenu.pm:1.315.2.12
--- loncom/interface/lonmenu.pm:1.315.2.11 Fri May 27 19:33:45 2011
+++ loncom/interface/lonmenu.pm Thu Jun 16 22:55:17 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines to control the menu
#
-# $Id: lonmenu.pm,v 1.315.2.11 2011/05/27 19:33:45 raeburn Exp $
+# $Id: lonmenu.pm,v 1.315.2.12 2011/06/16 22:55:17 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -727,7 +727,7 @@
my %icon_text;
if ($noremote) {
- %icon_text = (
+ %icon_text = &Apache::lonlocal::texthash (
annotate => 'Notes',
bookmark => 'Bookmark',
catalog => 'Info',
@@ -783,8 +783,9 @@
}
}
if ($env{'request.uri'} =~ /^\/res/) {
+ my $icontext = &mt('Print');
$menuitems .= (<<ENDMENUITEMS);
-s&8&3&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout',currentURL)&Prepare a printable document&&&Print
+s&8&3&prt.gif&prepare[_1]&printout[_1]&gopost('/adm/printout',currentURL)&Prepare a printable document&&&$icontext
ENDMENUITEMS
}
my $buttons='';