summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);