From 3a15230eba38d4b9661e3ab08e919526442603d1 Mon Sep 17 00:00:00 2001
From: Hans-Christoph Steiner <hans@eds.org>
Date: Wed, 30 Dec 2020 12:56:02 +0100
Subject: [PATCH] pick-complete-translations.py: print out rationale

---
 tools/pick-complete-translations.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/pick-complete-translations.py b/tools/pick-complete-translations.py
index a2357eeff..afa3659c6 100755
--- a/tools/pick-complete-translations.py
+++ b/tools/pick-complete-translations.py
@@ -51,6 +51,11 @@ for locale in metadata:
 for locale in sorted(app_locales.keys(), reverse=True):
     a = app_locales.get(locale)
     m = metadata_locales.get(locale)
+    if m:
+        print('%10s' % locale, a['translated_percent'], a['failing'], m['translated_percent'], m['failing'],
+              sep='\t')
+    else:
+        print('%10s' % locale, a['translated_percent'], a['failing'], sep='\t')
     if a is not None and a['translated_percent'] == 100 and a['failing'] == 0 \
        and m is not None and m['translated_percent'] == 100 and m['failing'] == 0:
         print(locale)