linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06211
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3098: Fix params syntax
------------------------------------------------------------
revno: 3098
committer: eMTee <emtee11@xxxxxxxxx>
branch nick: dcplusplus
timestamp: Mon 2012-10-29 20:52:19 +0100
message:
Fix params syntax
modified:
dcpp/DownloadManager.cpp
win32/TransferView.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dcpp/DownloadManager.cpp'
--- dcpp/DownloadManager.cpp 2012-10-29 19:11:35 +0000
+++ dcpp/DownloadManager.cpp 2012-10-29 19:52:19 +0000
@@ -357,7 +357,7 @@
return;
}
- string extra = param.empty() ? Util::emptyString : str(F_(" - Queued: %1") % param);
+ string extra = param.empty() ? Util::emptyString : str(F_(" - Queued: %1%") % param);
failDownload(aSource, _("No slots available") + extra);
}
=== modified file 'win32/TransferView.cpp'
--- win32/TransferView.cpp 2012-10-29 19:11:35 +0000
+++ win32/TransferView.cpp 2012-10-29 19:52:19 +0000
@@ -728,7 +728,7 @@
if (dynamic_cast <Upload*> (t)) {
path = "<" + t->getPath() + ">";
WinUtil::reducePaths(path);
- total = str(F_(" of %1") % Util::formatBytes(File::getSize(t->getPath())));
+ total = str(F_(" of %1%") % Util::formatBytes(File::getSize(t->getPath())));
} else {
path = Util::getFileName(t->getPath());
}