diff options
Diffstat (limited to 'IkiWiki/Plugin/template.pm')
-rw-r--r-- | IkiWiki/Plugin/template.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |