replace N/A with 0
I think the N/A was not intended to be visible, but it can show up as the percent translated to a language. This happens if the page is located in an underlay, and not translated to the language in any other underlay.master
parent
0e4f67842a
commit
1be07eae46
|
@ -891,7 +891,7 @@ sub percenttranslated ($) {
|
||||||
my $page=shift;
|
my $page=shift;
|
||||||
|
|
||||||
$page=~s/^\///;
|
$page=~s/^\///;
|
||||||
return gettext("N/A") unless istranslation($page);
|
return gettext("0") unless istranslation($page);
|
||||||
my $file=srcfile($pagesources{$page});
|
my $file=srcfile($pagesources{$page});
|
||||||
my $masterfile = srcfile($pagesources{masterpage($page)});
|
my $masterfile = srcfile($pagesources{masterpage($page)});
|
||||||
my %options = (
|
my %options = (
|
||||||
|
|
Loading…
Reference in New Issue