po(isvalidpo): more meaningful error message
... explaining how to go on with edit. Signed-off-by: intrigeri <intrigeri@boum.org>master
parent
4ad871810d
commit
4fd2807886
|
@ -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");
|
||||
}
|
||||
|
||||
# ,----
|
||||
|
|
Loading…
Reference in New Issue