[misc] fix non-English messages appearing in the log

This commit is contained in:
Pete Batard 2020-10-02 17:24:17 +01:00
parent e6ac3782fe
commit f4c7f2963c
No known key found for this signature in database
GPG key ID: 38E0CF5E69EDD671
5 changed files with 22 additions and 9 deletions

View file

@ -1762,7 +1762,7 @@ DWORD WINAPI FormatThread(void* param)
// It kind of blows, but we have to relinquish access to the physical drive
// for VDS to be able to delete the partitions that reside on it...
safe_unlockclose(hPhysicalDrive);
PrintInfoDebug(0, MSG_239, lmprintf(MSG_307));
PrintInfo(0, MSG_239, lmprintf(MSG_307));
if (!DeletePartitions(DriveIndex)) {
SetLastError(FormatStatus);
uprintf("Notice: Could not delete partitions: %s", WindowsErrorString());
@ -2146,7 +2146,8 @@ DWORD WINAPI FormatThread(void* param)
}
// EFI mode selected, with no 'boot###.efi' but Windows 7 x64's 'bootmgr.efi' (bit #0)
if (((target_type == TT_UEFI) || allow_dual_uefi_bios) && HAS_WIN7_EFI(img_report)) {
PrintInfoDebug(0, MSG_232, lmprintf(MSG_307));
PrintInfo(0, MSG_232, lmprintf(MSG_307));
uprintf("Win7 EFI boot setup");
img_report.wininst_path[0][0] = drive_name[0];
efi_dst[0] = drive_name[0];
efi_dst[sizeof(efi_dst) - sizeof("\\bootx64.efi")] = 0;