mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move all strings to properties in Aaru.Gui.
This commit is contained in:
@@ -107,6 +107,11 @@ public sealed class AtaInfoViewModel : ViewModelBase
|
||||
|
||||
public string AtaOrAtapiText { get; }
|
||||
|
||||
public string AtaMcptLabel => "Device is Media Card Pass Through";
|
||||
public string AtaMcptWriteProtectionLabel => "Media card is write protected";
|
||||
public string SaveAtaBinaryLabel => "Save binary to file";
|
||||
public string SaveAtaTextLabel => "Save text to file";
|
||||
|
||||
async Task ExecuteSaveAtaBinaryCommand()
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -155,6 +155,23 @@ public sealed class BlurayInfoViewModel
|
||||
public bool SaveBlurayRawDflVisible { get; }
|
||||
public bool SaveBlurayPacVisible { get; }
|
||||
|
||||
public string DiscinformationLabel => "Disc information";
|
||||
public string BurstCuttingAreaLabel => "Burst Cutting Area";
|
||||
public string DiscDefinitionStructureLabel => "Disc Definition Structure";
|
||||
public string CartridgeStatusLabel => "Cartridge Status";
|
||||
public string SpareAreaInformationLabel => "Spare Area Information";
|
||||
public string PseudoOverWriteResourcesLabel => "Pseudo-OverWrite Resources";
|
||||
public string TrackResourcesLabel => "Track Resources";
|
||||
public string SaveBlurayDiscInformationLabel => "Save Disc Information";
|
||||
public string SaveBlurayBurstCuttingAreaLabel => "Save Burst Cutting Area";
|
||||
public string SaveBlurayDdsLabel => "Save Disc Definition Structure";
|
||||
public string SaveBlurayCartridgeStatusLabel => "Save Spare Area Information";
|
||||
public string SaveBluraySpareAreaInformationLabel => "Save Spare Area Information";
|
||||
public string SaveBlurayPowResourcesLabel => "Save Pseudo-OverWrite Resources";
|
||||
public string SaveBlurayTrackResourcesLabel => "Save Track Resources";
|
||||
public string SaveBlurayRawDflLabel => "Save raw DFL";
|
||||
public string SaveBlurayPacLabel => "Save PAC";
|
||||
|
||||
async Task SaveElement(byte[] data)
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -129,6 +129,25 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
public ReactiveCommand<Unit, Task> SaveCdPmaCommand { get; }
|
||||
public ObservableCollection<IsrcModel> IsrcList { get; }
|
||||
|
||||
public string CdInformationLabel => "Information";
|
||||
public string SaveCdInformationLabel => "Save READ DISC INFORMATION response";
|
||||
public string CdTocLabel => "TOC";
|
||||
public string SaveCdTocLabel => "Save READ TOC response";
|
||||
public string CdFullTocLabel => "TOC (full)";
|
||||
public string SaveCdFullTocLabel => "Save READ RAW TOC response";
|
||||
public string CdSessionLabel => "Session";
|
||||
public string SaveCdSessionLabel => "Save READ SESSION response";
|
||||
public string CdTextLabel => "CD-TEXT";
|
||||
public string SaveCdTextLabel => "Save Lead-In CD-TEXT";
|
||||
public string CdAtipLabel => "ATIP";
|
||||
public string SaveCdAtipLabel => "Save READ ATIP response";
|
||||
public string MiscellaneousLabel => "Miscellaneous";
|
||||
public string McnLabel => "Media catalog number";
|
||||
public string ISRCsLabel => "ISRCs";
|
||||
public string TrackLabel => "Track";
|
||||
public string ISRCLabel => "ISRC";
|
||||
public string SaveCdPmaLabel => "Save READ PMA response";
|
||||
|
||||
async Task ExecuteSaveCdInformationCommand()
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -118,6 +118,13 @@ public sealed class DvdInfoViewModel
|
||||
public bool SaveDvdBcaVisible { get; }
|
||||
public bool SaveDvdAacsVisible { get; }
|
||||
|
||||
public string SaveDvdPfiLabel => "Save Physical Format Information";
|
||||
public string SaveDvdDmiLabel => "Save Disc Manufacturer Information";
|
||||
public string SaveDvdCmiLabel => "Save Copyright Management Information";
|
||||
public string SaveHdDvdCmiLabel => "Save Copyright Management Information";
|
||||
public string SaveDvdBcaLabel => "Save Burst Cutting Area";
|
||||
public string SaveDvdAacsLabel => "Save AACS Information";
|
||||
|
||||
async Task SaveElement(byte[] data)
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -233,6 +233,26 @@ public sealed class DvdWritableInfoViewModel
|
||||
public ReactiveCommand<Unit, Task> SaveDvdPlusAdipCommand { get; }
|
||||
public ReactiveCommand<Unit, Task> SaveDvdPlusDcbCommand { get; }
|
||||
|
||||
public string DvdRamDdsLabel => "Disc Definition Structure";
|
||||
public string DvdRamCartridgeStatusLabel => "Cartridge Status";
|
||||
public string DvdRamSpareAreaInformationLabel => "Spare Area Information";
|
||||
public string SaveDvdRamDdsLabel => "Save Disc Definition Structure";
|
||||
public string SaveDvdRamCartridgeStatusLabel => "Save Cartridge Status";
|
||||
public string SaveDvdRamSpareAreaInformationLabel => "Save Spare Area Information";
|
||||
public string SaveLastBorderOutRmdLabel => "Save Last Border-Out RMD";
|
||||
public string SaveDvdPreRecordedInfoLabel => "Save Pre-Recorded Physical Information";
|
||||
public string SaveDvdrMediaIdentifierLabel => "Save Media Identifier";
|
||||
public string SaveDvdrPhysicalInformationLabel => "Save Recordable Physical Information";
|
||||
public string SaveHddvdrMediumStatusLabel => "Save Medium Status";
|
||||
public string SaveHddvdrLastRmdLabel => "Save Last Border-Out RMD";
|
||||
public string SaveDvdrLayerCapacityLabel => "Save Layer Capacity";
|
||||
public string SaveDvdrDlMiddleZoneStartLabel => "Save Middle Zone Start";
|
||||
public string SaveDvdrDlJumpIntervalSizeLabel => "Save Jump Interval Size";
|
||||
public string SaveDvdrDlManualLayerJumpStartLbaLabel => "Save Manual Layer Jump Start LBA";
|
||||
public string SaveDvdrDlRemapAnchorPointLabel => "Save Remap Anchor Point";
|
||||
public string SaveDvdPlusAdipLabel => "Save ADIP";
|
||||
public string SaveDvdPlusDcbLabel => "Save Disc Control Blocks";
|
||||
|
||||
async Task SaveElement(byte[] data)
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -145,6 +145,9 @@ public class PcmciaInfoViewModel : ViewModelBase
|
||||
AaruConsole.DebugWriteLine("Device-Info command", "PCMCIA CIS returned no tuples");
|
||||
}
|
||||
|
||||
public string CisLabel => "CIS";
|
||||
public string SavePcmciaCisLabel => "Save PCMCIA CIS to file";
|
||||
|
||||
public ObservableCollection<PcmciaCisModel> CisList { get; }
|
||||
|
||||
public string PcmciaCisText
|
||||
|
||||
@@ -758,6 +758,20 @@ public sealed class ScsiInfoViewModel : ViewModelBase
|
||||
set => this.RaiseAndSetIfChanged(ref _mmcFeatureText, value);
|
||||
}
|
||||
|
||||
public string InquiryLabel => "INQUIRY";
|
||||
public string ScsiInquiryLabel => "SCSI INQUIRY";
|
||||
public string SaveInquiryBinaryLabel => "Save binary to file";
|
||||
public string SaveInquiryTextLabel => "Save text to file";
|
||||
public string ModeSenseLabel => "MODE SENSE";
|
||||
public string PageLabel => "Page";
|
||||
public string SaveModeSense6Label => "Save MODE SENSE (6) response to file";
|
||||
public string SaveModeSense10Label => "Save MODE SENSE (10) response to file";
|
||||
public string EvpdLabel => "EVPD";
|
||||
public string SaveEvpdPageLabel => "Save EVPD page to file";
|
||||
public string MmcFeaturesLabel => "MMC FEATURES";
|
||||
public string FeatureLabel => "Feature";
|
||||
public string SaveMmcFeaturesLabel => "Save MMC GET CONFIGURATION response to file";
|
||||
|
||||
async Task ExecuteSaveInquiryBinaryCommand()
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
@@ -86,4 +86,10 @@ public sealed class SdMmcInfoViewModel
|
||||
public string OcrText { get; }
|
||||
public string ExtendedCsdText { get; }
|
||||
public string ScrText { get; }
|
||||
|
||||
public string CidLabel => "CID";
|
||||
public string CsdLabel => "CSD";
|
||||
public string OcrLabel => "OCR";
|
||||
public string ExtendedCsdLabel => "Extended CSD";
|
||||
public string ScrLabel => "SCR";
|
||||
}
|
||||
@@ -91,6 +91,16 @@ public sealed class XboxInfoViewModel
|
||||
public string XboxDmiText { get; }
|
||||
public string XboxSsText { get; }
|
||||
|
||||
public string XboxL0VideoLabel => "Video layer 0 size";
|
||||
public string XboxL1VideoLabel => "Video layer 1 size";
|
||||
public string XboxMiddleZoneLabel => "Middle zone size";
|
||||
public string XboxGameSizeLabel => "Game data size";
|
||||
public string XboxTotalSizeLabel => "Total size";
|
||||
public string XboxRealBreakLabel => "Real layer break";
|
||||
public string XboxDmiLabel => "Disc Manufacturing Information";
|
||||
public string XboxSsLabel => "Security Sector";
|
||||
public string SaveXboxSsLabel => "Save Xbox Security Sector";
|
||||
|
||||
async Task SaveElement(byte[] data)
|
||||
{
|
||||
var dlgSaveBinary = new SaveFileDialog();
|
||||
|
||||
Reference in New Issue
Block a user