]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
po: set Locale::Po4a::Xml's ontagerror option to warn only.
authorintrigeri <intrigeri@boum.org>
Thu, 26 May 2011 14:54:29 +0000 (16:54 +0200)
committerintrigeri <intrigeri@boum.org>
Thu, 26 May 2011 14:54:29 +0000 (16:54 +0200)
IkiWiki/Plugin/po.pm

index 9ccc79268b7564a159815da059e6de6adaba8439..ec58c515b7d5136ff2811e68969e6167bac2d692 100644 (file)
@@ -1245,6 +1245,7 @@ sub po4a_options($) {
                # how to disable options is not consistent across po4a modules
                $options{includessi} = '';
                $options{includeexternal} = 0;
                # how to disable options is not consistent across po4a modules
                $options{includessi} = '';
                $options{includeexternal} = 0;
+               $options{ontagerror} = 'warn';
        }
        elsif ($pagetype eq 'mdwn') {
                $options{markdown} = 1;
        }
        elsif ($pagetype eq 'mdwn') {
                $options{markdown} = 1;