print more text if gettext file does not use last gramps.pot

svn: r12227
This commit is contained in:
Jérôme Rapinat 2009-03-05 12:18:53 +00:00
parent 797075b59f
commit 8efc6f0184

View File

@ -558,7 +558,12 @@ def analyze_msgs( options, fname, msgs, nr_templates = None, nth = 0 ):
not_displayed = nr_untranslated + nr_fuzzy
translation = (1.0 - (float(not_displayed) / float(nr_templates))) * 100
print "%-20s%5.2f%%" % ( "Localized at:", translation)
text = "%-20s%5.2f%%" % ( "Localized at:", translation)
if template_coverage == po_coverage:
print text
else:
print text + ' (previous gramps.pot)'
if not options.only_summary:
for c in checks: