my $res=$origsubs{'beautify_urlpath'}->($url);
if ($config{po_link_to} eq "negotiated") {
$res =~ s!/\Qindex.$config{po_master_language}{code}.$config{htmlext}\E$!/!;
my $res=$origsubs{'beautify_urlpath'}->($url);
if ($config{po_link_to} eq "negotiated") {
$res =~ s!/\Qindex.$config{po_master_language}{code}.$config{htmlext}\E$!/!;
return 0 unless (defined $file
&& defined pagetype($file)
&& pagetype($file) eq 'po');
return 0 unless (defined $file
&& defined pagetype($file)
&& pagetype($file) eq 'po');
} #}}}
sub istranslation ($) { #{{{
my $page=shift;
if (1 < (my ($masterpage, $lang) = _istranslation($page))) {
} #}}}
sub istranslation ($) { #{{{
my $page=shift;
if (1 < (my ($masterpage, $lang) = _istranslation($page))) {
code => $lang,
language => languagename($lang),
percent => percenttranslated($otherpage),
code => $lang,
language => languagename($lang),
percent => percenttranslated($otherpage),