Commit 69af5417 authored by Michal Čihař's avatar Michal Čihař

Fix import condition

parent 9333516a
......@@ -212,7 +212,7 @@ class Translation(models.Model):
# Load po file
store = self.get_store()
for pos, unit in enumerate(store.units):
if unit.istranslatable():
if not unit.istranslatable():
continue
newunit = Unit.objects.update_from_unit(self, unit, pos)
try:
......
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