diff options
author | intrigeri <intrigeri@boum.org> | 2010-07-20 13:24:25 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-07-20 13:27:17 +0200 |
commit | 38014f0cad580c9f2468c1b72475b876209fb3e6 (patch) | |
tree | e3958560cc3f04bdc92aa01e664c786ee757f9ca /t/po.t | |
parent | bb22e8c4a6324f20eb8987e291541556d24783b1 (diff) | |
download | ikiwiki-38014f0cad580c9f2468c1b72475b876209fb3e6.tar ikiwiki-38014f0cad580c9f2468c1b72475b876209fb3e6.tar.gz |
Run checkconfig after loading the po plugin, else state is not populated.
The pofiles function relies on @slavelanguages to have been populated by po's
checkconfig hook.
Diffstat (limited to 't/po.t')
-rwxr-xr-x | t/po.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,8 +42,8 @@ $config{po_slave_languages} = { $config{po_translatable_pages}='index or test1 or test2 or translatable'; $config{po_link_to}='negotiated'; IkiWiki::loadplugins(); -IkiWiki::checkconfig(); ok(IkiWiki::loadplugin('po'), "po plugin loaded"); +IkiWiki::checkconfig(); ### seed %pagesources and %pagecase $pagesources{'index'}='index.mdwn'; |