--- loncom/homework/inputtags.pm 2005/03/31 21:32:52 1.162 +++ loncom/homework/inputtags.pm 2005/03/31 21:34:34 1.163 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # input definitons # -# $Id: inputtags.pm,v 1.162 2005/03/31 21:32:52 albertel Exp $ +# $Id: inputtags.pm,v 1.163 2005/03/31 21:34:34 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -836,10 +836,9 @@ sub gradestatus { } if ($Apache::lonhomework::history{"resource.$id.afterduedate"}) { #last submissions was after due date - if ($target eq 'tex') { - $latemessage=' The last submission was after the Due Date '; - } else { - $latemessage="The last submission was after the Due Date"; + $latemessage=&mt(' The last submission was after the Due Date ');; + if ($target eq 'web') { + $latemessage=''.$latemessage.''; } } }