po: redesign (once more) automatic POT/PO files update
authorintrigeri <intrigeri@boum.org>
Thu, 6 Nov 2008 14:54:55 +0000 (15:54 +0100)
committerintrigeri <intrigeri@boum.org>
Thu, 6 Nov 2008 14:54:55 +0000 (15:54 +0100)
commit8b001dbb00d702fad648c0f313b0d1d6a3827325
tree1a1124c1b1eca5ab45d2393a9ae41f4c5f1b1d44
parentc8cc03c824b7a9e6a091192291a40246dbef3b2f
po: redesign (once more) automatic POT/PO files update

Now use the change hook to update these files, check them into VCS, and trigger
IkiWiki::refresh as needed. The needsbuild hook's help was required to prevent
infinite looping.

This more rigorous way of doing this fixes recentchanges (that was previously
not updated in some cases), and probably is a better long-term solution than the
two previously tested ones.

Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
doc/plugins/po.mdwn