Cooperation/CooperationClient.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3591
2f2a4a76dd22
diff -r 96232974dcdb -r 645c12de6b0c Cooperation/CooperationClient.py
--- a/Cooperation/CooperationClient.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Cooperation/CooperationClient.py	Thu Apr 03 23:05:31 2014 +0200
@@ -85,7 +85,7 @@
                 break
         
         if self.__username == "":
-            self.__username = self.trUtf8("unknown")
+            self.__username = self.tr("unknown")
         
         self.__listening = False
         self.__serversErrorString = ""
@@ -293,7 +293,7 @@
             port = int(port)
             
             if port == 0:
-                msg = self.trUtf8("Illegal address: {0}@{1}\n").format(
+                msg = self.tr("Illegal address: {0}@{1}\n").format(
                     host, port)
                 self.connectionError.emit(msg)
             else:
@@ -386,7 +386,7 @@
                 self.__serversErrorString = self.__servers[0].errorString()
         else:
             res = False
-            self.__serversErrorString = self.trUtf8("No servers present.")
+            self.__serversErrorString = self.tr("No servers present.")
         
         if res:
             self.__serversErrorString = ""

eric ide

mercurial