[loc] update translation base to v1.0.12

* Also change UM_ISO_ constants to the more generic UM_PROGRESS_
This commit is contained in:
Pete Batard 2014-05-19 23:25:00 +01:00
parent 420bb1d0d8
commit 9df63b3b2a
12 changed files with 55 additions and 43 deletions

View file

@ -145,8 +145,7 @@ static BOOLEAN __stdcall FormatExCallback(FILE_SYSTEM_CALLBACK_COMMAND Command,
break;
case FCC_DEVICE_NOT_READY:
uprintf("The device is not ready");
// TODO: set to ERROR_NOT_READY and add relevant translation
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_ACCESS_DENIED;
FormatStatus = ERROR_SEVERITY_ERROR|FAC(FACILITY_STORAGE)|ERROR_NOT_READY;
break;
case FCC_CANT_QUICK_FORMAT:
uprintf("Cannot quick format this volume");
@ -1612,7 +1611,7 @@ DWORD WINAPI FormatThread(void* param)
out:
safe_free(guid_volume);
safe_free(buffer);
SendMessage(hISOProgressDlg, UM_ISO_EXIT, 0, 0);
SendMessage(hISOProgressDlg, UM_PROGRESS_EXIT, 0, 0);
safe_closehandle(hSourceImage);
safe_unlockclose(hLogicalVolume);
safe_unlockclose(hPhysicalDrive); // This can take a while