diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-04 13:15:05 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-04 13:15:05 -0400 |
commit | 6842328405494dd4971d3bfa443901084efe87ed (patch) | |
tree | 0695407bc6d70d2a4e8f9fbc77075b0ba2e68ddf /IkiWiki | |
parent | 2e48da19a29d6c06dbdb8c1e0a00a2c3528cf8ee (diff) |
Avoid relying on translators preserving the case when translating "discussion", which caused Discussion pages to get unwanted Discussion links.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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})) { |