summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-22 15:06:59 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-22 15:06:59 -0400
commitbac47cdecd9a9f7db3224eaaed43de0984bcf9ea (patch)
tree16d28c4588b2a66a354225f7509181f4e59a8e44 /IkiWiki/Plugin
parentcbf1c8b810cf782e36bbe87343d5f4a81f5dd52e (diff)
make message a bit more generic
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
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;