summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-21 18:38:56 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-21 18:38:56 (GMT)
commitc65b220832434e3d751b93849ac1bb5b623be92d (patch)
tree240137893b7d1448087d9d8044eac38db6c3fd1c /Swift/Controllers/EventNotifier.cpp
parent09fd0ff13c2dd542bcd5e2bb0a27d05cafc90fa2 (diff)
downloadswift-c65b220832434e3d751b93849ac1bb5b623be92d.zip
swift-c65b220832434e3d751b93849ac1bb5b623be92d.tar.bz2
Added missing Qt translation strings.
Diffstat (limited to 'Swift/Controllers/EventNotifier.cpp')
-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 405fa77..740f5c0 100644
--- a/Swift/Controllers/EventNotifier.cpp
+++ b/Swift/Controllers/EventNotifier.cpp
@@ -8,6 +8,7 @@
#include <boost/bind.hpp>
+#include <Swift/Controllers/Intl.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) {
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)) {
- notifier->showMessage(Notifier::SystemMessage, "Error", errorEvent->getText(), boost::filesystem::path(), boost::function<void()>());
+ notifier->showMessage(Notifier::SystemMessage, QT_TRANSLATE_NOOP("", "Error"), errorEvent->getText(), boost::filesystem::path(), boost::function<void()>());
}
}