summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-10-15 07:06:35 +0200
committerintrigeri <intrigeri@boum.org>2008-10-18 15:49:12 +0200
commit1aad01f841be86bacaa0f055fc10abcad994bb3b (patch)
treeeb2d9934dbc1d8be992f9e0ae2485171ffc3bb5b
parent1d767625178380c6b760b9ea4bb41a11a7c95d53 (diff)
po plugin: bugfix (OTHERLANGUAGES)
Signed-off-by: intrigeri <intrigeri@boum.org>
-rw-r--r--IkiWiki/Plugin/po.pm2
1 files changed, 1 insertions, 1 deletions
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);
}
}