summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-08 15:03:57 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-08 15:03:57 -0500
commit6a751b2a8357795be04d0674e99c574ea8266cde (patch)
treeed517318a2d8e5f2ea9e5a201c162ee1b5871230 /IkiWiki/Plugin
parent35aed7150173694386e1f2b7f4ae36721df0668c (diff)
missed localising a string
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/brokenlinks.pm7
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));
}
}
}