From: intrigeri Date: Wed, 15 Oct 2008 05:06:35 +0000 (+0200) Subject: po plugin: bugfix (OTHERLANGUAGES) X-Git-Tag: 3.15~420 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1aad01f841be86bacaa0f055fc10abcad994bb3b;p=ikiwiki.git po plugin: bugfix (OTHERLANGUAGES) Signed-off-by: intrigeri --- diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index 1dcec7bec..716aa9151 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -351,7 +351,7 @@ sub otherlanguages ($) { #{{{ url => urlto($translations{$masterpage}{$lang}, $page), code => $lang, language => $config{po_slave_languages}{$lang}, - percent => percenttranslated($page), + percent => percenttranslated($translations{$masterpage}{$lang}), } unless ($lang eq $curlang); } }