]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/template.pm
* Fix aggregator to not warn when a feed contains no body content at all.
[ikiwiki.git] / IkiWiki / Plugin / template.pm
index 16a3c1e37e49f406861b1b2526ba2898b2ff92fd..690443558e71788e616f13575008cdfbffc09c3d 100644 (file)
@@ -16,7 +16,7 @@ sub preprocess (@) { #{{{
        my %params=@_;
 
        if (! exists $params{id}) {
-               return "[[".gettext("template missing id parameter")."]]";
+               return "[[template ".gettext("missing id parameter")."]]";
        }
 
        my $template_page="templates/$params{id}";
@@ -42,7 +42,7 @@ sub preprocess (@) { #{{{
                );
        };
        if ($@) {
-               return "[[".gettext("template failed to process:")." $@]]";
+               return "[[template ".gettext("failed to process:")." $@]]";
        }
 
        foreach my $param (keys %params) {