From: http://smcv.pseudorandom.co.uk/ Date: Fri, 7 Jan 2011 19:38:16 +0000 (+0000) Subject: suspected bug X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=728e0d12aee1669f2ed53e479aea4cc808f364ef suspected bug --- diff --git a/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn b/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn new file mode 100644 index 000000000..66d16bf23 --- /dev/null +++ b/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn @@ -0,0 +1,10 @@ +[[plugins/po]]'s `checkconfig` looks in the `underlaydirs`, but plugins that +add underlays typically do so in their own `checkconfig`. + +As far as I can see, this will result in it not adding translated versions +of underlays added by a plugin that comes after it in `$config{add_plugins}`; +for instance, if you have `add_plugins => qw(po smiley)`, you'll probably +not get the translated versions of `smileys.mdwn`. (I haven't tested this.) + +To see them all, `po` should use `last => 1` when registering the hook. +--[[smcv]]