try to avoid mistakes on translations
svn: r12212
This commit is contained in:
parent
f0c39aae21
commit
65c3b60c55
@ -556,6 +556,10 @@ def analyze_msgs( options, fname, msgs, nr_templates = None, nth = 0 ):
|
|||||||
template_coverage = po_coverage * float(nr_msgs) / float(nr_templates)
|
template_coverage = po_coverage * float(nr_msgs) / float(nr_templates)
|
||||||
print "%-20s%5.2f%%" % ( "Template Coverage:", template_coverage )
|
print "%-20s%5.2f%%" % ( "Template Coverage:", template_coverage )
|
||||||
|
|
||||||
|
not_displayed = nr_untranslated + nr_fuzzy
|
||||||
|
translation = (1.0 - (float(not_displayed) / float(nr_templates))) * 100
|
||||||
|
print "%-20s%5.2f%%" % ( "Localized at:", translation)
|
||||||
|
|
||||||
if not options.only_summary:
|
if not options.only_summary:
|
||||||
for c in checks:
|
for c in checks:
|
||||||
c.diag()
|
c.diag()
|
||||||
|
1560
po/gramps.pot
1560
po/gramps.pot
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user