X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/728e0d12aee1669f2ed53e479aea4cc808f364ef..35be483aa25506229cf9af67fa3066ea696c6546:/doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn 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 index 66d16bf23..82aed400d 100644 --- 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 @@ -6,5 +6,11 @@ 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.) +> It doesn't happen because smiley adds the underlay unconditionally on +> import. Which is really more usual. + To see them all, `po` should use `last => 1` when registering the hook. --[[smcv]] + +> At least all that don't last their hooks too! But, added, since +> it will make the problem much less likely to occur. --[[Joey]] [[done]]