improve invalid gettext message
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 10:39:21 +0000 (12:39 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 21 Jul 2009 10:39:21 +0000 (12:39 +0200)
(and gettext it as translators will see this!)

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