]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/fortune.pm
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
[git.ikiwiki.info.git] / IkiWiki / Plugin / fortune.pm
index 4ff343e3a0c891f5e7b0fd7019706f946d16be61..3bab134bed8e8d4bf152dee04bbff1bdb42a9727 100644 (file)
@@ -15,7 +15,7 @@ sub preprocess (@) { #{{{
        my $f = `fortune 2>/dev/null`;
 
        if ($?) {
-               return "[[fortune failed]]";
+               return "[[".gettext("fortune failed")."]]";
        }
        else {
                return "<pre>$f</pre>\n";