Commit 9cdbd6e8 authored by Michal Čihař's avatar Michal Čihař

Merge remote-tracking branch 'origin/master'

parents 488bd67f b986bc4c
......@@ -702,7 +702,7 @@ class Unit(models.Model):
old_translated = self.translation.translated
self.translation.update_stats()
# Force commiting on completing translation
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()
Change.objects.create(unit = self, user = request.user)
# Propagate to other projects
......
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