diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-19 14:52:53 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-19 14:52:53 +0000 |
commit | 54dec7a74c313ee61437386bd667f9a7653351fd (patch) | |
tree | 81aaf9bf469838735392a81ed3edfc3b3bd7481f /plugins/TipperYM | |
parent | 03dd87df0b288fd0f0f512fb0bbff29e8c00f366 (diff) |
fixes for the options page translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM')
-rw-r--r-- | plugins/TipperYM/options.cpp | 66 |
1 files changed, 30 insertions, 36 deletions
diff --git a/plugins/TipperYM/options.cpp b/plugins/TipperYM/options.cpp index 29624e2b3a..b6035e8d67 100644 --- a/plugins/TipperYM/options.cpp +++ b/plugins/TipperYM/options.cpp @@ -2418,49 +2418,43 @@ INT_PTR CALLBACK DlgProcOptsTraytip(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA int OptInit(WPARAM wParam, LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = {0};
-
- odp.cbSize = sizeof(odp);
- odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
- odp.position = -790000000;
- odp.hInstance = hInst;
-
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_APPEARANCE);
- odp.ptszTab = LPGENT("Appearance");
- odp.ptszTitle = LPGENT("Tooltips");
- odp.ptszGroup = LPGENT("Customize");
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOptsAppearance;
+ odp.cbSize = sizeof(odp);
+ odp.flags = ODPF_BOLDGROUPS;
+ odp.position = -790000000;
+ odp.hInstance = hInst;
+
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_APPEARANCE);
+ odp.pszTab = LPGEN("Appearance");
+ odp.pszTitle = LPGEN("Tooltips");
+ odp.pszGroup = LPGEN("Customize");
+ odp.pfnDlgProc = DlgProcOptsAppearance;
Options_AddPage(wParam, &odp);
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN);
- odp.ptszTab = LPGENT("Tooltips");
- odp.ptszGroup = LPGENT("Skins");
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOptsSkin;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SKIN);
+ odp.pszTab = LPGEN("Tooltips");
+ odp.pszGroup = LPGEN("Skins");
+ odp.pfnDlgProc = DlgProcOptsSkin;
Options_AddPage(wParam, &odp);
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONTENT);
- odp.ptszTab = LPGENT("Content");
- odp.ptszTitle = LPGENT("Tooltips");
- odp.ptszGroup = LPGENT("Customize");
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOptsContent;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONTENT);
+ odp.pszTab = LPGEN("Content");
+ odp.pszTitle = LPGEN("Tooltips");
+ odp.pszGroup = LPGEN("Customize");
+ odp.pfnDlgProc = DlgProcOptsContent;
Options_AddPage(wParam, &odp);
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAYTIP);
- odp.ptszTab = LPGENT("Tray tooltip");
- odp.ptszTitle = LPGENT("Tooltips");
- odp.ptszGroup = LPGENT("Customize");
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOptsTraytip;
-
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAYTIP);
+ odp.pszTab = LPGEN("Tray tooltip");
+ odp.pszTitle = LPGEN("Tooltips");
+ odp.pszGroup = LPGEN("Customize");
+ odp.pfnDlgProc = DlgProcOptsTraytip;
Options_AddPage(wParam, &odp);
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_EXTRA);
- odp.ptszTab = LPGENT("Extra");
- odp.ptszTitle = LPGENT("Tooltips");
- odp.ptszGroup = LPGENT("Customize");
- odp.nIDBottomSimpleControl = 0;
- odp.pfnDlgProc = DlgProcOptsExtra;
+
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_EXTRA);
+ odp.pszTab = LPGEN("Extra");
+ odp.pszTitle = LPGEN("Tooltips");
+ odp.pszGroup = LPGEN("Customize");
+ odp.pfnDlgProc = DlgProcOptsExtra;
Options_AddPage(wParam, &odp);
return 0;
|