From 3cf393cb6d9b859bcdcc6b3cad3a7b1d8d5a67ec Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 12 Jul 2013 21:05:40 +0000 Subject: translation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@5346 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_chat.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp index ef9ce957a8..11e57724d8 100644 --- a/protocols/Skype/src/skype_chat.cpp +++ b/protocols/Skype/src/skype_chat.cpp @@ -95,17 +95,17 @@ void CSkypeProto::InitChatModule() /// -wchar_t *ChatRoom::Roles[] = +TCHAR *ChatRoom::Roles[] = { - L"", // --- - L"Creator", // CREATOR = 1 - L"Master", // ADMIN = 2 - L"Helper", // SPEAKER = 3 - L"User", // WRITER = 4 - L"Listener", // SPECTATOR= 5 - L"Applicant", // APPLICANT= 6 - L"Retried", // RETIRED = 7 - L"Outlaw", // OUTLAW = 8 + _T(""), // --- + LPGENT("Creator"), // CREATOR = 1 + LPGENT("Master"), // ADMIN = 2 + LPGENT("Helper"), // SPEAKER = 3 + LPGENT("User"), // WRITER = 4 + LPGENT("Listener"), // SPECTATOR= 5 + LPGENT("Applicant"), // APPLICANT= 6 + LPGENT("Retried"), // RETIRED = 7 + LPGENT("Outlaw"), // OUTLAW = 8 }; ChatRoom::ChatRoom(const wchar_t *cid) : members(1, CompareMembers) @@ -174,7 +174,7 @@ void ChatRoom::CreateChatSession(bool showWindow) for (int i = 1; i < SIZEOF(ChatRoom::Roles) - 2; i++) { - gce.ptszStatus = ::TranslateW(ChatRoom::Roles[i]); + gce.ptszStatus = ::TranslateT(ChatRoom::Roles[i]); ::CallServiceSync(MS_GC_EVENT, 0, (LPARAM)&gce); } @@ -348,7 +348,7 @@ void ChatRoom::SendMessage(const wchar_t *text) CMessage::Ref message; if (this->conversation->PostText((char *)ptrA(::mir_utf8encodeW(text)), message)) - this->ppro->Log(L"Chat message sended %s", this->cid); + this->ppro->Log(L"Chat message sent %s", this->cid); } void ChatRoom::LeaveChat() @@ -371,7 +371,7 @@ void ChatRoom::LeaveChat() void ChatRoom::LeaveChatAndDelete() { - this->ppro->Log(L"Leavind chat session %s", this->cid); + this->ppro->Log(L"Leaving chat session %s", this->cid); if (this->conversation->RetireFrom()) this->ppro->Log(L"Retired from conversation %s", this->cid); -- cgit v1.2.3