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

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 23 Oct 2008 08:05:28 -0000


bisitz		Thu Oct 23 08:05:28 2008 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  Added missing &mt() call to Regrade button text
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.241 loncom/homework/bridgetask.pm:1.242
--- loncom/homework/bridgetask.pm:1.241	Fri Sep 19 22:06:49 2008
+++ loncom/homework/bridgetask.pm	Thu Oct 23 08:05:28 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.241 2008/09/19 22:06:49 raeburn Exp $
+# $Id: bridgetask.pm,v 1.242 2008/10/23 08:05:28 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2081,6 +2081,7 @@
 		$seclist.='<input type="hidden" name="chosensections" 
                                value="'.$sec.'" />';
 	    }
+            my $buttontext=&mt('Regrade');
 	    $result.=&Apache::loncommon::start_data_table_row();
 	    $result.=<<RESULT;
   <td>
@@ -2089,7 +2090,7 @@
       <input type="hidden" name="queue" value="$queue" />
       <input type="hidden" name="webgrade" value="no" />
       <input type="hidden" name="regrade" value="yes" />
-      <input type="submit" name="submit" value="Regrade" />
+      <input type="submit" name="submit" value="$buttontext" />
       $seclist
     </form>
   <td>$classlist->{$student}[&Apache::loncoursedata::CL_FULLNAME()] <tt>($student)</tt> Sec: $classlist->{$student}[&Apache::loncoursedata::CL_SECTION()]</td>