--- a/runtime/WampClient.py Tue Jan 09 14:38:45 2018 +0100
+++ b/runtime/WampClient.py Tue Jan 09 14:42:23 2018 +0100
@@ -85,17 +85,17 @@
def onLeave(self, details):
- print('WAMP session left')
+ print(_('WAMP session left')) class ReconnectingWampWebSocketClientFactory(WampWebSocketClientFactory, ReconnectingClientFactory):
def clientConnectionFailed(self, connector, reason):
- print("WAMP Client connection failed .. retrying ..")
+ print(_("WAMP Client connection failed .. retrying ..")) def clientConnectionLost(self, connector, reason):
- print("WAMP Client connection lost .. retrying ..")
+ print(_("WAMP Client connection lost .. retrying ..")) def LoadWampClientConf(wampconf):
@@ -129,7 +129,7 @@
# start the client from a Twisted endpoint
conn = connectWS(transport_factory)
- print("WAMP client connecting to :", WSClientConf["url"])
+ print(_("WAMP client connecting to :"), _WSClientConf["url"])