Commit 429b3583 authored by Michal Čihař's avatar Michal Čihař

Process only target checks here

parent db1f0a4d
...@@ -1813,6 +1813,8 @@ class Translation(models.Model): ...@@ -1813,6 +1813,8 @@ class Translation(models.Model):
if allchecks > 0: if allchecks > 0:
result.append(('allchecks', _('Strings with any failing checks (%d)') % allchecks)) result.append(('allchecks', _('Strings with any failing checks (%d)') % allchecks))
for check in CHECKS: for check in CHECKS:
if not CHECKS[check].target:
continue
cnt = self.unit_set.count_type(check, self) cnt = self.unit_set.count_type(check, self)
if cnt > 0: if cnt > 0:
desc = CHECKS[check].description + (' (%d)' % cnt) desc = CHECKS[check].description + (' (%d)' % cnt)
......
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