diff options
author | https://www.google.com/accounts/o8/id?id=AItOawnZ0g2UAijV7RGrKtWPljCCAYHBJ3pwPvM <Meng@web> | 2011-12-20 00:55:00 -0400 |
---|---|---|
committer | admin <admin@branchable.com> | 2011-12-20 00:55:00 -0400 |
commit | 5afb2cea85731776365c6e0054aecf145c8a0acf (patch) | |
tree | f846ed17108a48adb0a482b3a4941eec17953caa /doc/forum/How_to_configure_po_plugin__63__.mdwn | |
parent | da5b4fc5bb07dbd0aa16b16188e1ebd6fbc22465 (diff) | |
download | ikiwiki-5afb2cea85731776365c6e0054aecf145c8a0acf.tar ikiwiki-5afb2cea85731776365c6e0054aecf145c8a0acf.tar.gz |
Diffstat (limited to 'doc/forum/How_to_configure_po_plugin__63__.mdwn')
-rw-r--r-- | doc/forum/How_to_configure_po_plugin__63__.mdwn | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/forum/How_to_configure_po_plugin__63__.mdwn b/doc/forum/How_to_configure_po_plugin__63__.mdwn new file mode 100644 index 000000000..a03358ddd --- /dev/null +++ b/doc/forum/How_to_configure_po_plugin__63__.mdwn @@ -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? |