;------------- MakeRescueDiskWizard -------------

[Global]
$RescueDisk             = "Rescue Disk"

AskCancelCopy		= "Cancel copying file?"
AskCancelDownload	= "Cancel file downloading?"
AskCancelUSBMake	= "Cancel recording to the USB flash drive?"
AskEraseMedia		= "Rewritable disk is not empty. All data on this disk will be overwritten. Do you want to use this disk to create Rescue Disk?"
AskOverwriteFile	= "File or folder " + strFilename + " already exists. Overwrite?"
AskFormatVolume		= "Drive " + strVolume + " is not formatted. It is required to format drive to continue.\nAttention! All data on drive " + strVolume + " will be lost.\nDo you want to format drive?"
AskNotEnoughSpace	= "Not enough space on disk to complete. Required: " + filesize(nNeeded, "FileSizeTypes") + ", available: " + filesize(nActual, "FileSizeTypes") + ".\nFree up some disk space and click OK to continue."
RdiskCopyError		= "File copying error (" + s_SystemError(ErrorCode) + ")." + "\n\n<a Support onclick(url(\"" + $Rdisk_CopyError_url + "\"))>" + $Click_msg + "</a>"
RdiskDownloadError	= "File downloading error (" + s_RdiskDownloadError(ErrorCode) + ")." + "\n\n<a Support onclick(url(\"" + $Rdisk_DownloadError_url + "\"))>" + $Click_msg + "</a>" + $tryManual
RdiskUpdateIsoError	= "Error updating image file (" + s_RdiskUpdateError(ErrorCode) + ")." + "\n\n<a Support onclick(url(\"" + $Rdisk_UpdateIsoError_url + "\"))>" + $Click_msg + "</a>"
RdiskBurnIsoError	= s_RdiskBurnIsoErrorText(OperationCode) + "." + "\n\n<a Support onclick(url(\"" + $Rdisk_BurnIsoError_url + "\"))>" + $Click_msg + "</a>"
RdiskMakeUSBError	= s_RdiskMakeUSBErrorText(ErrorCode) + "." + "\n\n<a Support onclick(url(\"" + $Rdisk_MakeUSBError_url + "\"))>" + $Click_msg + "</a>"
$isoLink = "<a Support onclick(url(\"" + strIsoUrl + "\"))>" + strIsoUrl + "</a>"
$tryManual = if(strIsoUrl, "\n\n\nTry downloading the disk image from the Internet\n" + $isoLink + "\nor from a local drive")

[s_RdiskDownloadError]
0x8000A002="insufficient rights for the operation"
0x800000C0="wrong file format or insufficient rights for the operation"
default=s_UpdaterError(@)

[s_RdiskUpdateError]
0x800000C0="wrong file format or insufficient rights for the operation"
default=s_SystemError(@)

[s_RdiskBurnError]
default=s_SystemError(@)

[s_RdiskBurnIsoErrorText]
0xC0AA0204 = "Wrong disk side"
0xC0AA0202 = "Please insert disk"
0xC0AA0300 = "Buffer underrun. Close all other applications and retry recording"
0xC0AA0203 = "Disk is incompatible with the recording device or damaged"
0xC0AA0209 = "Disk is write protected"
0xC0AA020F = "Recording device does not support possible recording speed of this disk"
0xC0AA0210 = "Recording device is being used by another application"
0xC0AA0407 = "Writing to a read-only disk or the selected recording device is incompatible with the recordable disk"
default	   = "Error recording disk image (" + s_RdiskBurnError(ErrorCode) + ")"

[s_RdiskMakeUSBErrorText]
0x800000C5 = "A file, required to create the Rescue Disk on USB flash drive, is missing or the disk image is corrupt."
default	   = (OperationCode && s_RdiskMakeUSBNativeErrorText(OperationCode) ? s_RdiskMakeUSBNativeErrorText(OperationCode) : "Error creating Rescue Disk on a USB flash drive (" + s_SystemError(ErrorCode) + ")") 

[s_RdiskMakeUSBNativeErrorText]
1105 = "Error formatting USB flash drive. Probably missing volume."

[MakeRescueDiskWizard]
@ = "Rescue Disk Creation Wizard"

[MakeRescueDiskWizardPages]
$IsoBurnPrepareName = eTarget == #eRdiskTargetCD ? "Recording data to a CD / DVD" : (eTarget == #eRdiskTargetUSB ? "Recording data to a USB flash drive" : "Saving disk image to file")
Intro.Name               		= "Create Rescue Disk"
Iso_Locate.Name					= "Select disk image source"
Iso_CopyLocal.Name				= "Copying disk image"
Iso_CopyLocal_Progress.Name		= "Copying disk image"
Iso_Download_Progress.Name		= "Downloading disk image"
Iso_Update_Prepare.Name			= "Updating disk image"
Iso_Update_Progress.Name		= "Updating disk image"
Iso_Choose_Action.Name          = "Recording data"
Iso_Burn_Prepare.Name			= $IsoBurnPrepareName
Iso_Burn_Progress.Name			= $IsoBurnPrepareName
Iso_CopyFolder_Progress.Name	= "Copying the Rescue Disk to file on local or network drive"
Finish.Name						= "Wizard completion"

[MakeRescueDiskWizardPages_Intro_Inner]
Descr			= "A Rescue Disk is a bootable CD or USB flash drive containing a set of tools for efficiently detecting and eliminating computer infections. It is required when a computer is so damaged that the operating system or antivirus software fails to launch correctly.\n\nThe Rescue Disk Creation Wizard allows you to create the disk image (an .iso file) with up-to-date antivirus databases and configuration files and record it to CD / DVD or USB flash drive."
Text			= "The wizard has detected an existing ISO image of the Rescue Disk."
Version                 = "Image version: " + strExistentIsoVersion
UseExistentIso	= "Use existing ISO image"

[MakeRescueDiskWizardPages_NewVersion]
TextNew			= "New version of the Rescue Disk image is available"
Text			= "Available ISO image version"
Version			= "Version: " + global.NewRescueDiskVersion.Ver
Descr			= "Description: " + global.NewRescueDiskVersion.Descr
RelDate			= "Release date: " + global.NewRescueDiskVersion.RelDate
Size			= "Size: " + f_ObjSize(global.NewRescueDiskVersion.Size)

[MakeRescueDiskWizardPages_Iso_Locate_Inner]
Descr			= "To create the Rescue Disk a prepared disk image (an .iso file) is required."
Text			= "Choose one of the following:"

[MakeRescueDiskWizardPages_Iso_Locate_RadioGroup]
CopyLocal		= "Copy ISO image from local or network drive"
Download		= "Download ISO image from Kaspersky Lab server"

[MakeRescueDiskWizardPages_Iso_CopyLocal_Inner]
$SelectISOFileCaption = "Select the Rescue Disk file"
Descr			= "Specify the disk image file. The Wizard will copy it for further usage."
PathLabel		= "File path"

[MakeRescueDiskWizardPages_Iso_CopyLocal_Progress_Inner]
Descr			= "The Wizard is copying ISO image file"
Text			= "Copied " + f_ObjSize(nCurrentBytes) + " of " + f_ObjSize(nTotalBytes)

[MakeRescueDiskWizardPages_Iso_Download_Progress_Inner]
Descr			= "The Wizard is downloading ISO image file from Kaspersky Lab server"
Text			= "Downloaded " + f_ObjSize(nCurrentBytes) + " of " + f_ObjSize(nTotalBytes)

[MakeRescueDiskWizardPages_Iso_Update_Prepare_Inner]
Descr			= "The Wizard will update the Anti-Virus database and configuration files."

[MakeRescueDiskWizardPages_Iso_Update_Progress_Inner]
Descr			= "The Wizard is updating the .iso file. Antivirus databases and configuration files are being updated. It can take a few minutes..."

[MakeRescueDiskWizardPages_Iso_Choose_Action_Inner]
TargetText		= "Select action for the Rescue Disk: "
Instructions	= "Plug in the USB flash drive and click Next"

[MakeRescueDiskWizardPages_Iso_Choose_Action_Target]
CD			= "Record to CD / DVD"
CDText 			= size(Recorders) > 0 ? "\n "\nAttention! Cannot find Windows Image Mastering API v2.0 (IMAPIv2.0) component on the computer. To record Rescue Disk, it is required to install <a onclick(url($KB932716LinkText))>the update KB932716</a> for Microsoft Windows." : "\nThe CD / DVD recording device is not found on your computer."
USB			= "Record to USB flash drive"
Folder			= "Save the disk image to file on local or network drive"


[MakeRescueDiskWizardPages_Iso_Burn_Prepare_Inner]
$SelectDestFolderCaption = "Specify the file path for saving the Rescue Disk image"
Descr			= (eTarget == #eRdiskTargetCD ? "The Wizard will record data to a CD / DVD." : "The Wizard will record data to a USB flash drive.")
ComboLabel		= eTarget == #eRdiskTargetCD ? "Select the recording device:" : (eTarget == #eRdiskTargetUSB ? "Select the USB flash drive:" : $SelectDestFolderCaption + ":")
Instructions	= (eTarget == #eRdiskTargetCD ? "\nInsert a recordable CD / DVD and click Next" : "\nAttention! To create a Rescue Disk you are advised to use only USB flash drives and USB hard drives. Do not use mp3-players, smartphones and similar devices.\n\nIn case of problems booting from a USB flash drive, try using a Rescue Disk recorded on CD / DVD. Booting from a USB flash drive may require additional BIOS configuration.\n\nTo avoid data loss, you are strongly advised to backup data on the USB flash drive.\n\n<a onclick(url(\"" + $RescueDiskDetailsLink + "\"))>More on Rescue Disk...</a>")


[MakeRescueDiskWizardPages_Iso_Burn_Progress_Inner]
Descr			= "The Wizard is " + (eTarget == #eRdiskTargetFolder ? "saving disk image to file" : (eTarget == #eRdiskTargetUSB ? "recording to a USB flash drive" : "recording to CD / DVD")) + ". It can take a few minutes..."

[MakeRescueDiskWizardPages_Finish_Inner]
Descr			= "The Rescue Disk Creation Wizard is complete."
DescrLast		= "\nClick Finish to close this window."