diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-13 13:00:07 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-13 13:03:30 +0100 |
commit | 196f03a98744db0db4f5218bf243d208f245f7a9 (patch) | |
tree | f6b254e769edc551a915d5df0a02ab773e646807 /IkiWiki | |
parent | 82197bd0eaa216b841caace38c976acc7f6ad3fa (diff) |
po: do not add translation status to parentlinks
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index a307e5d6b..157575483 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -593,6 +593,9 @@ sub mynicepagetitle ($;$) { my $res = $origsubs{'nicepagetitle'}->($page, $unescaped); return $res unless istranslation($page); return $res unless $config{po_translation_status_in_links}; + my @caller = caller(1); + return $res if (exists $caller[3] && defined $caller[3] + && $caller[3] eq "IkiWiki::Plugin::parentlinks::parentlinks"); return $res.' ('.percenttranslated($page).' %)'; } |