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

Add missing import

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 4df18b54
......@@ -1125,6 +1125,8 @@ class Translation(models.Model, URLMixin, PercentMixin):
Merges translation unit wise, needed for template based translations to
add new strings.
"""
from weblate.trans.models.unit import Unit
for unit2 in store2.all_units():
# No translated -> skip
if not unit2.is_translated() or unit2.unit.isheader():
......
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