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:
@@ -42,7 +42,7 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Tag:" />
|
||||
<TextBlock Text="{Binding TagLabel}" />
|
||||
<ComboBox Items="{Binding TagsList}" SelectedItem="{Binding SelectedTag}">
|
||||
<ComboBox.DataTemplates>
|
||||
<DataTemplate>
|
||||
@@ -54,13 +54,13 @@
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="HexView" />
|
||||
<TextBlock Text="{Binding HexViewLabel}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True" Text="{Binding HexViewText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding DecodedVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="Decoded" />
|
||||
<TextBlock Text="{Binding DecodedLabel}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True" Text="{Binding DecodedText}" />
|
||||
</TabItem>
|
||||
|
||||
@@ -44,66 +44,66 @@
|
||||
<StackPanel Orientation="Vertical">
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsVisible="{Binding ChecksumTracksVisible}"
|
||||
IsChecked="{Binding ChecksumMediaChecked}">
|
||||
<TextBlock Text="Checksums the whole disc." />
|
||||
<TextBlock Text="{Binding ChecksumMediaLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsVisible="{Binding ChecksumTracksVisible}"
|
||||
IsChecked="{Binding ChecksumTracksChecked}">
|
||||
<TextBlock Text="Checksums each track separately." />
|
||||
<TextBlock Text="{Binding ChecksumTracksLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Adler32Checked}">
|
||||
<TextBlock Text="Calculates Adler-32." />
|
||||
<TextBlock Text="{Binding Adler32Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Crc16Checked}">
|
||||
<TextBlock Text="Calculates CRC16." />
|
||||
<TextBlock Text="{Binding Crc16Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Crc32Checked}">
|
||||
<TextBlock Text="Calculates CRC32." />
|
||||
<TextBlock Text="{Binding Crc32Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Crc64Checked}">
|
||||
<TextBlock Text="Calculates CRC64 (ECMA)." />
|
||||
<TextBlock Text="{Binding Crc64Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Fletcher16Checked}">
|
||||
<TextBlock Text="Calculates Fletcher-16." />
|
||||
<TextBlock Text="{Binding Fletcher16Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Fletcher32Checked}">
|
||||
<TextBlock Text="Calculates Fletcher-32." />
|
||||
<TextBlock Text="{Binding Fletcher32Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Md5Checked}">
|
||||
<TextBlock Text="Calculates MD5." />
|
||||
<TextBlock Text="{Binding Md5Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Sha1Checked}">
|
||||
<TextBlock Text="Calculates SHA1." />
|
||||
<TextBlock Text="{Binding Sha1Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Sha256Checked}">
|
||||
<TextBlock Text="Calculates SHA256." />
|
||||
<TextBlock Text="{Binding Sha256Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Sha384Checked}">
|
||||
<TextBlock Text="Calculates SHA384." />
|
||||
<TextBlock Text="{Binding Sha384Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding Sha512Checked}">
|
||||
<TextBlock Text="Calculates SHA512." />
|
||||
<TextBlock Text="{Binding Sha512Label}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}" IsChecked="{Binding SpamsumChecked}">
|
||||
<TextBlock Text="Calculates SpamSum fuzzy hash." />
|
||||
<TextBlock Text="{Binding SpamSumLabel}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding ResultsVisible}">
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding TrackChecksumsVisible}">
|
||||
<TextBlock Text="Track checksums:" />
|
||||
<TextBlock Text="{Binding TrackChecksumsLabel}" />
|
||||
<DataGrid Items="{Binding TrackChecksums}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Track" Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="Algorithms" Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="Hash" Binding="{Binding Value}" />
|
||||
<DataGridTextColumn Header="{Binding TrackLabel}" Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="{Binding AlgorithmsLabel}" Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="{Binding HashLabel}" Binding="{Binding Value}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding MediaChecksumsVisible}">
|
||||
<TextBlock Text="Media checksums:" />
|
||||
<TextBlock Text="{Binding MediaChecksumsLabel}" />
|
||||
<DataGrid Items="{Binding MediaChecksums}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Algorithms" Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="Hash" Binding="{Binding Value}" />
|
||||
<DataGridTextColumn Header="{Binding AlgorithmsLabel}" Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="{Binding HashLabel}" Binding="{Binding Value}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
@@ -121,15 +121,15 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsEnabled="{Binding StartCommandEnabled}"
|
||||
IsVisible="{Binding StartCommandVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsEnabled="{Binding CloseCommandEnabled}"
|
||||
IsVisible="{Binding CloseCommandVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsEnabled="{Binding StopCommandEnabled}"
|
||||
IsVisible="{Binding StopCommandVisible}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
<windows:ImageConvertViewModel />
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Source image" /> <TextBox Text="{Binding SourceText}" IsReadOnly="True" />
|
||||
<TextBlock Text="Output format" />
|
||||
<TextBlock Text="{Binding SourceImageLabel}" /> <TextBox Text="{Binding SourceText}" IsReadOnly="True" />
|
||||
<TextBlock Text="{Binding OutputFormatLabel}" />
|
||||
<ComboBox Items="{Binding PluginsList}" SelectedItem="{Binding SelectedPlugin}"
|
||||
IsEnabled="{Binding FormatReadOnly}">
|
||||
<ComboBox.ItemTemplate>
|
||||
@@ -55,155 +55,161 @@
|
||||
<TextBox Text="{Binding DestinationText}" IsReadOnly="True" />
|
||||
<Button Command="{Binding DestinationCommand}" IsEnabled="{Binding DestinationEnabled}"
|
||||
IsVisible="{Binding DestinationVisible}">
|
||||
<TextBlock Text="Choose..." />
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding OptionsVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<NumericUpDown Increment="1" Minimum="1" Maximum="16384" Value="{Binding SectorsValue}" />
|
||||
<TextBlock Text="How many sectors to convert at once." />
|
||||
<TextBlock Text="{Binding SectorsLabel}" />
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding ForceChecked}">
|
||||
<TextBlock Text="Continue conversion even if sector or media tags will be lost in the process." />
|
||||
<TextBlock Text="{Binding ForceLabel}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Who (person) created the image?" /> <TextBox Text="{Binding CreatorText}" />
|
||||
<TextBlock Text="{Binding CreatorLabel}" /> <TextBox Text="{Binding CreatorText}" />
|
||||
<Button Command="{Binding CreatorCommand}" IsVisible="{Binding CreatorVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock Text="Metadata" />
|
||||
<TextBlock Text="{Binding MetadataLabel}" />
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="Media" />
|
||||
<TextBlock Text="{Binding MediaLabel}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Title" /> <TextBox Text="{Binding MediaTitleText}" />
|
||||
<TextBlock Text="{Binding TitleLabel}" /> <TextBox Text="{Binding MediaTitleText}" />
|
||||
<Button Command="{Binding MediaTitleCommand}" IsVisible="{Binding MediaTitleVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Manufacturer" /> <TextBox Text="{Binding MediaManufacturerText}" />
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBox Text="{Binding MediaManufacturerText}" />
|
||||
<Button Command="{Binding MediaManufacturerCommand}"
|
||||
IsVisible="{Binding MediaManufacturerVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Model" /> <TextBox Text="{Binding MediaModelText}" />
|
||||
<TextBlock Text="{Binding ModelLabel}" /> <TextBox Text="{Binding MediaModelText}" />
|
||||
<Button Command="{Binding MediaModelCommand}" IsVisible="{Binding MediaModelVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Serial number" /> <TextBox Text="{Binding MediaSerialNumberText}" />
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBox Text="{Binding MediaSerialNumberText}" />
|
||||
<Button Command="{Binding MediaSerialNumberCommand}"
|
||||
IsVisible="{Binding MediaSerialNumberVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Barcode" /> <TextBox Text="{Binding MediaBarcodeText}" />
|
||||
<TextBlock Text="{Binding BarcodeLabel}" />
|
||||
<TextBox Text="{Binding MediaBarcodeText}" />
|
||||
<Button Command="{Binding MediaBarcodeCommand}"
|
||||
IsVisible="{Binding MediaBarcodeVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Part number" /> <TextBox Text="{Binding MediaPartNumberText}" />
|
||||
<TextBlock Text="{Binding PartNumberLabel}" />
|
||||
<TextBox Text="{Binding MediaPartNumberText}" />
|
||||
<Button Command="{Binding MediaPartNumberCommand}"
|
||||
IsVisible="{Binding MediaPartNumberVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Number in sequence" />
|
||||
<TextBlock Text="{Binding NumberInSequenceLabel}" />
|
||||
<NumericUpDown Increment="1" Value="{Binding MediaSequenceValue}" Minimum="0" />
|
||||
<Button Command="{Binding MediaSequenceCommand}"
|
||||
IsVisible="{Binding MediaSequenceVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Last media of the sequence" />
|
||||
<TextBlock Text="{Binding LastMediaOfTheSequenceLabel}" />
|
||||
<NumericUpDown Increment="1" Value="{Binding LastMediaSequenceValue}" Minimum="0" />
|
||||
<Button Command="{Binding LastMediaSequenceCommand}"
|
||||
IsVisible="{Binding LastMediaSequenceVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="Drive" />
|
||||
<TextBlock Text="{Binding DriveLabel}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Manufacturer" /> <TextBox Text="{Binding DriveManufacturerText}" />
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBox Text="{Binding DriveManufacturerText}" />
|
||||
<Button Command="{Binding DriveManufacturerCommand}"
|
||||
IsVisible="{Binding DriveManufacturerVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Model" /> <TextBox Text="{Binding DriveModelText}" />
|
||||
<TextBlock Text="{Binding ModelLabel}" /> <TextBox Text="{Binding DriveModelText}" />
|
||||
<Button Command="{Binding DriveModelCommand}" IsVisible="{Binding DriveModelVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Serial number" /> <TextBox Text="{Binding DriveSerialNumberText}" />
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBox Text="{Binding DriveSerialNumberText}" />
|
||||
<Button Command="{Binding DriveSerialNumberCommand}"
|
||||
IsVisible="{Binding DriveSerialNumberVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Firmware revision" />
|
||||
<TextBlock Text="{Binding FirmwareRevisionLabel}" />
|
||||
<TextBox Text="{Binding DriveFirmwareRevisionText}" />
|
||||
<Button Command="{Binding DriveFirmwareRevisionCommand}"
|
||||
IsVisible="{Binding DriveFirmwareRevisionVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="Comments" />
|
||||
<TextBlock Text="{Binding CommentsLabel}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBox Text="{Binding CommentsText}" />
|
||||
<Button Command="{Binding CommentsCommand}" IsVisible="{Binding CommentsVisible}">
|
||||
<TextBlock Text="Get from source image" />
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<TextBlock Text="Existing CICM XML sidecar" />
|
||||
<TextBlock Text="{Binding CicmXmlLabel}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding CicmXmlText}" IsReadOnly="True" />
|
||||
<Button Command="{Binding CicmXmlFromImageCommand}" IsVisible="{Binding CicmXmlFromImageVisible}">
|
||||
<TextBlock Text="From image..." />
|
||||
<TextBlock Text="{Binding FromImageLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CicmXmlCommand}">
|
||||
<TextBlock Text="Choose..." />
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<TextBlock Text="Existing resume file" />
|
||||
<TextBlock Text="{Binding ResumeFileLabel}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding ResumeFileText}" IsReadOnly="True" />
|
||||
<Button Command="{Binding ResumeFileFromImageCommand}"
|
||||
IsVisible="{Binding ResumeFileFromImageVisible}">
|
||||
<TextBlock Text="From image..." />
|
||||
<TextBlock Text="{Binding FromImageLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ResumeFileCommand}">
|
||||
<TextBlock Text="Choose..." />
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
@@ -222,13 +228,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsVisible="{Binding StopVisible}" IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -43,26 +43,26 @@
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel IsVisible="{Binding OptionsVisible}" Orientation="Vertical">
|
||||
<CheckBox IsEnabled="{Binding DuplicatedSectorsEnabled}" IsChecked="{Binding DuplicatedSectorsChecked}">
|
||||
<TextBlock Text="Calculates how many sectors are duplicated (have same exact data in user area)." />
|
||||
<TextBlock Text="{Binding DuplicatedSectorsLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding SeparatedTracksEnabled}" IsChecked="{Binding SeparatedTracksChecked}"
|
||||
IsVisible="{Binding SeparatedTracksVisible}">
|
||||
<TextBlock Text="Calculates entropy for each track separately." />
|
||||
<TextBlock Text="{Binding SeparatedTracksLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding WholeDiscEnabled}" IsChecked="{Binding WholeDiscChecked}"
|
||||
IsVisible="{Binding WholeDiscVisible}">
|
||||
<TextBlock Text="Calculates entropy for the whole disc." />
|
||||
<TextBlock Text="{Binding WholeDiscLabel}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding ResultsVisible}">
|
||||
<TextBlock Text="{Binding MediaEntropyText}" IsVisible="{Binding MediaEntropyVisible}" />
|
||||
<TextBlock Text="{Binding MediaUniqueSectorsText}" IsVisible="{Binding MediaUniqueSectorsVisible}" />
|
||||
<TextBlock Text="Track entropy" IsVisible="{Binding SeparatedTracksEnabled}" />
|
||||
<TextBlock Text="{Binding TrackEntropyLabel}" IsVisible="{Binding SeparatedTracksEnabled}" />
|
||||
<DataGrid IsVisible="{Binding SeparatedTracksEnabled}" Items="{Binding TrackEntropy}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="Track" Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="Entropy" Binding="{Binding Entropy}" />
|
||||
<DataGridTextColumn Header="Unique sectors" Binding="{Binding UniqueSectors}" />
|
||||
<DataGridTextColumn Header="{Binding TrackLabel}" Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="{Binding EntropyLabel}" Binding="{Binding Entropy}" />
|
||||
<DataGridTextColumn Header="{Binding UniqueSectorsLabel}" Binding="{Binding UniqueSectors}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
@@ -79,13 +79,13 @@
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsVisible="{Binding StopVisible}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
@@ -41,11 +41,11 @@
|
||||
<windows:ImageSidecarViewModel />
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="Destination file" />
|
||||
<TextBlock Text="{Binding DestinationFileLabel}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding DestinationText}" IsReadOnly="True" />
|
||||
<Button Command="{Binding DestinationCommand}" IsEnabled="{Binding DestinationEnabled}">
|
||||
<TextBlock Text="Choose..." />
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding ProgressVisible}">
|
||||
@@ -63,13 +63,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsEnabled="{Binding StopEnabled}" IsVisible="{Binding StopVisible}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -43,11 +43,11 @@
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding OptionsVisible}">
|
||||
<CheckBox IsChecked="{Binding VerifyImageChecked}" IsEnabled="{Binding VerifyImageEnabled}">
|
||||
<TextBlock Text="Verify disc image if supported." />
|
||||
<TextBlock Text="{Binding VerifyImageLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding VerifySectorsChecked}" IsEnabled="{Binding VerifySectorsEnabled}"
|
||||
IsVisible="{Binding VerifySectorsVisible}">
|
||||
<TextBlock Text="Verify all sectors if supported." />
|
||||
<TextBlock Text="{Binding VerifySectorsLabel}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding ResultsVisible}">
|
||||
@@ -56,7 +56,7 @@
|
||||
<TextBlock Text="{Binding SectorErrorsText}" />
|
||||
<DataGrid Items="{Binding ErrorList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="LBA" Binding="{Binding Lba}" />
|
||||
<DataGridTextColumn Header="{Binding LBALabel}" Binding="{Binding Lba}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
@@ -64,7 +64,7 @@
|
||||
<TextBlock Text="{Binding SectorsUnknownsText}" />
|
||||
<DataGrid Items="{Binding UnknownList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="LBA" Binding="{Binding Lba}" />
|
||||
<DataGridTextColumn Header="{Binding LBALabel}" Binding="{Binding Lba}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
@@ -92,13 +92,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsVisible="{Binding StopVisible}" IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -42,25 +42,26 @@
|
||||
</Design.DataContext>
|
||||
<DockPanel>
|
||||
<Menu DockPanel.Dock="Top">
|
||||
<MenuItem Header="_File">
|
||||
<MenuItem Header="_Open" Command="{Binding OpenCommand}" /> <Separator />
|
||||
<MenuItem Header="_Settings" IsVisible="{Binding !NativeMenuSupported}"
|
||||
<MenuItem Header="{Binding FileLabel}">
|
||||
<MenuItem Header="{Binding OpenLabel}" Command="{Binding OpenCommand}" /> <Separator />
|
||||
<MenuItem Header="{Binding SettingsLabel}" IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding SettingsCommand}" />
|
||||
<Separator />
|
||||
<MenuItem Header="E_xit" IsVisible="{Binding !NativeMenuSupported}" Command="{Binding ExitCommand}" />
|
||||
<MenuItem Header="{Binding ExitLabel}" IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding ExitCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="_Devices" IsVisible="{Binding DevicesSupported}">
|
||||
<MenuItem Header="_Refresh" Command="{Binding RefreshDevicesCommand}" />
|
||||
<MenuItem Header="{Binding DevicesLabel}" IsVisible="{Binding DevicesSupported}">
|
||||
<MenuItem Header="{Binding RefreshDevicesLabel}" Command="{Binding RefreshDevicesCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="_Window">
|
||||
<MenuItem Header="_Console" Command="{Binding ConsoleCommand}" />
|
||||
<MenuItem Header="{Binding WindowLabel}">
|
||||
<MenuItem Header="{Binding ConsoleLabel}" Command="{Binding ConsoleCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="_Help">
|
||||
<MenuItem Header="_Encodings" Command="{Binding EncodingsCommand}" />
|
||||
<MenuItem Header="_Plugins" Command="{Binding PluginsCommand}" />
|
||||
<MenuItem Header="_Statistics" Command="{Binding StatisticsCommand}" />
|
||||
<MenuItem Header="{Binding HelpLabel}">
|
||||
<MenuItem Header="{Binding EncodingsLabel}" Command="{Binding EncodingsCommand}" />
|
||||
<MenuItem Header="{Binding PluginsLabel}" Command="{Binding PluginsCommand}" />
|
||||
<MenuItem Header="{Binding StatisticsLabel}" Command="{Binding StatisticsCommand}" />
|
||||
<Separator IsVisible="{Binding !NativeMenuSupported}" />
|
||||
<MenuItem Header="_About" Name="AboutMenuItem" IsVisible="{Binding !NativeMenuSupported}"
|
||||
<MenuItem Header="{Binding AboutLabel}" Name="AboutMenuItem" IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding AboutCommand}" />
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
@@ -74,7 +75,8 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="_Refresh devices" Command="{Binding RefreshDevicesCommand}" />
|
||||
<MenuItem Header="{Binding RefreshDevicesFullLabel}"
|
||||
Command="{Binding RefreshDevicesCommand}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
<Image Width="24" Height="24" Source="/Assets/Icons/oxygen/32x32/computer.png" />
|
||||
@@ -85,7 +87,7 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="_Close all images" Command="{Binding CloseAllImages}" />
|
||||
<MenuItem Header="{Binding CloseAllImagesLabel}" Command="{Binding CloseAllImages}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
<Image Width="24" Height="24" Source="/Assets/Icons/oxygen/32x32/inode-directory.png" />
|
||||
@@ -97,15 +99,20 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Command="{Binding CalculateEntropyCommand}" Header="Calculate entropy" />
|
||||
<MenuItem Command="{Binding VerifyImageCommand}" Header="Verify" />
|
||||
<MenuItem Command="{Binding ChecksumImageCommand}" Header="Checksum" />
|
||||
<MenuItem Command="{Binding ConvertImageCommand}" Header="Convert to..." />
|
||||
<MenuItem Command="{Binding CalculateEntropyCommand}"
|
||||
Header="{Binding CalculateEntropyLabel}" />
|
||||
<MenuItem Command="{Binding VerifyImageCommand}"
|
||||
Header="{Binding VerifyImageLabel}" />
|
||||
<MenuItem Command="{Binding ChecksumImageCommand}"
|
||||
Header="{Binding ChecksumImageLabel}" />
|
||||
<MenuItem Command="{Binding ConvertImageCommand}"
|
||||
Header="{Binding ConvertImageLabel}" />
|
||||
<MenuItem Command="{Binding CreateSidecarCommand}"
|
||||
Header="Create CICM XML sidecar..." />
|
||||
<MenuItem Command="{Binding ViewImageSectorsCommand}" Header="View sectors" />
|
||||
Header="{Binding CreateSidecarLabel}" />
|
||||
<MenuItem Command="{Binding ViewImageSectorsCommand}"
|
||||
Header="{Binding ViewImageSectorsLabel}" />
|
||||
<MenuItem Command="{Binding DecodeImageMediaTagsCommand}"
|
||||
Header="Decode media tags" />
|
||||
Header="{Binding DecodeImageMediaTagsLabel}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
<Image Width="24" Height="24" Source="{Binding Icon}" />
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding OptionsVisible}">
|
||||
<TextBlock Text="Output format" />
|
||||
<TextBlock Text="{Binding OutputFormatLabel}" />
|
||||
<ComboBox Items="{Binding PluginsList}" SelectedItem="{Binding SelectedPlugin}"
|
||||
IsEnabled="{Binding FormatReadOnly}">
|
||||
<ComboBox.ItemTemplate>
|
||||
@@ -54,37 +54,37 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding Destination}" IsReadOnly="True" />
|
||||
<Button Command="{Binding DestinationCommand}" IsEnabled="{Binding DestinationEnabled}">
|
||||
<TextBlock Text="Choose..." />
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding StopOnError}">
|
||||
<TextBlock Text="Stop media dump on first error" />
|
||||
<TextBlock Text="{Binding StopOnErrorLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Force}">
|
||||
<TextBlock Text="Continue dumping whatever happens" />
|
||||
<TextBlock Text="{Binding ForceLabel}" />
|
||||
</CheckBox>
|
||||
<NumericUpDown Text="Retry passes" Value="{Binding Retries}" Increment="1" Minimum="0" />
|
||||
<NumericUpDown Text="{Binding RetriesLabel}" Value="{Binding Retries}" Increment="1" Minimum="0" />
|
||||
<CheckBox IsChecked="{Binding Persistent}">
|
||||
<TextBlock Text="Try to recover partial or incorrect data" />
|
||||
<TextBlock Text="{Binding PersistentLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Resume}">
|
||||
<TextBlock Text="Create/use resume mapfile" />
|
||||
<TextBlock Text="{Binding ResumeLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Track1Pregap}" IsVisible="{Binding Track1PregapVisible}">
|
||||
<TextBlock Text="Try to read track 1 pregap" />
|
||||
<TextBlock Text="{Binding Track1PregapLabel}" />
|
||||
</CheckBox>
|
||||
<NumericUpDown Text="Skipped sectors on error" Increment="1" Minimum="1" Value="{Binding Skipped}" />
|
||||
<NumericUpDown Text="{Binding SkippedLabel}" Increment="1" Minimum="1" Value="{Binding Skipped}" />
|
||||
<CheckBox IsChecked="{Binding Sidecar}">
|
||||
<TextBlock Text="Create CICM XML metadata sidecar" />
|
||||
<TextBlock Text="{Binding SidecarLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Trim}">
|
||||
<TextBlock Text="Trim errors from skipped sectors" />
|
||||
<TextBlock Text="{Binding TrimLabel}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding ExistingMetadata}">
|
||||
<TextBlock Text="Take metadata from existing CICM XML sidecar" />
|
||||
<TextBlock Text="{Binding ExistingMetadataLabel}" />
|
||||
</CheckBox>
|
||||
<StackPanel IsVisible="{Binding EncodingVisible}">
|
||||
<TextBox Text="Encoding to use on metadata sidecar creation" />
|
||||
<TextBox Text="{Binding EncodingLabel}" />
|
||||
<ComboBox Items="{Binding Encodings}" SelectedItem="{Binding SelectedEncoding}"
|
||||
IsEnabled="{Binding EncodingEnabled}">
|
||||
<ComboBox.ItemTemplate>
|
||||
@@ -98,9 +98,9 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding ProgressVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Writing image to:" /> <TextBlock Text="{Binding Destination}" />
|
||||
<TextBlock Text="{Binding DestinationLabel}" /> <TextBlock Text="{Binding Destination}" />
|
||||
</StackPanel>
|
||||
<TextBlock Text="Log" /> <TextBox Text="{Binding Log}" IsReadOnly="True" />
|
||||
<TextBlock Text="{Binding LogLabel}" /> <TextBox Text="{Binding Log}" IsReadOnly="True" />
|
||||
<StackPanel Orientation="Vertical" IsVisible="{Binding Progress1Visible}">
|
||||
<TextBox Text="{Binding ProgressText}" />
|
||||
<ProgressBar Value="{Binding ProgressValue}" Maximum="{Binding ProgressMaxValue}"
|
||||
@@ -114,13 +114,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsVisible="{Binding StopVisible}" IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -74,10 +74,10 @@
|
||||
</avalonia:Plot.Series>
|
||||
<avalonia:Plot.Axes>
|
||||
<avalonia:LinearAxis Position="Left" Maximum="{Binding MaxY}" Minimum="{Binding MinY}"
|
||||
MajorStep="{Binding StepsY}" Title="Speed" Unit="Kb/s"
|
||||
AxislineColor="{Binding AxesColor}" />
|
||||
MajorStep="{Binding StepsY}" Title="{Binding SpeedLabel}"
|
||||
Unit="{Binding KbsLabel}" AxislineColor="{Binding AxesColor}" />
|
||||
<avalonia:LinearAxis Position="Bottom" Maximum="{Binding MaxX}" Minimum="{Binding MinX}"
|
||||
MajorStep="{Binding StepsX}" Title="Block"
|
||||
MajorStep="{Binding StepsX}" Title="{Binding BlockLabel}"
|
||||
AxislineColor="{Binding AxesColor}" />
|
||||
</avalonia:Plot.Axes>
|
||||
</avalonia:Plot>
|
||||
@@ -92,13 +92,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}" IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="Start" />
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}" IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="Close" />
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}" IsVisible="{Binding StopVisible}" IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="Stop" />
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -42,11 +42,11 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="Sector" /> <NumericUpDown Value="{Binding SectorNumber}" />
|
||||
<TextBlock Text="{Binding SectorLabel}" /> <NumericUpDown Value="{Binding SectorNumber}" />
|
||||
<TextBlock Text="{Binding TotalSectorsText}" />
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding LongSectorChecked}" IsVisible="{Binding LongSectorVisible}">
|
||||
<TextBlock Text="Show long sector" />
|
||||
<TextBlock Text="{Binding LongSectorLabel}" />
|
||||
</CheckBox>
|
||||
<TextBox IsReadOnly="True" Text="{Binding PrintHexText}" />
|
||||
</StackPanel>
|
||||
|
||||
Reference in New Issue
Block a user