Commit ab642e61 authored by Michal Čihař's avatar Michal Čihař

Move todo string to the top

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5be33f9b
...@@ -984,15 +984,6 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -984,15 +984,6 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
self.translated_words, self.translated_words,
) )
# Not translated strings
result.add_if(
'nottranslated',
_('Not translated strings'),
self.total - self.translated - self.fuzzy,
'danger',
self.total_words - self.translated_words - self.fuzzy_words,
)
# Untranslated strings # Untranslated strings
result.add_if( result.add_if(
'todo', 'todo',
...@@ -1002,6 +993,15 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin): ...@@ -1002,6 +993,15 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
self.total_words - self.translated_words, self.total_words - self.translated_words,
) )
# Not translated strings
result.add_if(
'nottranslated',
_('Not translated strings'),
self.total - self.translated - self.fuzzy,
'danger',
self.total_words - self.translated_words - self.fuzzy_words,
)
# Fuzzy strings # Fuzzy strings
result.add_if( result.add_if(
'fuzzy', 'fuzzy',
......
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