[gnome-keysign: 5/9] i18n: remove translatable debug strings



commit cf5547e33829278d32add8a0fbbd7c86c807b605
Author: Tobias Mueller <muelli cryptobitch de>
Date:   Thu Feb 14 13:34:23 2019 +0100

    i18n: remove translatable debug strings
    
    I think it works well enough. So let's not waste the precious time of
    our translators with these strings.

 keysign/i18n.py | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/keysign/i18n.py b/keysign/i18n.py
index 3af4b83..d70b076 100644
--- a/keysign/i18n.py
+++ b/keysign/i18n.py
@@ -35,13 +35,8 @@ lang = gettext.translation(APP, DIR, fallback=True)
 
 
 from locale import gettext as _
-# TRANSLATORS: Please include your locale, e.g. "de". We're trying to debug native gettext
-log.debug (_("Translated for gettext (C)"))
 
 try:
     _ = lang.ugettext
 except AttributeError:
     log.info("Cannot get ugettext from lang: %r", lang, exc_info=True)
-
-# TRANSLATORS: Please include your locale, e.g. "de". We're trying to debug pure python gettext
-log.debug (_("Translated for Python (C)"))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]