Commit 7041b75b authored by Michal Čihař's avatar Michal Čihař

Mark empty projects as fully translated

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 6f575cf2
......@@ -219,7 +219,7 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
'''
# No units?
if self.total == 0:
return (0, 0, 0)
return (100, 0, 0)
return (
translation_percent(self.translated, self.total),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment