Skip to content

Commit 3ad94cb

Browse files
committed
Translate namecoin failure message
1 parent 8b932ad commit 3ad94cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/namecoin.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,11 @@ def test(self):
162162

163163
except Exception:
164164
logger.info("Namecoin connection test failure")
165-
return ('failed', "The connection to namecoin failed.")
165+
return (
166+
'failed',
167+
tr._translate(
168+
"MainWindow", "The connection to namecoin failed.")
169+
)
166170

167171
# Helper routine that actually performs an JSON RPC call.
168172
def callRPC (self, method, params):

0 commit comments

Comments
 (0)