Fixed PLC status not translated in status bar when connected
authorLaurent Bessard
Wed, 27 Mar 2013 09:35:25 +0100
changeset 1006 0302f9ab7e9a
parent 1005 496a96e1dcb6
child 1007 025ac12cd0d2
Fixed PLC status not translated in status bar when connected
ProjectController.py
--- a/ProjectController.py	Tue Mar 26 23:26:13 2013 +0100
+++ b/ProjectController.py	Wed Mar 27 09:35:25 2013 +0100
@@ -1123,7 +1123,7 @@
                 else:
                     self.AppFrame.ConnectionStatusBar.SetStatusText(
                         _("Connected to URI: %s") % self.BeremizRoot.getURI_location().strip(), 1)
-                    self.AppFrame.ConnectionStatusBar.SetStatusText(status, 2)
+                    self.AppFrame.ConnectionStatusBar.SetStatusText(_(status), 2)
                 
     def PullPLCStatusProc(self, event):
         self.UpdateMethodsFromPLCStatus()