From: Joey Hess Date: Mon, 29 Sep 2008 21:06:56 +0000 (-0400) Subject: use gettext X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/6b01fca2539c847c315bd3a346023ef02affc0ab 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);