Translate namecoin failure message

This commit is contained in:
Dmitri Bogomolov 2018-02-13 11:53:43 +02:00
parent 8b932ade2d
commit 3ad94cb4aa
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13

View File

@ -162,7 +162,11 @@ class namecoinConnection (object):
except Exception:
logger.info("Namecoin connection test failure")
return ('failed', "The connection to namecoin failed.")
return (
'failed',
tr._translate(
"MainWindow", "The connection to namecoin failed.")
)
# Helper routine that actually performs an JSON RPC call.
def callRPC (self, method, params):