X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/ef003f48f4a3fe8fb67fda62c70a299b07d75976..5c0e56d149c6b33d010561f64f583e7ad1c529da:/IkiWiki/Plugin/orphans.pm?ds=inline diff --git a/IkiWiki/Plugin/orphans.pm b/IkiWiki/Plugin/orphans.pm index cf74c9b79..7c938ef74 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 ], @@ -49,7 +49,7 @@ sub preprocess (@) { push @orphans, $page; } - return gettext("All pages are linked to by other pages.") unless @orphans; + return gettext("All pages have other pages linking to them.") unless @orphans; return "