Another place for new plurals code
This commit is contained in:
parent
0fa050534e
commit
e9dd7c07a9
@ -202,7 +202,7 @@ class Unit(models.Model):
|
||||
def update_from_unit(self, unit):
|
||||
location = ', '.join(unit.getlocations())
|
||||
flags = '' # FIXME
|
||||
target = PLURAL_SEPARATOR.join(unit.target.strings)
|
||||
target = join_plural(unit.target.strings)
|
||||
fuzzy = unit.isfuzzy()
|
||||
if location == self.location and flags == self.flags and target == self.target and fuzzy == self.fuzzy:
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user