aboutsummaryrefslogtreecommitdiff
path: root/po/underlay.setup
blob: 8d3516cff14a789341e25ae6c08d56feb397809e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/perl
# Configuration file for ikiwiki that uses the po plugin to build/update
# 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 => {
		'es' => 'Español',
		'de' => 'Deutsch',
		'fr' => 'Français',
		'da' => 'Dansk',
		'cs' => 'česky',
        },
	po_master_language => { 'code' => 'en', 'name' => 'English' },
	po_translatable_pages => "*",
	add_plugins => [qw{po}],

	wikiname => "ikiwiki",
	srcdir => "underlays",
	destdir => "html",
	templatedir => "templates",
	# we don't want to pull in the normal underlays
	underlaydirbase => "underlays/empty",
	underlaydir => "underlays/empty",
	disable_plugins => [qw{openid}], # needs special underlay
	discussion => 0,
	locale => '',
	verbose => 1,
	syslog => 0,
}