]> sipb.mit.edu Git - ikiwiki.git/commit
po plugin: move translatable pages to setup file, refactor
authorintrigeri <intrigeri@boum.org>
Fri, 10 Oct 2008 19:47:20 +0000 (21:47 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 13:49:10 +0000 (15:49 +0200)
commite163b037bf3c9fa68be0971752e6d6584f8d55fd
treedb706eee011468db6b9b8ed01c0120f3cf613647
parent886f35153b0945ec39568c61d3e7451c18be6be8
po plugin: move translatable pages to setup file, refactor

Replaced [[!translatable]] directive with po_translatable_pages setting.

Moved istranslatable/istranslation code to helper functions leaving place for
future caching and/or memoization. The PageSpec functions still work.

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