]> sipb.mit.edu Git - ikiwiki.git/commitdiff
po plugin: bugfix (OTHERLANGUAGES)
authorintrigeri <intrigeri@boum.org>
Wed, 15 Oct 2008 05:06:35 +0000 (07:06 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 13:49:12 +0000 (15:49 +0200)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm

index 1dcec7bec268ee82a7c39a579401e9bd033c91cf..716aa9151e873e1e838285c3c8c160e1ef4d74b3 100644 (file)
@@ -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);
                }
        }