]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/fortune.pm
Improve error message when postsignin (probably from openid) fails due to
[ikiwiki.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";