]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/inline.pm
avoid Po4a::Common exporting anything
[git.ikiwiki.info.git] / IkiWiki / Plugin / inline.pm
index 27ea1c4a64bf8ebca3be99755c86a08a2192cb65..9d5ebc34daaeb6aa942f41b1424ece4ba00c9036 100644 (file)
@@ -354,7 +354,7 @@ sub preprocess_inline (@) {
                                        my $file = $pagesources{$page};
                                        my $type = pagetype($file);
                                        if ($config{discussion}) {
-                                               my $discussionlink=gettext("discussion");
+                                               my $discussionlink=lc(gettext("Discussion"));
                                                if ($page !~ /.*\/\Q$discussionlink\E$/ &&
                                                    (length $config{cgiurl} ||
                                                     exists $links{$page."/".$discussionlink})) {