https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM 2011-12-20 00:55:00 -04:00 committed by admin
parent da5b4fc5bb
commit 5afb2cea85
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
I put
# po plugin
po_master_language => 'en|English',
po_slave_languages => [ 'zh|Chinese']
in page.setup. And did
$ikiwiki --setup ./page.setup
but get errors:
Can't use string ("en|English") as a HASH ref while "strict refs" in use at /usr/share/perl5/IkiWiki/Plugin/po.pm line 162.
Line 162 of the file reads
delete $config{po_slave_languages}{$config{po_master_language}{code}};;
What's wrong? How to fix it?