From 69af54174d76f1a4a3c4a29f90c2c8269ef23225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Feb 2012 15:28:56 +0100 Subject: [PATCH] Fix import condition --- trans/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans/models.py b/trans/models.py index f819123b9..0efd79c4f 100644 --- a/trans/models.py +++ b/trans/models.py @@ -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: