aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2014-12-13 09:38:57 +0100
committerpapoteur-mga <yves.brungard_git@gadz.org>2014-12-13 09:38:57 +0100
commit9ef18d0d588cd976dc9a06f519568d012925eb51 (patch)
treec3e8a839c22b0abfc01f891925898a08921f038a /mageiaSync
parent2ca3af423ae1aea12fbd35afef61883a8762c4e5 (diff)
downloadMageiaSync-9ef18d0d588cd976dc9a06f519568d012925eb51.tar
MageiaSync-9ef18d0d588cd976dc9a06f519568d012925eb51.tar.gz
MageiaSync-9ef18d0d588cd976dc9a06f519568d012925eb51.tar.bz2
MageiaSync-9ef18d0d588cd976dc9a06f519568d012925eb51.tar.xz
MageiaSync-9ef18d0d588cd976dc9a06f519568d012925eb51.zip
Added one string translation
Diffstat (limited to 'mageiaSync')
-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>