my %params=@_;
if (! exists $params{test} || ! exists $params{then}) {
- return "[[if requires \"test\" and \"then\" parameters]]";
+ return "[[if ".gettext('"test" and "then" parameters are required')."]]";
}
my $result=0;
else {
$ret="";
}
- return IkiWiki::preprocess($params{page}, $params{destpage}, $ret);
+ return IkiWiki::preprocess($params{page}, $params{destpage},
+ IkiWiki::filter($params{page}, $ret));
} # }}}
package IkiWiki::PageSpec;