summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod
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/NewAwaySysMod
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/NewAwaySysMod')
-rw-r--r--plugins/NewAwaySysMod/AwayOpt.cpp21
-rw-r--r--plugins/NewAwaySysMod/Common.h4
2 files changed, 8 insertions, 17 deletions
diff --git a/plugins/NewAwaySysMod/AwayOpt.cpp b/plugins/NewAwaySysMod/AwayOpt.cpp
index dc8ed83d56..e875afe353 100644
--- a/plugins/NewAwaySysMod/AwayOpt.cpp
+++ b/plugins/NewAwaySysMod/AwayOpt.cpp
@@ -1758,36 +1758,27 @@ int OptsDlgInit(WPARAM wParam, LPARAM lParam)
optDi.cbSize = sizeof(optDi);
optDi.position = 920000000;
optDi.hInstance = g_hInstance;
- optDi.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
-/*
- optDi.ptszTitle = OPT_TITLE;
- optDi.pfnDlgProc = PopupOptDlg;
- optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG);
- optDi.ptszGroup = OPT_POPUPGROUP;
- Options_AddPage(wParam, &optDi);
-*/
-// optDi.ptszTitle = OPT_TITLE;
- optDi.ptszTitle = OPT_MAINGROUP;
-// optDi.ptszGroup = OPT_MAINGROUP;
+ optDi.flags = ODPF_BOLDGROUPS;
+ optDi.pszTitle = OPT_MAINGROUP;
optDi.pfnDlgProc = MessagesOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_MESSAGES);
- optDi.ptszTab = LPGENT("Statuses messages");
+ optDi.pszTab = LPGEN("Statuses messages");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = MoreOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_MOREOPTDIALOG);
- optDi.ptszTab = LPGENT("Main options");
+ optDi.pszTab = LPGEN("Main options");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = AutoreplyOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_AUTOREPLY);
- optDi.ptszTab = LPGENT("Autoreply");
+ optDi.pszTab = LPGEN("Autoreply");
Options_AddPage(wParam, &optDi);
optDi.pfnDlgProc = ContactsOptDlg;
optDi.pszTemplate = MAKEINTRESOURCEA(IDD_CONTACTSOPTDLG);
- optDi.ptszTab = LPGENT("Contacts");
+ optDi.pszTab = LPGEN("Contacts");
Options_AddPage(wParam, &optDi);
return 0;
}
diff --git a/plugins/NewAwaySysMod/Common.h b/plugins/NewAwaySysMod/Common.h
index 7801d3f47e..4c769b4e24 100644
--- a/plugins/NewAwaySysMod/Common.h
+++ b/plugins/NewAwaySysMod/Common.h
@@ -220,8 +220,8 @@
// options dialog
#define OPT_TITLE LPGENT("Away System")
-#define OPT_MAINGROUP LPGENT("Status")
-#define OPT_POPUPGROUP LPGENT("PopUps")
+#define OPT_MAINGROUP LPGEN("Status")
+#define OPT_POPUPGROUP LPGEN("PopUps")
#define MRM_MAX_GENERATED_TITLE_LEN 35 // maximum length of automatically generated title for recent messages