]> sipb.mit.edu Git - ikiwiki.git/blobdiff - underlaypo.setup
speed up incremental underlaypo runs
[ikiwiki.git] / underlaypo.setup
index 530bda46bc418d0c018f42a130f3eb7ebdf7cd0f..c0d503f49e1fa33da79b0ba979cf631fa600669c 100644 (file)
@@ -1,8 +1,20 @@
 #!/usr/bin/perl
 # Configuration file for ikiwiki that uses the po plugin to build/update
-# po files for pages in the underlays.
+# po and pot files for pages in the underlays.
 
 use IkiWiki::Setup::Standard {
+       # List here all languages that have translations.
+       # Listing languages without active translations
+       # will excessively bloat things.
+        po_slave_languages => {
+               #'fr' => 'Français',
+                #'es' => 'Español',
+                #'de' => 'Deutsch',
+        },
+       po_master_language => { 'code' => 'en', 'name' => 'English' },
+       po_translatable_pages => "*",
+       add_plugins => [qw{po}],
+
        wikiname => "ikiwiki",
        srcdir => "po/underlays",
        destdir => "po/html",
@@ -14,15 +26,4 @@ use IkiWiki::Setup::Standard {
        locale => '',
        verbose => 1,
        syslog => 0,
-       add_plugins => [qw{po}],
-       po_master_language => { 'code' => 'en', 'name' => 'English' },
-       # List here all languages that have translations.
-       # Listing languages that are not being actively
-       # translated on will excessively bloat things.
-        po_slave_languages => {
-               #'fr' => 'Français',
-                #'es' => 'Español',
-                #'de' => 'Deutsch',
-        },
-       po_translatable_pages => "*",
 }