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>master
parent
d39f69da7f
commit
32cc0b336a
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue