Helpviewer/Sync/FtpSyncHandler.py

branch
Py2 comp.
changeset 3484
645c12de6b0c
parent 3178
f25fc1364c88
parent 3190
a9a94491c4fd
child 3656
441956d8fce5
--- a/Helpviewer/Sync/FtpSyncHandler.py	Sun Mar 30 22:00:14 2014 +0200
+++ b/Helpviewer/Sync/FtpSyncHandler.py	Thu Apr 03 23:05:31 2014 +0200
@@ -263,7 +263,7 @@
                         .toTime_t())
             else:
                 self.syncStatus.emit(
-                    type_, self.trUtf8("No synchronization required."))
+                    type_, self.tr("No synchronization required."))
                 self.syncFinished.emit(type_, True, True)
         else:
             if self._remoteFiles[type_] not in self.__remoteFilesFound:
@@ -333,7 +333,7 @@
             ok = self.__connectAndLogin()
             if not ok:
                 self.syncStatus.emit(
-                    type_, self.trUtf8("Cannot log in to FTP host."))
+                    type_, self.tr("Cannot log in to FTP host."))
                 return
         
         # upload the changed file
@@ -341,7 +341,7 @@
         self.syncStatus.emit(type_, self._messages[type_]["Uploading"])
         if self.__uploadFile(type_, fileName):
             self.syncStatus.emit(
-                type_, self.trUtf8("Synchronization finished."))
+                type_, self.tr("Synchronization finished."))
         self.__state = "idle"
     
     def syncBookmarks(self):

eric ide

mercurial