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/AvatarHistory/src/options.cpp | |
parent | 4000b35d600ecd71733cb929c407e814309f3f49 (diff) |
mir_options:
- fixes #3857 (QuickContacts: слетел перевод)- fixes #3844 (ListeningTo: многие строки не переведены)
- fixes #3813 (AvatarHistory: пропал перевод настроек всплывающих окон)
Diffstat (limited to 'plugins/AvatarHistory/src/options.cpp')
-rw-r--r-- | plugins/AvatarHistory/src/options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/AvatarHistory/src/options.cpp b/plugins/AvatarHistory/src/options.cpp index 5bdca65851..0e14643672 100644 --- a/plugins/AvatarHistory/src/options.cpp +++ b/plugins/AvatarHistory/src/options.cpp @@ -50,6 +50,9 @@ static OptPageControl popupsControls[] = { static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
+ if (msg == WM_INITDIALOG)
+ TranslateDialogDefault(hwndDlg);
+
return SaveOptsDlgProc(optionsControls, _countof(optionsControls), MODULENAME, hwndDlg, msg, wParam, lParam);
}
@@ -89,6 +92,8 @@ static INT_PTR CALLBACK PopupsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPA {
switch (msg) {
case WM_INITDIALOG:
+ TranslateDialogDefault(hwndDlg);
+
SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM)TranslateT("Do nothing"));
SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM)TranslateT("Close popup"));
SendDlgItemMessage(hwndDlg, IDC_RIGHT_ACTION, CB_ADDSTRING, 0, (LPARAM)TranslateT("Show avatar history"));
|