use gettext
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 29 Sep 2008 21:06:56 +0000 (17:06 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 29 Sep 2008 21:06:56 +0000 (17:06 -0400)
IkiWiki/Render.pm

index ceb7c842cb309b0154fcdefe98aea376f6917b33..bc997ffb0f0e655dd65540ba81e588ed6625e909 100644 (file)
@@ -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);