]> sipb.mit.edu Git - ikiwiki.git/commitdiff
suspected bug
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>
Fri, 7 Jan 2011 19:38:16 +0000 (19:38 +0000)
committerJoey Hess <joey@kitenet.net>
Fri, 7 Jan 2011 19:38:16 +0000 (19:38 +0000)
doc/bugs/po:_might_not_add_translated_versions_of_all_underlays.mdwn [new file with mode: 0644]

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 (file)
index 0000000..66d16bf
--- /dev/null
@@ -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]]