From 1cff03ea69bce85c652ac19d5cb059f12695509c Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 21 Jun 2012 18:06:18 +0000 Subject: custom translation for all menus git-svn-id: http://svn.miranda-ng.org/main/trunk@515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/SecureIM') diff --git a/plugins/SecureIM/options.cpp b/plugins/SecureIM/options.cpp index 1925f19c09..d6cc1a70d6 100644 --- a/plugins/SecureIM/options.cpp +++ b/plugins/SecureIM/options.cpp @@ -531,7 +531,7 @@ INT_PTR CALLBACK DlgProcOptionsGeneral(HWND hDlg, UINT wMsg, WPARAM wParam, LPAR } if ( !hMenu ) hMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDM_CLIST2)); - CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)hMenu, 0); + TranslateMenu(hMenu); CheckMenuItem(hMenu, ID_SIM_NATIVE+ptr->tmode, MF_CHECKED ); if ( !bPGP ) EnableMenuItem(hMenu, ID_SIM_PGP, MF_GRAYED ); if ( !bGPG ) EnableMenuItem(hMenu, ID_SIM_GPG, MF_GRAYED ); @@ -833,7 +833,7 @@ INT_PTR CALLBACK DlgProcOptionsPGP(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM l GetCursorPos(&p); HMENU hMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDM_CLIST)); CheckMenuItem(hMenu, ID_ENCRYPTION, MF_BYCOMMAND ); - CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)hMenu, 0); + TranslateMenu(hMenu); TrackPopupMenu(GetSubMenu(hMenu, 0), TPM_LEFTALIGN | TPM_TOPALIGN, p.x, p.y, 0, hDlg, 0); DestroyMenu(hMenu); } break;*/ @@ -1006,7 +1006,7 @@ INT_PTR CALLBACK DlgProcOptionsGPG(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM l GetCursorPos(&p); HMENU hMenu = LoadMenu(g_hInst, MAKEINTRESOURCE(IDM_CLIST)); CheckMenuItem(hMenu, ID_ENCRYPTION, MF_BYCOMMAND ); - CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)hMenu, 0); + TranslateMenu(hMenu); TrackPopupMenu(GetSubMenu(hMenu, 0), TPM_LEFTALIGN | TPM_TOPALIGN, p.x, p.y, 0, hDlg, 0); DestroyMenu(hMenu); } break;*/ -- cgit v1.2.3