diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-02 18:57:50 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-02 18:57:50 +0100 |
commit | 4fd2807886d5fa376e5f74bb8c75f7cf4ef7fd15 (patch) | |
tree | c097af7ebd668fd2c71b7387f9e5cb5bbd202c2a | |
parent | 4ad871810d16546af614349fdecb0e1a928434c5 (diff) |
po(isvalidpo): more meaningful error message
... explaining how to go on with edit.
Signed-off-by: intrigeri <intrigeri@boum.org>
-rw-r--r-- | IkiWiki/Plugin/po.pm | 3 |
1 files changed, 2 insertions, 1 deletions
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"); } # ,---- |