VCS/StatusMonitorThread.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
diff -r 96232974dcdb -r 645c12de6b0c VCS/StatusMonitorThread.py
--- a/VCS/StatusMonitorThread.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/VCS/StatusMonitorThread.py	Thu Apr 03 23:05:31 2014 +0200
@@ -60,7 +60,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:
@@ -68,7 +68,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()
@@ -77,12 +77,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