--- loncom/homework/response.pm 2013/04/29 21:09:40 1.233 +++ loncom/homework/response.pm 2014/02/13 12:43:50 1.235 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # various response type definitons response definition # -# $Id: response.pm,v 1.233 2013/04/29 21:09:40 raeburn Exp $ +# $Id: response.pm,v 1.235 2014/02/13 12:43:50 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -399,7 +399,7 @@ sub end_dataresponse { $Apache::lonhomework::results{"resource.$partid.$id.awarddetail"}='SUBMITTED'; } } else { - $result='Not Permitted to change values.' + $result=&mt('Not Permitted to change values'); } } } @@ -586,7 +586,7 @@ sub edit_mathresponse_button { function edit_${id}_${field} (textarea) { thenumber = textarea; thedata = document.forms['lonhomework'].elements[textarea].value; - newwin = window.open("/adm/dragmath/applet/MaximaPopup.html","","width=565,height=400,resizable"); + newwin = window.open("/adm/dragmath/MaximaPopup.html","","width=565,height=400,resizable"); } $button @@ -863,8 +863,8 @@ sub answer_header { if ($Apache::lonhomework::type eq 'exam') { $bit = ($Apache::lonxml::counter+$increment).') '; } else { - $bit .= ' Answer for Part: \verb|'. - $Apache::inputtags::part.'| '; + $bit .= ' '.&mt('Answer for Part: [_1]', + '\verb|'.$Apache::inputtags::part.'|').' '; } push(@answer_bits,$bit); } else {