From cebffa917fa39f45b3a7cff51b93a4e548343db8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 21 Jul 2009 12:39:21 +0200 Subject: improve invalid gettext message (and gettext it as translators will see this!) --- IkiWiki/Plugin/po.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 2060ff208..d65b4288d 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -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")); } # ,---- -- cgit v1.2.3