From 3ad94cb4aa0366019295d6a32cc498fc0a18dbe9 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Tue, 13 Feb 2018 11:53:43 +0200 Subject: [PATCH] Translate namecoin failure message --- src/namecoin.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/namecoin.py b/src/namecoin.py index 1124bbeb..9b3c3c3e 100644 --- a/src/namecoin.py +++ b/src/namecoin.py @@ -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):