returntranslateClass(self.context,self.text.replace('%','',1))# This doesn't actually do anything with the arguments because we don't have a UI in which to display this information anyway.
else:
returnself.text
# This doesn't actually do anything with the arguments
# because we don't have a UI in which to display this information anyway.
@ -25,15 +39,17 @@ def translateText(context, text, n = None):
try:
fromPyQt4importQtCore,QtGui
exceptExceptionaserr:
print'PyBitmessage requires PyQt unless you want to run it as a daemon and interact with it using the API. You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download or by searching Google for \'PyQt Download\'. If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon'
print'PyBitmessage requires PyQt unless you want to run it as a daemon'\
' and interact with it using the API.'\
' You can download PyQt from http://www.riverbankcomputing.com/software/pyqt/download'\
' or by searching Google for \'PyQt Download\'.'\
' If you want to run in daemon mode, see https://bitmessage.org/wiki/Daemon'