]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/brokenlinks.pm
* Fix --locale to control LC_ALL now.
[git.ikiwiki.info.git] / IkiWiki / Plugin / brokenlinks.pm
index 225d8d829f28ee842024934c6038443b01c5f27f..e79ce1d810ec09e5591e49357e897c82405249d6 100644 (file)
@@ -27,13 +27,13 @@ sub preprocess (@) { #{{{
                                next if length $bestlink;
                                push @broken,
                                        htmllink($page, $params{destpage}, $link, 1).
-                                       " in ".
+                                       " from ".
                                        htmllink($params{page}, $params{destpage}, $page, 1);
                        }
                }
        }
        
-       return "There are no broken links!" unless @broken;
+       return gettext("There are no broken links!") unless @broken;
        my %seen;
        return "<ul>\n".join("\n", map { "<li>$_</li>" } grep { ! $seen{$_}++ } sort @broken)."</ul>\n";
 } # }}}