VCS/StatusMonitorThread.py

changeset 3190
a9a94491c4fd
parent 3160
209a07d7e401
child 3484
645c12de6b0c
--- a/VCS/StatusMonitorThread.py	Fri Jan 10 19:30:21 2014 +0100
+++ b/VCS/StatusMonitorThread.py	Sat Jan 11 11:55:33 2014 +0100
@@ -58,7 +58,7 @@
             # perform the checking task
             self.statusList = []
             self.vcsStatusMonitorStatus.emit(
-                "wait", self.trUtf8("Waiting for lock"))
+                "wait", self.tr("Waiting for lock"))
             try:
                 locked = self.vcs.vcsExecutionMutex.tryLock(5000)
             except TypeError:
@@ -66,7 +66,7 @@
             if locked:
                 try:
                     self.vcsStatusMonitorStatus.emit(
-                        "op", self.trUtf8("Checking repository status"))
+                        "op", self.tr("Checking repository status"))
                     res, statusMsg = self._performMonitor()
                 finally:
                     self.vcs.vcsExecutionMutex.unlock()
@@ -75,12 +75,12 @@
                 else:
                     status = "nok"
                 self.vcsStatusMonitorStatus.emit(
-                    "send", self.trUtf8("Sending data"))
+                    "send", self.tr("Sending data"))
                 self.vcsStatusMonitorData.emit(self.statusList)
                 self.vcsStatusMonitorStatus.emit(status, statusMsg)
             else:
                 self.vcsStatusMonitorStatus.emit(
-                    "timeout", self.trUtf8("Timed out waiting for lock"))
+                    "timeout", self.tr("Timed out waiting for lock"))
             
             if self.autoUpdate and self.shouldUpdate:
                 self.vcs.vcsUpdate(self.projectDir, True)

eric ide

mercurial