From bac47cdecd9a9f7db3224eaaed43de0984bcf9ea Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 22 Jul 2008 15:06:59 -0400 Subject: [PATCH] make message a bit more generic --- IkiWiki/Plugin/attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index 2a662c0d1..acc52f0e9 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -32,7 +32,7 @@ sub check_canattach ($$;$) { } } if (! $allowed) { - error(gettext("attachment rejected")." ($allowed)"); + error(gettext("prohibited by allowed_attachments")." ($allowed)"); } else { return 1;