[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonparmset.pm
raeburn
raeburn at source.lon-capa.org
Wed Mar 11 22:44:52 EDT 2015
raeburn Thu Mar 12 02:44:52 2015 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonparmset.pm
Log:
- For 2.11
Backport 1.547
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.522.2.16 loncom/interface/lonparmset.pm:1.522.2.17
--- loncom/interface/lonparmset.pm:1.522.2.16 Fri Jun 13 02:00:30 2014
+++ loncom/interface/lonparmset.pm Thu Mar 12 02:44:51 2015
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.522.2.16 2014/06/13 02:00:30 raeburn Exp $
+# $Id: lonparmset.pm,v 1.522.2.17 2015/03/12 02:44:51 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2943,7 +2943,7 @@
if (&Apache::lonnet::del('resourcedata',\@deldata,$dom,$crs) eq 'ok') {
my %loghash=map { $_ => '' } @deldata;
&log_parmset(\%loghash,1);
- $r->print('<h2>'.&mt('Deleted [_1] parameter(s)',$delentries).'</h2>');
+ $r->print('<h2>'.&mt('Deleted quant,_1,parameter]',$delentries/2).'</h2>');
} else {
$r->print('<div class="LC_error">'.
&mt('Error deleting parameters').'</div>');
@@ -2953,7 +2953,7 @@
if ($putentries) {
if (&Apache::lonnet::put('resourcedata',\%newdata,$dom,$crs) eq 'ok') {
&log_parmset(\%newdata,0);
- $r->print('<h3>'.&mt('Saved [_1] parameter(s)',$putentries/2).'</h3>');
+ $r->print('<h3>'.&mt('Saved [quant,_1,parameter]',$putentries/2).'</h3>');
} else {
$r->print('<div class="LC_error">'.
&mt('Error saving parameters').'</div>');
More information about the LON-CAPA-cvs
mailing list