Fix import condition
This commit is contained in:
parent
9333516ac3
commit
69af54174d
@ -212,7 +212,7 @@ class Translation(models.Model):
|
|||||||
# Load po file
|
# Load po file
|
||||||
store = self.get_store()
|
store = self.get_store()
|
||||||
for pos, unit in enumerate(store.units):
|
for pos, unit in enumerate(store.units):
|
||||||
if unit.istranslatable():
|
if not unit.istranslatable():
|
||||||
continue
|
continue
|
||||||
newunit = Unit.objects.update_from_unit(self, unit, pos)
|
newunit = Unit.objects.update_from_unit(self, unit, pos)
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user