]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
make message a bit more generic
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 22 Jul 2008 19:06:59 +0000 (15:06 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 22 Jul 2008 19:06:59 +0000 (15:06 -0400)
IkiWiki/Plugin/attachment.pm

index 2a662c0d12e949ae27f5ab10982e733fd0d6cee4..acc52f0e902fdcdf55febc93213247f87a0631ac 100644 (file)
@@ -32,7 +32,7 @@ sub check_canattach ($$;$) {
                }
        }
        if (! $allowed) {
                }
        }
        if (! $allowed) {
-               error(gettext("attachment rejected")." ($allowed)");
+               error(gettext("prohibited by allowed_attachments")." ($allowed)");
        }
        else {
                return 1;
        }
        else {
                return 1;