translated + $this->unpublished + $this->in_progress + $this->missing; } /** * Share of published translations in percent, one decimal. 100 when there is nothing to translate. */ public function coverage_pct(): float { return 0 === $this->total() ? 100.0 : round( $this->translated / $this->total() * 100, 1 ); } }