--- loncom/interface/printout.pl 2012/04/11 11:40:14 1.152 +++ loncom/interface/printout.pl 2013/01/31 15:09:23 1.153 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.152 2012/04/11 11:40:14 goltermann Exp $ +# $Id: printout.pl,v 1.153 2013/01/31 15:09:23 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -553,14 +553,21 @@ foreach $texfile (@texfile) { my @garb = ($texlog,$texaux,$texdvi,$texps); # unlink @garb; unlink($duefile); - print "$link_text - click here to download pdf"; - print "\n"; + print + '
' + .&mt('[_1] - [_2]Your PDF file[_3] is ready for download.', + $link_text,'','') + .'
'."\n"; } unlink($missfonts_file); } } else { - print "LaTeX file $texfile was not created successfully"; + print + '' + .&mt('The LaTeX file [_1] was not created successfully.', + ''.$texfile.'') + .'
'; } } print "Zip Output:\n"); + print('\n"); $zipfile=~s{^\Q$perlvar{'lonPrtDir'}\E}{/prtspool}; - print "'.&mt('Zip Output:')."\n
\n"); system($statement); - print(""); + print("
' + .&mt('A [_1]ZIP file[_2] of all the PDF files is ready for download.', + '','') + .'
'; } if ($advanced_role) { &Apache::lonhtmlcommon::Close_PrgWin('',\%prog_state); } print(&Apache::loncommon::end_page());