From: Joey Hess Date: Mon, 29 Sep 2008 21:06:56 +0000 (-0400) Subject: use gettext X-Git-Tag: 2.66~49 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b01fca2539c847c315bd3a346023ef02affc0ab;p=ikiwiki.git use gettext --- diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index ceb7c842c..bc997ffb0 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -250,7 +250,7 @@ sub refresh () { #{{{ my $test=$config{srcdir}; while (length $test) { if (-l $test && ! $config{allow_symlinks_before_srcdir}) { - error("symlink found in srcdir path ($test) -- set allow_symlinks_before_srcdir to allow this"); + error(sprintf(gettext("symlink found in srcdir path (%s) -- set allow_symlinks_before_srcdir to allow this")), $test); } unless ($test=~s/\/+$//) { $test=dirname($test);