mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[GUI] Modernize XAML localization.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
-->
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:gui="clr-namespace:Aaru.Gui"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
x:Class="Aaru.Gui.App">
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
@@ -43,7 +43,7 @@
|
||||
</Application.Styles>
|
||||
<NativeMenu.Menu>
|
||||
<NativeMenu>
|
||||
<NativeMenuItem Header="_About"
|
||||
<NativeMenuItem Header="{x:Static localization:UI.Menu_About}"
|
||||
Click="OnAboutClicked" />
|
||||
<NativeMenuItem Header="_Preferences"
|
||||
Click="OnPreferencesClicked" />
|
||||
|
||||
@@ -88,18 +88,6 @@ public sealed partial class AboutViewModel : ViewModelBase
|
||||
});
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string AboutLabel => UI.Label_About;
|
||||
|
||||
[NotNull]
|
||||
public string LibrariesLabel => UI.Label_Libraries;
|
||||
|
||||
[NotNull]
|
||||
public string AuthorsLabel => UI.Label_Authors;
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Title_About_Aaru;
|
||||
|
||||
[NotNull]
|
||||
public string SoftwareName => "Aaru";
|
||||
|
||||
|
||||
@@ -42,7 +42,6 @@ using Aaru.Localization;
|
||||
using Aaru.Logging;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
using MsBox.Avalonia;
|
||||
using MsBox.Avalonia.Enums;
|
||||
using Console = Aaru.Gui.Views.Dialogs.Console;
|
||||
@@ -63,27 +62,10 @@ public sealed class ConsoleViewModel : ViewModelBase
|
||||
ClearCommand = new RelayCommand(Clear);
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Title_Console;
|
||||
|
||||
public ICommand ClearCommand { get; }
|
||||
public ICommand SaveCommand { get; }
|
||||
public ObservableCollection<LogEntry> Entries => ConsoleHandler.Entries;
|
||||
|
||||
[NotNull]
|
||||
public string DebugText => UI.Enable_debug_console;
|
||||
|
||||
[NotNull]
|
||||
public string SaveLabel => UI.ButtonLabel_Save;
|
||||
|
||||
[NotNull]
|
||||
public string ClearLabel => UI.ButtonLabel_Clear;
|
||||
|
||||
public string TimeLabel => UI.Title_Time;
|
||||
public string TypeLabel => UI.Title_Type;
|
||||
public string ModuleLabel => UI.Title_Module;
|
||||
public string MessageLabel => UI.Title_Message;
|
||||
|
||||
public bool DebugChecked
|
||||
{
|
||||
get => _debugChecked;
|
||||
|
||||
@@ -37,9 +37,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Gui.Models;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
|
||||
@@ -74,15 +72,6 @@ public sealed class EncodingsViewModel : ViewModelBase
|
||||
});
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Encodings;
|
||||
|
||||
[NotNull]
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
|
||||
public string CodeLabel => UI.Title_Code_for_encoding;
|
||||
public string NameLabel => UI.Title_Name;
|
||||
|
||||
public ICommand CloseCommand { get; }
|
||||
public ObservableCollection<EncodingModel> Encodings { get; }
|
||||
|
||||
|
||||
@@ -34,9 +34,7 @@ using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
|
||||
@@ -60,12 +58,6 @@ public sealed class LicenseViewModel : ViewModelBase
|
||||
LicenseText = reader.ReadToEnd();
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Title_Aaru_license;
|
||||
|
||||
[NotNull]
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
|
||||
public string LicenseText { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
|
||||
|
||||
@@ -37,9 +37,7 @@ using Aaru.CommonTypes;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.Gui.Models;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
|
||||
@@ -166,41 +164,6 @@ public sealed class PluginsViewModel : ViewModelBase
|
||||
}
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Title_Plugins;
|
||||
|
||||
[NotNull]
|
||||
public string FiltersLabel => UI.Title_Filters;
|
||||
|
||||
[NotNull]
|
||||
public string PartitionsLabel => UI.Title_Partitions;
|
||||
|
||||
[NotNull]
|
||||
public string FilesystemsLabel => UI.Title_Filesystems;
|
||||
|
||||
[NotNull]
|
||||
public string IdentifyLabel => UI.Title_Identify_only;
|
||||
|
||||
[NotNull]
|
||||
public string ImagesLabel => UI.Title_Media_images;
|
||||
|
||||
[NotNull]
|
||||
public string FloppyImagesLabel => UI.Title_Floppy_images;
|
||||
|
||||
[NotNull]
|
||||
public string ReadableLabel => UI.Title_Readable;
|
||||
|
||||
[NotNull]
|
||||
public string WritableLabel => UI.Title_Writable;
|
||||
|
||||
[NotNull]
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
|
||||
public string NameLabel => UI.Title_Name;
|
||||
public string UuidLabel => UI.Title_UUID;
|
||||
public string VersionLabel => UI.Title_Version;
|
||||
public string AuthorLabel => UI.Title_Author;
|
||||
|
||||
public ICommand CloseCommand { get; }
|
||||
public ObservableCollection<PluginModel> Filters { get; }
|
||||
public ObservableCollection<PluginModel> PartitionSchemes { get; }
|
||||
|
||||
@@ -32,11 +32,9 @@
|
||||
|
||||
using System.Windows.Input;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using Aaru.Settings;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
|
||||
@@ -105,81 +103,6 @@ public sealed partial class SettingsViewModel : ViewModelBase
|
||||
}
|
||||
|
||||
// TODO: Show Preferences in macOS
|
||||
[NotNull]
|
||||
public string Title => UI.Title_Settings;
|
||||
|
||||
[NotNull]
|
||||
public string GdprLabel => UI.Title_GDPR;
|
||||
|
||||
[NotNull]
|
||||
public string ReportsLabel => UI.Title_Reports;
|
||||
|
||||
[NotNull]
|
||||
public string StatisticsLabel => UI.Title_Statistics;
|
||||
|
||||
[NotNull]
|
||||
public string SaveLabel => UI.ButtonLabel_Save;
|
||||
|
||||
[NotNull]
|
||||
public string CancelLabel => UI.ButtonLabel_Cancel;
|
||||
|
||||
[NotNull]
|
||||
public string GdprText1 => UI.GDPR_Compliance;
|
||||
|
||||
[NotNull]
|
||||
public string GdprText2 => UI.GDPR_Open_Source_Disclaimer;
|
||||
|
||||
[NotNull]
|
||||
public string GdprText3 => UI.GDPR_Information_sharing;
|
||||
|
||||
[NotNull]
|
||||
public string ReportsGloballyText => UI.Configure_Device_Report_information_disclaimer;
|
||||
|
||||
[NotNull]
|
||||
public string SaveReportsGloballyText => UI.Save_device_reports_in_shared_folder_of_your_computer_Q;
|
||||
|
||||
[NotNull]
|
||||
public string ReportsText => UI.Configure_share_report_disclaimer;
|
||||
|
||||
[NotNull]
|
||||
public string ShareReportsText => UI.Share_your_device_reports_with_us_Q;
|
||||
|
||||
[NotNull]
|
||||
public string StatisticsText => UI.Statistics_disclaimer;
|
||||
|
||||
[NotNull]
|
||||
public string SaveStatsText => UI.Save_stats_about_your_Aaru_usage_Q;
|
||||
|
||||
[NotNull]
|
||||
public string ShareStatsText => UI.Share_your_stats_anonymously_Q;
|
||||
|
||||
[NotNull]
|
||||
public string CommandStatsText => UI.Gather_statistics_about_command_usage_Q;
|
||||
|
||||
[NotNull]
|
||||
public string DeviceStatsText => UI.Gather_statistics_about_found_devices_Q;
|
||||
|
||||
[NotNull]
|
||||
public string FilesystemStatsText => UI.Gather_statistics_about_found_filesystems_Q;
|
||||
|
||||
[NotNull]
|
||||
public string FilterStatsText => UI.Gather_statistics_about_found_file_filters_Q;
|
||||
|
||||
[NotNull]
|
||||
public string MediaImageStatsText => UI.Gather_statistics_about_found_media_image_formats_Q;
|
||||
|
||||
[NotNull]
|
||||
public string MediaScanStatsText => UI.Gather_statistics_about_scanned_media_Q;
|
||||
|
||||
[NotNull]
|
||||
public string PartitionStatsText => UI.Gather_statistics_about_found_partitioning_schemes_Q;
|
||||
|
||||
[NotNull]
|
||||
public string MediaStatsText => UI.Gather_statistics_about_media_types_Q;
|
||||
|
||||
[NotNull]
|
||||
public string VerifyStatsText => UI.Gather_statistics_about_media_image_verifications_Q;
|
||||
|
||||
public ICommand CancelCommand { get; }
|
||||
public ICommand SaveCommand { get; }
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@ using Aaru.Gui.Models;
|
||||
using Aaru.Gui.Views.Dialogs;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
using JetBrains.Annotations;
|
||||
using NameCountModel = Aaru.Gui.Models.NameCountModel;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Dialogs;
|
||||
@@ -712,66 +711,6 @@ public sealed class StatisticsViewModel : ViewModelBase
|
||||
set => SetProperty(ref _mediasVisible, value);
|
||||
}
|
||||
|
||||
[NotNull]
|
||||
public string CommandsLabel => UI.Title_Commands;
|
||||
|
||||
[NotNull]
|
||||
public string FilterLabel => UI.Title_Filter;
|
||||
|
||||
[NotNull]
|
||||
public string PartitionLabel => UI.Title_Partition;
|
||||
|
||||
[NotNull]
|
||||
public string PartitionsLabel => UI.Title_Partitions;
|
||||
|
||||
[NotNull]
|
||||
public string FiltersLabel => UI.Title_Filters;
|
||||
|
||||
[NotNull]
|
||||
public string FormatsLabel => UI.Title_Formats;
|
||||
|
||||
[NotNull]
|
||||
public string FormatLabel => UI.Title_Format;
|
||||
|
||||
[NotNull]
|
||||
public string FilesystemsLabel => UI.Title_Filesystems;
|
||||
|
||||
[NotNull]
|
||||
public string FilesystemLabel => UI.Title_Filesystem;
|
||||
|
||||
[NotNull]
|
||||
public string TimesFoundLabel => UI.Title_Times_used;
|
||||
|
||||
[NotNull]
|
||||
public string DevicesLabel => UI.Title_Devices;
|
||||
|
||||
[NotNull]
|
||||
public string DeviceLabel => UI.Title_Device;
|
||||
|
||||
[NotNull]
|
||||
public string ManufacturerLabel => UI.Title_Manufacturer;
|
||||
|
||||
[NotNull]
|
||||
public string RevisionLabel => UI.Title_Revision;
|
||||
|
||||
[NotNull]
|
||||
public string BusLabel => UI.Title_Bus;
|
||||
|
||||
[NotNull]
|
||||
public string MediasLabel => UI.Title_Medias;
|
||||
|
||||
[NotNull]
|
||||
public string MediaLabel => UI.Title_Media;
|
||||
|
||||
[NotNull]
|
||||
public string TypeLabel => Localization.Core.Title_Type_for_media;
|
||||
|
||||
[NotNull]
|
||||
public string Title => UI.Encodings;
|
||||
|
||||
[NotNull]
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
|
||||
public ICommand CloseCommand { get; }
|
||||
public ObservableCollection<NameCountModel> Filters { get; }
|
||||
public ObservableCollection<NameCountModel> Formats { get; }
|
||||
|
||||
@@ -504,76 +504,6 @@ public sealed partial class DeviceInfoViewModel : ViewModelBase
|
||||
|
||||
public ICommand SaveUsbDescriptorsCommand { get; }
|
||||
|
||||
public string DeviceInformationLabel => UI.Title_Device_information;
|
||||
public string GeneralLabel => UI.Title_General;
|
||||
public string DeviceTypeLabel => UI.Title_Device_type;
|
||||
public string ManufacturerLabel => UI.Title_Manufacturer;
|
||||
public string ModelLabel => UI.Title_Model;
|
||||
public string RevisionLabel => UI.Title_Revision;
|
||||
public string SerialNumberLabel => UI.Title_Serial_number;
|
||||
public string ScsiTypeLabel => UI.Title_Peripheral_device_type;
|
||||
public string RemovableMediaLabel => UI.Title_Removable_media;
|
||||
public string UsbConnectedLabel => UI.Title_Connected_by_USB;
|
||||
public string UsbLabel => UI.Title_USB;
|
||||
public string VendorIDLabel => UI.Title_Vendor_ID;
|
||||
public string ProductIDLabel => UI.Title_Product_ID;
|
||||
public string ProductLabel => UI.Title_Product;
|
||||
public string SaveUsbDescriptorsLabel => UI.Save_descriptors_to_file;
|
||||
public string FireWireLabel => UI.Title_FireWire;
|
||||
public string ModelIDLabel => UI.Title_Model_ID;
|
||||
public string GuidLabel => UI.Title_GUID;
|
||||
public string PlextorLabel => UI.Title_Plextor;
|
||||
public string PlextorDiscsLabel => UI.Total_loaded_discs;
|
||||
public string PlextorCdReadTimeLabel => UI.Time_spent_reading_CDs;
|
||||
public string PlextorCdWriteTimeLabel => UI.Time_spent_writing_CDs;
|
||||
public string PlextorDvdReadTimeLabel => UI.Time_spent_reading_DVDs;
|
||||
public string PlextorDvdWriteTimeLabel => UI.Time_spent_writing_DVDs;
|
||||
public string PlextorPoweRecLabel => UI.Supports_PoweRec;
|
||||
public string PlextorPoweRecEnabledLabel => UI.PoweRec_is_enabled;
|
||||
public string PlextorPoweRecRecommendedLabel => UI.Recommended_speed;
|
||||
public string PlextorPoweRecSelectedLabel => UI.Selected_PoweRec_speed_for_currently_inserted_media;
|
||||
public string PlextorPoweRecMaxLabel => UI.Maximum_PoweRec_speed_for_currently_inserted_media;
|
||||
public string PlextorPoweRecLastLabel => UI.Last_PoweRec_used_speed;
|
||||
public string PlextorSilentModeLabel => UI.Supports_SilentMode;
|
||||
public string PlextorSilentModeEnabledLabel => UI.SilentMode_is_enabled;
|
||||
public string PlextorSilentModeCdReadSpeedLimitLabel => UI.CD_read_speed_limited_to;
|
||||
public string PlextorSilentModeCdWriteSpeedLimitLabel => UI.CD_write_speed_limited_to;
|
||||
public string PlextorSilentModeDvdReadSpeedLimitLabel => UI.DVD_read_speed_limited_to;
|
||||
public string PlextorGigaRecLabel => UI.Supports_GigaRec;
|
||||
public string PlextorSecuRecLabel => UI.Supports_SecuRec;
|
||||
public string PlextorSpeedReadLabel => UI.Supports_SpeedRead;
|
||||
public string PlextorSpeedEnabledLabel => UI.SpeedRead_is_enabled;
|
||||
public string PlextorHidingLabel => UI.Supports_hiding_CD_Rs_and_sessions;
|
||||
public string PlextorHidesRecordablesLabel => UI.Is_hiding_CD_Rs;
|
||||
public string PlextorHidesSessionsLabel => UI.Is_forcing_only_first_session;
|
||||
public string PlextorVariRecLabel => UI.Supports_VariRec;
|
||||
public string PlextorVariRecDvdLabel => UI.Supports_VariRec_on_DVDs;
|
||||
public string PlextorBitSettingLabel => UI.Supports_bitsetting_DVD_R_book_type;
|
||||
public string PlextorBitSettingDlLabel => UI.Supports_bitsetting_DVD_R_DL_book_type;
|
||||
public string PlextorDvdPlusWriteTestLabel => UI.Supports_test_writing_DVD_Plus;
|
||||
public string KreonLabel => UI.Title_Kreon;
|
||||
public string KreonChallengeResponseLabel => Localization.Core.Can_do_challenge_response_with_Xbox_discs;
|
||||
public string KreonDecryptSsLabel => Localization.Core.Can_read_and_decrypt_SS_from_Xbox_discs;
|
||||
public string KreonXtremeUnlockLabel => Localization.Core.Can_set_xtreme_unlock_state_with_Xbox_discs;
|
||||
public string KreonWxripperUnlockLabel => Localization.Core.Can_set_wxripper_unlock_state_with_Xbox_discs;
|
||||
public string KreonChallengeResponse360Label => Localization.Core.Can_do_challenge_response_with_Xbox_360_discs;
|
||||
public string KreonDecryptSs360Label => Localization.Core.Can_read_and_decrypt_SS_from_Xbox_360_discs;
|
||||
public string KreonXtremeUnlock360Label => Localization.Core.Can_set_xtreme_unlock_state_with_Xbox_360_discs;
|
||||
public string KreonWxripperUnlock360Label => Localization.Core.Can_set_wxripper_unlock_state_with_Xbox_360_discs;
|
||||
public string KreonSetLockedLabel => Localization.Core.Can_set_Kreon_locked_state;
|
||||
public string KreonErrorSkippingLabel => Localization.Core.Kreon_Can_skip_read_errors;
|
||||
public string DensitiesSupportedByDeviceLabel => UI.Densities_supported_by_device;
|
||||
public string MediumTypesSupportedByDeviceLabel => UI.Medium_types_supported_by_device;
|
||||
public string CIDLabel => UI.Title_CID;
|
||||
public string CSDLabel => UI.Title_CSD;
|
||||
public string OCRLabel => UI.Title_OCR;
|
||||
public string ExtendedCSDLabel => UI.Title_Extended_CSD;
|
||||
public string SCRLabel => UI.Title_SCR;
|
||||
public string PcmciaLabel => UI.Title_PCMCIA;
|
||||
public string ATA_ATAPILabel => UI.Title_ATA_ATAPI;
|
||||
public string SCSILabel => UI.Title_SCSI;
|
||||
public string Sd_MMCLabel => UI.Title_SD_MMC;
|
||||
|
||||
async Task SaveUsbDescriptorsAsync()
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -31,17 +31,12 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using Aaru.CommonTypes.AaruMetadata;
|
||||
using Aaru.Localization;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Panels;
|
||||
|
||||
public sealed class FileSystemViewModel([NotNull] FileSystem metadata, string information)
|
||||
{
|
||||
public string BootableLabel => Localization.Core.Filesystem_contains_boot_code;
|
||||
public string DirtyLabel => Localization.Core.Filesystem_has_not_been_unmounted_correctly_or_contains_errors;
|
||||
public string DetailsLabel => UI.Title_Details;
|
||||
|
||||
public string TypeText { get; } = string.Format(Localization.Core.Filesystem_type_0, metadata.Type);
|
||||
public string VolumeNameText { get; } = string.Format(Localization.Core.Volume_name_0, metadata.VolumeName);
|
||||
public string SerialNumberText { get; } = string.Format(Localization.Core.Volume_serial_0, metadata.VolumeSerial);
|
||||
|
||||
@@ -695,8 +695,9 @@ public sealed class ImageInfoViewModel : ViewModelBase
|
||||
try
|
||||
{
|
||||
if(opticalMediaImage.Sessions is { Count: > 0 })
|
||||
foreach(Session session in opticalMediaImage.Sessions)
|
||||
Sessions.Add(session);
|
||||
{
|
||||
foreach(Session session in opticalMediaImage.Sessions) Sessions.Add(session);
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
@@ -706,8 +707,9 @@ public sealed class ImageInfoViewModel : ViewModelBase
|
||||
try
|
||||
{
|
||||
if(opticalMediaImage.Tracks is { Count: > 0 })
|
||||
foreach(Track track in opticalMediaImage.Tracks)
|
||||
Tracks.Add(track);
|
||||
{
|
||||
foreach(Track track in opticalMediaImage.Tracks) Tracks.Add(track);
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
@@ -800,52 +802,6 @@ public sealed class ImageInfoViewModel : ViewModelBase
|
||||
MediaBarcodeText != null ||
|
||||
MediaPartNumberText != null;
|
||||
|
||||
public string ImageInformationLabel => UI.Title_Image_information;
|
||||
public string GeneralLabel => UI.Title_General;
|
||||
public string CommentsLabel => UI.Title_Comments;
|
||||
public string MediaInformationLabel => UI.Title_Media_information;
|
||||
public string DriveInformationLabel => UI.Title_Drive_information;
|
||||
public string ReadableMediaTagsLabel => UI.Title_Readable_media_tags;
|
||||
public string TagLabel => UI.Title_Readable_media_tags;
|
||||
public string ReadableSectorTagsLabel => UI.Title_Readable_sector_tags;
|
||||
public string SessionsLabel => UI.Title_Sessions;
|
||||
public string SessionLabel => Localization.Core.Title_Session;
|
||||
public string FirstTrackLabel => Localization.Core.Title_First_track;
|
||||
public string LastTrackLabel => Localization.Core.Title_Last_track;
|
||||
public string StartLabel => Localization.Core.Title_Start;
|
||||
public string EndLabel => Localization.Core.Title_End;
|
||||
public string TracksLabel => UI.Title_Tracks;
|
||||
public string TrackLabel => Localization.Core.Title_Track;
|
||||
public string TypeLabel => UI.Title_Type;
|
||||
public string BpsLabel => Localization.Core.Title_Bps;
|
||||
public string RawBpsLabel => Localization.Core.Title_Raw_bps;
|
||||
public string SubchannelLabel => Localization.Core.Title_Subchannel;
|
||||
public string PregapLabel => Localization.Core.Title_Pregap;
|
||||
public string DumpHardwareLabel => UI.Title_Dump_hardware;
|
||||
public string ManufacturerLabel => UI.Title_Manufacturer;
|
||||
public string ModelLabel => UI.Title_Model;
|
||||
public string RevisionLabel => UI.Title_Revision;
|
||||
public string SerialLabel => UI.Serial;
|
||||
public string SoftwareLabel => UI.Title_Software;
|
||||
public string VersionLabel => UI.Title_Version;
|
||||
public string OperatingSystemLabel => UI.Title_Operating_system;
|
||||
public string SCSILabel => UI.Title_SCSI;
|
||||
public string ATA_ATAPILabel => UI.Title_ATA_ATAPI;
|
||||
public string CompactDiscLabel => Localization.Core.Title_CompactDisc;
|
||||
public string Dvd_Hd_DvdLabel => Localization.Core.Title_DVD_HD_DVD;
|
||||
public string Dvd_R_WLabel => Localization.Core.Title_DVD_Plus_Dash_R_W;
|
||||
public string BluRayLabel => Localization.Core.Title_Blu_ray;
|
||||
public string PcmciaLabel => UI.Title_PCMCIA;
|
||||
public string Sd_MMCLabel => UI.Title_SD_MMC;
|
||||
public string XboxLabel => Localization.Core.Title_Xbox;
|
||||
public string EntropyLabel => UI.ButtonLabel_Calculate_entropy;
|
||||
public string VerifyLabel => UI.ButtonLabel_Verify;
|
||||
public string ChecksumLabel => UI.ButtonLabel_Checksum;
|
||||
public string ConvertLabel => UI.ButtonLabel_Convert_to;
|
||||
public string CreateSidecarLabel => UI.ButtonLabel_Create_Aaru_Metadata_sidecar;
|
||||
public string ViewSectorsLabel => UI.ButtonLabel_View_sectors;
|
||||
public string DecodeMediaTagLabel => UI.ButtonLabel_Decode_media_tags;
|
||||
|
||||
void Entropy()
|
||||
{
|
||||
if(_imageEntropy != null)
|
||||
|
||||
@@ -138,7 +138,7 @@ public sealed partial class MediaInfoViewModel : ViewModelBase
|
||||
{
|
||||
var sbSerial = new StringBuilder();
|
||||
|
||||
for(int i = 4; i < scsiInfo.MediaSerialNumber.Length; i++)
|
||||
for(var i = 4; i < scsiInfo.MediaSerialNumber.Length; i++)
|
||||
sbSerial.Append($"{scsiInfo.MediaSerialNumber[i]:X2}");
|
||||
|
||||
MediaSerial = sbSerial.ToString();
|
||||
@@ -255,30 +255,6 @@ public sealed partial class MediaInfoViewModel : ViewModelBase
|
||||
public ICommand DumpCommand { get; }
|
||||
public ICommand ScanCommand { get; }
|
||||
|
||||
public string MediaInformationLabel => UI.Title_Media_information;
|
||||
public string GeneralLabel => UI.Title_General;
|
||||
public string MediaTypeLabel => UI.Title_Media_type;
|
||||
public string MediaSerialNumberLabel => UI.Title_Media_serial_number;
|
||||
public string SaveReadMediaSerialLabel => UI.ButtonLabel_Save_READ_MEDIA_SERIAL_NUMBER_response;
|
||||
public string SaveReadCapacityLabel => UI.ButtonLabel_Save_READ_CAPACITY_response;
|
||||
public string SaveReadCapacity16Label => UI.ButtonLabel_Save_READ_CAPACITY_16_response;
|
||||
public string MMCLabel => Localization.Core.Title_MMC;
|
||||
public string SaveGetConfigurationLabel => UI.ButtonLabel_Save_GET_CONFIGURATION_response;
|
||||
public string SaveRecognizedFormatLayersLabel => UI.ButtonLabel_Save_RECOGNIZED_FORMAT_LAYERS_response;
|
||||
public string SaveWriteProtectionStatusLabel => UI.ButtonLabel_Save_WRITE_PROTECTION_STATUS_response;
|
||||
public string SscLabel => Localization.Core.Title_SSC;
|
||||
public string DensitySupportLabel => UI.Densities_supported_by_currently_inserted_media;
|
||||
public string MediumSupportLabel => UI.Medium_types_currently_inserted_in_device;
|
||||
public string SaveDensitySupportLabel => UI.ButtonLabel_Save_REPORT_DENSITY_SUPPORT_MEDIA_response;
|
||||
public string SaveMediumSupportLabel => UI.ButtonLabel_Save_REPORT_DENSITY_SUPPORT_MEDIUM_MEDIA_response;
|
||||
public string CompactDiscLabel => Localization.Core.Title_CompactDisc;
|
||||
public string DvdLabel => Localization.Core.Title_DVD;
|
||||
public string Dvd_R_WLabel => Localization.Core.Title_DVD_Plus_Dash_R_W;
|
||||
public string XboxLabel => Localization.Core.Title_Xbox;
|
||||
public string BluRayLabel => Localization.Core.Title_Blu_ray;
|
||||
public string DumpLabel => UI.ButtonLabel_Dump_media_to_image;
|
||||
public string ScanLabel => UI.ButtonLabel_Scan_media_surface;
|
||||
|
||||
async Task SaveElementAsync(byte[] data)
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -123,21 +123,6 @@ public sealed class SubdirectoryViewModel
|
||||
public List<FileModel> SelectedEntries { get; }
|
||||
public ICommand ExtractFilesCommand { get; }
|
||||
|
||||
public string ExtractFilesLabel => UI.ButtonLabel_Extract_to;
|
||||
public string NameLabel => UI.Title_Name;
|
||||
public string LengthLabel => UI.Title_Length;
|
||||
public string CreationLabel => UI.Title_Creation;
|
||||
public string LastAccessLabel => UI.Title_Last_access;
|
||||
public string ChangedLabel => UI.Title_Changed;
|
||||
public string LastBackupLabel => UI.Title_Last_backup;
|
||||
public string LastWriteLabel => UI.Title_Last_write;
|
||||
public string AttributesLabel => UI.Title_Attributes;
|
||||
public string GIDLabel => UI.Title_GID;
|
||||
public string UIDLabel => UI.Title_UID;
|
||||
public string InodeLabel => UI.Title_Inode;
|
||||
public string LinksLabel => UI.Title_Links;
|
||||
public string ModeLabel => UI.Title_Mode;
|
||||
|
||||
async Task ExtractFiles()
|
||||
{
|
||||
if(SelectedEntries.Count == 0) return;
|
||||
@@ -203,7 +188,7 @@ public sealed class SubdirectoryViewModel
|
||||
else
|
||||
chars = new char[filename.Length];
|
||||
|
||||
for(int ci = 0; ci < chars.Length; ci++)
|
||||
for(var ci = 0; ci < chars.Length; ci++)
|
||||
{
|
||||
chars[ci] = filename[ci] switch
|
||||
{
|
||||
@@ -328,7 +313,7 @@ public sealed class SubdirectoryViewModel
|
||||
|
||||
try
|
||||
{
|
||||
byte[] outBuf = new byte[file.Stat.Length];
|
||||
var outBuf = new byte[file.Stat.Length];
|
||||
|
||||
ErrorNumber error = _model.Plugin.OpenFile(_model.Path + "/" + file.Name, out IFileNode fileNode);
|
||||
|
||||
|
||||
@@ -35,7 +35,6 @@ using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Decoders.ATA;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -82,8 +81,7 @@ public sealed class AtaInfoViewModel : ViewModelBase
|
||||
|
||||
AtaMcptWriteProtectionChecked = (ataMcptError.Value.DeviceHead & 0x08) == 0x08;
|
||||
|
||||
ushort specificData =
|
||||
(ushort)(ataMcptError.Value.CylinderHigh * 0x100 + ataMcptError.Value.CylinderLow);
|
||||
var specificData = (ushort)(ataMcptError.Value.CylinderHigh * 0x100 + ataMcptError.Value.CylinderLow);
|
||||
|
||||
AtaMcptSpecificDataText = string.Format(Localization.Core.Card_specific_data_0, specificData);
|
||||
}
|
||||
@@ -105,13 +103,7 @@ public sealed class AtaInfoViewModel : ViewModelBase
|
||||
public bool AtaMcptVisible { get; }
|
||||
public ICommand SaveAtaBinaryCommand { get; }
|
||||
public ICommand SaveAtaTextCommand { get; }
|
||||
|
||||
public string AtaOrAtapiText { get; }
|
||||
|
||||
public string AtaMcptLabel => Localization.Core.Device_supports_MCPT_Command_Set;
|
||||
public string AtaMcptWriteProtectionLabel => Localization.Core.Media_card_is_write_protected;
|
||||
public string SaveAtaBinaryLabel => UI.ButtonLabel_Save_binary_to_file;
|
||||
public string SaveAtaTextLabel => UI.ButtonLabel_Save_text_to_file;
|
||||
public string AtaOrAtapiText { get; }
|
||||
|
||||
async Task SaveAtaBinaryAsync()
|
||||
{
|
||||
|
||||
@@ -36,7 +36,6 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Decoders.Bluray;
|
||||
using Aaru.Decoders.SCSI.MMC;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -157,23 +156,6 @@ public sealed class BlurayInfoViewModel
|
||||
public bool SaveBlurayRawDflVisible { get; }
|
||||
public bool SaveBlurayPacVisible { get; }
|
||||
|
||||
public string DiscInformationLabel => UI.Disc_information;
|
||||
public string BurstCuttingAreaLabel => UI.Burst_Cutting_Area;
|
||||
public string DiscDefinitionStructureLabel => UI.Disc_Definition_Structure;
|
||||
public string CartridgeStatusLabel => UI.Cartridge_Status;
|
||||
public string SpareAreaInformationLabel => UI.Spare_Area_Information;
|
||||
public string PseudoOverWriteResourcesLabel => UI.Pseudo_OverWrite_Resources;
|
||||
public string TrackResourcesLabel => UI.Track_Resources;
|
||||
public string SaveBlurayDiscInformationLabel => UI.ButtonLabel_Save_Disc_Information;
|
||||
public string SaveBlurayBurstCuttingAreaLabel => UI.ButtonLabel_Save_Burst_Cutting_Area;
|
||||
public string SaveBlurayDdsLabel => UI.ButtonLabel_Save_Disc_Definition_Structure;
|
||||
public string SaveBlurayCartridgeStatusLabel => UI.ButtonLabel_Save_Cartridge_Status;
|
||||
public string SaveBluraySpareAreaInformationLabel => UI.ButtonLabel_Save_Spare_Area_Information;
|
||||
public string SaveBlurayPowResourcesLabel => UI.ButtonLabel_Save_Pseudo_OverWrite_Resources;
|
||||
public string SaveBlurayTrackResourcesLabel => UI.ButtonLabel_Save_Track_Resources;
|
||||
public string SaveBlurayRawDflLabel => UI.ButtonLabel_Save_raw_DFL;
|
||||
public string SaveBlurayPacLabel => UI.ButtonLabel_Save_PAC;
|
||||
|
||||
async Task SaveElementAsync(byte[] data)
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -38,7 +38,6 @@ using System.Windows.Input;
|
||||
using Aaru.Decoders.CD;
|
||||
using Aaru.Decoders.SCSI.MMC;
|
||||
using Aaru.Gui.Models;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -129,25 +128,6 @@ public sealed class CompactDiscInfoViewModel : ViewModelBase
|
||||
public ICommand SaveCdPmaCommand { get; }
|
||||
public ObservableCollection<IsrcModel> IsrcList { get; }
|
||||
|
||||
public string CdInformationLabel => UI.Title_Information;
|
||||
public string SaveCdInformationLabel => UI.ButtonLabel_Save_READ_DISC_INFORMATION_response;
|
||||
public string CdTocLabel => UI.Title_TOC;
|
||||
public string SaveCdTocLabel => UI.ButtonLabel_Save_READ_TOC_response;
|
||||
public string CdFullTocLabel => UI.Title_TOC_full;
|
||||
public string SaveCdFullTocLabel => UI.ButtonLabel_Save_READ_RAW_TOC_response;
|
||||
public string CdSessionLabel => Localization.Core.Title_Session;
|
||||
public string SaveCdSessionLabel => UI.ButtonLabel_Save_READ_SESSION_response;
|
||||
public string CdTextLabel => UI.Title_CD_TEXT;
|
||||
public string SaveCdTextLabel => UI.ButtonLabel_Save_Lead_In_CD_TEXT;
|
||||
public string CdAtipLabel => UI.Title_ATIP;
|
||||
public string SaveCdAtipLabel => UI.ButtonLabel_Save_READ_ATIP_response;
|
||||
public string MiscellaneousLabel => UI.Title_Miscellaneous;
|
||||
public string McnLabel => UI.Title_Media_catalog_number;
|
||||
public string IsrCsLabel => UI.Title_ISRCs;
|
||||
public string TrackLabel => Localization.Core.Title_Track;
|
||||
public string ISRCLabel => UI.Title_ISRC;
|
||||
public string SaveCdPmaLabel => UI.ButtonLabel_Save_READ_PMA_response;
|
||||
|
||||
async Task SaveCdInformationAsync()
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -35,7 +35,6 @@ using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Decoders.DVD;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -117,13 +116,6 @@ public sealed class DvdInfoViewModel
|
||||
public bool SaveDvdBcaVisible { get; }
|
||||
public bool SaveDvdAacsVisible { get; }
|
||||
|
||||
public string SaveDvdPfiLabel => UI.ButtonLabel_Save_Physical_Format_Information;
|
||||
public string SaveDvdDmiLabel => UI.ButtonLabel_Save_Disc_Manufacturer_Information;
|
||||
public string SaveDvdCmiLabel => UI.ButtonLabel_Save_Copyright_Management_Information;
|
||||
public string SaveHdDvdCmiLabel => UI.ButtonLabel_Save_Copyright_Management_Information;
|
||||
public string SaveDvdBcaLabel => UI.ButtonLabel_Save_Burst_Cutting_Area;
|
||||
public string SaveDvdAacsLabel => UI.ButtonLabel_Save_AACS_Information;
|
||||
|
||||
async Task SaveElementAsync(byte[] data)
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -35,7 +35,6 @@ using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Decoders.DVD;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -229,26 +228,6 @@ public sealed class DvdWritableInfoViewModel
|
||||
public ICommand SaveDvdPlusAdipCommand { get; }
|
||||
public ICommand SaveDvdPlusDcbCommand { get; }
|
||||
|
||||
public string DvdRamDdsLabel => UI.Disc_Definition_Structure;
|
||||
public string DvdRamCartridgeStatusLabel => UI.Cartridge_Status;
|
||||
public string DvdRamSpareAreaInformationLabel => UI.Spare_Area_Information;
|
||||
public string SaveDvdRamDdsLabel => UI.ButtonLabel_Save_Disc_Definition_Structure;
|
||||
public string SaveDvdRamCartridgeStatusLabel => UI.ButtonLabel_Save_Cartridge_Status;
|
||||
public string SaveDvdRamSpareAreaInformationLabel => UI.ButtonLabel_Save_Spare_Area_Information;
|
||||
public string SaveLastBorderOutRmdLabel => UI.ButtonLabel_Save_Last_Border_Out_RMD;
|
||||
public string SaveDvdPreRecordedInfoLabel => UI.ButtonLabel_Save_Pre_Recorded_Physical_Information;
|
||||
public string SaveDvdrMediaIdentifierLabel => UI.ButtonLabel_Save_Media_Identifier;
|
||||
public string SaveDvdrPhysicalInformationLabel => UI.ButtonLabel_Save_Recordable_Physical_Information;
|
||||
public string SaveHddvdrMediumStatusLabel => UI.ButtonLabel_Save_Medium_Status;
|
||||
public string SaveHddvdrLastRmdLabel => UI.ButtonLabel_Save_Last_Border_Out_RMD;
|
||||
public string SaveDvdrLayerCapacityLabel => UI.ButtonLabel_Save_Layer_Capacity;
|
||||
public string SaveDvdrDlMiddleZoneStartLabel => UI.ButtonLabel_Save_Middle_Zone_Start;
|
||||
public string SaveDvdrDlJumpIntervalSizeLabel => UI.ButtonLabel_Save_Jump_Interval_Size;
|
||||
public string SaveDvdrDlManualLayerJumpStartLbaLabel => UI.ButtonLabel_Save_Manual_Layer_Jump_Start_LBA;
|
||||
public string SaveDvdrDlRemapAnchorPointLabel => UI.ButtonLabel_Save_Remap_Anchor_Point;
|
||||
public string SaveDvdPlusAdipLabel => UI.ButtonLabel_Save_ADIP;
|
||||
public string SaveDvdPlusDcbLabel => UI.ButtonLabel_Save_Disc_Control_Blocks;
|
||||
|
||||
async Task SaveElementAsync(byte[] data)
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -153,9 +153,6 @@ public sealed partial class PcmciaInfoViewModel : ViewModelBase
|
||||
AaruLogging.Debug(MODULE_NAME, UI.PCMCIA_CIS_returned_no_tuples);
|
||||
}
|
||||
|
||||
public string CisLabel => UI.Title_CIS;
|
||||
public string SavePcmciaCisLabel => UI.ButtonLabel_Save_PCMCIA_CIS_to_file;
|
||||
|
||||
public ObservableCollection<PcmciaCisModel> CisList { get; }
|
||||
|
||||
public PcmciaCisModel SelectedCis
|
||||
|
||||
@@ -442,7 +442,7 @@ public sealed partial class ScsiInfoViewModel : ViewModelBase
|
||||
{
|
||||
foreach(KeyValuePair<byte, byte[]> page in scsiEvpdPages.OrderBy(t => t.Key))
|
||||
{
|
||||
string evpdPageTitle = "";
|
||||
var evpdPageTitle = "";
|
||||
string evpdDecodedPage;
|
||||
|
||||
switch(page.Key)
|
||||
@@ -637,7 +637,7 @@ public sealed partial class ScsiInfoViewModel : ViewModelBase
|
||||
{
|
||||
foreach(Features.FeatureDescriptor desc in ftr.Descriptors)
|
||||
{
|
||||
string featureNumber = string.Format(Localization.Core.Feature_0, desc.Code);
|
||||
var featureNumber = string.Format(Localization.Core.Feature_0, desc.Code);
|
||||
AaruLogging.Debug(MODULE_NAME, Localization.Core.Feature_0, desc.Code);
|
||||
|
||||
string featureDescription = desc.Code switch
|
||||
@@ -765,20 +765,6 @@ public sealed partial class ScsiInfoViewModel : ViewModelBase
|
||||
}
|
||||
}
|
||||
|
||||
public string InquiryLabel => UI.Title_INQUIRY;
|
||||
public string ScsiInquiryLabel => UI.Title_SCSI_INQUIRY;
|
||||
public string SaveInquiryBinaryLabel => UI.ButtonLabel_Save_binary_to_file;
|
||||
public string SaveInquiryTextLabel => UI.ButtonLabel_Save_text_to_file;
|
||||
public string ModeSenseLabel => UI.Title_MODE_SENSE;
|
||||
public string PageLabel => UI.Title_Page;
|
||||
public string SaveModeSense6Label => UI.ButtonLabel_Save_MODE_SENSE_6_response_to_file;
|
||||
public string SaveModeSense10Label => UI.ButtonLabel_Save_MODE_SENSE_10_response_to_file;
|
||||
public string EvpdLabel => UI.Title_EVPD;
|
||||
public string SaveEvpdPageLabel => UI.ButtonLabel_Save_EVPD_page_to_file;
|
||||
public string MmcFeaturesLabel => UI.Title_MMC_FEATURES;
|
||||
public string FeatureLabel => UI.Title_Feature;
|
||||
public string SaveMmcFeaturesLabel => UI.ButtonLabel_Save_MMC_GET_CONFIGURATION_response_to_file;
|
||||
|
||||
async Task SaveInquiryBinaryAsync()
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
// ****************************************************************************/
|
||||
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.Localization;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace Aaru.Gui.ViewModels.Tabs;
|
||||
@@ -79,10 +78,4 @@ public sealed class SdMmcInfoViewModel
|
||||
public string OcrText { get; }
|
||||
public string ExtendedCsdText { get; }
|
||||
public string ScrText { get; }
|
||||
|
||||
public string CidLabel => UI.Title_CID;
|
||||
public string CsdLabel => UI.Title_CSD;
|
||||
public string OcrLabel => UI.Title_OCR;
|
||||
public string ExtendedCsdLabel => UI.Title_Extended_CSD;
|
||||
public string ScrLabel => UI.Title_SCR;
|
||||
}
|
||||
@@ -36,7 +36,6 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Input;
|
||||
using Aaru.Core.Media.Info;
|
||||
using Aaru.Decoders.Xbox;
|
||||
using Aaru.Localization;
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Platform.Storage;
|
||||
using CommunityToolkit.Mvvm.Input;
|
||||
@@ -91,16 +90,6 @@ public sealed class XboxInfoViewModel
|
||||
public string XboxDmiText { get; }
|
||||
public string XboxSsText { get; }
|
||||
|
||||
public string XboxL0VideoLabel => Localization.Core.Video_layer_zero_size;
|
||||
public string XboxL1VideoLabel => Localization.Core.Video_layer_one_size;
|
||||
public string XboxMiddleZoneLabel => Localization.Core.Middle_zone_size;
|
||||
public string XboxGameSizeLabel => Localization.Core.Game_data_size;
|
||||
public string XboxTotalSizeLabel => Localization.Core.Total_size;
|
||||
public string XboxRealBreakLabel => Localization.Core.Real_layer_break;
|
||||
public string XboxDmiLabel => UI.Title_Disc_Manufacturing_Information;
|
||||
public string XboxSsLabel => UI.Title_Security_Sector;
|
||||
public string SaveXboxSsLabel => UI.ButtonLabel_Save_Xbox_Security_Sector;
|
||||
|
||||
async Task SaveElementAsync(byte[] data)
|
||||
{
|
||||
IStorageFile result = await _view.StorageProvider.SaveFilePickerAsync(new FilePickerSaveOptions
|
||||
|
||||
@@ -45,7 +45,6 @@ using Aaru.Decoders.SCSI.MMC;
|
||||
using Aaru.Decoders.Xbox;
|
||||
using Aaru.Gui.Models;
|
||||
using Aaru.Helpers;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using JetBrains.Annotations;
|
||||
using BCA = Aaru.Decoders.Bluray.BCA;
|
||||
@@ -235,8 +234,4 @@ public sealed partial class DecodeMediaTagsViewModel : ViewModelBase
|
||||
if(DecodedText != null) value.Decoded = DecodedText;
|
||||
}
|
||||
}
|
||||
|
||||
public string TagLabel => UI.Title_Tag;
|
||||
public string HexViewLabel => UI.Title_HexView;
|
||||
public string DecodedLabel => UI.Title_Decoded;
|
||||
}
|
||||
@@ -168,29 +168,6 @@ public sealed partial class ImageChecksumViewModel : ViewModelBase
|
||||
}
|
||||
}
|
||||
|
||||
public string ChecksumMediaLabel => UI.Checksums_the_whole_disc;
|
||||
public string ChecksumTracksLabel => UI.Checksums_each_track_separately;
|
||||
public string Adler32Label => UI.Calculates_Adler_32;
|
||||
public string Crc16Label => UI.Calculates_CRC16;
|
||||
public string Crc32Label => UI.Calculates_CRC32;
|
||||
public string Crc64Label => UI.Calculates_CRC64_ECMA;
|
||||
public string Fletcher16Label => UI.Calculates_Fletcher_16;
|
||||
public string Fletcher32Label => UI.Calculates_Fletcher_32;
|
||||
public string Md5Label => UI.Calculates_MD5;
|
||||
public string Sha1Label => UI.Calculates_SHA1;
|
||||
public string Sha256Label => UI.Calculates_SHA256;
|
||||
public string Sha384Label => UI.Calculates_SHA384;
|
||||
public string Sha512Label => UI.Calculates_SHA512;
|
||||
public string SpamSumLabel => UI.Calculates_SpamSum_fuzzy_hash;
|
||||
public string TrackChecksumsLabel => UI.Title_Track_checksums;
|
||||
public string TrackLabel => Localization.Core.Title_Track;
|
||||
public string AlgorithmsLabel => UI.Title_Algorithms;
|
||||
public string HashLabel => UI.Title_Hash;
|
||||
public string MediaChecksumsLabel => UI.Title_Media_checksums;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
public ObservableCollection<ChecksumModel> TrackChecksums { get; }
|
||||
public ObservableCollection<ChecksumModel> MediaChecksums { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
|
||||
@@ -261,56 +261,29 @@ public sealed partial class ImageConvertViewModel : ViewModelBase
|
||||
ResumeFileText = _dumpHardware == null ? "" : UI._From_image_;
|
||||
}
|
||||
|
||||
public string SourceImageLabel => UI.Source_image;
|
||||
public string OutputFormatLabel => UI.Output_format;
|
||||
public string ChooseLabel => UI.ButtonLabel_Choose;
|
||||
public string SectorsLabel => UI.How_many_sectors_to_convert_at_once;
|
||||
public string ForceLabel => UI.Continue_conversion_even_if_data_lost;
|
||||
public string CreatorLabel => UI.Who_person_created_the_image;
|
||||
public string GetFromSourceImageLabel => UI.ButtonLabel_Get_from_source_image;
|
||||
public string MetadataLabel => UI.Title_Metadata;
|
||||
public string MediaLabel => UI.Title_Media;
|
||||
public string TitleLabel => UI.Title_Title;
|
||||
public string ManufacturerLabel => UI.Title_Manufacturer;
|
||||
public string ModelLabel => UI.Title_Model;
|
||||
public string SerialNumberLabel => UI.Title_Serial_number;
|
||||
public string BarcodeLabel => UI.Title_Barcode;
|
||||
public string PartNumberLabel => UI.Title_Part_number;
|
||||
public string NumberInSequenceLabel => UI.Title_Number_in_sequence;
|
||||
public string LastMediaOfTheSequenceLabel => UI.Title_Last_media_of_the_sequence;
|
||||
public string DriveLabel => UI.Title_Drive;
|
||||
public string FirmwareRevisionLabel => UI.Title_Firmware_revision;
|
||||
public string CommentsLabel => UI.Title_Comments;
|
||||
public string AaruMetadataLabel => UI.Title_Existing_Aaru_Metadata_sidecar;
|
||||
public string FromImageLabel => UI.Title_From_image;
|
||||
public string ResumeFileLabel => UI.Title_Existing_resume_file;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
public ObservableCollection<ImagePluginModel> PluginsList { get; }
|
||||
|
||||
public ICommand DestinationCommand { get; }
|
||||
public ICommand CreatorCommand { get; }
|
||||
public ICommand MediaTitleCommand { get; }
|
||||
public ICommand MediaManufacturerCommand { get; }
|
||||
public ICommand MediaModelCommand { get; }
|
||||
public ICommand MediaSerialNumberCommand { get; }
|
||||
public ICommand MediaBarcodeCommand { get; }
|
||||
public ICommand MediaPartNumberCommand { get; }
|
||||
public ICommand MediaSequenceCommand { get; }
|
||||
public ICommand LastMediaSequenceCommand { get; }
|
||||
public ICommand DriveManufacturerCommand { get; }
|
||||
public ICommand DriveModelCommand { get; }
|
||||
public ICommand DriveSerialNumberCommand { get; }
|
||||
public ICommand DriveFirmwareRevisionCommand { get; }
|
||||
public ICommand CommentsCommand { get; }
|
||||
public ICommand AaruMetadataFromImageCommand { get; }
|
||||
public ICommand AaruMetadataCommand { get; }
|
||||
public ICommand ResumeFileFromImageCommand { get; }
|
||||
public ICommand ResumeFileCommand { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
public ICommand StopCommand { get; }
|
||||
public ObservableCollection<ImagePluginModel> PluginsList { get; }
|
||||
public ICommand DestinationCommand { get; }
|
||||
public ICommand CreatorCommand { get; }
|
||||
public ICommand MediaTitleCommand { get; }
|
||||
public ICommand MediaManufacturerCommand { get; }
|
||||
public ICommand MediaModelCommand { get; }
|
||||
public ICommand MediaSerialNumberCommand { get; }
|
||||
public ICommand MediaBarcodeCommand { get; }
|
||||
public ICommand MediaPartNumberCommand { get; }
|
||||
public ICommand MediaSequenceCommand { get; }
|
||||
public ICommand LastMediaSequenceCommand { get; }
|
||||
public ICommand DriveManufacturerCommand { get; }
|
||||
public ICommand DriveModelCommand { get; }
|
||||
public ICommand DriveSerialNumberCommand { get; }
|
||||
public ICommand DriveFirmwareRevisionCommand { get; }
|
||||
public ICommand CommentsCommand { get; }
|
||||
public ICommand AaruMetadataFromImageCommand { get; }
|
||||
public ICommand AaruMetadataCommand { get; }
|
||||
public ICommand ResumeFileFromImageCommand { get; }
|
||||
public ICommand ResumeFileCommand { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
public ICommand StopCommand { get; }
|
||||
|
||||
async Task StartAsync()
|
||||
{
|
||||
|
||||
@@ -141,20 +141,6 @@ public sealed partial class ImageEntropyViewModel : ViewModelBase
|
||||
}
|
||||
}
|
||||
|
||||
public string DuplicatedSectorsLabel => UI.Calculates_how_many_sectors_are_duplicated;
|
||||
public string SeparatedTracksLabel => UI.Calculates_entropy_for_each_track_separately;
|
||||
public string WholeDiscLabel => UI.Calculates_entropy_for_the_whole_disc;
|
||||
public string TrackEntropyLabel => UI.Title_Track_entropy;
|
||||
public string TrackLabel => Localization.Core.Title_Track;
|
||||
public string EntropyLabel => UI.Title_Entropy;
|
||||
public string UniqueSectorsLabel => UI.Title_Unique_sectors;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
[JetBrains.Annotations.NotNull]
|
||||
public string Title => UI.Title_Calculating_entropy;
|
||||
|
||||
public ObservableCollection<TrackEntropyModel> TrackEntropy { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
|
||||
@@ -121,12 +121,6 @@ public sealed partial class ImageSidecarViewModel : ViewModelBase
|
||||
StopCommand = new RelayCommand(Stop);
|
||||
}
|
||||
|
||||
public string DestinationFileLabel => UI.Title_Destination_file;
|
||||
public string ChooseLabel => UI.ButtonLabel_Choose;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
public string Title { get; }
|
||||
public ICommand DestinationCommand { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
|
||||
@@ -149,13 +149,6 @@ public sealed partial class ImageVerifyViewModel : ViewModelBase
|
||||
OptionsVisible = true;
|
||||
}
|
||||
|
||||
public string VerifyImageLabel => UI.Verify_media_image_if_supported;
|
||||
public string VerifySectorsLabel => UI.Verify_all_sectors_if_supported;
|
||||
public string LBALabel => UI.Title_LBA;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
public ObservableCollection<LbaModel> ErrorList { get; }
|
||||
public ObservableCollection<LbaModel> UnknownList { get; }
|
||||
public ICommand StartCommand { get; }
|
||||
|
||||
@@ -165,28 +165,6 @@ public sealed class MainWindowViewModel : ViewModelBase
|
||||
new Bitmap(AssetLoader.Open(new Uri("avares://Aaru.Gui/Assets/Icons/oxygen/32x32/media-eject.png")));
|
||||
}
|
||||
|
||||
public string FileLabel => UI.Menu_File;
|
||||
public string OpenLabel => UI.Menu_Open;
|
||||
public string SettingsLabel => UI.Menu_Settings;
|
||||
public string ExitLabel => UI.Menu_Exit;
|
||||
public string DevicesLabel => UI.Menu_Devices;
|
||||
public string RefreshDevicesLabel => UI.Menu_Refresh;
|
||||
public string WindowLabel => UI.Menu_Window;
|
||||
public string ConsoleLabel => UI.Menu_Console;
|
||||
public string HelpLabel => UI.Menu_Help;
|
||||
public string EncodingsLabel => UI.Menu_Encodings;
|
||||
public string PluginsLabel => UI.Menu_Plugins;
|
||||
public string StatisticsLabel => UI.Menu_Statistics;
|
||||
public string AboutLabel => UI.Menu_About;
|
||||
public string RefreshDevicesFullLabel => UI.Menu_Refresh_devices;
|
||||
public string CloseAllImagesLabel => UI.Menu_Close_all_images;
|
||||
public string CalculateEntropyLabel => UI.ButtonLabel_Calculate_entropy;
|
||||
public string VerifyImageLabel => UI.ButtonLabel_Verify;
|
||||
public string ChecksumImageLabel => UI.ButtonLabel_Checksum;
|
||||
public string CreateSidecarLabel => UI.ButtonLabel_Create_Aaru_Metadata_sidecar;
|
||||
public string ViewImageSectorsLabel => UI.ButtonLabel_View_sectors;
|
||||
public string DecodeImageMediaTagsLabel => UI.ButtonLabel_Decode_media_tags;
|
||||
|
||||
public bool DevicesSupported
|
||||
{
|
||||
get => _devicesSupported;
|
||||
@@ -609,7 +587,7 @@ public sealed class MainWindowViewModel : ViewModelBase
|
||||
List<CommonTypes.Partition> partitions = Core.Partitions.GetAll(imageFormat);
|
||||
Core.Partitions.AddSchemesToStats(partitions);
|
||||
|
||||
bool checkRaw = false;
|
||||
var checkRaw = false;
|
||||
List<string> idPlugins;
|
||||
PluginRegister plugins = PluginRegister.Singleton;
|
||||
|
||||
|
||||
@@ -289,25 +289,6 @@ public sealed partial class MediaDumpViewModel : ViewModelBase
|
||||
_devicePath = devicePath;
|
||||
}
|
||||
|
||||
public string OutputFormatLabel => UI.Output_format;
|
||||
public string ChooseLabel => UI.ButtonLabel_Choose;
|
||||
public string StopOnErrorLabel => UI.Stop_media_dump_on_first_error;
|
||||
public string ForceLabel => UI.Continue_dumping_whatever_happens;
|
||||
public string RetriesLabel => UI.Retry_passes;
|
||||
public string PersistentLabel => UI.Try_to_recover_partial_or_incorrect_data;
|
||||
public string ResumeLabel => UI.Create_or_use_resume_mapfile;
|
||||
public string Track1PregapLabel => UI.Try_to_read_track_1_pregap;
|
||||
public string SkippedLabel => UI.Skipped_sectors_on_error;
|
||||
public string SidecarLabel => UI.Create_Aaru_Metadata_sidecar;
|
||||
public string TrimLabel => UI.Trim_errors_from_skipped_sectors;
|
||||
public string ExistingMetadataLabel => UI.Take_metadata_from_existing_CICM_XML_sidecar;
|
||||
public string EncodingLabel => UI.Encoding_to_use_on_metadata_sidecar_creation;
|
||||
public string DestinationLabel => UI.Writing_image_to;
|
||||
public string LogLabel => UI.Title_Log;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
public ICommand StartCommand { get; }
|
||||
public ICommand CloseCommand { get; }
|
||||
public ICommand StopCommand { get; }
|
||||
|
||||
@@ -161,9 +161,6 @@ public sealed partial class MediaScanViewModel : ViewModelBase
|
||||
public string SpeedLabel => UI.ButtonLabel_Stop;
|
||||
public string KbsLabel => UI.Kb_s;
|
||||
public string BlockLabel => UI.Title_Block;
|
||||
public string StartLabel => UI.ButtonLabel_Start;
|
||||
public string CloseLabel => UI.ButtonLabel_Close;
|
||||
public string StopLabel => UI.ButtonLabel_Stop;
|
||||
|
||||
public ObservableCollection<(ulong block, double duration)> BlockMapList { get; }
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.Helpers;
|
||||
using Aaru.Localization;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
@@ -71,10 +70,6 @@ public sealed partial class ViewSectorViewModel : ViewModelBase
|
||||
SectorNumber = 0;
|
||||
}
|
||||
|
||||
public string SectorLabel => UI.Title_Sector;
|
||||
public string LongSectorLabel => UI.Show_long_sector;
|
||||
|
||||
|
||||
public double SectorNumber
|
||||
{
|
||||
get => _sectorNumber;
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,7 +45,7 @@
|
||||
x:Class="Aaru.Gui.Views.Dialogs.About"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
CanResize="False"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_About_Aaru}">
|
||||
<Design.DataContext>
|
||||
<dialogs:AboutViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -86,7 +87,7 @@
|
||||
VerticalAlignment="Stretch">
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding AboutLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Label_About}" />
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -125,7 +126,7 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding LibrariesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Label_Libraries}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Assemblies}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
@@ -149,7 +150,7 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding AuthorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Label_Authors}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding Authors}" />
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -43,7 +44,7 @@
|
||||
Height="450"
|
||||
x:Class="Aaru.Gui.Views.Dialogs.Console"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_Console}">
|
||||
<Design.DataContext>
|
||||
<dialogs:ConsoleViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -54,19 +55,19 @@
|
||||
</Grid.RowDefinitions>
|
||||
<DataGrid ItemsSource="{Binding Entries}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TimeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Time}"
|
||||
Binding="{Binding Timestamp}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TypeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Type}"
|
||||
Binding="{Binding Type}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding ModuleLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Module}"
|
||||
Binding="{Binding Module}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding MessageLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Message}"
|
||||
Binding="{Binding Message}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -74,17 +75,17 @@
|
||||
</DataGrid>
|
||||
<CheckBox Grid.Row="1"
|
||||
IsChecked="{Binding DebugChecked}">
|
||||
<TextBlock Text="{Binding DebugText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Enable_debug_console}" />
|
||||
</CheckBox>
|
||||
<StackPanel Grid.Row="2"
|
||||
Spacing="10"
|
||||
Orientation="Horizontal"
|
||||
HorizontalAlignment="Right">
|
||||
<Button Command="{Binding ClearCommand}">
|
||||
<TextBlock Text="{Binding ClearLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Clear}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveCommand}">
|
||||
<TextBlock Text="{Binding SaveLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,7 +45,7 @@
|
||||
x:Class="Aaru.Gui.Views.Dialogs.Encodings"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
CanResize="False"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Encodings}">
|
||||
<Design.DataContext>
|
||||
<dialogs:EncodingsViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -57,11 +58,11 @@
|
||||
<DataGrid ItemsSource="{Binding Encodings}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding CodeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Code_for_encoding}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding DisplayName}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -72,7 +73,7 @@
|
||||
<Button HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Command="{Binding CloseCommand}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,16 +45,14 @@
|
||||
x:Class="Aaru.Gui.Views.Dialogs.LicenseDialog"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
CanResize="False"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_Aaru_license}">
|
||||
<Design.DataContext>
|
||||
<dialogs:LicenseViewModel />
|
||||
</Design.DataContext>
|
||||
<Border Padding="15">
|
||||
<Grid HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="260" /> <RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
VerticalAlignment="Stretch"
|
||||
RowDefinitions="260,Auto">
|
||||
<TextBox Grid.Row="0"
|
||||
IsReadOnly="True"
|
||||
Text="{Binding LicenseText}" />
|
||||
@@ -62,7 +61,7 @@
|
||||
<Button HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Command="{Binding CloseCommand}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -43,7 +44,7 @@
|
||||
Height="450"
|
||||
x:Class="Aaru.Gui.Views.Dialogs.PluginsDialog"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
Title="{Binding Title}"
|
||||
Title="{x:Static localization:UI.Title_Plugins}"
|
||||
Padding="10">
|
||||
<Design.DataContext>
|
||||
<dialogs:PluginsViewModel />
|
||||
@@ -58,24 +59,24 @@
|
||||
VerticalAlignment="Stretch">
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FiltersLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Filters}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Filters}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -84,24 +85,24 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding PartitionsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Partitions}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding PartitionSchemes}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -110,7 +111,7 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FilesystemsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Filesystems}" />
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -118,50 +119,50 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0"
|
||||
Text="{Binding IdentifyLabel}"
|
||||
Text="{x:Static localization:UI.Title_Identify_only}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="1"
|
||||
ItemsSource="{Binding Filesystems}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<TextBlock Grid.Row="2"
|
||||
Text="{Binding ReadableLabel}"
|
||||
Text="{x:Static localization:UI.Title_Readable}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="3"
|
||||
ItemsSource="{Binding ReadOnlyFilesystems}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -171,7 +172,7 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ImagesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_images}" />
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -179,50 +180,50 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0"
|
||||
Text="{Binding ReadableLabel}"
|
||||
Text="{x:Static localization:UI.Title_Readable}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="1"
|
||||
ItemsSource="{Binding Images}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<TextBlock Grid.Row="2"
|
||||
Text="{Binding WritableLabel}"
|
||||
Text="{x:Static localization:UI.Title_Writable}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="3"
|
||||
ItemsSource="{Binding WritableImages}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -232,7 +233,7 @@
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FloppyImagesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Floppy_images}" />
|
||||
</TabItem.Header>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
@@ -240,50 +241,50 @@
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Grid.Row="0"
|
||||
Text="{Binding ReadableLabel}"
|
||||
Text="{x:Static localization:UI.Title_Readable}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="1"
|
||||
ItemsSource="{Binding FloppyImages}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<TextBlock Grid.Row="2"
|
||||
Text="{Binding WritableLabel}"
|
||||
Text="{x:Static localization:UI.Title_Writable}"
|
||||
FontWeight="Bold" />
|
||||
<DataGrid Grid.Row="3"
|
||||
ItemsSource="{Binding WritableFloppyImages}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UuidLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UUID}"
|
||||
Binding="{Binding Uuid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding Version}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AuthorLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Author}"
|
||||
Binding="{Binding Author}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -297,7 +298,7 @@
|
||||
<Button HorizontalAlignment="Right"
|
||||
VerticalAlignment="Bottom"
|
||||
Command="{Binding CloseCommand}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,7 +45,7 @@
|
||||
x:Class="Aaru.Gui.Views.Dialogs.SettingsDialog"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
CanResize="False"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_Settings}">
|
||||
<Design.DataContext>
|
||||
<dialogs:SettingsViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -59,73 +60,80 @@
|
||||
SelectedIndex="{Binding TabControlSelectedIndex}">
|
||||
<TabItem IsVisible="{Binding GdprVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding GdprLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_GDPR}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding GdprText1}" /> <Border Padding="10" />
|
||||
<TextBlock Text="{Binding GdprText2}" /> <Border Padding="10" />
|
||||
<TextBlock Text="{Binding GdprText3}" />
|
||||
<TextBlock Text="{x:Static localization:UI.GDPR_Compliance}" /> <Border Padding="10" />
|
||||
<TextBlock Text="{x:Static localization:UI.GDPR_Open_Source_Disclaimer}" />
|
||||
<Border Padding="10" />
|
||||
<TextBlock Text="{x:Static localization:UI.GDPR_Information_sharing}" />
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ReportsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Reports}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Spacing="15">
|
||||
<StackPanel Spacing="5">
|
||||
<TextBlock Text="{Binding ReportsGloballyText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Configure_Device_Report_information_disclaimer}" />
|
||||
<CheckBox IsChecked="{Binding SaveReportsGloballyChecked}">
|
||||
<TextBlock Text="{Binding SaveReportsGloballyText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Save_device_reports_in_shared_folder_of_your_computer_Q}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding ReportsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Configure_share_report_disclaimer}" />
|
||||
<CheckBox IsChecked="{Binding ShareReportsChecked}">
|
||||
<TextBlock Text="{Binding ShareReportsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Share_your_device_reports_with_us_Q}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding StatisticsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Statistics}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Spacing="15">
|
||||
<TextBlock Text="{Binding StatisticsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Statistics_disclaimer}" />
|
||||
<CheckBox IsChecked="{Binding SaveStatsChecked}">
|
||||
<TextBlock Text="{Binding SaveStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Save_stats_about_your_Aaru_usage_Q}" />
|
||||
</CheckBox>
|
||||
<StackPanel IsVisible="{Binding SaveStatsChecked}"
|
||||
Spacing="5">
|
||||
<CheckBox IsChecked="{Binding ShareStatsChecked}">
|
||||
<TextBlock Text="{Binding ShareStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Share_your_stats_anonymously_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding CommandStatsChecked}">
|
||||
<TextBlock Text="{Binding CommandStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Gather_statistics_about_command_usage_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding DeviceStatsChecked}">
|
||||
<TextBlock Text="{Binding DeviceStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Gather_statistics_about_found_devices_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding FilesystemStatsChecked}">
|
||||
<TextBlock Text="{Binding FilesystemStatsText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Gather_statistics_about_found_filesystems_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding FilesystemStatsChecked}">
|
||||
<TextBlock Text="{Binding FilterStatsText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Gather_statistics_about_found_file_filters_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding MediaImageStatsChecked}">
|
||||
<TextBlock Text="{Binding MediaImageStatsText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Gather_statistics_about_found_media_image_formats_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding MediaScanStatsChecked}">
|
||||
<TextBlock Text="{Binding MediaScanStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Gather_statistics_about_scanned_media_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PartitionStatsChecked}">
|
||||
<TextBlock Text="{Binding PartitionStatsText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Gather_statistics_about_found_partitioning_schemes_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding MediaStatsChecked}">
|
||||
<TextBlock Text="{Binding MediaStatsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Gather_statistics_about_media_types_Q}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding VerifyStatsChecked}">
|
||||
<TextBlock Text="{Binding VerifyStatsText}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Gather_statistics_about_media_image_verifications_Q}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
@@ -137,10 +145,10 @@
|
||||
Orientation="Horizontal"
|
||||
Spacing="5">
|
||||
<Button Command="{Binding SaveCommand}">
|
||||
<TextBlock Text="{Binding SaveLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CancelCommand}">
|
||||
<TextBlock Text="{Binding CancelLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Cancel}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:dialogs="clr-namespace:Aaru.Gui.ViewModels.Dialogs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,21 +45,18 @@
|
||||
x:Class="Aaru.Gui.Views.Dialogs.StatisticsDialog"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
CanResize="False"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_Statistics}">
|
||||
<Design.DataContext>
|
||||
<dialogs:StatisticsViewModel />
|
||||
</Design.DataContext>
|
||||
<Border Padding="15">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" /> <RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid RowDefinitions="*,Auto">
|
||||
<TabControl Grid.Row="0"
|
||||
HorizontalAlignment="Stretch"
|
||||
VerticalAlignment="Stretch">
|
||||
<TabItem IsVisible="{Binding CommandsVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CommandsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Commands}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel VerticalAlignment="Top"
|
||||
HorizontalAlignment="Stretch">
|
||||
@@ -98,17 +96,17 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding FiltersVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FiltersLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Filters}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Filters}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding FilterLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Filter}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TimesFoundLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Times_used}"
|
||||
Binding="{Binding Count}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -117,17 +115,17 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding FormatsVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FormatsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Formats}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Formats}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding FormatLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Format}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TimesFoundLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Times_used}"
|
||||
Binding="{Binding Count}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -136,17 +134,17 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding PartitionsVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding PartitionsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Partitions}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Partitions}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding PartitionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Partition}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TimesFoundLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Times_used}"
|
||||
Binding="{Binding Count}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -155,17 +153,17 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding FilesystemsVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FilesystemsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Filesystems}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Filesystems}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding FilesystemLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Filesystem}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TimesFoundLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Times_used}"
|
||||
Binding="{Binding Count}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -174,25 +172,25 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding DevicesVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding DevicesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Devices}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Devices}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding DeviceLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Device}"
|
||||
Binding="{Binding Model}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding ManufacturerLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Manufacturer}"
|
||||
Binding="{Binding Manufacturer}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding RevisionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Revision}"
|
||||
Binding="{Binding Revision}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding BusLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Bus}"
|
||||
Binding="{Binding Bus}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -201,21 +199,21 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding MediasVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding MediasLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Medias}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Medias}"
|
||||
HorizontalScrollBarVisibility="Visible">
|
||||
<DataGrid.Columns>
|
||||
<!-- TODO: Bind header -->
|
||||
<DataGridTextColumn Header="{Binding MediaLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Media}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TimesFoundLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Times_used}"
|
||||
Binding="{Binding Count}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding TypeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Type_for_media}"
|
||||
Binding="{Binding Type}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -228,7 +226,7 @@
|
||||
VerticalAlignment="Center"
|
||||
Command="{Binding CloseCommand}"
|
||||
Padding="10">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -44,116 +45,116 @@
|
||||
<panels:DeviceInfoViewModel />
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="{Binding DeviceInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Device_information}" />
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding GeneralLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_General}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding DeviceTypeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Device_type}" />
|
||||
<TextBox Text="{Binding DeviceType}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Manufacturer}" />
|
||||
<TextBox Text="{Binding Manufacturer}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ModelLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Model}" />
|
||||
<TextBox Text="{Binding Model}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding RevisionLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Revision}" />
|
||||
<TextBox Text="{Binding Revision}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Serial_number}" />
|
||||
<TextBox Text="{Binding Serial}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ScsiTypeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Peripheral_device_type}" />
|
||||
<TextBox Text="{Binding ScsiType}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding RemovableChecked}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding RemovableMediaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Removable_media}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding UsbConnected}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding UsbConnectedLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Connected_by_USB}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding UsbVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding UsbLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_USB}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding VendorIDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Vendor_ID}" />
|
||||
<TextBox Text="{Binding UsbVendorId}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ProductIDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Product_ID}" />
|
||||
<TextBox Text="{Binding UsbProductId}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Manufacturer}" />
|
||||
<TextBox Text="{Binding UsbManufacturer}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ProductLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Product}" />
|
||||
<TextBox Text="{Binding UsbProduct}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Serial_number}" />
|
||||
<TextBox Text="{Binding UsbSerial}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<Button Command="{Binding SaveUsbDescriptorsCommand}"
|
||||
IsVisible="{Binding SaveUsbDescriptorsEnabled}">
|
||||
<TextBlock Text="{Binding SaveUsbDescriptorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Save_descriptors_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding FirewireVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding FireWireLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_FireWire}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding VendorIDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Vendor_ID}" />
|
||||
<TextBox Text="{Binding FirewireVendorId}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ModelIDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Model_ID}" />
|
||||
<TextBox Text="{Binding FirewireModelId}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Manufacturer}" />
|
||||
<TextBox Text="{Binding FirewireManufacturer}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ModelLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Model}" />
|
||||
<TextBox Text="{Binding FirewireModel}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding GuidLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_GUID}" />
|
||||
<TextBox Text="{Binding FirewireGuid}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -161,35 +162,35 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding PlextorVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding PlextorLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Plextor}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorEepromVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorDiscsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Total_loaded_discs}" />
|
||||
<TextBox Text="{Binding PlextorDiscs}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorCdReadTimeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Time_spent_reading_CDs}" />
|
||||
<TextBox Text="{Binding PlextorCdReadTime}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorCdWriteTimeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Time_spent_writing_CDs}" />
|
||||
<TextBox Text="{Binding PlextorCdWriteTime}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorDvdTimesVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorDvdReadTimeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Time_spent_reading_DVDs}" />
|
||||
<TextBox Text="{Binding PlextorDvdReadTime}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorDvdWriteTimeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Time_spent_writing_DVDs}" />
|
||||
<TextBox Text="{Binding PlextorDvdWriteTime}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -197,19 +198,19 @@
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding PlextorPoweRec}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorPoweRecLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_PoweRec}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorPoweRecEnabled}"
|
||||
IsEnabled="False"
|
||||
IsVisible="{Binding PlextorPoweRec}">
|
||||
<TextBlock Text="{Binding PlextorPoweRecEnabledLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.PoweRec_is_enabled}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorPoweRecEnabled}">
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorPoweRecRecommendedVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorPoweRecRecommendedLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Recommended_speed}" />
|
||||
<TextBox Text="{Binding PlextorPoweRecRecommended}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -217,7 +218,8 @@
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorPoweRecSelectedVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorPoweRecSelectedLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Selected_PoweRec_speed_for_currently_inserted_media}" />
|
||||
<TextBox Text="{Binding PlextorPoweRecSelected}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -225,7 +227,8 @@
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorPoweRecMaxVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorPoweRecMaxLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.Maximum_PoweRec_speed_for_currently_inserted_media}" />
|
||||
<TextBox Text="{Binding PlextorPoweRecMax}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -233,7 +236,7 @@
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorPoweRecLastVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorPoweRecLastLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Last_PoweRec_used_speed}" />
|
||||
<TextBox Text="{Binding PlextorPoweRecLast}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -241,30 +244,30 @@
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding PlextorSilentMode}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorSilentModeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_SilentMode}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorSilentModeEnabled}"
|
||||
IsEnabled="False"
|
||||
IsVisible="{Binding PlextorSilentMode}">
|
||||
<TextBlock Text="{Binding PlextorSilentModeEnabledLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.SilentMode_is_enabled}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorSilentModeEnabled}">
|
||||
<TextBlock Text="{Binding PlextorSilentModeAccessTime}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorSilentModeCdReadSpeedLimitLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.CD_read_speed_limited_to}" />
|
||||
<TextBox Text="{Binding PlextorSilentModeCdReadSpeedLimit}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorSilentModeCdWriteSpeedLimitLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.CD_write_speed_limited_to}" />
|
||||
<TextBox Text="{Binding PlextorSilentModeCdWriteSpeedLimit}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorSilentModeDvdReadSpeedLimitVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PlextorSilentModeDvdReadSpeedLimitLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.DVD_read_speed_limited_to}" />
|
||||
<TextBox Text="{Binding PlextorSilentModeDvdReadSpeedLimit}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -272,110 +275,111 @@
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding PlextorGigaRec}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorGigaRecLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_GigaRec}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorSecuRec}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorSecuRecLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_SecuRec}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorSpeedRead}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorSpeedReadLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_SpeedRead}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorSpeedEnabled}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorSpeedEnabledLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.SpeedRead_is_enabled}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorHiding}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorHidingLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_hiding_CD_Rs_and_sessions}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorHiding}">
|
||||
<CheckBox IsChecked="{Binding PlextorHidesRecordables}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorHidesRecordablesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Is_hiding_CD_Rs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorHidesSessions}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorHidesSessionsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Is_forcing_only_first_session}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding PlextorVariRec}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorVariRecLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_VariRec}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding PlextorDvd}">
|
||||
<CheckBox IsChecked="{Binding PlextorVariRecDvd}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorVariRecDvdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_VariRec_on_DVDs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorBitSetting}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorBitSettingLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_bitsetting_DVD_R_book_type}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorBitSettingDl}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorBitSettingDlLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_bitsetting_DVD_R_DL_book_type}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding PlextorDvdPlusWriteTest}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding PlextorDvdPlusWriteTestLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Supports_test_writing_DVD_Plus}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding Kreon}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding KreonLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Kreon}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<CheckBox IsChecked="{Binding KreonChallengeResponse}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonChallengeResponseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_do_challenge_response_with_Xbox_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonDecryptSs}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonDecryptSsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_read_and_decrypt_SS_from_Xbox_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonXtremeUnlock}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonXtremeUnlockLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_set_xtreme_unlock_state_with_Xbox_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonWxripperUnlock}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonWxripperUnlockLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_set_wxripper_unlock_state_with_Xbox_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonChallengeResponse360}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonChallengeResponse360Label}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_do_challenge_response_with_Xbox_360_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonDecryptSs360}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonDecryptSs360Label}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_read_and_decrypt_SS_from_Xbox_360_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonXtremeUnlock360}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonXtremeUnlock360Label}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_set_xtreme_unlock_state_with_Xbox_360_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonWxripperUnlock360}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonWxripperUnlock360Label}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:Core.Can_set_wxripper_unlock_state_with_Xbox_360_discs}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonLock}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonSetLockedLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Can_set_Kreon_locked_state}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding KreonErrorSkipping}"
|
||||
IsEnabled="False">
|
||||
<TextBlock Text="{Binding KreonErrorSkippingLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Kreon_Can_skip_read_errors}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding Ssc}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SSCLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.SSC_Label}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -389,13 +393,13 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding !!Densities}">
|
||||
<TextBlock Text="{Binding DensitiesSupportedByDeviceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Densities_supported_by_device}" />
|
||||
<TextBox Text="{Binding Densities}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding !!MediumTypes}">
|
||||
<TextBlock Text="{Binding MediumTypesSupportedByDeviceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Medium_types_supported_by_device}" />
|
||||
<TextBox Text="{Binding MediumTypes}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -411,35 +415,35 @@
|
||||
<TabControl>
|
||||
<TabItem IsVisible="{Binding !!Cid}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CIDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_CID}" />
|
||||
</TabItem.Header>
|
||||
<TextBox Text="{Binding Cid}"
|
||||
IsReadOnly="True" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!Csd}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CSDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_CSD}" />
|
||||
</TabItem.Header>
|
||||
<TextBox Text="{Binding Csd}"
|
||||
IsReadOnly="True" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!Ocr}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding OCRLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_OCR}" />
|
||||
</TabItem.Header>
|
||||
<TextBox Text="{Binding Ocr}"
|
||||
IsReadOnly="True" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ExtendedCsd}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ExtendedCSDLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Extended_CSD}" />
|
||||
</TabItem.Header>
|
||||
<TextBox Text="{Binding ExtendedCsd}"
|
||||
IsReadOnly="True" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!Scr}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SCRLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SCR}" />
|
||||
</TabItem.Header>
|
||||
<TextBox Text="{Binding Scr}"
|
||||
IsReadOnly="True" />
|
||||
@@ -448,25 +452,25 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!PcmciaInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding PcmciaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_PCMCIA}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding PcmciaInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!AtaInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ATA_ATAPILabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_ATA_ATAPI}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding AtaInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ScsiInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SCSILabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SCSI}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding ScsiInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!SdMmcInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding Sd_MMCLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SD_MMC}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding SdMmcInfo}" />
|
||||
</TabItem>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -75,12 +76,13 @@
|
||||
<TextBlock Text="{Binding FilesText}"
|
||||
IsVisible="{Binding FilesVisible}" />
|
||||
<CheckBox IsEnabled="{Binding BootableChecked}">
|
||||
<TextBlock Text="{Binding BootableLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Filesystem_contains_boot_code}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding DirtyChecked}">
|
||||
<TextBlock Text="{Binding DirtyLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:Core.Filesystem_has_not_been_unmounted_correctly_or_contains_errors}" />
|
||||
</CheckBox>
|
||||
<TextBlock Text="{Binding DetailsLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Details}"
|
||||
IsVisible="{Binding !!InformationText}" />
|
||||
<TextBox Text="{Binding InformationText}"
|
||||
IsReadOnly="True" />
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -49,14 +50,14 @@
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Center"
|
||||
Source="{Binding MediaLogo}" />
|
||||
<TextBlock Text="{Binding ImageInformationLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Image_information}"
|
||||
FontWeight="Bold" />
|
||||
<TextBlock Text="{Binding ImagePathText}" /> <TextBlock Text="{Binding FilterText}" />
|
||||
<TextBlock Text="{Binding ImageIdentifiedText}" />
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding GeneralLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_General}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding ImageFormatText}"
|
||||
@@ -79,14 +80,14 @@
|
||||
IsVisible="{Binding !!HasPartitionsText}" />
|
||||
<TextBlock Text="{Binding HasSessionsText}"
|
||||
IsVisible="{Binding !!HasSessionsText}" />
|
||||
<TextBlock Text="{Binding CommentsLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Comments}"
|
||||
IsVisible="{Binding !!CommentsText}"
|
||||
FontWeight="Bold" />
|
||||
<TextBox IsReadOnly="True"
|
||||
TextWrapping="Wrap"
|
||||
Text="{Binding CommentsText}"
|
||||
IsVisible="{Binding !!CommentsText}" />
|
||||
<TextBlock Text="{Binding MediaInformationLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_information}"
|
||||
FontWeight="Bold"
|
||||
IsVisible="{Binding MediaInformationVisible}" />
|
||||
<TextBlock Text="{Binding MediaSequenceText}"
|
||||
@@ -103,7 +104,7 @@
|
||||
IsVisible="{Binding !!MediaBarcodeText}" />
|
||||
<TextBlock Text="{Binding MediaPartNumberText}"
|
||||
IsVisible="{Binding !!MediaPartNumberText}" />
|
||||
<TextBlock Text="{Binding DriveInformationLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Drive_information}"
|
||||
FontWeight="Bold"
|
||||
IsVisible="{Binding DriveInformationVisible}" />
|
||||
<TextBlock Text="{Binding DriveManufacturerText}"
|
||||
@@ -116,27 +117,27 @@
|
||||
IsVisible="{Binding !!DriveFirmwareRevisionText}" />
|
||||
<TextBlock Text="{Binding MediaGeometryText}"
|
||||
IsVisible="{Binding !!MediaGeometryText}" />
|
||||
<TextBlock Text="{Binding ReadableMediaTagsLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Readable_media_tags}"
|
||||
FontWeight="Bold"
|
||||
IsVisible="{Binding !!MediaTagsList.Count}" />
|
||||
<DataGrid ItemsSource="{Binding MediaTagsList}"
|
||||
IsVisible="{Binding !!MediaTagsList.Count}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TagLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Tag}"
|
||||
Binding="{Binding .}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
<TextBlock Text="{Binding ReadableSectorTagsLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Readable_sector_tags}"
|
||||
FontWeight="Bold"
|
||||
IsVisible="{Binding !!SectorTagsList.Count}" />
|
||||
<DataGrid ItemsSource="{Binding SectorTagsList}"
|
||||
IsVisible="{Binding !!SectorTagsList.Count}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TagLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Tag}"
|
||||
Binding="{Binding .}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
@@ -146,25 +147,25 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!Sessions.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SessionsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Sessions}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Sessions}"
|
||||
IsVisible="{Binding !!Sessions.Count}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding SessionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Session}"
|
||||
Binding="{Binding SessionSequence}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding FirstTrackLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_First_track}"
|
||||
Binding="{Binding StartTrack}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding LastTrackLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Last_track}"
|
||||
Binding="{Binding EndTrack}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding StartLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Start}"
|
||||
Binding="{Binding StartSector}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding EndLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_End}"
|
||||
Binding="{Binding EndSector}"
|
||||
Width="Auto" />
|
||||
</DataGrid.Columns>
|
||||
@@ -172,34 +173,34 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!Tracks.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding TracksLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Tracks}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding Tracks}"
|
||||
IsVisible="{Binding !!Tracks.Count}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TrackLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Track}"
|
||||
Binding="{Binding Sequence}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding TypeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Type}"
|
||||
Binding="{Binding Type}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding BpsLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Bps}"
|
||||
Binding="{Binding BytesPerSector}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding RawBpsLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Raw_bps}"
|
||||
Binding="{Binding RawBytesPerSector}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding SubchannelLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Subchannel}"
|
||||
Binding="{Binding SubchannelType}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding PregapLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Pregap}"
|
||||
Binding="{Binding Pregap}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding StartLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Start}"
|
||||
Binding="{Binding StartSector}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding EndLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_End}"
|
||||
Binding="{Binding EndSector}"
|
||||
Width="Auto" />
|
||||
</DataGrid.Columns>
|
||||
@@ -207,37 +208,37 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!DumpHardwareList.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding DumpHardwareLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Dump_hardware}" />
|
||||
</TabItem.Header>
|
||||
<DataGrid ItemsSource="{Binding DumpHardwareList}"
|
||||
IsVisible="{Binding !!DumpHardwareList.Count}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding ManufacturerLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Manufacturer}"
|
||||
Binding="{Binding Manufacturer}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding ModelLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Model}"
|
||||
Binding="{Binding Model}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding RevisionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Revision}"
|
||||
Binding="{Binding Revision}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding SerialLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Serial}"
|
||||
Binding="{Binding Serial}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding SoftwareLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Software}"
|
||||
Binding="{Binding SoftwareName}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding VersionLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Version}"
|
||||
Binding="{Binding SoftwareVersion}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding OperatingSystemLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Operating_system}"
|
||||
Binding="{Binding OperatingSystem}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding StartLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Start}"
|
||||
Binding="{Binding TrackStartSector}"
|
||||
Width="Auto" />
|
||||
<DataGridTextColumn Header="{Binding EndLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_End}"
|
||||
Binding="{Binding TrackEndSector}"
|
||||
Width="Auto" />
|
||||
</DataGrid.Columns>
|
||||
@@ -245,55 +246,55 @@
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ScsiInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SCSILabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SCSI}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding ScsiInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!AtaInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ATA_ATAPILabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_ATA_ATAPI}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding AtaInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CompactDiscInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CompactDiscLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_CompactDisc}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding CompactDiscInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!DvdInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding Dvd_Hd_DvdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_DVD_HD_DVD}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding DvdInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!DvdWritableInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding Dvd_R_WLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_DVD_Plus_Dash_R_W}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding DvdWritableInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!BlurayInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding BluRayLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_Blu_ray}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding BlurayInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!PcmciaInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding PcmciaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_PCMCIA}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding PcmciaInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!SdMmcInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding Sd_MMCLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SD_MMC}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding SdMmcInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!XboxInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding XboxLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_Xbox}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding XboxInfo}" />
|
||||
</TabItem>
|
||||
@@ -301,25 +302,25 @@
|
||||
<StackPanel Orientation="Horizontal"
|
||||
Spacing="5">
|
||||
<Button Command="{Binding EntropyCommand}">
|
||||
<TextBlock Text="{Binding EntropyLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Calculate_entropy}" />
|
||||
</Button>
|
||||
<Button Command="{Binding VerifyCommand}">
|
||||
<TextBlock Text="{Binding VerifyLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Verify}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ChecksumCommand}">
|
||||
<TextBlock Text="{Binding ChecksumLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Checksum}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ConvertCommand}">
|
||||
<TextBlock Text="{Binding ConvertLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Convert_to}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CreateSidecarCommand}">
|
||||
<TextBlock Text="{Binding CreateSidecarLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Create_Aaru_Metadata_sidecar}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ViewSectorsCommand}">
|
||||
<TextBlock Text="{Binding ViewSectorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_View_sectors}" />
|
||||
</Button>
|
||||
<Button Command="{Binding DecodeMediaTagCommand}">
|
||||
<TextBlock Text="{Binding DecodeMediaTagLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Decode_media_tags}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -45,7 +46,7 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock HorizontalAlignment="Center"
|
||||
Text="{Binding MediaInformationLabel}" />
|
||||
Text="{x:Static localization:UI.Title_Media_information}" />
|
||||
<Image Width="128"
|
||||
Height="128"
|
||||
HorizontalAlignment="Center"
|
||||
@@ -53,11 +54,11 @@
|
||||
<TabControl>
|
||||
<TabItem IsVisible="{Binding GeneralVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding GeneralLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_General}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding MediaTypeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_type}" />
|
||||
<TextBox Text="{Binding MediaType}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
@@ -65,103 +66,105 @@
|
||||
Text="{Binding MediaSize}" />
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!MediaSerial}">
|
||||
<TextBlock Text="{Binding MediaSerialNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_serial_number}" />
|
||||
<TextBox Text="{Binding MediaSerial}"
|
||||
IsReadOnly="True" />
|
||||
</StackPanel>
|
||||
<Button IsVisible="{Binding SaveReadMediaSerialVisible}"
|
||||
Command="{Binding SaveReadMediaSerialCommand}">
|
||||
<TextBlock Text="{Binding SaveReadMediaSerialLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_MEDIA_SERIAL_NUMBER_response}" />
|
||||
</Button>
|
||||
<Button IsVisible="{Binding SaveReadCapacityVisible}"
|
||||
Command="{Binding SaveReadCapacityCommand}">
|
||||
<TextBlock Text="{Binding SaveReadCapacityLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_CAPACITY_response}" />
|
||||
</Button>
|
||||
<Button IsVisible="{Binding SaveReadCapacity16Visible}"
|
||||
Command="{Binding SaveReadCapacity16Command}">
|
||||
<TextBlock Text="{Binding SaveReadCapacity16Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_CAPACITY_16_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding MmcVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding MMCLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_MMC}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<Button IsVisible="{Binding SaveGetConfigurationVisible}"
|
||||
Command="{Binding SaveGetConfigurationCommand}">
|
||||
<TextBlock Text="{Binding SaveGetConfigurationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_GET_CONFIGURATION_response}" />
|
||||
</Button>
|
||||
<Button IsVisible="{Binding SaveRecognizedFormatLayersVisible}"
|
||||
Command="{Binding SaveRecognizedFormatLayersCommand}">
|
||||
<TextBlock Text="{Binding SaveRecognizedFormatLayersLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_RECOGNIZED_FORMAT_LAYERS_response}" />
|
||||
</Button>
|
||||
<Button IsVisible="{Binding SaveWriteProtectionStatusVisible}"
|
||||
Command="{Binding SaveWriteProtectionStatusCommand}">
|
||||
<TextBlock Text="{Binding SaveWriteProtectionStatusLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_WRITE_PROTECTION_STATUS_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding SscVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding SscLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_SSC}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock IsVisible="{Binding !!DensitySupport}"
|
||||
Text="{Binding DensitySupportLabel}" />
|
||||
Text="{x:Static localization:UI.Densities_supported_by_currently_inserted_media}" />
|
||||
<TextBox IsVisible="{Binding !!DensitySupport}"
|
||||
Text="{Binding DensitySupport}"
|
||||
IsReadOnly="True" />
|
||||
<TextBlock IsVisible="{Binding !!MediumSupport}"
|
||||
Text="{Binding MediumSupportLabel}" />
|
||||
Text="{x:Static localization:UI.Medium_types_currently_inserted_in_device}" />
|
||||
<TextBox Text="{Binding MediumSupport}"
|
||||
IsReadOnly="True" />
|
||||
<Button IsVisible="{Binding SaveDensitySupportVisible}"
|
||||
Command="{Binding SaveDensitySupportCommand}">
|
||||
<TextBlock Text="{Binding SaveDensitySupportLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.ButtonLabel_Save_REPORT_DENSITY_SUPPORT_MEDIA_response}" />
|
||||
</Button>
|
||||
<Button IsVisible="{Binding SaveMediumSupportVisible}"
|
||||
Command="{Binding SaveMediumSupportCommand}">
|
||||
<TextBlock Text="{Binding SaveMediumSupportLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.ButtonLabel_Save_REPORT_DENSITY_SUPPORT_MEDIUM_MEDIA_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CompactDiscInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CompactDiscLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_CompactDisc}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding CompactDiscInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!DvdInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding DvdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_DVD}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding DvdInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!DvdWritableInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding Dvd_R_WLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_DVD_Plus_Dash_R_W}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding DvdWritableInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!XboxInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding XboxLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_Xbox}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding XboxInfo}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!BlurayInfo}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding BluRayLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_Blu_ray}" />
|
||||
</TabItem.Header>
|
||||
<ContentControl Content="{Binding BlurayInfo}" />
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<Button Command="{Binding DumpCommand}">
|
||||
<TextBlock Text="{Binding DumpLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Dump_media_to_image}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ScanCommand}">
|
||||
<TextBlock Text="{Binding ScanLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Scan_media_surface}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:panels="clr-namespace:Aaru.Gui.ViewModels.Panels"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -49,60 +50,60 @@
|
||||
<DataGrid.ContextMenu>
|
||||
<ContextMenu>
|
||||
<Button Command="{Binding ExtractFilesCommand}">
|
||||
<TextBlock Text="{Binding ExtractFilesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Extract_to}" />
|
||||
</Button>
|
||||
</ContextMenu>
|
||||
</DataGrid.ContextMenu>
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding NameLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Name}"
|
||||
Binding="{Binding Name}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding LengthLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Length}"
|
||||
Binding="{Binding Size}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding CreationLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Creation}"
|
||||
Binding="{Binding CreationTime}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding LastAccessLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Last_access}"
|
||||
Binding="{Binding LastAccessTime}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding ChangedLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Changed}"
|
||||
Binding="{Binding ChangedTime}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding LastBackupLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Last_backup}"
|
||||
Binding="{Binding LastBackupTime}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding LastWriteLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Last_write}"
|
||||
Binding="{Binding LastWriteTime}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding AttributesLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Attributes}"
|
||||
Binding="{Binding Attributes}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding GIDLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_GID}"
|
||||
Binding="{Binding Gid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding UIDLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_UID}"
|
||||
Binding="{Binding Uid}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding InodeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Inode}"
|
||||
Binding="{Binding Inode}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding LinksLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Links}"
|
||||
Binding="{Binding Links}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
<DataGridTextColumn Header="{Binding ModeLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Mode}"
|
||||
Binding="{Binding Mode}"
|
||||
Width="Auto"
|
||||
IsReadOnly="True" />
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -51,21 +52,21 @@
|
||||
<CheckBox IsEnabled="False"
|
||||
IsChecked="{Binding AtaMcptChecked}"
|
||||
IsVisible="{Binding AtaMcptVisible}">
|
||||
<TextBlock Text="{Binding AtaMcptLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Device_supports_MCPT_Command_Set}" />
|
||||
</CheckBox>
|
||||
<TextBlock Text="{Binding AtaMcptText}" />
|
||||
<CheckBox IsEnabled="False"
|
||||
IsChecked="{Binding AtaMcptWriteProtectionChecked}"
|
||||
IsVisible="{Binding AtaMcptChecked}">
|
||||
<TextBlock Text="{Binding AtaMcptWriteProtectionLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Media_card_is_write_protected}" />
|
||||
</CheckBox>
|
||||
<TextBlock Text="{Binding AtaMcptSpecificDataText}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding SaveAtaBinaryCommand}">
|
||||
<TextBlock Text="{Binding SaveAtaBinaryLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_binary_to_file}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveAtaTextCommand}">
|
||||
<TextBlock Text="{Binding SaveAtaTextLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_text_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -45,75 +46,75 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayDiscInformationText}">
|
||||
<TextBlock Text="{Binding DiscInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Disc_information}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayDiscInformationText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayBurstCuttingAreaText}">
|
||||
<TextBlock Text="{Binding BurstCuttingAreaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Burst_Cutting_Area}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayBurstCuttingAreaText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayDdsText}">
|
||||
<TextBlock Text="{Binding DiscDefinitionStructureLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Disc_Definition_Structure}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayDdsText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayCartridgeStatusText}">
|
||||
<TextBlock Text="{Binding CartridgeStatusLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Cartridge_Status}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayCartridgeStatusText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BluraySpareAreaInformationText}">
|
||||
<TextBlock Text="{Binding SpareAreaInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Spare_Area_Information}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BluraySpareAreaInformationText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayPowResourcesText}">
|
||||
<TextBlock Text="{Binding PseudoOverWriteResourcesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Pseudo_OverWrite_Resources}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayPowResourcesText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!BlurayTrackResourcesText}">
|
||||
<TextBlock Text="{Binding TrackResourcesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Track_Resources}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding BlurayTrackResourcesText}" />
|
||||
</StackPanel>
|
||||
<Button Command="{Binding SaveBlurayDiscInformationCommand}"
|
||||
IsVisible="{Binding SaveBlurayDiscInformationVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayDiscInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Disc_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayBurstCuttingAreaCommand}"
|
||||
IsVisible="{Binding SaveBlurayBurstCuttingAreaVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayBurstCuttingAreaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Burst_Cutting_Area}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayDdsCommand}"
|
||||
IsVisible="{Binding SaveBlurayDdsVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayDdsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Disc_Definition_Structure}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayCartridgeStatusCommand}"
|
||||
IsVisible="{Binding SaveBlurayCartridgeStatusVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayCartridgeStatusLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Cartridge_Status}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBluraySpareAreaInformationCommand}"
|
||||
IsVisible="{Binding SaveBluraySpareAreaInformationVisible}">
|
||||
<TextBlock Text="{Binding SaveBluraySpareAreaInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Spare_Area_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayPowResourcesCommand}"
|
||||
IsVisible="{Binding SaveBlurayPowResourcesVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayPowResourcesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Pseudo_OverWrite_Resources}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayTrackResourcesCommand}"
|
||||
IsVisible="{Binding SaveBlurayTrackResourcesVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayTrackResourcesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Track_Resources}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayRawDflCommand}"
|
||||
IsVisible="{Binding SaveBlurayRawDflVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayRawDflLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_raw_DFL}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveBlurayPacCommand}"
|
||||
IsVisible="{Binding SaveBlurayPacVisible}">
|
||||
<TextBlock Text="{Binding SaveBlurayPacLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_PAC}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -46,101 +47,101 @@
|
||||
<TabControl>
|
||||
<TabItem IsVisible="{Binding !!CdInformationText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Information}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdInformationText}" />
|
||||
<Button Command="{Binding SaveCdInformationCommand}">
|
||||
<TextBlock Text="{Binding SaveCdInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_DISC_INFORMATION_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CdTocText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdTocLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_TOC}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdTocText}" />
|
||||
<Button Command="{Binding SaveCdTocCommand}">
|
||||
<TextBlock Text="{Binding SaveCdTocLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_TOC_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CdFullTocText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdFullTocLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_TOC_full}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdFullTocText}" />
|
||||
<Button Command="{Binding SaveCdFullTocCommand}">
|
||||
<TextBlock Text="{Binding SaveCdFullTocLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_RAW_TOC_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CdSessionText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdSessionLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Title_Session}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdSessionText}" />
|
||||
<Button Command="{Binding SaveCdSessionCommand}">
|
||||
<TextBlock Text="{Binding SaveCdSessionLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_SESSION_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CdTextText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdTextLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_CD_TEXT}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdTextText}" />
|
||||
<Button Command="{Binding SaveCdTextCommand}">
|
||||
<TextBlock Text="{Binding SaveCdTextLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Lead_In_CD_TEXT}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CdAtipText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CdAtipLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_ATIP}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CdAtipText}" />
|
||||
<Button Command="{Binding SaveCdAtipCommand}">
|
||||
<TextBlock Text="{Binding SaveCdAtipLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_ATIP_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding MiscellaneousVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding MiscellaneousLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Miscellaneous}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!McnText}">
|
||||
<TextBlock Text="{Binding McnLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_catalog_number}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding McnText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!IsrcList.Count}">
|
||||
<TextBlock Text="{Binding IsrCsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_ISRCs}" />
|
||||
<DataGrid ItemsSource="{Binding IsrcList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Binding="{Binding Track}"
|
||||
Header="{Binding TrackLabel}" />
|
||||
Header="{x:Static localization:Core.Title_Track}" />
|
||||
<DataGridTextColumn Binding="{Binding ISRC}"
|
||||
Header="{Binding ISRCLabel}" />
|
||||
Header="{x:Static localization:UI.Title_ISRC}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
<Button Command="{Binding SaveCdPmaCommand}"
|
||||
IsVisible="{Binding CdPmaVisible}">
|
||||
<TextBlock Text="{Binding SaveCdPmaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_READ_PMA_response}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -56,27 +57,27 @@
|
||||
Text="{Binding DvdCmiText}" />
|
||||
<Button Command="{Binding SaveDvdPfiCommand}"
|
||||
IsVisible="{Binding SaveDvdPfiVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdPfiLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Physical_Format_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdDmiCommand}"
|
||||
IsVisible="{Binding SaveDvdDmiVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdDmiLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Disc_Manufacturer_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdCmiCommand}"
|
||||
IsVisible="{Binding SaveDvdCmiVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdCmiLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Copyright_Management_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveHdDvdCmiCommand}"
|
||||
IsVisible="{Binding SaveHdDvdCmiVisible}">
|
||||
<TextBlock Text="{Binding SaveHdDvdCmiLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Copyright_Management_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdBcaCommand}"
|
||||
IsVisible="{Binding SaveDvdBcaVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdBcaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Burst_Cutting_Area}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdAacsCommand}"
|
||||
IsVisible="{Binding SaveDvdAacsVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdAacsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_AACS_Information}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -46,88 +47,88 @@
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock IsVisible="{Binding !!DvdRamDdsText}"
|
||||
Text="{Binding DvdRamDdsLabel}" />
|
||||
Text="{x:Static localization:UI.Disc_Definition_Structure}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
IsVisible="{Binding !!DvdRamDdsText}"
|
||||
Text="{Binding DvdRamDdsText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock IsVisible="{Binding !!DvdRamCartridgeStatusText}"
|
||||
Text="{Binding DvdRamCartridgeStatusLabel}" />
|
||||
Text="{x:Static localization:UI.Cartridge_Status}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
IsVisible="{Binding !!DvdRamCartridgeStatusText}"
|
||||
Text="{Binding DvdRamCartridgeStatusText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock IsVisible="{Binding !!DvdRamSpareAreaInformationText}"
|
||||
Text="{Binding DvdRamSpareAreaInformationLabel}" />
|
||||
Text="{x:Static localization:UI.Spare_Area_Information}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
IsVisible="{Binding !!DvdRamSpareAreaInformationText}"
|
||||
Text="{Binding DvdRamSpareAreaInformationText}" />
|
||||
</StackPanel>
|
||||
<Button Command="{Binding SaveDvdRamDdsCommand}"
|
||||
IsVisible="{Binding SaveDvdRamDdsVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdRamDdsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Disc_Definition_Structure}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdRamCartridgeStatusCommand}"
|
||||
IsVisible="{Binding SaveDvdRamCartridgeStatusVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdRamCartridgeStatusLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Cartridge_Status}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdRamSpareAreaInformationCommand}"
|
||||
IsVisible="{Binding SaveDvdRamSpareAreaInformationVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdRamSpareAreaInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Spare_Area_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveLastBorderOutRmdCommand}"
|
||||
IsVisible="{Binding SaveLastBorderOutRmdVisible}">
|
||||
<TextBlock Text="{Binding SaveLastBorderOutRmdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Last_Border_Out_RMD}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdPreRecordedInfoCommand}"
|
||||
IsVisible="{Binding SaveDvdPreRecordedInfoVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdPreRecordedInfoLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Pre_Recorded_Physical_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrMediaIdentifierCommand}"
|
||||
IsVisible="{Binding SaveDvdrMediaIdentifierVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrMediaIdentifierLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Media_Identifier}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrPhysicalInformationCommand}"
|
||||
IsVisible="{Binding SaveDvdrPhysicalInformationVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrPhysicalInformationLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Recordable_Physical_Information}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveHddvdrMediumStatusCommand}"
|
||||
IsVisible="{Binding SaveHddvdrMediumStatusVisible}">
|
||||
<TextBlock Text="{Binding SaveHddvdrMediumStatusLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Medium_Status}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveHddvdrLastRmdCommand}"
|
||||
IsVisible="{Binding SaveHddvdrLastRmdVisible}">
|
||||
<TextBlock Text="{Binding SaveHddvdrLastRmdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Last_Border_Out_RMD}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrLayerCapacityCommand}"
|
||||
IsVisible="{Binding SaveDvdrLayerCapacityVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrLayerCapacityLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Layer_Capacity}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrDlMiddleZoneStartCommand}"
|
||||
IsVisible="{Binding SaveDvdrDlMiddleZoneStartVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrDlMiddleZoneStartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Middle_Zone_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrDlJumpIntervalSizeCommand}"
|
||||
IsVisible="{Binding SaveDvdrDlJumpIntervalSizeVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrDlJumpIntervalSizeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Jump_Interval_Size}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrDlManualLayerJumpStartLbaCommand}"
|
||||
IsVisible="{Binding SaveDvdrDlManualLayerJumpStartLbaVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrDlManualLayerJumpStartLbaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Manual_Layer_Jump_Start_LBA}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdrDlRemapAnchorPointCommand}"
|
||||
IsVisible="{Binding SaveDvdrDlRemapAnchorPointVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdrDlRemapAnchorPointLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Remap_Anchor_Point}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdPlusAdipCommand}"
|
||||
IsVisible="{Binding SaveDvdPlusAdipVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdPlusAdipLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_ADIP}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveDvdPlusDcbCommand}"
|
||||
IsVisible="{Binding SaveDvdPlusDcbVisible}">
|
||||
<TextBlock Text="{Binding SaveDvdPlusDcbLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Disc_Control_Blocks}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -48,7 +49,7 @@
|
||||
<DataGrid ItemsSource="{Binding CisList}"
|
||||
SelectedItem="{Binding SelectedCis}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding CisLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_CIS}"
|
||||
Binding="{Binding Code}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -56,7 +57,7 @@
|
||||
Text="{Binding PcmciaCisText}" />
|
||||
</StackPanel>
|
||||
<Button Command="{Binding SavePcmciaCisCommand}">
|
||||
<TextBlock Text="{Binding SavePcmciaCisLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_PCMCIA_CIS_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</UserControl>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -46,26 +47,26 @@
|
||||
<TabControl>
|
||||
<TabItem IsVisible="{Binding !!InquiryData}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding InquiryLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_INQUIRY}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding ScsiInquiryLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SCSI_INQUIRY}"
|
||||
HorizontalAlignment="Center" />
|
||||
<TextBox Text="{Binding ScsiInquiryText}"
|
||||
IsReadOnly="True" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding SaveInquiryBinaryCommand}">
|
||||
<TextBlock Text="{Binding SaveInquiryBinaryLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_binary_to_file}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveInquiryTextCommand}">
|
||||
<TextBlock Text="{Binding SaveInquiryTextLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_text_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ModeSensePages.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ModeSenseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_MODE_SENSE}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
@@ -75,7 +76,7 @@
|
||||
SelectedItem="{Binding SelectedModeSensePage}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding PageLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Page}"
|
||||
Binding="{Binding Page}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -86,17 +87,17 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding SaveModeSense6Command}">
|
||||
<TextBlock Text="{Binding SaveModeSense6Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_MODE_SENSE_6_response_to_file}" />
|
||||
</Button>
|
||||
<Button Command="{Binding SaveModeSense10Command}">
|
||||
<TextBlock Text="{Binding SaveModeSense10Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_MODE_SENSE_10_response_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!EvpdPages.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding EvpdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_EVPD}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
@@ -106,7 +107,7 @@
|
||||
SelectedItem="{Binding SelectedEvpdPage}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding PageLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Page}"
|
||||
Binding="{Binding Page}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -117,14 +118,14 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding SaveEvpdPageCommand}">
|
||||
<TextBlock Text="{Binding SaveEvpdPageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_EVPD_page_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!MmcFeatures.Count}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding MmcFeaturesLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_MMC_FEATURES}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
@@ -134,7 +135,7 @@
|
||||
SelectedItem="{Binding SelectedMmcFeature}"
|
||||
IsReadOnly="True">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding FeatureLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Feature}"
|
||||
Binding="{Binding Page}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -145,7 +146,8 @@
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding SaveMmcFeaturesCommand}">
|
||||
<TextBlock Text="{Binding SaveMmcFeaturesLabel}" />
|
||||
<TextBlock
|
||||
Text="{x:Static localization:UI.ButtonLabel_Save_MMC_GET_CONFIGURATION_response_to_file}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -46,35 +47,35 @@
|
||||
<TabControl>
|
||||
<TabItem IsVisible="{Binding !!CidText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CidLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_CID}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CidText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!CsdText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CsdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_CSD}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding CsdText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!OcrText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding OcrLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_OCR}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding OcrText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ExtendedCsdText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ExtendedCsdLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Extended_CSD}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding ExtendedCsdText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding !!ScrText}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding ScrLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_SCR}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding ScrText}" />
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:tabs="clr-namespace:Aaru.Gui.ViewModels.Tabs"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -47,56 +48,56 @@
|
||||
<StackPanel IsVisible="{Binding XboxInformationVisible}">
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxL0VideoText}">
|
||||
<TextBlock Text="{Binding XboxL0VideoLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Video_layer_zero_size}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxL0VideoText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxL1VideoText}">
|
||||
<TextBlock Text="{Binding XboxL1VideoLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Video_layer_one_size}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxL1VideoText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxMiddleZoneText}">
|
||||
<TextBlock Text="{Binding XboxMiddleZoneLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Middle_zone_size}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxMiddleZoneText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxGameSizeText}">
|
||||
<TextBlock Text="{Binding XboxGameSizeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Game_data_size}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxGameSizeText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxTotalSizeText}">
|
||||
<TextBlock Text="{Binding XboxTotalSizeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Total_size}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxTotalSizeText}" />
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal"
|
||||
IsVisible="{Binding !!XboxRealBreakText}">
|
||||
<TextBlock Text="{Binding XboxRealBreakLabel}" />
|
||||
<TextBlock Text="{x:Static localization:Core.Real_layer_break}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxRealBreakText}" />
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!XboxDmiText}">
|
||||
<TextBlock Text="{Binding XboxDmiLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Disc_Manufacturing_Information}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxDmiText}" />
|
||||
</StackPanel>
|
||||
<StackPanel IsVisible="{Binding !!XboxSsText}">
|
||||
<TextBlock Text="{Binding XboxSsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Security_Sector}" />
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding XboxSsText}" />
|
||||
</StackPanel>
|
||||
<Button HorizontalAlignment="Right"
|
||||
IsVisible="{Binding SaveXboxSsVisible}"
|
||||
Command="{Binding SaveXboxSsCommand}">
|
||||
<TextBlock Text="{Binding SaveXboxSsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Save_Xbox_Security_Sector}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -50,7 +51,7 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding TagLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Tag}" />
|
||||
<ComboBox ItemsSource="{Binding TagsList}"
|
||||
SelectedItem="{Binding SelectedTag}">
|
||||
<ComboBox.DataTemplates>
|
||||
@@ -63,14 +64,14 @@
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding HexViewLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_HexView}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding HexViewText}" />
|
||||
</TabItem>
|
||||
<TabItem IsVisible="{Binding DecodedVisible}">
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding DecodedLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Decoded}" />
|
||||
</TabItem.Header>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding DecodedText}" />
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -50,86 +51,86 @@
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsVisible="{Binding ChecksumTracksVisible}"
|
||||
IsChecked="{Binding ChecksumMediaChecked}">
|
||||
<TextBlock Text="{Binding ChecksumMediaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Checksums_the_whole_disc}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsVisible="{Binding ChecksumTracksVisible}"
|
||||
IsChecked="{Binding ChecksumTracksChecked}">
|
||||
<TextBlock Text="{Binding ChecksumTracksLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Checksums_each_track_separately}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Adler32Checked}">
|
||||
<TextBlock Text="{Binding Adler32Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_Adler_32}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Crc16Checked}">
|
||||
<TextBlock Text="{Binding Crc16Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_CRC16}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Crc32Checked}">
|
||||
<TextBlock Text="{Binding Crc32Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_CRC32}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Crc64Checked}">
|
||||
<TextBlock Text="{Binding Crc64Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_CRC64_ECMA}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Fletcher16Checked}">
|
||||
<TextBlock Text="{Binding Fletcher16Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_Fletcher_16}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Fletcher32Checked}">
|
||||
<TextBlock Text="{Binding Fletcher32Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_Fletcher_32}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Md5Checked}">
|
||||
<TextBlock Text="{Binding Md5Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_MD5}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Sha1Checked}">
|
||||
<TextBlock Text="{Binding Sha1Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_SHA1}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Sha256Checked}">
|
||||
<TextBlock Text="{Binding Sha256Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_SHA256}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Sha384Checked}">
|
||||
<TextBlock Text="{Binding Sha384Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_SHA384}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding Sha512Checked}">
|
||||
<TextBlock Text="{Binding Sha512Label}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_SHA512}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding OptionsEnabled}"
|
||||
IsChecked="{Binding SpamsumChecked}">
|
||||
<TextBlock Text="{Binding SpamSumLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_SpamSum_fuzzy_hash}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding ResultsVisible}">
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding TrackChecksumsVisible}">
|
||||
<TextBlock Text="{Binding TrackChecksumsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Track_checksums}" />
|
||||
<DataGrid ItemsSource="{Binding TrackChecksums}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TrackLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Track}"
|
||||
Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="{Binding AlgorithmsLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Algorithms}"
|
||||
Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="{Binding HashLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Hash}"
|
||||
Binding="{Binding Value}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding MediaChecksumsVisible}">
|
||||
<TextBlock Text="{Binding MediaChecksumsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media_checksums}" />
|
||||
<DataGrid ItemsSource="{Binding MediaChecksums}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding AlgorithmsLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Algorithms}"
|
||||
Binding="{Binding Algorithm}" />
|
||||
<DataGridTextColumn Header="{Binding HashLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Hash}"
|
||||
Binding="{Binding Value}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -154,17 +155,17 @@
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsEnabled="{Binding StartCommandEnabled}"
|
||||
IsVisible="{Binding StartCommandVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsEnabled="{Binding CloseCommandEnabled}"
|
||||
IsVisible="{Binding CloseCommandVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsEnabled="{Binding StopCommandEnabled}"
|
||||
IsVisible="{Binding StopCommandVisible}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -46,10 +47,10 @@
|
||||
<windows:ImageConvertViewModel />
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="{Binding SourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Source_image}" />
|
||||
<TextBox Text="{Binding SourceText}"
|
||||
IsReadOnly="True" />
|
||||
<TextBlock Text="{Binding OutputFormatLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Output_format}" />
|
||||
<ComboBox ItemsSource="{Binding PluginsList}"
|
||||
SelectedItem="{Binding SelectedPlugin}"
|
||||
IsEnabled="{Binding FormatReadOnly}">
|
||||
@@ -65,7 +66,7 @@
|
||||
<Button Command="{Binding DestinationCommand}"
|
||||
IsEnabled="{Binding DestinationEnabled}"
|
||||
IsVisible="{Binding DestinationVisible}">
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Choose}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -75,167 +76,171 @@
|
||||
Minimum="1"
|
||||
Maximum="16384"
|
||||
Value="{Binding SectorsValue}" />
|
||||
<TextBlock Text="{Binding SectorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.How_many_sectors_to_convert_at_once}" />
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding ForceChecked}">
|
||||
<TextBlock Text="{Binding ForceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Continue_conversion_even_if_data_lost}" />
|
||||
</CheckBox>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding CreatorLabel}" /> <TextBox Text="{Binding CreatorText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Who_person_created_the_image}" />
|
||||
<TextBox Text="{Binding CreatorText}" />
|
||||
<Button Command="{Binding CreatorCommand}"
|
||||
IsVisible="{Binding CreatorVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel>
|
||||
<TextBlock Text="{Binding MetadataLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Metadata}" />
|
||||
<TabControl>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding MediaLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Media}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding TitleLabel}" /> <TextBox Text="{Binding MediaTitleText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Title}" />
|
||||
<TextBox Text="{Binding MediaTitleText}" />
|
||||
<Button Command="{Binding MediaTitleCommand}"
|
||||
IsVisible="{Binding MediaTitleVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Manufacturer}" />
|
||||
<TextBox Text="{Binding MediaManufacturerText}" />
|
||||
<Button Command="{Binding MediaManufacturerCommand}"
|
||||
IsVisible="{Binding MediaManufacturerVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ModelLabel}" /> <TextBox Text="{Binding MediaModelText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Model}" />
|
||||
<TextBox Text="{Binding MediaModelText}" />
|
||||
<Button Command="{Binding MediaModelCommand}"
|
||||
IsVisible="{Binding MediaModelVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Serial_number}" />
|
||||
<TextBox Text="{Binding MediaSerialNumberText}" />
|
||||
<Button Command="{Binding MediaSerialNumberCommand}"
|
||||
IsVisible="{Binding MediaSerialNumberVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding BarcodeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Barcode}" />
|
||||
<TextBox Text="{Binding MediaBarcodeText}" />
|
||||
<Button Command="{Binding MediaBarcodeCommand}"
|
||||
IsVisible="{Binding MediaBarcodeVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding PartNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Part_number}" />
|
||||
<TextBox Text="{Binding MediaPartNumberText}" />
|
||||
<Button Command="{Binding MediaPartNumberCommand}"
|
||||
IsVisible="{Binding MediaPartNumberVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding NumberInSequenceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Number_in_sequence}" />
|
||||
<NumericUpDown Increment="1"
|
||||
Value="{Binding MediaSequenceValue}"
|
||||
Minimum="0" />
|
||||
<Button Command="{Binding MediaSequenceCommand}"
|
||||
IsVisible="{Binding MediaSequenceVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding LastMediaOfTheSequenceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Last_media_of_the_sequence}" />
|
||||
<NumericUpDown Increment="1"
|
||||
Value="{Binding LastMediaSequenceValue}"
|
||||
Minimum="0" />
|
||||
<Button Command="{Binding LastMediaSequenceCommand}"
|
||||
IsVisible="{Binding LastMediaSequenceVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding DriveLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Drive}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ManufacturerLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Manufacturer}" />
|
||||
<TextBox Text="{Binding DriveManufacturerText}" />
|
||||
<Button Command="{Binding DriveManufacturerCommand}"
|
||||
IsVisible="{Binding DriveManufacturerVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding ModelLabel}" /> <TextBox Text="{Binding DriveModelText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Model}" />
|
||||
<TextBox Text="{Binding DriveModelText}" />
|
||||
<Button Command="{Binding DriveModelCommand}"
|
||||
IsVisible="{Binding DriveModelVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding SerialNumberLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Serial_number}" />
|
||||
<TextBox Text="{Binding DriveSerialNumberText}" />
|
||||
<Button Command="{Binding DriveSerialNumberCommand}"
|
||||
IsVisible="{Binding DriveSerialNumberVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding FirmwareRevisionLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Firmware_revision}" />
|
||||
<TextBox Text="{Binding DriveFirmwareRevisionText}" />
|
||||
<Button Command="{Binding DriveFirmwareRevisionCommand}"
|
||||
IsVisible="{Binding DriveFirmwareRevisionVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
<TabItem>
|
||||
<TabItem.Header>
|
||||
<TextBlock Text="{Binding CommentsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Comments}" />
|
||||
</TabItem.Header>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBox Text="{Binding CommentsText}" />
|
||||
<Button Command="{Binding CommentsCommand}"
|
||||
IsVisible="{Binding CommentsVisible}">
|
||||
<TextBlock Text="{Binding GetFromSourceImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Get_from_source_image}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<TextBlock Text="{Binding AaruMetadataLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Existing_Aaru_Metadata_sidecar}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding MetadataJsonText}"
|
||||
IsReadOnly="True" />
|
||||
<Button Command="{Binding AaruMetadataFromImageCommand}"
|
||||
IsVisible="{Binding AaruMetadataFromImageVisible}">
|
||||
<TextBlock Text="{Binding FromImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_From_image}" />
|
||||
</Button>
|
||||
<Button Command="{Binding AaruMetadataCommand}">
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Choose}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<TextBlock Text="{Binding ResumeFileLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Existing_resume_file}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding ResumeFileText}"
|
||||
IsReadOnly="True" />
|
||||
<Button Command="{Binding ResumeFileFromImageCommand}"
|
||||
IsVisible="{Binding ResumeFileFromImageVisible}">
|
||||
<TextBlock Text="{Binding FromImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_From_image}" />
|
||||
</Button>
|
||||
<Button Command="{Binding ResumeFileCommand}">
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Choose}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
@@ -260,16 +265,16 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsVisible="{Binding StopVisible}"
|
||||
IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,12 +36,13 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
x:Class="Aaru.Gui.Views.Windows.ImageEntropy"
|
||||
Icon="/Assets/aaru-logo.png"
|
||||
Title="{Binding Title}">
|
||||
Title="{x:Static localization:UI.Title_Calculating_entropy}">
|
||||
<Design.DataContext>
|
||||
<windows:ImageEntropyViewModel />
|
||||
</Design.DataContext>
|
||||
@@ -50,17 +51,17 @@
|
||||
Orientation="Vertical">
|
||||
<CheckBox IsEnabled="{Binding DuplicatedSectorsEnabled}"
|
||||
IsChecked="{Binding DuplicatedSectorsChecked}">
|
||||
<TextBlock Text="{Binding DuplicatedSectorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_how_many_sectors_are_duplicated}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding SeparatedTracksEnabled}"
|
||||
IsChecked="{Binding SeparatedTracksChecked}"
|
||||
IsVisible="{Binding SeparatedTracksVisible}">
|
||||
<TextBlock Text="{Binding SeparatedTracksLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_entropy_for_each_track_separately}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsEnabled="{Binding WholeDiscEnabled}"
|
||||
IsChecked="{Binding WholeDiscChecked}"
|
||||
IsVisible="{Binding WholeDiscVisible}">
|
||||
<TextBlock Text="{Binding WholeDiscLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Calculates_entropy_for_the_whole_disc}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -69,16 +70,16 @@
|
||||
IsVisible="{Binding MediaEntropyVisible}" />
|
||||
<TextBlock Text="{Binding MediaUniqueSectorsText}"
|
||||
IsVisible="{Binding MediaUniqueSectorsVisible}" />
|
||||
<TextBlock Text="{Binding TrackEntropyLabel}"
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Track_entropy}"
|
||||
IsVisible="{Binding SeparatedTracksEnabled}" />
|
||||
<DataGrid IsVisible="{Binding SeparatedTracksEnabled}"
|
||||
ItemsSource="{Binding TrackEntropy}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding TrackLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:Core.Title_Track}"
|
||||
Binding="{Binding Track}" />
|
||||
<DataGridTextColumn Header="{Binding EntropyLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Entropy}"
|
||||
Binding="{Binding Entropy}" />
|
||||
<DataGridTextColumn Header="{Binding UniqueSectorsLabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_Unique_sectors}"
|
||||
Binding="{Binding UniqueSectors}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -102,15 +103,15 @@
|
||||
</StackPanel>
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsVisible="{Binding StopVisible}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -49,13 +50,13 @@
|
||||
<windows:ImageSidecarViewModel />
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<TextBlock Text="{Binding DestinationFileLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Destination_file}" />
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Text="{Binding DestinationText}"
|
||||
IsReadOnly="True" />
|
||||
<Button Command="{Binding DestinationCommand}"
|
||||
IsEnabled="{Binding DestinationEnabled}">
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Choose}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -80,16 +81,16 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsEnabled="{Binding StopEnabled}"
|
||||
IsVisible="{Binding StopVisible}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -50,12 +51,12 @@
|
||||
IsVisible="{Binding OptionsVisible}">
|
||||
<CheckBox IsChecked="{Binding VerifyImageChecked}"
|
||||
IsEnabled="{Binding VerifyImageEnabled}">
|
||||
<TextBlock Text="{Binding VerifyImageLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Verify_media_image_if_supported}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding VerifySectorsChecked}"
|
||||
IsEnabled="{Binding VerifySectorsEnabled}"
|
||||
IsVisible="{Binding VerifySectorsVisible}">
|
||||
<TextBlock Text="{Binding VerifySectorsLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Verify_all_sectors_if_supported}" />
|
||||
</CheckBox>
|
||||
</StackPanel>
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -66,7 +67,7 @@
|
||||
<TextBlock Text="{Binding SectorErrorsText}" />
|
||||
<DataGrid ItemsSource="{Binding ErrorList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding LBALabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_LBA}"
|
||||
Binding="{Binding Lba}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -76,7 +77,7 @@
|
||||
<TextBlock Text="{Binding SectorsUnknownsText}" />
|
||||
<DataGrid ItemsSource="{Binding UnknownList}">
|
||||
<DataGrid.Columns>
|
||||
<DataGridTextColumn Header="{Binding LBALabel}"
|
||||
<DataGridTextColumn Header="{x:Static localization:UI.Title_LBA}"
|
||||
Binding="{Binding Lba}" />
|
||||
</DataGrid.Columns>
|
||||
</DataGrid>
|
||||
@@ -113,16 +114,16 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsVisible="{Binding StopVisible}"
|
||||
IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -48,36 +49,36 @@
|
||||
</Design.DataContext>
|
||||
<DockPanel>
|
||||
<Menu DockPanel.Dock="Top">
|
||||
<MenuItem Header="{Binding FileLabel}">
|
||||
<MenuItem Header="{Binding OpenLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_File}">
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Open}"
|
||||
Command="{Binding OpenCommand}" />
|
||||
<Separator />
|
||||
<MenuItem Header="{Binding SettingsLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Settings}"
|
||||
IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding SettingsCommand}" />
|
||||
<Separator />
|
||||
<MenuItem Header="{Binding ExitLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Exit}"
|
||||
IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding ExitCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="{Binding DevicesLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Devices}"
|
||||
IsVisible="{Binding DevicesSupported}">
|
||||
<MenuItem Header="{Binding RefreshDevicesLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Refresh}"
|
||||
Command="{Binding RefreshDevicesCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="{Binding WindowLabel}">
|
||||
<MenuItem Header="{Binding ConsoleLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Window}">
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Console}"
|
||||
Command="{Binding ConsoleCommand}" />
|
||||
</MenuItem>
|
||||
<MenuItem Header="{Binding HelpLabel}">
|
||||
<MenuItem Header="{Binding EncodingsLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Help}">
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Encodings}"
|
||||
Command="{Binding EncodingsCommand}" />
|
||||
<MenuItem Header="{Binding PluginsLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Plugins}"
|
||||
Command="{Binding PluginsCommand}" />
|
||||
<MenuItem Header="{Binding StatisticsLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Statistics}"
|
||||
Command="{Binding StatisticsCommand}" />
|
||||
<Separator IsVisible="{Binding !NativeMenuSupported}" />
|
||||
<MenuItem Header="{Binding AboutLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_About}"
|
||||
Name="AboutMenuItem"
|
||||
IsVisible="{Binding !NativeMenuSupported}"
|
||||
Command="{Binding AboutCommand}" />
|
||||
@@ -95,7 +96,7 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="{Binding RefreshDevicesFullLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Refresh_devices}"
|
||||
Command="{Binding RefreshDevicesCommand}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
@@ -110,7 +111,7 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Header="{Binding CloseAllImagesLabel}"
|
||||
<MenuItem Header="{x:Static localization:UI.Menu_Close_all_images}"
|
||||
Command="{Binding CloseAllImages}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
@@ -126,19 +127,19 @@
|
||||
<StackPanel.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Command="{Binding CalculateEntropyCommand}"
|
||||
Header="{Binding CalculateEntropyLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Calculate_entropy}" />
|
||||
<MenuItem Command="{Binding VerifyImageCommand}"
|
||||
Header="{Binding VerifyImageLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Verify}" />
|
||||
<MenuItem Command="{Binding ChecksumImageCommand}"
|
||||
Header="{Binding ChecksumImageLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Checksum}" />
|
||||
<MenuItem Command="{Binding ConvertImageCommand}"
|
||||
Header="{Binding ConvertImageLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Convert_to}" />
|
||||
<MenuItem Command="{Binding CreateSidecarCommand}"
|
||||
Header="{Binding CreateSidecarLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Create_Aaru_Metadata_sidecar}" />
|
||||
<MenuItem Command="{Binding ViewImageSectorsCommand}"
|
||||
Header="{Binding ViewImageSectorsLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_View_sectors}" />
|
||||
<MenuItem Command="{Binding DecodeImageMediaTagsCommand}"
|
||||
Header="{Binding DecodeImageMediaTagsLabel}" />
|
||||
Header="{x:Static localization:UI.ButtonLabel_Decode_media_tags}" />
|
||||
</ContextMenu>
|
||||
</StackPanel.ContextMenu>
|
||||
<Image Width="24"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -48,7 +49,7 @@
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding OptionsVisible}">
|
||||
<TextBlock Text="{Binding OutputFormatLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Output_format}" />
|
||||
<ComboBox ItemsSource="{Binding PluginsList}"
|
||||
SelectedItem="{Binding SelectedPlugin}"
|
||||
IsEnabled="{Binding FormatReadOnly}">
|
||||
@@ -63,44 +64,44 @@
|
||||
IsReadOnly="True" />
|
||||
<Button Command="{Binding DestinationCommand}"
|
||||
IsEnabled="{Binding DestinationEnabled}">
|
||||
<TextBlock Text="{Binding ChooseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Choose}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding StopOnError}">
|
||||
<TextBlock Text="{Binding StopOnErrorLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Stop_media_dump_on_first_error}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Force}">
|
||||
<TextBlock Text="{Binding ForceLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Continue_dumping_whatever_happens}" />
|
||||
</CheckBox>
|
||||
<NumericUpDown Text="{Binding RetriesLabel}"
|
||||
<NumericUpDown Text="{x:Static localization:UI.Retry_passes}"
|
||||
Value="{Binding Retries}"
|
||||
Increment="1"
|
||||
Minimum="0" />
|
||||
<CheckBox IsChecked="{Binding Persistent}">
|
||||
<TextBlock Text="{Binding PersistentLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Try_to_recover_partial_or_incorrect_data}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Resume}">
|
||||
<TextBlock Text="{Binding ResumeLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Create_or_use_resume_mapfile}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Track1Pregap}"
|
||||
IsVisible="{Binding Track1PregapVisible}">
|
||||
<TextBlock Text="{Binding Track1PregapLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Try_to_read_track_1_pregap}" />
|
||||
</CheckBox>
|
||||
<NumericUpDown Text="{Binding SkippedLabel}"
|
||||
<NumericUpDown Text="{x:Static localization:UI.Skipped_sectors_on_error}"
|
||||
Increment="1"
|
||||
Minimum="1"
|
||||
Value="{Binding Skipped}" />
|
||||
<CheckBox IsChecked="{Binding Sidecar}">
|
||||
<TextBlock Text="{Binding SidecarLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Create_Aaru_Metadata_sidecar}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding Trim}">
|
||||
<TextBlock Text="{Binding TrimLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Trim_errors_from_skipped_sectors}" />
|
||||
</CheckBox>
|
||||
<CheckBox IsChecked="{Binding ExistingMetadata}">
|
||||
<TextBlock Text="{Binding ExistingMetadataLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Take_metadata_from_existing_CICM_XML_sidecar}" />
|
||||
</CheckBox>
|
||||
<StackPanel IsVisible="{Binding EncodingVisible}">
|
||||
<TextBox Text="{Binding EncodingLabel}" />
|
||||
<TextBox Text="{x:Static localization:UI.Encoding_to_use_on_metadata_sidecar_creation}" />
|
||||
<ComboBox ItemsSource="{Binding Encodings}"
|
||||
SelectedItem="{Binding SelectedEncoding}"
|
||||
IsEnabled="{Binding EncodingEnabled}">
|
||||
@@ -116,9 +117,10 @@
|
||||
<StackPanel Orientation="Vertical"
|
||||
IsVisible="{Binding ProgressVisible}">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding DestinationLabel}" /> <TextBlock Text="{Binding Destination}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Writing_image_to}" />
|
||||
<TextBlock Text="{Binding Destination}" />
|
||||
</StackPanel>
|
||||
<TextBlock Text="{Binding LogLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Log}" />
|
||||
<TextBox Text="{Binding Log}"
|
||||
IsReadOnly="True" />
|
||||
<StackPanel Orientation="Vertical"
|
||||
@@ -139,16 +141,16 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsVisible="{Binding StopVisible}"
|
||||
IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -108,16 +109,16 @@
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<Button Command="{Binding StartCommand}"
|
||||
IsVisible="{Binding StartVisible}">
|
||||
<TextBlock Text="{Binding StartLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Start}" />
|
||||
</Button>
|
||||
<Button Command="{Binding CloseCommand}"
|
||||
IsVisible="{Binding CloseVisible}">
|
||||
<TextBlock Text="{Binding CloseLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Close}" />
|
||||
</Button>
|
||||
<Button Command="{Binding StopCommand}"
|
||||
IsVisible="{Binding StopVisible}"
|
||||
IsEnabled="{Binding StopEnabled}">
|
||||
<TextBlock Text="{Binding StopLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.ButtonLabel_Stop}" />
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:windows="clr-namespace:Aaru.Gui.ViewModels.Windows"
|
||||
xmlns:localization="clr-namespace:Aaru.Localization;assembly=Aaru.Localization"
|
||||
mc:Ignorable="d"
|
||||
d:DesignWidth="800"
|
||||
d:DesignHeight="450"
|
||||
@@ -50,12 +51,12 @@
|
||||
</Design.DataContext>
|
||||
<StackPanel Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock Text="{Binding SectorLabel}" /> <NumericUpDown Value="{Binding SectorNumber}" />
|
||||
<TextBlock Text="{Binding TotalSectorsText}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Title_Sector}" />
|
||||
<NumericUpDown Value="{Binding SectorNumber}" /> <TextBlock Text="{Binding TotalSectorsText}" />
|
||||
</StackPanel>
|
||||
<CheckBox IsChecked="{Binding LongSectorChecked}"
|
||||
IsVisible="{Binding LongSectorVisible}">
|
||||
<TextBlock Text="{Binding LongSectorLabel}" />
|
||||
<TextBlock Text="{x:Static localization:UI.Show_long_sector}" />
|
||||
</CheckBox>
|
||||
<TextBox IsReadOnly="True"
|
||||
Text="{Binding PrintHexText}" />
|
||||
|
||||
6
Aaru.Localization/UI.Designer.cs
generated
6
Aaru.Localization/UI.Designer.cs
generated
@@ -6219,5 +6219,11 @@ namespace Aaru.Localization {
|
||||
return ResourceManager.GetString("Converting_tag_1_for_overflow_sector_0", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string SSC_Label {
|
||||
get {
|
||||
return ResourceManager.GetString("SSC_Label", resourceCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3110,4 +3110,7 @@ Probadores:
|
||||
<data name="Error_0_writing_overflow_sector_1_not_continuing" xml:space="preserve">
|
||||
<value>[red]Error [orange3]{0}[/] escribiendo sector de sobrecarga [lime]{1}[/], no se continuará...[/]</value>
|
||||
</data>
|
||||
<data name="SSC_Label" xml:space="preserve">
|
||||
<value>SSC</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -3186,4 +3186,7 @@ Do you want to continue?</value>
|
||||
<data name="Converting_tag_1_for_overflow_sector_0" xml:space="preserve">
|
||||
<value>[slateblue1]Converting tag [orange3]{1}[/] for overflow sector [lime]{0}[/][/]</value>
|
||||
</data>
|
||||
<data name="SSC_Label" xml:space="preserve">
|
||||
<value>SSC</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user