From 8efc6f01847a6bf922b2b430884b965dd8a918c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 5 Mar 2009 12:18:53 +0000 Subject: [PATCH] print more text if gettext file does not use last gramps.pot svn: r12227 --- po/check_po | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/po/check_po b/po/check_po index e6ae9f2b8..18c2bcc14 100755 --- a/po/check_po +++ b/po/check_po @@ -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: