diff options
Diffstat (limited to 'plugins/WinterSpeak/src/EventInformation.cpp')
-rw-r--r-- | plugins/WinterSpeak/src/EventInformation.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/WinterSpeak/src/EventInformation.cpp b/plugins/WinterSpeak/src/EventInformation.cpp index 3332a7c235..451449f343 100644 --- a/plugins/WinterSpeak/src/EventInformation.cpp +++ b/plugins/WinterSpeak/src/EventInformation.cpp @@ -8,11 +8,11 @@ EventInformation::EventInformation() : m_event_strings(), m_event_info()
{
// insert the event strings into a map for easy access
- m_event_strings[EVENTTYPE_MESSAGE] = TranslateW(L"incoming message from %u");
- m_event_strings[EVENTTYPE_URL] = TranslateW(L"incoming URL from %u");
- m_event_strings[EVENTTYPE_ADDED] = TranslateW(L"you have been added to %u's contact list");
- m_event_strings[EVENTTYPE_AUTHREQUEST] = TranslateW(L"%u requests your authorization");
- m_event_strings[EVENTTYPE_FILE] = TranslateW(L"there is an incoming file from %u");
+ m_event_strings[EVENTTYPE_MESSAGE] = TranslateT("incoming message from %u");
+ m_event_strings[EVENTTYPE_URL] = TranslateT("incoming URL from %u");
+ m_event_strings[EVENTTYPE_ADDED] = TranslateT("you have been added to %u's contact list");
+ m_event_strings[EVENTTYPE_AUTHREQUEST] = TranslateT("%u requests your authorization");
+ m_event_strings[EVENTTYPE_FILE] = TranslateT("there is an incoming file from %u");
memset(&m_event_info, 0, sizeof(m_event_info));
}
@@ -65,7 +65,7 @@ bool EventInformation::isValidEvent(MEVENT event) //------------------------------------------------------------------------------
std::wstring EventInformation::getMessage()
{
- const std::wstring intro = TranslateW(L"%u says");
+ const std::wstring intro = TranslateT("%u says");
return intro + L" " + mir_a2t_cp((char*)m_event_info.pBlob, CP_UTF8);
}
|