Fixed an issue with the FTP sync handler.

Sun, 23 Sep 2012 18:53:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 23 Sep 2012 18:53:36 +0200
changeset 2061
b74f1d202ba7
parent 2060
1f3767746974
child 2062
f275d3afe038

Fixed an issue with the FTP sync handler.

Helpviewer/Sync/FtpSyncHandler.py file | annotate | diff | comparison | revisions
i18n/eric5_cs.ts file | annotate | diff | comparison | revisions
i18n/eric5_de.qm file | annotate | diff | comparison | revisions
i18n/eric5_de.ts file | annotate | diff | comparison | revisions
i18n/eric5_en.ts file | annotate | diff | comparison | revisions
i18n/eric5_es.ts file | annotate | diff | comparison | revisions
i18n/eric5_fr.ts file | annotate | diff | comparison | revisions
i18n/eric5_it.ts file | annotate | diff | comparison | revisions
i18n/eric5_ru.ts file | annotate | diff | comparison | revisions
i18n/eric5_tr.ts file | annotate | diff | comparison | revisions
i18n/eric5_zh_CN.GB2312.ts file | annotate | diff | comparison | revisions
--- a/Helpviewer/Sync/FtpSyncHandler.py	Sun Sep 23 16:23:04 2012 +0200
+++ b/Helpviewer/Sync/FtpSyncHandler.py	Sun Sep 23 18:53:36 2012 +0200
@@ -298,6 +298,9 @@
                self.__remoteFilesFound[self._remoteFiles[type_]]:
                 self.__downloadFile(type_, fileName,
                     self.__remoteFilesFound[self._remoteFiles[type_]].toTime_t())
+            else:
+                self.syncStatus.emit(type_, self.trUtf8("No synchronization required."))
+                self.syncFinished.emit(type_, True, True)
         else:
             if self._remoteFiles[type_] not in self.__remoteFilesFound:
                 self.syncStatus.emit(type_, self._messages[type_]["RemoteMissing"])
--- a/i18n/eric5_cs.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_cs.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13656,15 +13656,20 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
Binary file i18n/eric5_de.qm has changed
--- a/i18n/eric5_de.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_de.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -1,5 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS><TS version="2.0" language="de" sourcelanguage="">
+<!DOCTYPE TS>
+<TS version="2.0" language="de">
 <context>
     <name>AboutDialog</name>
     <message>
@@ -1948,7 +1949,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksMenu.py" line="142"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
 </context>
@@ -2185,7 +2186,7 @@
     </message>
     <message>
         <location filename="Helpviewer/Bookmarks/BookmarksToolBar.py" line="90"/>
-        <source>Open in New &amp;Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open in New &amp;Tab	Ctrl+LMB</source>
         <translation>In neuem &amp;Register öffnen\tStrg+LMK</translation>
     </message>
 </context>
@@ -13314,15 +13315,20 @@
         <translation>Kein geeigneter Proxy gefunden.</translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation>Anmeldung am FTP Server fehlgeschlagen.</translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation>Synchronisation beendet.</translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation>Keine Synchronisation erforderlich.</translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
@@ -14032,7 +14038,7 @@
     </message>
     <message>
         <location filename="Helpviewer/HelpBrowserWV.py" line="977"/>
-        <source>Open Link in New Tab<byte value="x9"/>Ctrl+LMB</source>
+        <source>Open Link in New Tab	Ctrl+LMB</source>
         <translation>Link in neuem Fenster öffnen\tStrg+LMK</translation>
     </message>
     <message>
--- a/i18n/eric5_en.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_en.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13228,15 +13228,20 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_es.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_es.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13385,15 +13385,20 @@
         <translation type="obsolete">Subiendo archivo local de marcadores...</translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_fr.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_fr.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -14479,15 +14479,20 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_it.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_it.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13491,15 +13491,20 @@
         <translation type="unfinished">Nessun proxy utilizzabile trovato.</translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_ru.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_ru.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13589,15 +13589,20 @@
         <translation type="unfinished">Не найдено подходящего прокси.</translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_tr.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_tr.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -13668,15 +13668,20 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>
--- a/i18n/eric5_zh_CN.GB2312.ts	Sun Sep 23 16:23:04 2012 +0200
+++ b/i18n/eric5_zh_CN.GB2312.ts	Sun Sep 23 18:53:36 2012 +0200
@@ -14426,15 +14426,20 @@
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="356"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="359"/>
         <source>Cannot log in to FTP host.</source>
         <translation type="unfinished"></translation>
     </message>
     <message>
-        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="363"/>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="366"/>
         <source>Synchronization finished.</source>
         <translation type="unfinished"></translation>
     </message>
+    <message>
+        <location filename="Helpviewer/Sync/FtpSyncHandler.py" line="302"/>
+        <source>No synchronization required.</source>
+        <translation type="unfinished"></translation>
+    </message>
 </context>
 <context>
     <name>GotoDialog</name>

eric ide

mercurial