summaryrefslogtreecommitdiff
path: root/src/leap/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/util')
-rw-r--r--src/leap/util/translations.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/leap/util/translations.py b/src/leap/util/translations.py
index 80daa10d..d782cfe4 100644
--- a/src/leap/util/translations.py
+++ b/src/leap/util/translations.py
@@ -51,13 +51,14 @@ def translate(*args, **kwargs):
except:
logger.error('error getting stack frame')
- if klsname:
+ if klsname and len(args) == 1:
nargs = (klsname,) + args
return qtTranslate(*nargs)
else:
- nargs = ('default', ) + args
- return qtTranslate(*nargs)
+ #nargs = ('default', ) + args
+ #import pdb4qt; pdb4qt.set_trace()
+ return qtTranslate(*args)
class LEAPTranslatable(dict):