From d4d7d5ddaf9264d7bc46b83ff87eb919b876568c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 23 Apr 2010 14:45:02 -0400 Subject: use same error string as template.pm does --- IkiWiki/Plugin/inline.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'IkiWiki/Plugin') 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')); -- cgit v1.2.3