From 3adfcb55daa2abde3d668ccce159ea0c60e7984e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Sep 2016 19:13:58 +0000 Subject: grrrrm... there's no hLangpack in chat items, therefore strings must be translated inside plugins git-svn-id: http://svn.miranda-ng.org/main/trunk@17323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/WhatsApp') diff --git a/protocols/WhatsApp/src/chat.cpp b/protocols/WhatsApp/src/chat.cpp index e1c7b01f0b..a87be6a24f 100644 --- a/protocols/WhatsApp/src/chat.cpp +++ b/protocols/WhatsApp/src/chat.cpp @@ -307,7 +307,7 @@ WAChatInfo* WhatsAppProto::InitChat(const std::string &jid, const std::string &n pInfo->hContact = (hOldContact != NULL) ? hOldContact : ContactIDToHContact(jid); for (int i = _countof(sttStatuses) - 1; i >= 0; i--) - Chat_AddGroup(m_szModuleName, ptszJid, sttStatuses[i]); + Chat_AddGroup(m_szModuleName, ptszJid, TranslateW(sttStatuses[i])); Chat_Control(m_szModuleName, ptszJid, getBool(WHATSAPP_KEY_AUTORUNCHATS, true) ? SESSION_INITDONE : WINDOW_HIDDEN); Chat_Control(m_szModuleName, ptszJid, SESSION_ONLINE); -- cgit v1.2.3