diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-08 15:03:57 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-08 15:03:57 -0500 |
commit | 6a751b2a8357795be04d0674e99c574ea8266cde (patch) | |
tree | ed517318a2d8e5f2ea9e5a201c162ee1b5871230 /IkiWiki/Plugin | |
parent | 35aed7150173694386e1f2b7f4ae36721df0668c (diff) |
missed localising a string
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/brokenlinks.pm | 7 |
1 files 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)); } } } |