[IMP] translate: avoid loading duplicate code-type translations, we only care about one
bzr revid: odo@openerp.com-20120918073029-dujiwi17irt8m73t
This commit is contained in:
@@ -351,6 +351,7 @@ class TinyPoFile(object):
|
||||
if targets and not fuzzy:
|
||||
trans_type, name, res_id = targets.pop(0)
|
||||
for t, n, r in targets:
|
||||
if t == trans_type == 'code': continue
|
||||
self.extra_lines.append((t, n, r, source, trad, comments))
|
||||
|
||||
self.first = False
|
||||
|
||||
Reference in New Issue
Block a user