public function getPercentage($round = true)
    {
        if ($this->translated === 0 || $this->total === 0) {
            $result = $round ? 0 : 0.0;
        } elseif ($this->translated === $this->total) {
            $result = $round ? 100 : 100.0;
        } else {
            $result = $this->translated * 100.0 / $this->total;
            if ($round) {
                $result = max(1, min(99, (int) round($result)));
            }
        }

        return $result;
    }