aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mageiaSync/mageiaSyncExt.py8
-rw-r--r--mageiaSync/mageiaSync_en.ts5
-rw-r--r--mageiaSync/mageiaSync_fr.ts5
3 files changed, 14 insertions, 4 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 3071199..8440d94 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -133,7 +133,7 @@ class syncThread(QThread):
self.lvM.emit(self.tr("No entry selected"))
for iso in self.list:
errorOccured=True
- self.lvM.emit("Starting rsync with "+iso['nameWithPath'])
+ self.lvM.emit(self.tr("Starting rsync with ")+iso['nameWithPath'])
if self.bwl!=0:
commande=['rsync','-avHP',"--bwlimit="+str(self.bwl), iso['nameWithPath'], iso['destination']]
else:
@@ -148,13 +148,13 @@ class syncThread(QThread):
errorOccured=False
except OSError as e:
self.endSignal.emit(1)
-# self.lvM.emit("Command rsync not found: "+str(e))
+# Command rsync not found
except ValueError as e:
self.endSignal.emit(2)
-# self.lvM.emit("Error in rsync parameters: "+str(e))
+# Error in rsync parameters
except Exception as e :
self.endSignal.emit(3)
- self.lvM.emit("Error in rsync: "+str(e))
+# Unknown error in rsync
if not errorOccured:
buf=''
while not self.stopped:
diff --git a/mageiaSync/mageiaSync_en.ts b/mageiaSync/mageiaSync_en.ts
index 661a27d..82f0a9d 100644
--- a/mageiaSync/mageiaSync_en.ts
+++ b/mageiaSync/mageiaSync_en.ts
@@ -437,5 +437,10 @@
<source>Ending with </source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <location filename="mageiaSyncExt.py" line="136"/>
+ <source>Starting rsync with </source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
</TS>
diff --git a/mageiaSync/mageiaSync_fr.ts b/mageiaSync/mageiaSync_fr.ts
index 5ca68e9..fcc2ceb 100644
--- a/mageiaSync/mageiaSync_fr.ts
+++ b/mageiaSync/mageiaSync_fr.ts
@@ -518,5 +518,10 @@
<source>Ending with </source>
<translation>Fin de </translation>
</message>
+ <message>
+ <location filename="mageiaSyncExt.py" line="136"/>
+ <source>Starting rsync with </source>
+ <translation>Lancement de rsync avec </translation>
+ </message>
</context>
</TS>