From: Joey Hess Date: Fri, 23 Apr 2010 18:45:02 +0000 (-0400) Subject: use same error string as template.pm does X-Git-Tag: 3.20100427~49 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/d4d7d5ddaf9264d7bc46b83ff87eb919b876568c use same error string as template.pm does --- diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 2d47cb4be..5d99c9da2 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -334,7 +334,7 @@ sub preprocess_inline (@) { blind_cache => 1); }; if ($@ || ! $template) { - error sprintf(gettext("nonexistant template %s.tmpl"), $params{template}); + error sprintf(gettext("template %s not found"), $params{template}.".tmpl"); } } my $needcontent=$raw || (!($archive && $quick) && $template->query(name => 'content'));