summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-13 18:21:59 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 15:49:10 +0200
commit32cc0b336ae830831787b2024b855ed7db0a1589 (patch)
treeba3bbb1c58287083102ada00f73a299f0b22c60f /IkiWiki
parentd39f69da7f392fb73a54b9fbeddfac497f5b824b (diff)
po plugin: po_slave_languages is a hash, rather than a hash of hashes
The latter seems to be unsupported by ikiwiki config system. Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index e06fd5043..0c95f6c14 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -45,9 +45,10 @@ sub getsetup () { #{{{
},
po_slave_languages => {
type => "string",
- example => {'fr' => { 'name' => 'Français' },
- 'es' => { 'name' => 'Castellano' },
- 'de' => { 'name' => 'Deutsch' },
+ example => {
+ 'fr' => 'Français',
+ 'es' => 'Castellano',
+ 'de' => 'Deutsch'
},
description => "slave languages (PO files)",
safe => 1,
@@ -244,7 +245,6 @@ sub istranslation ($) { #{{{
return 0;
} #}}}
-
package IkiWiki::PageSpec;
use warnings;
use strict;