summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-03 10:39:06 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-03 10:39:06 +0000
commitf5bdf0ac8fea1361460f7dd5c5a495f3ca0a23e7 (patch)
tree491e062b29b9bb3d80dc10c69d840036016d9bdb /protocols/VKontakte
parent1d682fb45c369ab6c42ec8e99f1161df1d28c7cc (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')
-rw-r--r--protocols/VKontakte/res/resource.rc2
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp7
3 files changed, 4 insertions, 7 deletions
diff --git a/protocols/VKontakte/res/resource.rc b/protocols/VKontakte/res/resource.rc
index 3f305ca6cc..f77f41352f 100644
--- a/protocols/VKontakte/res/resource.rc
+++ b/protocols/VKontakte/res/resource.rc
@@ -57,7 +57,7 @@ BEGIN
CONTROL "Always notify as unread for all incoming message",IDC_MESASUREAD,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,162,278,10
CONTROL "Mark read on reply",IDC_MARKREADONREPLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,176,278,10
- CONTROL "Automatically sync last messages ",IDC_SYNCHISTOTYONONLINE,
+ CONTROL "Automatically sync last messages",IDC_SYNCHISTOTYONONLINE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,190,278,10
END
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);