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;