X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/6fc66f83deba6df8abdf4bc117f8da7efbd7cbc1..4c0ffd59fd8c193c6b207d902750de4a63ded897:/IkiWiki/Plugin/template.pm diff --git a/IkiWiki/Plugin/template.pm b/IkiWiki/Plugin/template.pm index 16a3c1e37..690443558 100644 --- a/IkiWiki/Plugin/template.pm +++ b/IkiWiki/Plugin/template.pm @@ -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) {