po: fix error messages

Signed-off-by: intrigeri <intrigeri@boum.org>
master
intrigeri 2009-01-01 23:32:52 +01:00
parent c821cee108
commit d0c9c21687
1 changed files with 2 additions and 2 deletions

View File

@ -909,7 +909,7 @@ sub po_to_markup ($$;$) {
UNLINK => 1)->filename;
sub failure ($) {
my $msg = '[po/filter:'.$page.'] ' . shift;
my $msg = '[po/po_to_markup:'.$page.'] ' . shift;
if ($nonfatal) {
warn $msg;
return undef;
@ -964,7 +964,7 @@ sub isvalidpo ($) {
UNLINK => 1)->filename;
sub failure ($) {
my $msg = '[po/isvalidpo:'.$page.'] ' . shift;
my $msg = '[po/isvalidpo] ' . shift;
unlink $infile;
return IkiWiki::FailReason->new("$msg");
}