summaryrefslogtreecommitdiff
path: root/plugins/Bonsai
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/Bonsai
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/Bonsai')
-rw-r--r--plugins/Bonsai/hooked_events.cpp7
-rw-r--r--plugins/Bonsai/services.cpp2
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/Bonsai/hooked_events.cpp b/plugins/Bonsai/hooked_events.cpp
index 2c32516c83..a104946229 100644
--- a/plugins/Bonsai/hooked_events.cpp
+++ b/plugins/Bonsai/hooked_events.cpp
@@ -76,15 +76,14 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
int OnOptionsInitialise(WPARAM wParam, LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = {0};
-
odp.cbSize = sizeof(odp);
odp.position = 100000000;
odp.hInstance = hInstance;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FIXOPTIONS);
- odp.ptszTitle = TranslateT("Arrange Options");
- odp.ptszGroup = TranslateT("Services");
+ odp.pszTitle = LPGEN(("Arrange Options");
+ odp.pszGroup = LPGEN(("Services");
odp.groupPosition = 810000000;
- odp.flags=ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS;
odp.pfnDlgProc = DlgProcOptions;
Options_AddPage(wParam, &odp);
diff --git a/plugins/Bonsai/services.cpp b/plugins/Bonsai/services.cpp
index 64d7f92c72..b555d2d7d1 100644
--- a/plugins/Bonsai/services.cpp
+++ b/plugins/Bonsai/services.cpp
@@ -22,7 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static CRITICAL_SECTION csServices;
-static DWORD OPTIONS_ADDPAGE_HASH = NameHashFunction(MS_OPT_ADDPAGE);
+static DWORD OPTIONS_ADDPAGE_HASH = NameHashFunction("Opt/AddPage");
CALLSERVICEFUNCTION realCallServiceFunction = NULL;