]> sipb.mit.edu Git - ikiwiki.git/blobdiff - underlaypo.setup
use empty underlay dirs when building po underlays
[ikiwiki.git] / underlaypo.setup
index 530bda46bc418d0c018f42a130f3eb7ebdf7cd0f..cc8be38eac47e2dd1539e5993e87e9f08a52d534 100644 (file)
@@ -1,28 +1,29 @@
 #!/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",
        templatedir => "templates",
        # we don't want to pull in the normal underlays
-       underlaydirbase => "po/underlays",
-       underlaydir => "po/underlays/basewiki",
+       underlaydirbase => "po/underlays/empty",
+       underlaydir => "po/underlays/empty",
        discussion => 0,
        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 => "*",
 }