summaryrefslogtreecommitdiff
path: root/protocols/MRA/Mra_options.cpp
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 /protocols/MRA/Mra_options.cpp
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 'protocols/MRA/Mra_options.cpp')
-rw-r--r--protocols/MRA/Mra_options.cpp63
1 files changed, 31 insertions, 32 deletions
diff --git a/protocols/MRA/Mra_options.cpp b/protocols/MRA/Mra_options.cpp
index 664a9ce8a6..97e1aa1b91 100644
--- a/protocols/MRA/Mra_options.cpp
+++ b/protocols/MRA/Mra_options.cpp
@@ -10,40 +10,39 @@ INT_PTR CALLBACK DlgProcOptsConnections (HWND hWndDlg, UINT msg, WPARAM wParam,
int OptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp={0};
-
- odp.cbSize=sizeof(odp);
- odp.hInstance=masMraSettings.hInstance;
- odp.pszTitle=PROTOCOL_NAMEA;
- odp.pszGroup="Network";
- odp.flags=ODPF_BOLDGROUPS;
-
- odp.pszTab="Account";
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_ACCOUNT);
- odp.pfnDlgProc=DlgProcOptsAccount;
- Options_AddPage(wParam,&odp);
-
- odp.pszTab="Connections";
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_CONNECTIONS);
- odp.pfnDlgProc=DlgProcOptsConnections;
- Options_AddPage(wParam,&odp);
-
- odp.pszTab="Anti spam";
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_ANTISPAM);
- odp.pfnDlgProc=MraAntiSpamDlgProcOpts;
- Options_AddPage(wParam,&odp);
-
- odp.pszTab="Files";
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_FILES);
- odp.pfnDlgProc=MraFilesQueueDlgProcOpts;
- Options_AddPage(wParam,&odp);
-
- odp.pszTab="Avatars";
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_AVATRS);
- odp.pfnDlgProc=MraAvatarsQueueDlgProcOpts;
- Options_AddPage(wParam,&odp);
+ odp.cbSize = sizeof(odp);
+ odp.hInstance = masMraSettings.hInstance;
+ odp.pszTitle = PROTOCOL_NAMEA;
+ odp.pszGroup = LPGEN("Network");
+ odp.flags = ODPF_BOLDGROUPS;
+
+ odp.pszTab = LPGEN("Account");
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ACCOUNT);
+ odp.pfnDlgProc = DlgProcOptsAccount;
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Connections");
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CONNECTIONS);
+ odp.pfnDlgProc = DlgProcOptsConnections;
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Anti spam");
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ANTISPAM);
+ odp.pfnDlgProc = MraAntiSpamDlgProcOpts;
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Files");
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_FILES);
+ odp.pfnDlgProc = MraFilesQueueDlgProcOpts;
+ Options_AddPage(wParam, &odp);
+
+ odp.pszTab = LPGEN("Avatars");
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_AVATRS);
+ odp.pfnDlgProc = MraAvatarsQueueDlgProcOpts;
+ Options_AddPage(wParam, &odp);
MraPopupOptInit(wParam,lParam);
-return(0);
+ return 0;
}