]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/mdwn.pm
* Search in default location for templates as a fallback when templatedir is
[ikiwiki.git] / IkiWiki / Plugin / mdwn.pm
index 625f77f2121aa73b1b29e471bc1828592c260898..c087f2b41309f892e52476305bf31ccc48fb7840 100644 (file)
@@ -34,7 +34,7 @@ sub htmlize (@) { #{{{
                        }
                        else {
                                do "/usr/bin/markdown" ||
                        }
                        else {
                                do "/usr/bin/markdown" ||
-                                       error("failed to load Markdown.pm perl module ($@) or /usr/bin/markdown ($!)");
+                                       error(sprintf(gettext("failed to load Markdown.pm perl module (%s) or /usr/bin/markdown (%s)"), $@, $!));
                                $markdown_sub=\&Markdown::Markdown;
                        }
                }
                                $markdown_sub=\&Markdown::Markdown;
                        }
                }