Commit f55ccdc0 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

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.
parent a15cb980
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment