]> sipb.mit.edu Git - ikiwiki.git/commitdiff
po plugin: added *.pot to wiki_file_prune_regexps
authorintrigeri <intrigeri@boum.org>
Fri, 10 Oct 2008 19:56:40 +0000 (21:56 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 13:49:10 +0000 (15:49 +0200)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn

index ca59a8c9c9aad654c34bc9d49c8e9151493cbedb..d60ade4992b7afbc6db27f8d51deb3478fe91772 100644 (file)
@@ -82,6 +82,7 @@ sub checkconfig () { #{{{
        if ($config{po_link_to} eq "negotiated" && ! $config{usedirs}) {
                error(gettext("po_link_to=negotiated requires usedirs to be set"));
        }
+       push @{$config{wiki_file_prune_regexps}}, qr/\.pot$/;
 } #}}}
 
 sub scan (@) { #{{{
index 20ca5c4a537e38b32f17e87855895b9bdb653a3f..b587c79c4a3c566b1dad4800c4f1edf73ca87ec1 100644 (file)
@@ -173,8 +173,6 @@ The latter can be implemented by making any "slave" page depend on the
 corresponding "master" page. The `add_depends` function can achieve
 this, if used in a **FIXME** hook.
 
-The POT files should not be published on the wiki.
-
 UI consistency: rename "Edit" button on slave pages
 ---------------------------------------------------