From: intrigeri Date: Fri, 2 Jan 2009 17:57:50 +0000 (+0100) Subject: po(isvalidpo): more meaningful error message X-Git-Tag: 3.15~264 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4fd2807886d5fa376e5f74bb8c75f7cf4ef7fd15;p=ikiwiki.git po(isvalidpo): more meaningful error message ... explaining how to go on with edit. Signed-off-by: intrigeri --- diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index b51bc34f7..a307e5d6b 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -1057,7 +1057,8 @@ sub isvalidpo ($) { if ($res) { return IkiWiki::SuccessReason->new("valid gettext data"); } - return IkiWiki::FailReason->new("invalid gettext data"); + return IkiWiki::FailReason->new("invalid gettext data, go back ". + "to previous page to go on with edit"); } # ,----