From 67dd3c430425fd40d7f40f9a81b06a081ef82862 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 28 Feb 2012 13:20:53 +0100 Subject: [PATCH] Better check for translatable items --- trans/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trans/models.py b/trans/models.py index a4dfd9225..d9dd0a9cd 100644 --- a/trans/models.py +++ b/trans/models.py @@ -198,7 +198,7 @@ class Translation(models.Model): # Load po file store = factory.getobject(os.path.join(self.subproject.get_path(), self.filename)) for unit in store.units: - if unit.isheader() or unit.isobsolete(): + if unit.istranslatable(): continue newunit = Unit.objects.update_from_unit(self, unit) try: