From d0c9c21687b498fa40a6359fb7b7cbcd70034512 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 1 Jan 2009 23:32:52 +0100 Subject: po: fix error messages Signed-off-by: intrigeri --- IkiWiki/Plugin/po.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 8f11a5f5a..236b5984f 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -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"); } -- cgit v1.2.3