[LON-CAPA-cvs] cvs: loncom /homework grades.pm

raeburn raeburn@source.lon-capa.org
Thu, 19 Mar 2009 19:09:48 -0000


raeburn		Thu Mar 19 19:09:48 2009 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - Revert part of rev. 1.539. &mt() not required (Apache::lonlocal::texthash() already in use). 
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.558 loncom/homework/grades.pm:1.559
--- loncom/homework/grades.pm:1.558	Wed Mar 18 12:26:21 2009
+++ loncom/homework/grades.pm	Thu Mar 19 19:09:47 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.558 2009/03/18 12:26:21 bisitz Exp $
+# $Id: grades.pm,v 1.559 2009/03/19 19:09:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -844,12 +844,10 @@
 
     my ($table,undef,$hdgrade,$partlist,$handgrade) = &showResourceInfo($symb,$env{'form.probTitle'},($env{'form.showgrading'} eq 'yes'));
 
-    my %lt = ( 'multiple' =>
-	       &mt("Please select a student or group of students before clicking on the Next button."),
-	       'single'   =>
-	       &mt("Please select the student before clicking on the Next button."),
-	       );
-    %lt = &Apache::lonlocal::texthash(%lt);
+    my %lt = &Apache::lonlocal::texthash (
+		'multiple' => 'Please select a student or group of students before clicking on the Next button.',
+		'single'   => 'Please select the student before clicking on the Next button.',
+	     );
     $request->print(<<LISTJAVASCRIPT);
 <script type="text/javascript" language="javascript">
     function checkSelect(checkBox) {