diff options
author | intrigeri <intrigeri@boum.org> | 2008-11-06 12:28:31 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-11-06 12:28:31 +0100 |
commit | 1f54c13ec24977988a303f004f3fc08ee2e01abc (patch) | |
tree | 6e199ad04a48100286304ef53095e720ac72bca6 /IkiWiki/Plugin/inline.pm | |
parent | bd2dd8c60336ad7a03194d2a53f5409a620e484d (diff) | |
parent | 17bd930bc9f4192e084a223cf57af94680741853 (diff) |
Merge commit 'upstream/po' into prv/po
Conflicts:
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin/inline.pm')
-rw-r--r-- | IkiWiki/Plugin/inline.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 1b1ca2ce2..7fe5a4dcf 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -201,7 +201,7 @@ sub preprocess_inline (@) { #{{{ @list=sort { $pagectime{$b} <=> $pagectime{$a} } @list; } else { - return sprintf(gettext("unknown sort type %s"), $params{sort}); + error sprintf(gettext("unknown sort type %s"), $params{sort}); } if (yesno($params{reverse})) { @@ -298,7 +298,7 @@ sub preprocess_inline (@) { #{{{ require HTML::Template; my @params=IkiWiki::template_params($params{template}.".tmpl", blind_cache => 1); if (! @params) { - return sprintf(gettext("nonexistant template %s"), $params{template}); + error sprintf(gettext("nonexistant template %s"), $params{template}); } my $template=HTML::Template->new(@params) unless $raw; |