aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));
}
}
}