Commit 2596b95d authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents d64031cb 4ff6a0d9
......@@ -579,7 +579,8 @@ class Unit(models.Model):
fuzzy = unit.isfuzzy()
translated = unit.istranslated()
comment = unit.getnotes()
same_content = (target == self.target)
# Update checks on fuzzy update or on content change
same_content = (target == self.target and fuzzy == self.fuzzy)
if not force and location == self.location and flags == self.flags and same_content and fuzzy == self.fuzzy and translated == self.translated and comment == self.comment and pos == self.position:
return
self.position = pos
......@@ -692,6 +693,7 @@ class Unit(models.Model):
def check(self):
if self.fuzzy:
self.checks().delete()
return
src = self.get_source_plurals()
tgt = self.get_target_plurals()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment