[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /homework grades.pm
raeburn
raeburn at source.lon-capa.org
Thu Aug 29 08:52:05 EDT 2013
raeburn Thu Aug 29 12:52:05 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/homework grades.pm
Log:
- For 2.11
- Exclude HTML tags from phrase to translate.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.596.2.12.2.21 loncom/homework/grades.pm:1.596.2.12.2.22
--- loncom/homework/grades.pm:1.596.2.12.2.21 Wed Aug 28 18:26:57 2013
+++ loncom/homework/grades.pm Thu Aug 29 12:52:04 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.596.2.12.2.21 2013/08/28 18:26:57 raeburn Exp $
+# $Id: grades.pm,v 1.596.2.12.2.22 2013/08/29 12:52:04 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -811,7 +811,7 @@
'<h3><span class="LC_info">'.
&mt('Verifying Receipt No. [_1]',$receipt).
'</span></h3>'."\n".
- '<h4>'.&mt('<b>Resource: </b>[_1]',$env{'form.probTitle'}).
+ '<h4>'.&mt('[_1]Resource: [_2]','<b>','</b>'.$env{'form.probTitle'}).
'</h4>'."\n";
my ($string,$contents,$matches) = ('','',0);
@@ -2044,7 +2044,7 @@
&download_all_link($request, $symb);
}
$request->print('<h3> <span class="LC_info">'.&mt('Submission Record').'</span></h3>'."\n".
- '<h4> '.&mt('<b>Resource: </b> [_1]',$env{'form.probTitle'}).'</h4>'."\n");
+ '<h4> '.&mt('[_1]Resource: [_2]','<b>','</b>'.$env{'form.probTitle'}).'</h4>'."\n");
# option to display problem, only once else it cause problems
# with the form later since the problem has a form.
More information about the LON-CAPA-cvs
mailing list