From f5bdf0ac8fea1361460f7dd5c5a495f3ca0a23e7 Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Wed, 3 Sep 2014 10:39:06 +0000 Subject: Vkontakte: Replace LPGEN to TranslateT and remove unneeded space git-svn-id: http://svn.miranda-ng.org/main/trunk@10360 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_proto.cpp | 2 +- protocols/VKontakte/src/vk_thread.cpp | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'protocols/VKontakte/src') diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index f08e004b08..632549a57e 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -105,7 +105,7 @@ int CVkProto::OnModulesLoaded(WPARAM wParam, LPARAM lParam) mi.position = -200001000+1; mi.icolibItem = LoadSkinnedIconHandle(SKINICON_OTHER_HISTORY); mi.position = -201001000+102; - mi.ptszName = LPGENT("Reload all messages from vk.com"); + mi.ptszName = TranslateT("Reload all messages from vk.com"); Menu_AddContactMenuItem(&mi); return 0; diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 01c59856ea..028a7b585b 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -655,11 +655,8 @@ void CVkProto::OnReceivePollingInfo(NETLIBHTTPREQUEST *reply, AsyncHttpRequest * INT_PTR __cdecl CVkProto::SvcGetAllServerHistory(WPARAM wParam, LPARAM) { - LPCWSTR str = LPGENT("Are you sure to reload all messages from vk.com?\n") - LPGENT("Local contact history will be deleted and reloaded from the server.\n") - LPGENT("It may take a long time. \nDo you want to continue?"); - if (IDNO==MessageBox(NULL, str, - LPGENT("Attention!"), MB_ICONWARNING|MB_YESNO)) + LPCWSTR str = TranslateT("Are you sure to reload all messages from vk.com?\nLocal contact history will be deleted and reloaded from the server.\nIt may take a long time.\nDo you want to continue?"); + if (IDNO==MessageBox(NULL, str, TranslateT("Attention!"), MB_ICONWARNING|MB_YESNO)) return 0; LONG userID = getDword((MCONTACT)wParam, "ID", -1); -- cgit v1.2.3