diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-03 10:39:06 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-03 10:39:06 +0000 |
commit | f5bdf0ac8fea1361460f7dd5c5a495f3ca0a23e7 (patch) | |
tree | 491e062b29b9bb3d80dc10c69d840036016d9bdb /protocols/VKontakte/src | |
parent | 1d682fb45c369ab6c42ec8e99f1161df1d28c7cc (diff) |
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
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 2 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 7 |
2 files changed, 3 insertions, 6 deletions
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);
|