use same error string as template.pm does
[ikiwiki.git] / 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'));