diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-23 14:45:02 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-23 14:45:02 -0400 |
commit | d4d7d5ddaf9264d7bc46b83ff87eb919b876568c (patch) | |
tree | 3330f51e31d1b99ea2de27a1f2a2078f7016594e /IkiWiki | |
parent | 54898d16d4c86fddcb1b5588eac67a729c14deeb (diff) | |
download | ikiwiki-d4d7d5ddaf9264d7bc46b83ff87eb919b876568c.tar ikiwiki-d4d7d5ddaf9264d7bc46b83ff87eb919b876568c.tar.gz |
use same error string as template.pm does
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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')); |