summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavol Babincak <scroolik@gmail.com>2012-04-24 18:18:18 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-04-24 18:32:19 (GMT)
commitf52b5f87cf21c9cd8dea4ff1fad8fe5a32dbae80 (patch)
tree623f756a90525e0879037d7d9cc73ef73cfbe9c8 /Swift/Controllers/FileTransfer/FileTransferController.cpp
parent02c18de062510e8061598bf492c68cb5b0624831 (diff)
downloadswift-contrib-f52b5f87cf21c9cd8dea4ff1fad8fe5a32dbae80.zip
swift-contrib-f52b5f87cf21c9cd8dea4ff1fad8fe5a32dbae80.tar.bz2
File transfer strings made translatable
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swift/Controllers/FileTransfer/FileTransferController.cpp')
-rw-r--r--Swift/Controllers/FileTransfer/FileTransferController.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/FileTransfer/FileTransferController.cpp b/Swift/Controllers/FileTransfer/FileTransferController.cpp
index a25dfe6..3feaf49 100644
--- a/Swift/Controllers/FileTransfer/FileTransferController.cpp
+++ b/Swift/Controllers/FileTransfer/FileTransferController.cpp
@@ -12,6 +12,7 @@
#include <boost/bind.hpp>
#include "Swift/Controllers/UIInterfaces/ChatWindow.h"
#include <Swiften/Base/Log.h>
+#include <Swift/Controllers/Intl.h>
#include <boost/smart_ptr/make_shared.hpp>
@@ -38,7 +39,7 @@ const JID &FileTransferController::getOtherParty() const {
std::string FileTransferController::setChatWindow(ChatWindow* wnd, std::string nickname) {
chatWindow = wnd;
if (sending) {
- uiID = wnd->addFileTransfer("me", true, filename, boost::filesystem::file_size(boost::filesystem::path(filename)));
+ uiID = wnd->addFileTransfer(QT_TRANSLATE_NOOP("", "me"), true, filename, boost::filesystem::file_size(boost::filesystem::path(filename)));
} else {
uiID = wnd->addFileTransfer(nickname, false, filename, transfer->fileSizeInBytes);
}