]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/conditional.pm
* Fix a security hole that allowed insertion of unsafe content via the meta
[ikiwiki.git] / IkiWiki / Plugin / conditional.pm
index 293fbc1914597ef2364e81ad4978c381bf812f76..ed533109ac113fc5bba4836258ee1bb6bac29cd0 100644 (file)
@@ -17,7 +17,7 @@ sub preprocess_if (@) { #{{{
        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;