Propagate only to same language
This commit is contained in:
parent
a04cf580a6
commit
e36ca7363c
@ -314,6 +314,7 @@ class Unit(models.Model):
|
|||||||
allunits = Unit.objects.filter(
|
allunits = Unit.objects.filter(
|
||||||
checksum = self.checksum,
|
checksum = self.checksum,
|
||||||
translation__subproject__project = self.translation.subproject.project,
|
translation__subproject__project = self.translation.subproject.project,
|
||||||
|
translation__language = self.translation.language
|
||||||
).exclude(id = self.id)
|
).exclude(id = self.id)
|
||||||
for unit in allunits:
|
for unit in allunits:
|
||||||
unit.target = self.target
|
unit.target = self.target
|
||||||
|
Loading…
Reference in New Issue
Block a user