From 4fd2807886d5fa376e5f74bb8c75f7cf4ef7fd15 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 2 Jan 2009 18:57:50 +0100 Subject: [PATCH] po(isvalidpo): more meaningful error message ... explaining how to go on with edit. Signed-off-by: intrigeri --- IkiWiki/Plugin/po.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } # ,----