summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/po.pm8
-rw-r--r--doc/plugins/po.mdwn6
2 files changed, 7 insertions, 7 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;
diff --git a/doc/plugins/po.mdwn b/doc/plugins/po.mdwn
index daee882ad..28b69e04b 100644
--- a/doc/plugins/po.mdwn
+++ b/doc/plugins/po.mdwn
@@ -41,9 +41,9 @@ Configuration
`po_slave_languages` is used to set the list of supported "slave"
languages, such as:
- po_slave_languages => { 'fr' => { 'name' => 'Français', },
- 'es' => { 'name' => 'Castellano', },
- 'de' => { 'name' => 'Deutsch', }
+ po_slave_languages => { 'fr' => 'Français',
+ 'es' => 'Castellano',
+ 'de' => 'Deutsch',
}
Decide which pages are translatable