summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-13 08:14:53 (GMT)
committerWolfgang Rohdewald <wolfgang@rohdewald.de>2016-08-24 11:47:04 (GMT)
commitf55ccdc03a35b9ce444f825a34782fe17940fc96 (patch)
treef17d4e111b72e62aa279a7e47a8a7e6ac29b99c2
parenta15cb98099e47c5e84f7e49fd56474c465a31e86 (diff)
kdestub/i18n: with Debug.neutral, do not translate
kdestub/i18n does translate where pykde4/i18n does not, while using kajonggtest --log. But I did not investigate.
-rw-r--r--src/kdestub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kdestub.py b/src/kdestub.py
index 13d0a9b..a1b81ec 100644
--- a/src/kdestub.py
+++ b/src/kdestub.py
@@ -106,7 +106,7 @@ def i18n(englishIn, *args):
@rtype: C{unicode}
"""
assert englishIn
- if KGlobal.translation and englishIn:
+ if not Debug.neutral and KGlobal.translation and englishIn:
_ = KGlobal.translation.gettext(englishIn)
else:
_ = englishIn