[LON-CAPA-cvs] cvs: loncom /homework grades.pm
raeburn
raeburn@source.lon-capa.org
Sat, 06 Jun 2009 19:23:31 -0000
raeburn Sat Jun 6 19:23:31 2009 EDT
Modified files:
/loncom/homework grades.pm
Log:
- Bug 5960
- Reversing part of rev 1.549. Use of [quant,_1,student] in the &mt() call is inappropriate, as the arg is a select box form element not a simple number.
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.577 loncom/homework/grades.pm:1.578
--- loncom/homework/grades.pm:1.577 Thu May 28 14:30:04 2009
+++ loncom/homework/grades.pm Sat Jun 6 19:23:30 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.577 2009/05/28 14:30:04 bisitz Exp $
+# $Id: grades.pm,v 1.578 2009/06/06 19:23:30 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2301,7 +2301,7 @@
'<option>7</option><option>10</option></select>'."\n";
my $nsel = ($env{'form.NTSTU'} ne '' ? $env{'form.NTSTU'} : '1');
$ntstu =~ s/<option>$nsel</<option selected="selected">$nsel</;
- $endform.=&mt('[quant,_1,student]',$ntstu);
+ $endform.=&mt('[_1]student(s)',$ntstu);
$endform.=' <input type="button" value="'.&mt('Previous').'" '.
'onClick="javascript:checksubmit(this.form,\'Previous\');" target="_self" /> '."\n".
'<input type="button" value="'.&mt('Next').'" '.