Fix import condition

This commit is contained in:
Michal Čihař 2012-02-28 15:28:56 +01:00
parent 9333516ac3
commit 69af54174d

View File

@ -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: