diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-25 00:41:02 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-06-25 00:41:02 +0200 |
commit | 394ed5d867402b8dec51094281492c1552d5478e (patch) | |
tree | 71a9bc071c798d940e1a4d0ad8d8f24bbe851221 /src/ExpandVolume/DlgExpandVolume.cpp | |
parent | 52b3e0113a94d09c136320f302f0c2e0dead27a2 (diff) | |
download | VeraCrypt-394ed5d867402b8dec51094281492c1552d5478e.tar.gz VeraCrypt-394ed5d867402b8dec51094281492c1552d5478e.zip |
Windows: Better language localization support for Expander.
More work is needed to localize remaining string resources
Diffstat (limited to 'src/ExpandVolume/DlgExpandVolume.cpp')
-rw-r--r-- | src/ExpandVolume/DlgExpandVolume.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ExpandVolume/DlgExpandVolume.cpp b/src/ExpandVolume/DlgExpandVolume.cpp index ab76d1ba..eb3b06f6 100644 --- a/src/ExpandVolume/DlgExpandVolume.cpp +++ b/src/ExpandVolume/DlgExpandVolume.cpp @@ -147,6 +147,8 @@ BOOL CALLBACK ExpandVolSizeDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARA pVolExpandParam = (EXPAND_VOL_THREAD_PARAMS*)lParam; + LocalizeDialog (hwndDlg, NULL); + EnableWindow (GetDlgItem (hwndDlg, IDC_SIZEBOX), !pVolExpandParam->bIsDevice); EnableWindow (GetDlgItem (hwndDlg, IDC_KB), !pVolExpandParam->bIsDevice); EnableWindow (GetDlgItem (hwndDlg, IDC_MB), !pVolExpandParam->bIsDevice); @@ -309,6 +311,8 @@ BOOL CALLBACK ExpandVolProgressDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, L VirtualLock (&mouseEntropyGathered, sizeof(mouseEntropyGathered)); VirtualLock (maskRandPool, sizeof(maskRandPool)); + LocalizeDialog (hwndDlg, NULL); + mouseEntropyGathered = 0xFFFFFFFF; mouseEventsInitialCount = 0; bUseMask = FALSE; |