summaryrefslogtreecommitdiff
path: root/plugins/Nudge
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
commit54dec7a74c313ee61437386bd667f9a7653351fd (patch)
tree81aaf9bf469838735392a81ed3edfc3b3bd7481f /plugins/Nudge
parent03dd87df0b288fd0f0f512fb0bbff29e8c00f366 (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/Nudge')
-rw-r--r--plugins/Nudge/options.cpp27
1 files changed, 13 insertions, 14 deletions
diff --git a/plugins/Nudge/options.cpp b/plugins/Nudge/options.cpp
index 7d5f052c6d..b0369143dc 100644
--- a/plugins/Nudge/options.cpp
+++ b/plugins/Nudge/options.cpp
@@ -10,23 +10,22 @@ CNudgeElement* ActualNudge = NULL;
int NudgeOptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
- odp.position = -790000000;
- odp.hInstance = hInst;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_NUDGE);
- odp.ptszTitle = LPGENT("Nudge");
- odp.ptszGroup = LPGENT("Events");
- odp.ptszTab = LPGENT("Nudge");
- odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;
-// odp.nIDBottomSimpleControl = IDC_STMSNGROUP;
- odp.pfnDlgProc = DlgProcNudgeOpt;
+ odp.cbSize = sizeof(odp);
+ odp.position = -790000000;
+ odp.hInstance = hInst;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_NUDGE);
+ odp.pszTitle = LPGEN("Nudge");
+ odp.pszGroup = LPGEN("Events");
+ odp.pszTab = LPGEN("Nudge");
+ odp.flags = ODPF_BOLDGROUPS;
+ odp.pfnDlgProc = DlgProcNudgeOpt;
Options_AddPage(wParam, &odp);
- odp.position = -790000001;
- odp.ptszTab = LPGENT("Window Shaking");
- odp.pfnDlgProc = DlgProcShakeOpt;
+ odp.position = -790000001;
+ odp.pszTab = LPGEN("Window Shaking");
+ odp.pfnDlgProc = DlgProcShakeOpt;
odp.flags |= ODPF_EXPERTONLY;
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHAKE);
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_SHAKE);
Options_AddPage(wParam, &odp);
return 0;
}