summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/testpagespec.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/testpagespec.pm')
-rw-r--r--IkiWiki/Plugin/testpagespec.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/testpagespec.pm b/IkiWiki/Plugin/testpagespec.pm
index f9ec90d87..4faef7be1 100644
--- a/IkiWiki/Plugin/testpagespec.pm
+++ b/IkiWiki/Plugin/testpagespec.pm
@@ -14,7 +14,7 @@ sub preprocess (@) { #{{{
foreach my $param (qw{match pagespec}) {
if (! exists $params{$param}) {
- return "[[testpagespec $param parameter is required]]";
+ error sprintf(gettext("%s parameter is required"), $param);
}
}