summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-19 17:42:33 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-19 17:42:33 (GMT)
commit612d2262fba5728b1b0f38b286ef9b2572386dd3 (patch)
treedcc3e33715111727e7099b3b4c2b06f3dc821be5 /Swift/Controllers
parent5be2178d55246d22e079c05db848eb3ec50f1aa9 (diff)
downloadswift-contrib-612d2262fba5728b1b0f38b286ef9b2572386dd3.zip
swift-contrib-612d2262fba5728b1b0f38b286ef9b2572386dd3.tar.bz2
Added more untranslated strings.
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/EventNotifier.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/Controllers/EventNotifier.cpp b/Swift/Controllers/EventNotifier.cpp
index 055ed3e..645ee3c 100644
--- a/Swift/Controllers/EventNotifier.cpp
+++ b/Swift/Controllers/EventNotifier.cpp
@@ -9,6 +9,7 @@
#include <boost/bind.hpp>
#include <Swift/Controllers/Intl.h>
+#include <Swiften/Base/format.h>
#include "Swift/Controllers/XMPPEvents/EventController.h"
#include "SwifTools/Notifier/Notifier.h"
#include "Swiften/Avatars/AvatarManager.h"
@@ -47,7 +48,7 @@ void EventNotifier::handleEventAdded(boost::shared_ptr<StanzaEvent> event) {
else if(boost::shared_ptr<SubscriptionRequestEvent> subscriptionEvent = boost::dynamic_pointer_cast<SubscriptionRequestEvent>(event)) {
JID jid = subscriptionEvent->getJID();
std::string title = "";
- std::string message = nickResolver->jidToNick(jid) + " wants to add you to his/her roster";
+ std::string message = str(format(QT_TRANSLATE_NOOP("", "%1% wants to add you to his/her contact list")) % nickResolver->jidToNick(jid));
notifier->showMessage(Notifier::SystemMessage, title, message, boost::filesystem::path(), boost::function<void()>());
}
else if(boost::shared_ptr<ErrorEvent> errorEvent = boost::dynamic_pointer_cast<ErrorEvent>(event)) {