From 4049662a3a9dfc2d34a9dad1a88649b9bbeae5bc Mon Sep 17 00:00:00 2001 From: mailchuck Date: Wed, 16 Dec 2015 01:15:19 +0100 Subject: [PATCH] Contact support updates Yes/No -> True/False Add Portable mode --- src/bitmessageqt/support.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bitmessageqt/support.py b/src/bitmessageqt/support.py index d3f68a2a..3073d5f7 100644 --- a/src/bitmessageqt/support.py +++ b/src/bitmessageqt/support.py @@ -33,6 +33,7 @@ PyBitmesage version: {} Operating system: {} Architecture: {}bit Frozen: {} +Portable mode: {} C PoW: {} OpenCL PoW: {} Locale: {} @@ -87,9 +88,10 @@ def createSupportMessage(myapp): frozen = "N/A" if shared.frozen: frozen = shared.frozen - cpow = "Yes" if bmpow else "No" + portablemode = "True" if shared.appdata == shared.lookupExeFolder() else "False" + cpow = "True" if bmpow else "False" #cpow = QtGui.QApplication.translate("Support", cpow) - openclpow = "Yes" if shared.safeConfigGetBoolean('bitmessagesettings', 'opencl') and has_opencl() else "No" + openclpow = "True" if shared.safeConfigGetBoolean('bitmessagesettings', 'opencl') and has_opencl() else "False" #openclpow = QtGui.QApplication.translate("Support", openclpow) locale = getTranslationLanguage() try: @@ -102,7 +104,7 @@ def createSupportMessage(myapp): upnp = "N/A" connectedhosts = len(shared.connectedHostsList) - myapp.ui.textEditMessage.setText(str(QtGui.QApplication.translate("Support", SUPPORT_MESSAGE)).format(version, os, architecture, frozen, cpow, openclpow, locale, socks, upnp, connectedhosts)) + myapp.ui.textEditMessage.setText(str(QtGui.QApplication.translate("Support", SUPPORT_MESSAGE)).format(version, os, architecture, frozen, portablemode, cpow, openclpow, locale, socks, upnp, connectedhosts)) # single msg tab myapp.ui.tabWidgetSend.setCurrentIndex(0)