[USERINIT] LiveCD: Set UI language (#7069)

The LiveCD start dialog was not localized.
JIRA issue: N/A
- Just call SetThreadLocale after
  InitializeDefaultUserLocale call.
This commit is contained in:
Katayama Hirofumi MZ
2024-07-02 18:55:37 +09:00
committed by GitHub
parent caf117d496
commit edf6b805a7

View File

@@ -715,6 +715,9 @@ LocaleDlgProc(
/* Store the locale settings in the registry */
InitializeDefaultUserLocale(&NewLcid);
/* Set UI language for this thread */
SetThreadLocale(NewLcid);
SetKeyboardLayout(GetDlgItem(hwndDlg, IDC_LAYOUTLIST));
pState->NextPage = STARTPAGE;