Commit 5509a2e3 authored by Michal Čihař's avatar Michal Čihař

Honor overwrite flag when merging translations by unit

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 0b06c222
......@@ -1070,6 +1070,9 @@ class Translation(models.Model, URLMixin, PercentMixin, LoggerMixin):
except Unit.DoesNotExist:
continue
if unit.translated and not overwrite:
continue
ret = True
unit.translate(
......
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