Move all strings to properties in Aaru.Gui.

This commit is contained in:
2022-11-16 21:40:54 +00:00
parent 2f9b7fe0a1
commit ecb4842071
56 changed files with 934 additions and 458 deletions

View File

@@ -912,6 +912,76 @@ public sealed class DeviceInfoViewModel : ViewModelBase
set => this.RaiseAndSetIfChanged(ref _sdMmcInfo, value);
}
public string DeviceInformationLabel => "Device information";
public string GeneralLabel => "General";
public string DeviceTypeLabel => "Device type";
public string ManufacturerLabel => "Manufacturer";
public string ModelLabel => "Model";
public string RevisionLabel => "Revision";
public string SerialNumberLabel => "Serial number";
public string ScsiTypeLabel => "Peripheral device type";
public string RemovableMediaLabel => "Removable media";
public string UsbConnectedLabel => "Connected by USB";
public string USBLabel => "USB";
public string VendorIDLabel => "Vendor ID";
public string ProductIDLabel => "Product ID";
public string ProductLabel => "Product";
public string SaveUsbDescriptorsLabel => "Save descriptors to file";
public string FireWireLabel => "FireWire";
public string ModelIDLabel => "Model ID";
public string GUIDLabel => "GUID";
public string PlextorLabel => "Plextor";
public string PlextorDiscsLabel => "Total loaded discs:";
public string PlextorCdReadTimeLabel => "Time spent reading CDs";
public string PlextorCdWriteTimeLabel => "Time spent writing CDs";
public string PlextorDvdReadTimeLabel => "Time spent reading DVDs";
public string PlextorDvdWriteTimeLabel => "Time spent writing DVDs";
public string PlextorPoweRecLabel => "Supports PoweRec";
public string PlextorPoweRecEnabledLabel => "PoweRec is enabled";
public string PlextorPoweRecRecommendedLabel => "Recommended speed";
public string PlextorPoweRecSelectedLabel => "Selected PoweRec speed for currently inserted media:";
public string PlextorPoweRecMaxLabel => "Maximum PoweRec speed for currently inserted media:";
public string PlextorPoweRecLastLabel => "Last PoweRec used speed";
public string PlextorSilentModeLabel => "Supports SilentMode";
public string PlextorSilentModeEnabledLabel => "SilentMode is enabled";
public string PlextorSilentModeCdReadSpeedLimitLabel => "CD read speed limited to";
public string PlextorSilentModeCdWriteSpeedLimitLabel => "CD write speed limited to";
public string PlextorSilentModeDvdReadSpeedLimitLabel => "DVD read speed limited to";
public string PlextorGigaRecLabel => "Supports GigaRec";
public string PlextorSecuRecLabel => "Supports SecuRec";
public string PlextorSpeedReadLabel => "Supports SpeedRead";
public string PlextorSpeedEnabledLabel => "SpeedRead is enabled";
public string PlextorHidingLabel => "Supports hiding CD-Rs and sessions";
public string PlextorHidesRecordablesLabel => "Is hiding CD-Rs";
public string PlextorHidesSessionsLabel => "Is forcing only first session";
public string PlextorVariRecLabel => "Supports VariRec";
public string PlextorVariRecDvdLabel => "Supports VariRec on DVDs";
public string PlextorBitSettingLabel => "Supports bitsetting DVD+R book type";
public string PlextorBitSettingDlLabel => "Supports bitsetting DVD+R DL book type";
public string PlextorDvdPlusWriteTestLabel => "Supports test writing DVD+";
public string KreonLabel => "Kreon";
public string KreonChallengeResponseLabel => "Can do challenge/response with Xbox discs";
public string KreonDecryptSsLabel => "Can read and decrypt SS from Xbox discs";
public string KreonXtremeUnlockLabel => "Can set xtreme unlock state with Xbox discs";
public string KreonWxripperUnlockLabel => "Can set wxripper unlock state with Xbox discs";
public string KreonChallengeResponse360Label => "Can do challenge/response with Xbox 360 discs";
public string KreonDecryptSs360Label => "Can read and decrypt SS from Xbox 360 discs";
public string KreonXtremeUnlock360Label => "Can set xtreme unlock state with Xbox 360 discs";
public string KreonWxripperUnlock360Label => "Can set wxripper unlock state with Xbox 360 discs";
public string KreonSetLockedLabel => "Can set locked state";
public string KreonErrorSkippingLabel => "Can skip read errors";
public string DensitiesSupportedByDeviceLabel => "Densities supported by device:";
public string MediumTypesSupportedByDeviceLabel => "Medium types supported by device:";
public string CIDLabel => "CID";
public string CSDLabel => "CSD";
public string OCRLabel => "OCR";
public string ExtendedCSDLabel => "Extended CSD";
public string SCRLabel => "SCR";
public string PCMCIALabel => "PCMCIA";
public string ATA_ATAPILabel => "ATA/ATAPI";
public string SCSILabel => "SCSI";
public string SD_MMCLabel => "SD/MMC";
async Task ExecuteSaveUsbDescriptorsCommand()
{
var dlgSaveBinary = new SaveFileDialog();