Commit 6d2ef5ae authored by Weblate's avatar Weblate

Merge remote-tracking branch 'origin/master'

parents 65637bec 5fc80777
...@@ -2176,7 +2176,7 @@ class Unit(models.Model): ...@@ -2176,7 +2176,7 @@ class Unit(models.Model):
if old_translated < self.translation.translated and self.translation.translated == self.translation.total: if old_translated < self.translation.translated and self.translation.translated == self.translation.total:
self.translation.commit_pending() self.translation.commit_pending()
Change.objects.create( Change.objects.create(
translation = unit.translation, translation = self.translation,
action = Change.ACTION_COMPLETE, action = Change.ACTION_COMPLETE,
user = request.user user = request.user
) )
......
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