summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/po.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index 93274ba13..292775975 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -490,7 +490,9 @@ sub myurlto ($$;$) { #{{{
sub mynicepagetitle ($;$) { #{{{
my ($page, $unescaped) = (shift, shift);
- return $origsubs{'nicepagetitle'}->($page, $unescaped);
+ my $res = $origsubs{'nicepagetitle'}->($page, $unescaped);
+ return $res unless istranslation($page);
+ return $res." (".percenttranslated($page).")";
} #}}}
# ,----