diff --git a/trans/models.py b/trans/models.py index d9c9b6dc7..83061e6d2 100644 --- a/trans/models.py +++ b/trans/models.py @@ -189,6 +189,8 @@ 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(): + continue newunit = Unit.objects.update_from_unit(self, unit) try: oldunits.remove(newunit.id)