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
Joey Hess 2009-08-15 21:08:17 -04:00
parent 0e4f67842a
commit 1be07eae46
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ sub percenttranslated ($) {
my $page=shift;
$page=~s/^\///;
return gettext("N/A") unless istranslation($page);
return gettext("0") unless istranslation($page);
my $file=srcfile($pagesources{$page});
my $masterfile = srcfile($pagesources{masterpage($page)});
my %options = (