[LON-CAPA-cvs] cvs: loncom /homework grades.pm
raeburn
raeburn at source.lon-capa.org
Tue Dec 18 13:03:40 EST 2012
raeburn Tue Dec 18 18:03:40 2012 EDT
Modified files:
/loncom/homework grades.pm
Log:
- Localization: move HTML mark-up out of &mt().
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.681 loncom/homework/grades.pm:1.682
--- loncom/homework/grades.pm:1.681 Tue Dec 18 18:00:14 2012
+++ loncom/homework/grades.pm Tue Dec 18 18:03:40 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.681 2012/12/18 18:00:14 raeburn Exp $
+# $Id: grades.pm,v 1.682 2012/12/18 18:03:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8678,7 +8678,12 @@
$env{'form.scantron_maxbubble'})
.'</p>'
);
- $r->print('<p>'.&mt('Exact matches for <b>[quant,_1,student]</b>.',$passed).'<br />'.&mt('Discrepancies detected for <b>[quant,_1,student]</b>.',$failed).'</p>');
+ $r->print('<p>'
+ .&mt('Exact matches for [_1][quant,_2,student][_3].','<b>',$passed,'</b>').
+ .'<br />'
+ .&mt('Discrepancies detected for [_1][quant,_2,student][_3].','<b>',$failed,'</b>')
+ .'</p>'
+ );
if ($passed) {
$r->print(&mt('Students with exact correspondence between bubblesheet data and submissions are as follows:').'<br /><br />');
$r->print(&Apache::loncommon::start_data_table()."\n".
More information about the LON-CAPA-cvs
mailing list