summaryrefslogtreecommitdiff
path: root/underlaypo.setup
diff options
context:
space:
mode:
Diffstat (limited to 'underlaypo.setup')
-rw-r--r--underlaypo.setup25
1 files changed, 13 insertions, 12 deletions
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 => "*",
}