--- loncom/interface/printout.pl 2013/07/19 18:24:16 1.155 +++ loncom/interface/printout.pl 2013/08/14 00:26:29 1.156 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.155 2013/07/19 18:24:16 bisitz Exp $ +# $Id: printout.pl,v 1.156 2013/08/14 00:26:29 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -959,7 +959,7 @@ sub convert_figure { system("convert $not_eps $eps_f"); if($? and $advanced_role){ print '

' - .&mt('An error occured during the conversion of [_1].', + .&mt('An error occurred during the conversion of [_1].', ''.$prettyname.'') .'
' .&mt('If possible try to save this image using different settings and republish it.') @@ -1052,7 +1052,7 @@ sub analyze_logfile { print "

".&mt('LaTeX could not successfully parse your TeX file.')."

"; print &mt('It probably has errors in it.')."
"; if ($badtext) { - print &mt('With very high probability this error occured in [_1].',$badtext) + print &mt('With very high probability this error occurred in [_1].',$badtext) ."

"; } print &mt('Here are the error messages in the LaTeX log file:')