diff options
-rw-r--r-- | ui_translate/update_svn.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui_translate/update_svn.py b/ui_translate/update_svn.py index 70b7f0b5..2d77dc4a 100644 --- a/ui_translate/update_svn.py +++ b/ui_translate/update_svn.py @@ -124,9 +124,10 @@ def i18n_cleanuptranslation_svn_branches_callback(lng, settings): return po = utils_i18n.I18nMessages(uid=lng['uid'], kind='PO', src=lng['po_path'], settings=settings) errs = po.check(fix=True) + cleanedup_commented = po.clean_commented() po.write(kind="PO", dest=lng['po_path']) print("Processing {} language ({}).\n" - "Cleaned up {} commented messages.\n".format(lng['name'], lng['uid'], po.clean_commented()) + + "Cleaned up {} commented messages.\n".format(lng['name'], lng['uid'], cleanedup_commented) + ("Errors in this po, solved as best as possible!\n\t" + "\n\t".join(errs) if errs else "") + "\n") |