Commit 6376ea03 authored by Michal Čihař's avatar Michal Čihař

Show number of untranslated words as well

Issue #807
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 51f9dff2
......@@ -989,6 +989,16 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
'danger',
))
# Untranslated words, the link is same, just to show number of words
nottranslated = self.total_words - self.translated_words
if nottranslated > 0:
result.append((
'untranslated',
_('Untranslated words'),
nottranslated,
'danger',
))
# Fuzzy strings
if self.fuzzy > 0:
result.append((
......
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