diff options
author | intrigeri <intrigeri@boum.org> | 2008-10-19 00:12:21 +0200 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2008-10-19 00:12:21 +0200 |
commit | 95ab2253afe7cf673568762d2ceb74f0fe043067 (patch) | |
tree | 530161f7ad148e7e1e19da78532393d48f7ad474 /IkiWiki | |
parent | da494462a8bd18913247ff09a8bcfe5fe6c0f809 (diff) | |
parent | f096a9d7986025badd2f2773bbf71fb33cb96b7b (diff) |
Merge branch 'prv/po' into pub/po
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 26bd893a9..56f4162da 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -371,6 +371,12 @@ sub pagetemplate (@) { #{{{ if (istranslation($page) && $template->query(name => "percenttranslated")) { $template->param(percenttranslated => percenttranslated($page)); } + if ($template->query(name => "istranslation")) { + $template->param(istranslation => istranslation($page)); + } + if ($template->query(name => "istranslatable")) { + $template->param(istranslatable => istranslatable($page)); + } if ($template->query(name => "otherlanguages")) { $template->param(otherlanguages => [otherlanguages($page)]); if (istranslatable($page)) { |