Update translation stats on save
This commit is contained in:
parent
87d198909d
commit
738d67a9c5
@ -353,6 +353,7 @@ class Unit(models.Model):
|
||||
(saved, pounit) = self.translation.update_unit(self, request)
|
||||
self.translated = pounit.istranslated()
|
||||
self.save(backend = True)
|
||||
self.translation.update_stats()
|
||||
# Propagate to other projects
|
||||
if propagate:
|
||||
allunits = Unit.objects.filter(
|
||||
|
Loading…
Reference in New Issue
Block a user