Include link to all strings

This commit is contained in:
Michal Čihař 2012-03-02 17:06:20 +01:00
parent 51378cf32d
commit b080e34eb3

View File

@ -342,7 +342,7 @@ class Translation(models.Model):
'''
Returns list of failing checks on current translation.
'''
result = []
result = [('all', _('All strings'))]
nottranslated = self.unit_set.filter_type('untranslated').count()
fuzzy = self.unit_set.filter_type('fuzzy').count()
suggestions = self.unit_set.filter_type('suggestions').count()