mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-04-06 14:05:08 +00:00
Add lead-in and lead-out to
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// /***************************************************************************
|
||||
// /***************************************************************************
|
||||
// Aaru Data Preservation Suite
|
||||
// ----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -105,6 +105,11 @@ public static class ImageInfo
|
||||
imageFormat.Info.SectorSize,
|
||||
ByteSize.FromBytes(imageFormat.Info.Sectors * imageFormat.Info.SectorSize).Humanize());
|
||||
|
||||
if(imageFormat.Info.NegativeSectors > 0 || imageFormat.Info.OverflowSectors > 0)
|
||||
AaruLogging.WriteLine(Localization.Core.Image_has_0_leadin_and_1_leadout_sectors_WithMarkup,
|
||||
imageFormat.Info.NegativeSectors,
|
||||
imageFormat.Info.OverflowSectors);
|
||||
|
||||
if(!string.IsNullOrWhiteSpace(imageFormat.Info.Creator))
|
||||
AaruLogging.WriteLine(Localization.Core.Created_by_0_WithMarkup, Markup.Escape(imageFormat.Info.Creator));
|
||||
|
||||
|
||||
6
Aaru.Localization/Core.Designer.cs
generated
6
Aaru.Localization/Core.Designer.cs
generated
@@ -1022,6 +1022,12 @@ namespace Aaru.Localization {
|
||||
return ResourceManager.GetString("Contains_a_media_of_0_sectors_with_a_maximum_sector_size_of_1_bytes_etc", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Image_has_0_leadin_and_1_leadout_sectors_WithMarkup {
|
||||
get {
|
||||
return ResourceManager.GetString("Image_has_0_leadin_and_1_leadout_sectors_WithMarkup", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Contains_a_media_of_type_0_and_XML_type_1 {
|
||||
get {
|
||||
|
||||
@@ -517,6 +517,9 @@
|
||||
</data>
|
||||
<data name="Contains_a_media_of_0_sectors_with_a_maximum_sector_size_of_1_bytes_etc" xml:space="preserve">
|
||||
<value>[slateblue1]Contains a media of [lime]{0}[/] sectors with a maximum sector size of [teal]{1}[/] bytes (if all sectors are of the same size this would be [aqua]{2}[/])[/]</value>
|
||||
</data>
|
||||
<data name="Image_has_0_leadin_and_1_leadout_sectors_WithMarkup" xml:space="preserve">
|
||||
<value>[slateblue1]Has [lime]{0}[/] lead-in sectors and (up to) [lime]{1}[/] lead-out sectors.[/]</value>
|
||||
</data>
|
||||
<data name="Contains_a_media_of_type_0_and_XML_type_1" xml:space="preserve">
|
||||
<value>Contains a media of type {0} and XML type {1}</value>
|
||||
|
||||
Reference in New Issue
Block a user