]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/po.pm
improve invalid gettext message
[ikiwiki.git] / IkiWiki / Plugin / po.pm
index 2060ff2087dce09b496e1d076c44f14d388550d2..d65b4288d36c27a455d63975d99612d2e04c20cf 100644 (file)
@@ -1094,8 +1094,8 @@ sub isvalidpo ($) {
        if ($res) {
            return IkiWiki::SuccessReason->new("valid gettext data");
        }
-       return IkiWiki::FailReason->new("invalid gettext data, go back ".
-                                       "to previous page to go on with edit");
+       return IkiWiki::FailReason->new(gettext("invalid gettext data, go back ".
+                                       "to previous page to continue edit"));
 }
 
 # ,----