From 6842328405494dd4971d3bfa443901084efe87ed Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 4 Jun 2009 13:15:05 -0400 Subject: Avoid relying on translators preserving the case when translating "discussion", which caused Discussion pages to get unwanted Discussion links. --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index adae9f0d5..ba1d1eae5 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -76,7 +76,7 @@ sub genpage ($$) { $actions++; } if ($config{discussion}) { - my $discussionlink=gettext("discussion"); + my $discussionlink=lc(gettext("Discussion")); if ($page !~ /.*\/\Q$discussionlink\E$/ && (length $config{cgiurl} || exists $links{$page."/".$discussionlink})) { -- cgit v1.2.3