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

raeburn raeburn@source.lon-capa.org
Thu, 01 Apr 2010 02:28:28 -0000


raeburn		Thu Apr  1 02:28:28 2010 EDT

  Modified files:              (Branch: version_2_9_X)
    /loncom/homework	grades.pm 
  Log:
  - Backport wording changes in rev. 1.584.
  - Consistent wording.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.574.2.9 loncom/homework/grades.pm:1.574.2.10
--- loncom/homework/grades.pm:1.574.2.9	Thu Apr  1 01:00:28 2010
+++ loncom/homework/grades.pm	Thu Apr  1 02:28:27 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.574.2.9 2010/04/01 01:00:28 raeburn Exp $
+# $Id: grades.pm,v 1.574.2.10 2010/04/01 02:28:27 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -771,7 +771,7 @@
 
     my $title.=
 	'<h3><span class="LC_info">'.
-	&mt('Verifying  Receipt No. [_1]',$receipt).
+	&mt('Verifying Receipt No. [_1]',$receipt).
 	'</span></h3>'."\n".
 	'<h4>'.&mt('<b>Resource: </b>[_1]',$env{'form.probTitle'}).
 	'</h4>'."\n";
@@ -831,11 +831,11 @@
 	}
     }
     if ($matches == 0) {
-	$string = $title.&mt('No match found for the above receipt.');
+	$string = $title.&mt('No match found for the above receipt number.');
     } else {
 	$string = &jscriptNform($symb).$title.
 	    '<p>'.
-	    &mt('The above receipt matches the following [numerate,_1,student].',$matches).
+	    &mt('The above receipt number matches the following [numerate,_1,student].',$matches).
 	    '</p>'.
 	    $header.
 	    $contents.
@@ -8474,7 +8474,7 @@
     $fields{'command'} = 'verify';
     $url = &Apache::lonhtmlcommon::build_url('grades/',\%fields);
     push(@menu, { url => "",
-                   name => &mt('Verify Receipt'),
+                   name => &mt('Verify Receipt No.'),
                    short_description =>
             &mt('')});
     # Create the menu
@@ -8489,14 +8489,14 @@
 	'<input type="hidden" name="gradingMenu" value="1" />'."\n".
 	'<input type="hidden" name="showgrading" value="yes" />'."\n";
     foreach my $menudata (@menu) {
-        if ($menudata->{'name'} ne &mt('Verify Receipt')) {
+        if ($menudata->{'name'} ne &mt('Verify Receipt No.')) {
             $Str .='    <h3><a '.
                 $menudata->{'jscript'}.
                 ' href="'.
                 $menudata->{'url'}.'" >'.
                 $menudata->{'name'}."</a></h3>\n";
         } else {
-            $Str .='<hr /><input type="button" value="'.&mt('Verify Receipt').'" '.
+            $Str .='<hr /><input type="button" value="'.&mt('Verify Receipt No.').'" '.
                 $menudata->{'jscript'}.
                 ' onClick="javascript:checkChoice(document.forms.gradingMenu,\'5\',\'verify\')" '.
                 ' /> '.