X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/06b54358ed532074cc9f5eef0d5e657031977b82..08254c722032a2cf67c3fb1a1681c977fb204355:/underlaypo.setup diff --git a/underlaypo.setup b/underlaypo.setup index 530bda46b..cc8be38ea 100644 --- a/underlaypo.setup +++ b/underlaypo.setup @@ -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 => "*", }