--- loncom/interface/printout.pl 2013/03/18 21:33:08 1.154 +++ loncom/interface/printout.pl 2013/07/19 18:24:16 1.155 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.154 2013/03/18 21:33:08 raeburn Exp $ +# $Id: printout.pl,v 1.155 2013/07/19 18:24:16 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -958,11 +958,12 @@ sub convert_figure { } else { system("convert $not_eps $eps_f"); if($? and $advanced_role){ - print "
"
- .mt("An error occured during the conversion of [_1].[_2]"
- ."If possible try to save this image using different settings and republish it.",
- "".$prettyname."", "
")
- ."
'
+ .&mt('An error occured during the conversion of [_1].',
+ ''.$prettyname.'')
+ .'
'
+ .&mt('If possible try to save this image using different settings and republish it.')
+ .'