This commit is contained in:
mailchuck 2016-04-27 16:08:34 +02:00 committed by Peter Surda
parent e8b1e1adcf
commit 83cc25fef5

View File

@ -12,10 +12,10 @@ class translateClass:
else: else:
return self.text return self.text
def _translate(context, text, n = None): def _translate(context, text, disambiguation = None, encoding = None, n = None):
return translateText(context, text, n) return translateText(context, text, n)
def translateText(context, text, disambiguation = None, encoding = None, n = None): def translateText(context, text, n = None):
if not shared.safeConfigGetBoolean('bitmessagesettings', 'daemon'): if not shared.safeConfigGetBoolean('bitmessagesettings', 'daemon'):
try: try:
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui