added "/s" to the bandwidth

This commit is contained in:
Eran 2014-05-26 16:25:33 +03:00
parent ba5e955ccb
commit f9192e27fa

View file

@ -615,8 +615,8 @@ void AccountSettings::slotSetProgress(const QString& folder, const Progress::Inf
if (Progress::isSizeDependent(curItem._instruction)) {
QString s1 = Utility::octetsToString( curItemProgress );
QString s2 = Utility::octetsToString( curItem._size );
//: Example text: "uploading foobar.png (1MB of 2MB) time left 2 minutes ar a rate of 24Kb"
fileProgressString = tr("%1 %2 (%3 of %4) time left %5 at a rate of %6")
//: Example text: "uploading foobar.png (1MB of 2MB) time left 2 minutes ar a rate of 24Kb/s"
fileProgressString = tr("%1 %2 (%3 of %4) time left %5 at a rate of %6/s")
.arg(kindString, itemFileName, s1, s2,
Utility::timeToDescriptiveString(progress.getFileEstimate(curItem).getEtaEstimate(), 3, " ", true),
Utility::octetsToString(progress.getFileEstimate(curItem).getEstimatedBandwidth()) );