\r
/* Center the dialog over the application window */\r
CenterWindow (hDlg, GetWindow (hDlg, GW_OWNER));\r
+ Translate(hDlg, DLG_GeneralOptions);\r
\r
/* Initialize the dialog items */\r
#define CHECK_BOX(x,y) CheckDlgButton(hDlg, (x), (BOOL)(y))\r
/* set the background color */\r
SendDlgItemMessage(hDlg, OPT_Sample, EM_SETBKGNDCOLOR, FALSE, background);\r
\r
- SetDlgItemText(hDlg, OPT_Sample, mca.name);\r
+ SetDlgItemText(hDlg, OPT_Sample, T_(mca.name));\r
UpdateSampleText(hDlg, OPT_Sample, &mca);\r
return TRUE;\r
\r
SendDlgItemMessage(hDlg, OPT_SampleSeek, EM_SETBKGNDCOLOR, 0, cbc);\r
SendDlgItemMessage(hDlg, OPT_SampleNormal, EM_SETBKGNDCOLOR, 0, cbc);\r
\r
- SetDlgItemText(hDlg, OPT_SampleShout, mca[ColorShout].name);\r
- SetDlgItemText(hDlg, OPT_SampleSShout, mca[ColorSShout].name);\r
- SetDlgItemText(hDlg, OPT_SampleChannel1, mca[ColorChannel1].name);\r
- SetDlgItemText(hDlg, OPT_SampleChannel, mca[ColorChannel].name);\r
- SetDlgItemText(hDlg, OPT_SampleKibitz, mca[ColorKibitz].name);\r
- SetDlgItemText(hDlg, OPT_SampleTell, mca[ColorTell].name);\r
- SetDlgItemText(hDlg, OPT_SampleChallenge, mca[ColorChallenge].name);\r
- SetDlgItemText(hDlg, OPT_SampleRequest, mca[ColorRequest].name);\r
- SetDlgItemText(hDlg, OPT_SampleSeek, mca[ColorSeek].name);\r
- SetDlgItemText(hDlg, OPT_SampleNormal, mca[ColorNormal].name);\r
+ SetDlgItemText(hDlg, OPT_SampleShout, T_(mca[ColorShout].name));\r
+ SetDlgItemText(hDlg, OPT_SampleSShout, T_(mca[ColorSShout].name));\r
+ SetDlgItemText(hDlg, OPT_SampleChannel1, T_(mca[ColorChannel1].name));\r
+ SetDlgItemText(hDlg, OPT_SampleChannel, T_(mca[ColorChannel].name));\r
+ SetDlgItemText(hDlg, OPT_SampleKibitz, T_(mca[ColorKibitz].name));\r
+ SetDlgItemText(hDlg, OPT_SampleTell, T_(mca[ColorTell].name));\r
+ SetDlgItemText(hDlg, OPT_SampleChallenge, T_(mca[ColorChallenge].name));\r
+ SetDlgItemText(hDlg, OPT_SampleRequest, T_(mca[ColorRequest].name));\r
+ SetDlgItemText(hDlg, OPT_SampleSeek, T_(mca[ColorSeek].name));\r
+ SetDlgItemText(hDlg, OPT_SampleNormal, T_(mca[ColorNormal].name));\r
\r
UpdateSampleText(hDlg, OPT_SampleShout, &mca[ColorShout]);\r
UpdateSampleText(hDlg, OPT_SampleSShout, &mca[ColorSShout]);\r
\r
/* send the labels to the combo box */\r
while (scd->label) {\r
- err = SendMessage(hwndCombo, CB_ADDSTRING, 0, (LPARAM) scd->label);\r
+ err = SendMessage(hwndCombo, CB_ADDSTRING, 0, (LPARAM) T_(scd->label));\r
if (err != cnt++) {\r
sprintf(buf, "InitSoundCombo(): err '%d', cnt '%d'\n",\r
(int)err, (int)cnt);\r