po plugin: bugfix (OTHERLANGUAGES)
[ikiwiki.git] / 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);
                }
        }