aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/orphans.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-06-04 13:20:52 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-06-04 13:20:52 -0400
commit059d6f01fa7b34b67d60b99ccbc21bf188543531 (patch)
treec52f679526df3c3f976506826e7bc87a5a51d869 /IkiWiki/Plugin/orphans.pm
parent6842328405494dd4971d3bfa443901084efe87ed (diff)
downloadikiwiki-059d6f01fa7b34b67d60b99ccbc21bf188543531.tar
ikiwiki-059d6f01fa7b34b67d60b99ccbc21bf188543531.tar.gz
fix further places where translated discussion case was assumed
Another benefit is that consistently using gettext("Discussion") eliminates the need to translate one string.
Diffstat (limited to 'IkiWiki/Plugin/orphans.pm')
-rw-r--r--IkiWiki/Plugin/orphans.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm
index cf74c9b79..944eba541 100644
--- a/IkiWiki/Plugin/orphans.pm
+++ b/IkiWiki/Plugin/orphans.pm
@@ -34,7 +34,7 @@ sub preprocess (@) {
}
my @orphans;
- my $discussion=gettext("discussion");
+ my $discussion=lc(gettext("Discussion"));
foreach my $page (pagespec_match_list(
[ grep { ! $linkedto{$_} && $_ ne 'index' }
keys %pagesources ],