Initialize variable

This commit is contained in:
Michal Čihař 2012-02-28 14:29:31 +01:00
parent 9becb305c0
commit c5892f62d0

View File

@ -242,6 +242,7 @@ class Translation(models.Model):
store = self.get_store()
src = unit.get_source_plurals()[0]
pounits = store.findunits(src)
need_save = False
for pounit in pounits:
if pounit.getcontext() == unit.context:
if unit.target != join_plural(pounit.target.strings):