X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d0b025468aed28f44caeb5f9e0b1d5571b043cba..4c0ffd59fd8c193c6b207d902750de4a63ded897:/IkiWiki/Setup.pm?ds=inline diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm index 2b4c76bd0..2d6e1d1cf 100644 --- a/IkiWiki/Setup.pm +++ b/IkiWiki/Setup.pm @@ -10,7 +10,9 @@ package IkiWiki; sub setup () { # {{{ my $setup=possibly_foolish_untaint($config{setup}); delete $config{setup}; - open (IN, $setup) || error("read $setup: $!\n"); + #translators: The first parameter is a filename, and the second + #translators: is a (probably not translated) error message. + open (IN, $setup) || error(sprintf(gettext("cannot read %s: %s"), $setup, $!)); my $code; { local $/=undef;