]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
missed localising a string
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 8 Nov 2007 20:03:57 +0000 (15:03 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 8 Nov 2007 20:03:57 +0000 (15:03 -0500)
IkiWiki/Plugin/brokenlinks.pm

index fa34a70089d2fe2ffa651a5a6b001f22cf5141cd..a4da7161e22d8707664b41484839087933893b93 100644 (file)
@@ -26,10 +26,9 @@ sub preprocess (@) { #{{{
                                next if $link =~ /.*\/\Q$discussion\E/i && $config{discussion};
                                my $bestlink=bestlink($page, $link);
                                next if length $bestlink;
-                               push @broken,
-                                       htmllink($page, $params{destpage}, $link, noimageinline => 1).
-                                       " from ".
-                                       htmllink($params{page}, $params{destpage}, $page, noimageinline => 1);
+                               push @broken, sprintf(gettext("%s from %s"),
+                                       htmllink($page, $params{destpage}, $link, noimageinline => 1),
+                                       htmllink($params{page}, $params{destpage}, $page, noimageinline => 1));
                        }
                }
        }