summaryrefslogtreecommitdiff
path: root/po/underlay.setup
blob: 8d3516cff14a789341e25ae6c08d56feb397809e (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki that uses the po plugin to build/update
  3. # po and pot files for pages in the underlays.
  4. use IkiWiki::Setup::Standard {
  5. # List here all languages that have translations.
  6. # Listing languages without active translations
  7. # will excessively bloat things.
  8. po_slave_languages => {
  9. 'es' => 'Español',
  10. 'de' => 'Deutsch',
  11. 'fr' => 'Français',
  12. 'da' => 'Dansk',
  13. 'cs' => 'česky',
  14. },
  15. po_master_language => { 'code' => 'en', 'name' => 'English' },
  16. po_translatable_pages => "*",
  17. add_plugins => [qw{po}],
  18. wikiname => "ikiwiki",
  19. srcdir => "underlays",
  20. destdir => "html",
  21. templatedir => "templates",
  22. # we don't want to pull in the normal underlays
  23. underlaydirbase => "underlays/empty",
  24. underlaydir => "underlays/empty",
  25. disable_plugins => [qw{openid}], # needs special underlay
  26. discussion => 0,
  27. locale => '',
  28. verbose => 1,
  29. syslog => 0,
  30. }