translate: don't complain about fuzzy strings.

They are part of the format and ought to be silently discarded.

bzr revid: p_christ@hol.gr-20101123135858-zkp7hjcn4slv3r57
This commit is contained in:
P. Christeas 2010-11-23 15:58:58 +02:00
parent 8e6c11a16c
commit 7ce5179086
1 changed files with 3 additions and 1 deletions

View File

@ -317,7 +317,9 @@ class TinyPoFile(object):
self.first = False
if name is None:
self.warn('Missing "#:" formated comment for the following source:\n\t%s' % (source,))
if not fuzzy:
self.warn('Missing "#:" formated comment at line %d for the following source:\n\t%s',
self.cur_line(), source[:30])
return self.next()
return type, name, res_id, source, trad