]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
use same error string as template.pm does
authorJoey Hess <joey@kitenet.net>
Fri, 23 Apr 2010 18:45:02 +0000 (14:45 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 23 Apr 2010 18:45:02 +0000 (14:45 -0400)
IkiWiki/Plugin/inline.pm

index 2d47cb4befdfd8532904552dab2622c704c08c2e..5d99c9da230c7b9c370f0b1bdac0430ffe746cab 100644 (file)
@@ -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'));