X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/126952bd339bac590beae2324ff0f399883bc256..2f2a721043a27b3b423f0a0270ea7f125883e0f3:/underlaypo.setup?ds=inline diff --git a/underlaypo.setup b/underlaypo.setup index 530bda46b..c0d503f49 100644 --- a/underlaypo.setup +++ b/underlaypo.setup @@ -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 => "*", }