[LON-CAPA-cvs] cvs: loncom /interface lonmeta.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 23 Jan 2008 17:23:16 -0000
bisitz Wed Jan 23 12:23:16 2008 EDT
Modified files:
/loncom/interface lonmeta.pm
Log:
Localization: Added missing &mt(...)
Index: loncom/interface/lonmeta.pm
diff -u loncom/interface/lonmeta.pm:1.209 loncom/interface/lonmeta.pm:1.210
--- loncom/interface/lonmeta.pm:1.209 Fri Jun 15 19:01:07 2007
+++ loncom/interface/lonmeta.pm Wed Jan 23 12:23:16 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Metadata display handler
#
-# $Id: lonmeta.pm,v 1.209 2007/06/15 23:01:07 albertel Exp $
+# $Id: lonmeta.pm,v 1.210 2008/01/23 17:23:16 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1074,7 +1074,7 @@
$table .= '</table>'.$/;
$r->print($table);
} else {
- $r->print('No new dynamic data found.');
+ $r->print(&mt('No new dynamic data found.'));
}
} else {
$r->print('<h4>'.
@@ -1221,7 +1221,7 @@
}
$r->print('<br />'.$bombs);
} else {
- my $displayfile='Catalog Information for '.$disuri;
+ my $displayfile=&mt('Catalog Information for').' '.$disuri;
if ($disuri=~/\/default$/) {
my $dir=$disuri;
$dir=~s/default$//;
@@ -1332,7 +1332,7 @@
".description"}.'</strong>').'<br />');
}
} else {
- $r->print('<a href="'.$uri.'?changecourse=true">This resource is not associated with a course.</a><br />');
+ $r->print('<a href="'.$uri.'?changecourse=true">'.&mt('This resource is not associated with a course.').'</a><br />');
}
}
if (@added_order) {