po(isvalidpo): more meaningful error message

... explaining how to go on with edit.

Signed-off-by: intrigeri <intrigeri@boum.org>
master
intrigeri 2009-01-02 18:57:50 +01:00
parent 4ad871810d
commit 4fd2807886
1 changed files with 2 additions and 1 deletions

View 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");
}
# ,----