From 6a751b2a8357795be04d0674e99c574ea8266cde Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 8 Nov 2007 15:03:57 -0500 Subject: [PATCH] missed localising a string --- IkiWiki/Plugin/brokenlinks.pm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm index fa34a7008..a4da7161e 100644 --- a/IkiWiki/Plugin/brokenlinks.pm +++ b/IkiWiki/Plugin/brokenlinks.pm @@ -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)); } } } -- 2.39.5