projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54898d1
)
use same error string as template.pm does
author
Joey Hess
<joey@kitenet.net>
Fri, 23 Apr 2010 18:45:02 +0000
(14:45 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 23 Apr 2010 18:45:02 +0000
(14:45 -0400)
IkiWiki/Plugin/inline.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/inline.pm
b/IkiWiki/Plugin/inline.pm
index 2d47cb4befdfd8532904552dab2622c704c08c2e..5d99c9da230c7b9c370f0b1bdac0430ffe746cab 100644
(file)
--- 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'));