]> sipb.mit.edu Git - ikiwiki.git/commitdiff
po(isvalidpo): more meaningful error message
authorintrigeri <intrigeri@boum.org>
Fri, 2 Jan 2009 17:57:50 +0000 (18:57 +0100)
committerintrigeri <intrigeri@boum.org>
Fri, 2 Jan 2009 17:57:50 +0000 (18:57 +0100)
... explaining how to go on with edit.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm

index b51bc34f7e9cd753cf1db9ac6744c5f5d6b16957..a307e5d6b4171308702b8030cc43b7865bcdd120 100644 (file)
@@ -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");
 }
 
 # ,----