diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-06 20:31:21 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-06 20:31:21 +0300 |
commit | c1ccb79a7110c4c692c5d88b95281c9ad5c497a0 (patch) | |
tree | 32987e4863e5f50735cb0dd489b80c91b1d6f102 /plugins/QuickContacts/src | |
parent | 4000b35d600ecd71733cb929c407e814309f3f49 (diff) |
mir_options:
- fixes #3857 (QuickContacts: слетел перевод)- fixes #3844 (ListeningTo: многие строки не переведены)
- fixes #3813 (AvatarHistory: пропал перевод настроек всплывающих окон)
Diffstat (limited to 'plugins/QuickContacts/src')
-rw-r--r-- | plugins/QuickContacts/src/options.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/QuickContacts/src/options.cpp b/plugins/QuickContacts/src/options.cpp index 8a5e486d86..0bfac965fb 100644 --- a/plugins/QuickContacts/src/options.cpp +++ b/plugins/QuickContacts/src/options.cpp @@ -41,7 +41,8 @@ void LoadOptions() // Options page
-static OptPageControl controls[] = {
+static OptPageControl controls[] =
+{
{ nullptr, CONTROL_CHECKBOX, IDC_LASTSENTTO, "EnableLastSentTo", (uint8_t)TRUE },
{ nullptr, CONTROL_RADIO, IDC_GLOBAL, "MsgTypeRec", (uint16_t)TYPE_GLOBAL, TYPE_GLOBAL },
{ nullptr, CONTROL_RADIO, IDC_LOCAL, "MsgTypeRec", (uint16_t)TYPE_GLOBAL, TYPE_LOCAL },
@@ -60,6 +61,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP switch (msg) {
case WM_INITDIALOG:
+ TranslateDialogDefault(hwndDlg);
{
BOOL enabled = IsDlgButtonChecked(hwndDlg, IDC_LASTSENTTO);
EnableWindow(GetDlgItem(hwndDlg, IDC_GLOBAL), enabled);
|