diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-06-21 18:06:18 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-06-21 18:06:18 +0000 |
commit | 1cff03ea69bce85c652ac19d5cb059f12695509c (patch) | |
tree | d5d7e1ca82d4f709c6438e7af5697394d9c37ca8 /plugins/HistoryLinkListPlus | |
parent | 798a7bc2ee5f488d67831c11778f209bdadcba02 (diff) |
custom translation for all menus
git-svn-id: http://svn.miranda-ng.org/main/trunk@515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryLinkListPlus')
-rw-r--r-- | plugins/HistoryLinkListPlus/linklist_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryLinkListPlus/linklist_dlg.c b/plugins/HistoryLinkListPlus/linklist_dlg.c index 80d6b23f8f..6e26d8538d 100644 --- a/plugins/HistoryLinkListPlus/linklist_dlg.c +++ b/plugins/HistoryLinkListPlus/linklist_dlg.c @@ -68,7 +68,7 @@ INT_PTR WINAPI MainDlgProc( HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam ) SetWindowLongPtr(hDlg, GWLP_USERDATA, lParam);
DlgParam = (DIALOGPARAM *)lParam;
TranslateDialogDefault(hDlg);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)listMenu, 0);
+ TranslateMenu(listMenu);
if ( DBGetContactSettingByte(NULL, LINKLIST_MODULE, LINKLIST_SAVESPECIAL, 0x00) == 0x00 )
hContact = NULL;
@@ -181,7 +181,7 @@ INT_PTR WINAPI MainDlgProc( HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam ) if (mouseEvent == 0x01 )
EnableMenuItem(hSubMenu, IDM_SHOWMESSAGE, MF_BYCOMMAND | MF_DISABLED | MF_GRAYED);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM)hSubMenu, 0);
+ TranslateMenu(hSubMenu);
link = (LPTSTR)malloc( (pENLink->chrg.cpMax-pENLink->chrg.cpMin+2)*sizeof(TCHAR));
SendDlgItemMessage(hDlg, IDC_MAIN, EM_EXSETSEL, 0, (LPARAM)(&(pENLink->chrg)));
|