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

Look only for translated units on consistency checking

parent 82146d4d
...@@ -66,6 +66,8 @@ class ConsistencyCheck(TargetCheck): ...@@ -66,6 +66,8 @@ class ConsistencyCheck(TargetCheck):
id=unit.id, id=unit.id,
translation__subproject__allow_translation_propagation=False, translation__subproject__allow_translation_propagation=False,
) )
if not unit.translated:
related.filter(translated=True)
if unit.fuzzy: if unit.fuzzy:
related = related.exclude(fuzzy=True) related = related.exclude(fuzzy=True)
for unit2 in related.iterator(): for unit2 in related.iterator():
......
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