diff --git a/Aaru.Partitions/Aaru.Partitions.csproj b/Aaru.Partitions/Aaru.Partitions.csproj index e11134157..0c8b5cf8a 100644 --- a/Aaru.Partitions/Aaru.Partitions.csproj +++ b/Aaru.Partitions/Aaru.Partitions.csproj @@ -46,6 +46,12 @@ + + + True + True + Localization.resx + @@ -78,6 +84,10 @@ LICENSE.LGPL + + ResXFileCodeGenerator + Localization.Designer.cs + diff --git a/Aaru.Partitions/Aaru.Partitions.csproj.DotSettings b/Aaru.Partitions/Aaru.Partitions.csproj.DotSettings new file mode 100644 index 000000000..29151f92c --- /dev/null +++ b/Aaru.Partitions/Aaru.Partitions.csproj.DotSettings @@ -0,0 +1,5 @@ + + True \ No newline at end of file diff --git a/Aaru.Partitions/Acorn.cs b/Aaru.Partitions/Acorn.cs index 1d283086b..1d4c789db 100644 --- a/Aaru.Partitions/Acorn.cs +++ b/Aaru.Partitions/Acorn.cs @@ -56,11 +56,11 @@ public sealed class Acorn : IPartition const uint TYPE_MASK = 15; /// - public string Name => "Acorn FileCore partitions"; + public string Name => Localization.Acorn_Name; /// public Guid Id => new("A7C8FEBE-8D00-4933-B9F3-42184C8BA808"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/AppleMap.cs b/Aaru.Partitions/AppleMap.cs index 13d180567..83365a777 100644 --- a/Aaru.Partitions/AppleMap.cs +++ b/Aaru.Partitions/AppleMap.cs @@ -61,11 +61,11 @@ public sealed class AppleMap : IPartition const uint HFS_MAGIC_OLD = 0x54465331; /// - public string Name => "Apple Partition Map"; + public string Name => Localization.AppleMap_Name; /// public Guid Id => new("36405F8D-4F1A-07F5-209C-223D735D6D22"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -223,7 +223,7 @@ public sealed class AppleMap : IPartition // Check for a partition entry that's 512-byte aligned if(entry.signature == APM_MAGIC) { - AaruConsole.DebugWriteLine("AppleMap Plugin", "Found misaligned entry."); + AaruConsole.DebugWriteLine("AppleMap Plugin", Localization.Found_misaligned_entry); entrySize = 512; entryCount = entry.entries; skipDdm = 512; @@ -235,7 +235,7 @@ public sealed class AppleMap : IPartition if(entry.signature == APM_MAGIC) { - AaruConsole.DebugWriteLine("AppleMap Plugin", "Found aligned entry."); + AaruConsole.DebugWriteLine("AppleMap Plugin", Localization.Found_aligned_entry); entrySize = sectorSize; entryCount = entry.entries; skipDdm = sectorSize; @@ -251,7 +251,7 @@ public sealed class AppleMap : IPartition if(entry.signature == APM_MAGIC) { - AaruConsole.DebugWriteLine("AppleMap Plugin", "Found aligned entry."); + AaruConsole.DebugWriteLine("AppleMap Plugin", Localization.Found_aligned_entry); entrySize = sectorSize; entryCount = entry.entries; skipDdm = sectorSize; @@ -342,38 +342,39 @@ public sealed class AppleMap : IPartition Scheme = Name }; - sb.AppendLine("Partition flags:"); + sb.AppendLine(Localization.Partition_flags); if(flags.HasFlag(AppleMapFlags.Valid)) - sb.AppendLine("Partition is valid."); + sb.AppendLine(Localization.Partition_is_valid); if(flags.HasFlag(AppleMapFlags.Allocated)) - sb.AppendLine("Partition entry is allocated."); + sb.AppendLine(Localization.Partition_entry_is_allocated); if(flags.HasFlag(AppleMapFlags.InUse)) - sb.AppendLine("Partition is in use."); + sb.AppendLine(Localization.Partition_is_in_use); if(flags.HasFlag(AppleMapFlags.Bootable)) - sb.AppendLine("Partition is bootable."); + sb.AppendLine(Localization.Partition_is_bootable); if(flags.HasFlag(AppleMapFlags.Readable)) - sb.AppendLine("Partition is readable."); + sb.AppendLine(Localization.Partition_is_readable); if(flags.HasFlag(AppleMapFlags.Writable)) - sb.AppendLine("Partition is writable."); + sb.AppendLine(Localization.Partition_is_writable); if(flags.HasFlag(AppleMapFlags.Bootable)) { - sb.AppendFormat("First boot sector: {0}", entry.first_boot_block * entrySize / sectorSize).AppendLine(); + sb.AppendFormat(Localization.First_boot_sector_0, entry.first_boot_block * entrySize / sectorSize). + AppendLine(); - sb.AppendFormat("Boot is {0} bytes.", entry.boot_size).AppendLine(); - sb.AppendFormat("Boot load address: 0x{0:X8}", entry.load_address).AppendLine(); - sb.AppendFormat("Boot entry point: 0x{0:X8}", entry.entry_point).AppendLine(); - sb.AppendFormat("Boot code checksum: 0x{0:X8}", entry.checksum).AppendLine(); - sb.AppendFormat("Processor: {0}", StringHandlers.CToString(entry.processor)).AppendLine(); + sb.AppendFormat(Localization.Boot_is_0_bytes, entry.boot_size).AppendLine(); + sb.AppendFormat(Localization.Boot_load_address_0_X8, entry.load_address).AppendLine(); + sb.AppendFormat(Localization.Boot_entry_point_0_X8, entry.entry_point).AppendLine(); + sb.AppendFormat(Localization.Boot_code_checksum_0_X8, entry.checksum).AppendLine(); + sb.AppendFormat(Localization.Processor_0, StringHandlers.CToString(entry.processor)).AppendLine(); if(flags.HasFlag(AppleMapFlags.PicCode)) - sb.AppendLine("Partition's boot code is position independent."); + sb.AppendLine(Localization.Partition_boot_code_is_position_independent); } partition.Description = sb.ToString(); @@ -388,7 +389,7 @@ public sealed class AppleMap : IPartition // Some CD and DVDs end with an Apple_Free that expands beyond the disc size... else if(partition.Start < imagePlugin.Info.Sectors) { - AaruConsole.DebugWriteLine("AppleMap Plugin", "Cutting last partition end ({0}) to media size ({1})", + AaruConsole.DebugWriteLine("AppleMap Plugin", Localization.Cutting_last_partition_end_0_to_media_size_1, partition.End, imagePlugin.Info.Sectors - 1); partition.Length = imagePlugin.Info.Sectors - partition.Start; @@ -397,7 +398,7 @@ public sealed class AppleMap : IPartition } else AaruConsole.DebugWriteLine("AppleMap Plugin", - "Not adding partition because start ({0}) is outside media size ({1})", + Localization.Not_adding_partition_because_start_0_is_outside_media_size_1, partition.Start, imagePlugin.Info.Sectors - 1); } diff --git a/Aaru.Partitions/Apricot.cs b/Aaru.Partitions/Apricot.cs index 2d45e58c1..29087c49a 100644 --- a/Aaru.Partitions/Apricot.cs +++ b/Aaru.Partitions/Apricot.cs @@ -52,12 +52,12 @@ public sealed class Apricot : IPartition }; readonly string[] _bootTypeCodes = { - "Non-bootable", "Apricot & XI RAM BIOS", "Generic ROM BIOS", "Apricot & XI ROM BIOS", - "Apricot Portable ROM BIOS", "Apricot F1 ROM BIOS" + Localization.Non_bootable, Localization.Apricot_XI_RAM_BIOS, Localization.Generic_ROM_BIOS, + Localization.Apricot_XI_ROM_BIOS, Localization.Apricot_Portable_ROM_BIOS, Localization.Apricot_F1_ROM_BIOS }; readonly string[] _diskTypeCodes = { - "MF1DD 70-track", "MF1DD", "MF2DD", "Winchester 5M", "Winchester 10M", "Winchester 20M" + Localization.MF1DD_70_track, "MF1DD", "MF2DD", "Winchester 5M", "Winchester 10M", "Winchester 20M" }; readonly int[] _lineModes = { @@ -69,15 +69,16 @@ public sealed class Apricot : IPartition }; readonly string[] _operatingSystemCodes = { - "Invalid", "MS-DOS", "UCSD Pascal", "CP/M", "Concurrent CP/M" + Localization.Invalid_operating_system, "MS-DOS", "UCSD Pascal", Localization.CPM, "Concurrent CP/M" }; readonly string[] _parityTypes = { - "None", "Odd", "Even", "Mark", "Space" + Localization.None_parity, Localization.Odd_parity, Localization.Even_parity, Localization.Mark_parity, + Localization.Space_parity }; readonly string[] _printDevices = { - "Parallel", "Serial" + Localization.Parallel_print_device, Localization.Serial_print_device }; readonly double[] _stopBits = { @@ -85,11 +86,11 @@ public sealed class Apricot : IPartition }; /// - public string Name => "ACT Apricot partitions"; + public string Name => Localization.Apricot_Name; /// public Guid Id => new("8CBF5864-7B5A-47A0-8CEB-199C74FA22DE"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -124,13 +125,15 @@ public sealed class Apricot : IPartition AaruConsole.DebugWriteLine("Apricot partitions", "label.operatingSystem = {0} ({1})", label.operatingSystem, label.operatingSystem < _operatingSystemCodes.Length - ? _operatingSystemCodes[label.operatingSystem] : "Unknown"); + ? _operatingSystemCodes[label.operatingSystem] + : Localization.Unknown_operating_system); AaruConsole.DebugWriteLine("Apricot partitions", "label.writeProtected = {0}", label.writeProtected); AaruConsole.DebugWriteLine("Apricot partitions", "label.copyProtected = {0}", label.copyProtected); AaruConsole.DebugWriteLine("Apricot partitions", "label.bootType = {0} ({1})", label.bootType, - label.bootType < _bootTypeCodes.Length ? _bootTypeCodes[label.bootType] : "Unknown"); + label.bootType < _bootTypeCodes.Length ? _bootTypeCodes[label.bootType] + : Localization.Unknown_boot_type); AaruConsole.DebugWriteLine("Apricot partitions", "label.partitionCount = {0}", label.partitionCount); AaruConsole.DebugWriteLine("Apricot partitions", "label.winchester = {0}", label.winchester); @@ -172,7 +175,7 @@ public sealed class Apricot : IPartition AaruConsole.DebugWriteLine("Apricot partitions", "label.mainBPB.diskType = {0} ({1})", label.mainBPB.diskType, label.mainBPB.diskType < _diskTypeCodes.Length - ? _diskTypeCodes[label.mainBPB.diskType] : "Unknown"); + ? _diskTypeCodes[label.mainBPB.diskType] : Localization.Unknown_disk_type); AaruConsole.DebugWriteLine("Apricot partitions", "label.mainBPB.startSector = {0}", label.mainBPB.startSector); @@ -187,7 +190,8 @@ public sealed class Apricot : IPartition AaruConsole.DebugWriteLine("Apricot partitions", "label.diagnosticsFlag = {0}", label.diagnosticsFlag); AaruConsole.DebugWriteLine("Apricot partitions", "label.prnDevice = {0} ({1})", label.prnDevice, - label.prnDevice < _printDevices.Length ? _printDevices[label.prnDevice] : "Unknown"); + label.prnDevice < _printDevices.Length ? _printDevices[label.prnDevice] + : Localization.Unknown_print_device); AaruConsole.DebugWriteLine("Apricot partitions", "label.bellVolume = {0}", label.bellVolume); AaruConsole.DebugWriteLine("Apricot partitions", "label.enableCache = {0}", label.enableCache); @@ -235,7 +239,8 @@ public sealed class Apricot : IPartition AaruConsole.DebugWriteLine("Apricot partitions", "label.parityCheck = {0}", label.parityCheck); AaruConsole.DebugWriteLine("Apricot partitions", "label.parityType = {0} ({1})", label.parityType, - label.parityType < _parityTypes.Length ? _parityTypes[label.parityType] : "Unknown"); + label.parityType < _parityTypes.Length ? _parityTypes[label.parityType] + : Localization.Unknown_parity_type); AaruConsole.DebugWriteLine("Apricot partitions", "label.txXonXoff = {0}", label.txXonXoff); AaruConsole.DebugWriteLine("Apricot partitions", "label.rxXonXoff = {0}", label.rxXonXoff); @@ -306,7 +311,8 @@ public sealed class Apricot : IPartition AaruConsole.DebugWriteLine("Apricot partitions", "label.partitions[{1}].diskType = {0} ({2})", label.partitions[i].diskType, i, label.partitions[i].diskType < _diskTypeCodes.Length - ? _diskTypeCodes[label.partitions[i].diskType] : "Unknown"); + ? _diskTypeCodes[label.partitions[i].diskType] + : Localization.Unknown_disk_type); AaruConsole.DebugWriteLine("Apricot partitions", "label.partitions[{1}].startSector = {0}", label.partitions[i].startSector, i); diff --git a/Aaru.Partitions/Atari.cs b/Aaru.Partitions/Atari.cs index ea7d2a72d..6b4df7c77 100644 --- a/Aaru.Partitions/Atari.cs +++ b/Aaru.Partitions/Atari.cs @@ -61,11 +61,11 @@ public sealed class AtariPartitions : IPartition const uint TYPE_MINIX2 = 0x004D4E58; /// - public string Name => "Atari partitions"; + public string Name => Localization.AtariPartitions_Name; /// public Guid Id => new("d1dd0f24-ec39-4c4d-9072-be31919a3b5e"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -112,7 +112,7 @@ public sealed class AtariPartitions : IPartition var sha1Ctx = new Sha1Context(); sha1Ctx.Update(table.Boot); - AaruConsole.DebugWriteLine("Atari partition plugin", "Boot code SHA1: {0}", sha1Ctx.End()); + AaruConsole.DebugWriteLine("Atari partition plugin", Localization.Boot_code_SHA1_0, sha1Ctx.End()); for(int i = 0; i < 8; i++) { @@ -176,7 +176,7 @@ public sealed class AtariPartitions : IPartition { if(table.Entries[i].Start + table.Entries[i].Length > imagePlugin.Info.Sectors) AaruConsole.DebugWriteLine("Atari partition plugin", - "WARNING: End of partition goes beyond device size"); + Localization.WARNING_End_of_partition_goes_beyond_device_size); ulong sectorSize = imagePlugin.Info.SectorSize; @@ -203,48 +203,48 @@ public sealed class AtariPartitions : IPartition switch(type) { case TYPE_GEMDOS: - part.Description = "Atari GEMDOS partition"; + part.Description = Localization.Atari_GEMDOS_partition; break; case TYPE_BIG_GEMDOS: - part.Description = "Atari GEMDOS partition bigger than 32 MiB"; + part.Description = Localization.Atari_GEMDOS_partition_bigger_than_32_MiB; break; case TYPE_LINUX: - part.Description = "Linux partition"; + part.Description = Localization.Linux_partition; break; case TYPE_SWAP: - part.Description = "Swap partition"; + part.Description = Localization.Swap_partition; break; case TYPE_RAW: - part.Description = "RAW partition"; + part.Description = Localization.RAW_partition; break; case TYPE_NETBSD: - part.Description = "NetBSD partition"; + part.Description = Localization.NetBSD_partition; break; case TYPE_NETBSD_SWAP: - part.Description = "NetBSD swap partition"; + part.Description = Localization.NetBSD_swap_partition; break; case TYPE_SYSTEM_V: - part.Description = "Atari UNIX partition"; + part.Description = Localization.Atari_UNIX_partition; break; case TYPE_MAC: - part.Description = "Macintosh partition"; + part.Description = Localization.Macintosh_partition; break; case TYPE_MINIX: case TYPE_MINIX2: - part.Description = "MINIX partition"; + part.Description = Localization.MINIX_partition; break; default: - part.Description = "Unknown partition type"; + part.Description = Localization.Unknown_partition_type; break; } @@ -301,7 +301,7 @@ public sealed class AtariPartitions : IPartition if(extendedTable.Entries[j].Start + extendedTable.Entries[j].Length > imagePlugin.Info.Sectors) AaruConsole.DebugWriteLine("Atari partition plugin", - "WARNING: End of partition goes beyond device size"); + Localization.WARNING_End_of_partition_goes_beyond_device_size); ulong sectorSize = imagePlugin.Info.SectorSize; @@ -328,48 +328,48 @@ public sealed class AtariPartitions : IPartition switch(extendedType) { case TYPE_GEMDOS: - part.Description = "Atari GEMDOS partition"; + part.Description = Localization.Atari_GEMDOS_partition; break; case TYPE_BIG_GEMDOS: - part.Description = "Atari GEMDOS partition bigger than 32 MiB"; + part.Description = Localization.Atari_GEMDOS_partition_bigger_than_32_MiB; break; case TYPE_LINUX: - part.Description = "Linux partition"; + part.Description = Localization.Linux_partition; break; case TYPE_SWAP: - part.Description = "Swap partition"; + part.Description = Localization.Swap_partition; break; case TYPE_RAW: - part.Description = "RAW partition"; + part.Description = Localization.RAW_partition; break; case TYPE_NETBSD: - part.Description = "NetBSD partition"; + part.Description = Localization.NetBSD_partition; break; case TYPE_NETBSD_SWAP: - part.Description = "NetBSD swap partition"; + part.Description = Localization.NetBSD_swap_partition; break; case TYPE_SYSTEM_V: - part.Description = "Atari UNIX partition"; + part.Description = Localization.Atari_UNIX_partition; break; case TYPE_MAC: - part.Description = "Macintosh partition"; + part.Description = Localization.Macintosh_partition; break; case TYPE_MINIX: case TYPE_MINIX2: - part.Description = "MINIX partition"; + part.Description = Localization.MINIX_partition; break; default: - part.Description = "Unknown partition type"; + part.Description = Localization.Unknown_partition_type; break; } @@ -407,7 +407,7 @@ public sealed class AtariPartitions : IPartition if(table.IcdEntries[i].Start + table.IcdEntries[i].Length > imagePlugin.Info.Sectors) AaruConsole.DebugWriteLine("Atari partition plugin", - "WARNING: End of partition goes beyond device size"); + Localization.WARNING_End_of_partition_goes_beyond_device_size); ulong sectorSize = imagePlugin.Info.SectorSize; @@ -434,48 +434,48 @@ public sealed class AtariPartitions : IPartition switch(type) { case TYPE_GEMDOS: - part.Description = "Atari GEMDOS partition"; + part.Description = Localization.Atari_GEMDOS_partition; break; case TYPE_BIG_GEMDOS: - part.Description = "Atari GEMDOS partition bigger than 32 MiB"; + part.Description = Localization.Atari_GEMDOS_partition_bigger_than_32_MiB; break; case TYPE_LINUX: - part.Description = "Linux partition"; + part.Description = Localization.Linux_partition; break; case TYPE_SWAP: - part.Description = "Swap partition"; + part.Description = Localization.Swap_partition; break; case TYPE_RAW: - part.Description = "RAW partition"; + part.Description = Localization.RAW_partition; break; case TYPE_NETBSD: - part.Description = "NetBSD partition"; + part.Description = Localization.NetBSD_partition; break; case TYPE_NETBSD_SWAP: - part.Description = "NetBSD swap partition"; + part.Description = Localization.NetBSD_swap_partition; break; case TYPE_SYSTEM_V: - part.Description = "Atari UNIX partition"; + part.Description = Localization.Atari_UNIX_partition; break; case TYPE_MAC: - part.Description = "Macintosh partition"; + part.Description = Localization.Macintosh_partition; break; case TYPE_MINIX: case TYPE_MINIX2: - part.Description = "MINIX partition"; + part.Description = Localization.MINIX_partition; break; default: - part.Description = "Unknown partition type"; + part.Description = Localization.Unknown_partition_type; break; } diff --git a/Aaru.Partitions/Authors.cs b/Aaru.Partitions/Authors.cs new file mode 100644 index 000000000..7e58bf985 --- /dev/null +++ b/Aaru.Partitions/Authors.cs @@ -0,0 +1,34 @@ +// /*************************************************************************** +// Aaru Data Preservation Suite +// ---------------------------------------------------------------------------- +// +// Filename : Authors.cs +// Author(s) : Natalia Portillo +// +// Component : Partitioning scheme plugins. +// +// --[ License ] -------------------------------------------------------------- +// +// This library is free software; you can redistribute it and/or modify +// it under the terms of the GNU Lesser General Public License as +// published by the Free Software Foundation; either version 2.1 of the +// License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . +// +// ---------------------------------------------------------------------------- +// Copyright © 2011-2022 Natalia Portillo +// ****************************************************************************/ + +namespace Aaru.Partitions; + +static class Authors +{ + internal const string NataliaPortillo = "Natalia Portillo"; +} \ No newline at end of file diff --git a/Aaru.Partitions/BSD.cs b/Aaru.Partitions/BSD.cs index c8d5215d4..997a8150d 100644 --- a/Aaru.Partitions/BSD.cs +++ b/Aaru.Partitions/BSD.cs @@ -65,11 +65,11 @@ public sealed class BSD : IPartition }; /// - public string Name => "BSD disklabel"; + public string Name => Localization.BSD_Name; /// public Guid Id => new("246A6D93-4F1A-1F8A-344D-50187A5513A9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -104,7 +104,8 @@ public sealed class BSD : IPartition dl = Marshal.ByteArrayToStructureLittleEndian(sector); AaruConsole.DebugWriteLine("BSD plugin", - "dl.magic on sector {0} at offset {1} = 0x{2:X8} (expected 0x{3:X8})", + Localization. + BSD_GetInformation_dl_magic_on_sector_0_at_offset_1_equals_2_X8_expected_3_X8, location + sectorOffset, offset, dl.d_magic, DISK_MAGIC); if((dl.d_magic != DISK_MAGIC || dl.d_magic2 != DISK_MAGIC) && @@ -200,7 +201,7 @@ public sealed class BSD : IPartition } AaruConsole.DebugWriteLine("BSD plugin", "part.start = {0}", part.Start); - AaruConsole.DebugWriteLine("BSD plugin", "Adding it..."); + AaruConsole.DebugWriteLine("BSD plugin", Localization.BSD_GetInformation_Adding_it); partitions.Add(part); counter++; } @@ -212,36 +213,36 @@ public sealed class BSD : IPartition { switch(typ) { - case fsType.Unused: return "Unused entry"; - case fsType.Swap: return "Swap partition"; - case fsType.V6: return "UNIX 6th Edition"; - case fsType.V7: return "UNIX 7th Edition"; - case fsType.SystemV: return "UNIX System V"; - case fsType.V7_1K: return "UNIX 7th Edition with 1K blocks"; - case fsType.V8: return "UNIX 8th Edition with 4K blocks"; - case fsType.BSDFFS: return "4.2BSD Fast File System"; - case fsType.BSDLFS: return "4.4LFS"; - case fsType.HPFS: return "HPFS"; - case fsType.ISO9660: return "ISO9660"; + case fsType.Unused: return Localization.Unused_entry; + case fsType.Swap: return Localization.Swap_partition; + case fsType.V6: return Localization.UNIX_6th_Edition; + case fsType.V7: return Localization.UNIX_7th_Edition; + case fsType.SystemV: return Localization.UNIX_System_V; + case fsType.V7_1K: return Localization.UNIX_7th_Edition_with_1K_blocks; + case fsType.V8: return Localization.UNIX_8th_Edition_with_4K_blocks; + case fsType.BSDFFS: return Localization._4_2_BSD_Fast_File_System; + case fsType.BSDLFS: return Localization._4_4_LFS; + case fsType.HPFS: return Localization.HPFS; + case fsType.ISO9660: return Localization.ISO9660; case fsType.Boot: - case fsType.SysVBoot: return "Boot"; - case fsType.AFFS: return "Amiga FFS"; - case fsType.HFS: return "Apple HFS"; - case fsType.ADVfs: return "Digital Advanced File System"; - case fsType.LSMpublic: return "Digital LSM Public Region"; - case fsType.LSMprivate: return "Digital LSM Private Region"; - case fsType.LSMsimple: return "Digital LSM Simple Disk"; - case fsType.CCD: return "Concatenated disk"; - case fsType.JFS2: return "IBM JFS2"; - case fsType.HAMMER: return "Hammer"; - case fsType.HAMMER2: return "Hammer2"; - case fsType.UDF: return "UDF"; - case fsType.EFS: return "EFS"; - case fsType.ZFS: return "ZFS"; - case fsType.NANDFS: return "FreeBSD nandfs"; - case fsType.MSDOS: return "FAT"; - case fsType.Other: return "Other or unknown"; - default: return "Unknown"; + case fsType.SysVBoot: return Localization.Boot; + case fsType.AFFS: return Localization.Amiga_FFS; + case fsType.HFS: return Localization.Apple_HFS; + case fsType.ADVfs: return Localization.Digital_Advanced_File_System; + case fsType.LSMpublic: return Localization.Digital_LSM_Public_Region; + case fsType.LSMprivate: return Localization.Digital_LSM_Private_Region; + case fsType.LSMsimple: return Localization.Digital_LSM_Simple_Disk; + case fsType.CCD: return Localization.Concatenated_disk; + case fsType.JFS2: return Localization.IBM_JFS2; + case fsType.HAMMER: return Localization.Hammer; + case fsType.HAMMER2: return Localization.Hammer2; + case fsType.UDF: return Localization.UDF; + case fsType.EFS: return Localization.EFS; + case fsType.ZFS: return Localization.ZFS; + case fsType.NANDFS: return Localization.FreeBSD_nandfs; + case fsType.MSDOS: return Localization.FAT; + case fsType.Other: return Localization.Other_or_unknown; + default: return Localization.Unknown_partition_type; } } diff --git a/Aaru.Partitions/DEC.cs b/Aaru.Partitions/DEC.cs index 3251bcd17..34c921abc 100644 --- a/Aaru.Partitions/DEC.cs +++ b/Aaru.Partitions/DEC.cs @@ -48,11 +48,11 @@ public sealed class DEC : IPartition const int PT_VALID = 1; /// - public string Name => "DEC disklabel"; + public string Name => Localization.DEC_Name; /// public Guid Id => new("58CEC3B7-3B93-4D47-86EE-D6DADE9D444F"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/DragonFlyBSD.cs b/Aaru.Partitions/DragonFlyBSD.cs index 63320f110..92d067a40 100644 --- a/Aaru.Partitions/DragonFlyBSD.cs +++ b/Aaru.Partitions/DragonFlyBSD.cs @@ -49,11 +49,11 @@ public sealed class DragonFlyBSD : IPartition const uint DISK_MAGIC64 = 0xC4464C59; /// - public string Name => "DragonFly BSD 64-bit disklabel"; + public string Name => Localization.DragonFlyBSD_Name; /// public Guid Id => new("D49E41A6-D952-4760-9D94-03DAE2450C5F"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/GPT.cs b/Aaru.Partitions/GPT.cs index 7a9a4283c..e91bfd5d0 100644 --- a/Aaru.Partitions/GPT.cs +++ b/Aaru.Partitions/GPT.cs @@ -52,11 +52,11 @@ public sealed class GuidPartitionTable : IPartition const uint GPT_REVISION1 = 0x00010000; /// - public string Name => "GUID Partition Table"; + public string Name => Localization.GuidPartitionTable_Name; /// public Guid Id => new("CBC9D281-C1D0-44E8-9038-4D66FD2678AB"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -91,7 +91,7 @@ public sealed class GuidPartitionTable : IPartition if(signature == GPT_MAGIC) { - AaruConsole.DebugWriteLine("GPT Plugin", "Found unaligned signature", signature); + AaruConsole.DebugWriteLine("GPT Plugin", Localization.Found_unaligned_signature, signature); byte[] real = new byte[512]; Array.Copy(hdrBytes, 512, real, 0, 512); hdrBytes = real; @@ -222,105 +222,105 @@ public sealed class GuidPartitionTable : IPartition switch(strType) { - case "024DEE41-33E7-11D3-9D69-0008C781F39F": return "MBR scheme"; - case "C12A7328-F81F-11D2-BA4B-00A0C93EC93B": return "EFI System"; - case "21686148-6449-6E6F-744E-656564454649": return "BIOS Boot"; - case "D3BFE2DE-3DAF-11DF-BA40-E3A556D89593": return "Intel Fast Flash (iFFS)"; - case "F4019732-066E-4E12-8273-346C5641494F": return "Sony boot"; - case "BFBFAFE7-A34F-448A-9A5B-6213EB736C22": return "Lenovo boot"; - case "E3C9E316-0B5C-4DB8-817D-F92DF00215AE": return "Microsoft Reserved (MSR)"; - case "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7": return "Microsoft Basic data"; - case "5808C8AA-7E8F-42E0-85D2-E1E90434CFB3": return "Logical Disk Manager (LDM) metadata"; - case "AF9B60A0-1431-4F62-BC68-3311714A69AD": return "Logical Disk Manager data"; - case "DE94BBA4-06D1-4D40-A16A-BFD50179D6AC": return "Windows Recovery Environment"; - case "37AFFC90-EF7D-4E96-91C3-2D7AE055B174": return "IBM General Parallel File System (GPFS)"; - case "E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D": return "Windows Storage Spaces"; - case "75894C1E-3AEB-11D3-B7C1-7B03A0000000": return "HP-UX Data"; - case "E2A1E728-32E3-11D6-A682-7B03A0000000": return "HP-UX Service"; - case "0FC63DAF-8483-4772-8E79-3D69D8477DE4": return "Linux filesystem"; - case "A19D880F-05FC-4D3B-A006-743F0F84911E": return "Linux RAID"; - case "44479540-F297-41B2-9AF7-D131D5F0458A": return "Linux Root (x86)"; - case "4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709": return "Linux Root (x86-64)"; - case "69DAD710-2CE4-4E3C-B16C-21A1D49ABED3": return "Linux Root (32-bit ARM)"; - case "B921B045-1DF0-41C3-AF44-4C6F280D3FAE": return "Linux Root (64-bit ARM/AArch64)"; - case "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F": return "Linux Swap"; - case "E6D6D379-F507-44C2-A23C-238F2A3DF928": return "Logical Volume Manager (LVM)"; - case "933AC7E1-2EB4-4F13-B844-0E14E2AEF915": return "Linux /home"; - case "3B8F8425-20E0-4F3B-907F-1A25A76F98E8": return "Linux /srv"; - case "7FFEC5C9-2D00-49B7-8941-3EA10A5586B7": return "Plain dm-crypt"; - case "CA7D7CCB-63ED-4C53-861C-1742536059CC": return "LUKS"; - case "8DA63339-0007-60C0-C436-083AC8230908": return "Linux Reserved"; - case "83BD6B9D-7F41-11DC-BE0B-001560B84F0F": return "FreeBSD Boot"; - case "516E7CB4-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD Data"; - case "516E7CB5-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD Swap"; - case "516E7CB6-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD UFS"; - case "516E7CB7-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD UFS2"; - case "516E7CB8-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD Vinum"; - case "516E7CBA-6ECF-11D6-8FF8-00022D09712B": return "FreeBSD ZFS"; - case "74BA7DD9-A689-11E1-BD04-00E081286ACF": return "FreeBSD nandfs"; - case "48465300-0000-11AA-AA11-00306543ECAC": return "Apple HFS"; - case "55465300-0000-11AA-AA11-00306543ECAC": return "Apple UFS"; - case "52414944-0000-11AA-AA11-00306543ECAC": return "Apple RAID"; - case "52414944-5F4F-11AA-AA11-00306543ECAC": return "Apple RAID, offline"; - case "426F6F74-0000-11AA-AA11-00306543ECAC": return "Apple Boot"; - case "4C616265-6C00-11AA-AA11-00306543ECAC": return "Apple Label"; - case "5265636F-7665-11AA-AA11-00306543ECAC": return "Apple TV Recovery"; - case "53746F72-6167-11AA-AA11-00306543ECAC": return "Apple Core Storage"; - case "6A82CB45-1DD2-11B2-99A6-080020736631": return "Solaris Boot"; - case "6A85CF4D-1DD2-11B2-99A6-080020736631": return "Solaris Root"; - case "6A87C46F-1DD2-11B2-99A6-080020736631": return "Solaris Swap"; - case "6A8B642B-1DD2-11B2-99A6-080020736631": return "Solaris Backup"; - case "6A898CC3-1DD2-11B2-99A6-080020736631": return "Solaris /usr or Apple ZFS"; - case "6A8EF2E9-1DD2-11B2-99A6-080020736631": return "Solaris /var"; - case "6A90BA39-1DD2-11B2-99A6-080020736631": return "Solaris /home"; - case "6A9283A5-1DD2-11B2-99A6-080020736631": return "Solaris Alternate sector"; + case "024DEE41-33E7-11D3-9D69-0008C781F39F": return Localization.MBR_scheme; + case "C12A7328-F81F-11D2-BA4B-00A0C93EC93B": return Localization.EFI_System; + case "21686148-6449-6E6F-744E-656564454649": return Localization.BIOS_Boot; + case "D3BFE2DE-3DAF-11DF-BA40-E3A556D89593": return Localization.Intel_Fast_Flash_iFFS; + case "F4019732-066E-4E12-8273-346C5641494F": return Localization.Sony_boot; + case "BFBFAFE7-A34F-448A-9A5B-6213EB736C22": return Localization.Lenovo_boot; + case "E3C9E316-0B5C-4DB8-817D-F92DF00215AE": return Localization.Microsoft_Reserved_MSR; + case "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7": return Localization.Microsoft_Basic_data; + case "5808C8AA-7E8F-42E0-85D2-E1E90434CFB3": return Localization.Logical_Disk_Manager_LDM_metadata; + case "AF9B60A0-1431-4F62-BC68-3311714A69AD": return Localization.Logical_Disk_Manager_data; + case "DE94BBA4-06D1-4D40-A16A-BFD50179D6AC": return Localization.Windows_Recovery_Environment; + case "37AFFC90-EF7D-4E96-91C3-2D7AE055B174": return Localization.IBM_General_Parallel_File_System_GPFS; + case "E75CAF8F-F680-4CEE-AFA3-B001E56EFC2D": return Localization.Windows_Storage_Spaces; + case "75894C1E-3AEB-11D3-B7C1-7B03A0000000": return Localization.HP_UX_Data; + case "E2A1E728-32E3-11D6-A682-7B03A0000000": return Localization.HP_UX_Service; + case "0FC63DAF-8483-4772-8E79-3D69D8477DE4": return Localization.Linux_filesystem; + case "A19D880F-05FC-4D3B-A006-743F0F84911E": return Localization.Linux_RAID; + case "44479540-F297-41B2-9AF7-D131D5F0458A": return Localization.Linux_Root_x86; + case "4F68BCE3-E8CD-4DB1-96E7-FBCAF984B709": return Localization.Linux_Root_x86_64; + case "69DAD710-2CE4-4E3C-B16C-21A1D49ABED3": return Localization.Linux_Root_32_bit_ARM; + case "B921B045-1DF0-41C3-AF44-4C6F280D3FAE": return Localization.Linux_Root_AArch64; + case "0657FD6D-A4AB-43C4-84E5-0933C84B4F4F": return Localization.Linux_swap; + case "E6D6D379-F507-44C2-A23C-238F2A3DF928": return Localization.Logical_Volume_Manager_LVM; + case "933AC7E1-2EB4-4F13-B844-0E14E2AEF915": return Localization.Linux_home; + case "3B8F8425-20E0-4F3B-907F-1A25A76F98E8": return Localization.Linux_srv; + case "7FFEC5C9-2D00-49B7-8941-3EA10A5586B7": return Localization.Plain_dm_crypt; + case "CA7D7CCB-63ED-4C53-861C-1742536059CC": return Localization.LUKS; + case "8DA63339-0007-60C0-C436-083AC8230908": return Localization.Linux_Reserved; + case "83BD6B9D-7F41-11DC-BE0B-001560B84F0F": return Localization.FreeBSD_Boot; + case "516E7CB4-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_Data; + case "516E7CB5-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_swap; + case "516E7CB6-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_UFS; + case "516E7CB7-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_UFS2; + case "516E7CB8-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_Vinum; + case "516E7CBA-6ECF-11D6-8FF8-00022D09712B": return Localization.FreeBSD_ZFS; + case "74BA7DD9-A689-11E1-BD04-00E081286ACF": return Localization.FreeBSD_nandfs; + case "48465300-0000-11AA-AA11-00306543ECAC": return Localization.Apple_HFS; + case "55465300-0000-11AA-AA11-00306543ECAC": return Localization.Apple_UFS; + case "52414944-0000-11AA-AA11-00306543ECAC": return Localization.Apple_RAID; + case "52414944-5F4F-11AA-AA11-00306543ECAC": return Localization.Apple_RAID_offline; + case "426F6F74-0000-11AA-AA11-00306543ECAC": return Localization.Apple_Boot; + case "4C616265-6C00-11AA-AA11-00306543ECAC": return Localization.Apple_Label; + case "5265636F-7665-11AA-AA11-00306543ECAC": return Localization.Apple_TV_Recovery; + case "53746F72-6167-11AA-AA11-00306543ECAC": return Localization.Apple_Core_Storage; + case "6A82CB45-1DD2-11B2-99A6-080020736631": return Localization.Solaris_boot; + case "6A85CF4D-1DD2-11B2-99A6-080020736631": return Localization.Solaris_Root; + case "6A87C46F-1DD2-11B2-99A6-080020736631": return Localization.Solaris_Swap; + case "6A8B642B-1DD2-11B2-99A6-080020736631": return Localization.Solaris_Backup; + case "6A898CC3-1DD2-11B2-99A6-080020736631": return Localization.Solaris_usr_or_Apple_ZFS; + case "6A8EF2E9-1DD2-11B2-99A6-080020736631": return Localization.Solaris_var; + case "6A90BA39-1DD2-11B2-99A6-080020736631": return Localization.Solaris_home; + case "6A9283A5-1DD2-11B2-99A6-080020736631": return Localization.Solaris_Alternate_sector; case "6A945A3B-1DD2-11B2-99A6-080020736631": case "6A9630D1-1DD2-11B2-99A6-080020736631": case "6A980767-1DD2-11B2-99A6-080020736631": case "6A96237F-1DD2-11B2-99A6-080020736631": - case "6A8D2AC7-1DD2-11B2-99A6-080020736631": return "Solaris Reserved"; - case "49F48D32-B10E-11DC-B99B-0019D1879648": return "NetBSD Swap"; - case "49F48D5A-B10E-11DC-B99B-0019D1879648": return "NetBSD FFS"; - case "49F48D82-B10E-11DC-B99B-0019D1879648": return "NetBSD LFS"; - case "49F48DAA-B10E-11DC-B99B-0019D1879648": return "NetBSD RAID"; - case "2DB519C4-B10F-11DC-B99B-0019D1879648": return "NetBSD Concatenated"; - case "2DB519EC-B10F-11DC-B99B-0019D1879648": return "NetBSD Encrypted"; - case "FE3A2A5D-4F32-41A7-B725-ACCC3285A309": return "ChromeOS kernel"; - case "3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC": return "ChromeOS rootfs"; - case "2E0A753D-9E48-43B0-8337-B15192CB1B5E": return "ChromeOS future use"; - case "42465331-3BA3-10F1-802A-4861696B7521": return "Haiku BFS"; - case "85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD Boot"; - case "85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD Data"; - case "85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD Swap"; - case "0394EF8B-237E-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD UFS"; - case "85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD Vinum"; - case "85D5E45D-237C-11E1-B4B3-E89A8F7FC3A7": return "MidnightBSD ZFS"; - case "45B0969E-9B03-4F30-B4C6-B4B80CEFF106": return "Ceph Journal"; - case "45B0969E-9B03-4F30-B4C6-5EC00CEFF106": return "Ceph dm-crypt Encrypted Journal"; - case "4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D": return "Ceph OSD"; - case "4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D": return "Ceph dm-crypt OSD"; - case "89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE": return "Ceph disk in creation"; - case "89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE": return "Ceph dm-crypt disk in creation"; - case "824CC7A0-36A8-11E3-890A-952519AD3F61": return "OpenBSD Data"; - case "CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1": return "QNX Power-safe (QNX6)"; - case "C91818F9-8025-47AF-89D2-F030D7000C2C": return "Plan 9"; - case "9D275380-40AD-11DB-BF97-000C2911D1B8": return "VMware vmkcore (coredump)"; - case "AA31E02A-400F-11DB-9590-000C2911D1B8": return "VMware VMFS"; - case "9198EFFC-31C0-11DB-8F78-000C2911D1B8": return "VMware Reserved"; - case "7412F7D5-A156-4B13-81DC-867174929325": return "ONIE boot"; - case "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149": return "ONIE config"; - case "9E1A2D38-C612-4316-AA26-8B49521E5A8B": return "PowerPC PReP boot"; - case "0311FC50-01CA-4725-AD77-9ADBB20ACE98": return "Acronis Secure Zone"; - case "7C3457EF-0000-11AA-AA11-00306543ECAC": return "Apple File System"; - case "9D087404-1CA5-11DC-8817-01301BB8A9F5": return "DragonflyBSD Label"; - case "9D58FDBD-1CA5-11DC-8817-01301BB8A9F5": return "DragonflyBSD Swap"; - case "9D94CE7C-1CA5-11DC-8817-01301BB8A9F5": return "DragonflyBSD UFS"; - case "9DD4478F-1CA5-11DC-8817-01301BB8A9F5": return "DragonflyBSD Vinum"; - case "DBD5211B-1CA5-11DC-8817-01301BB8A9F5": return "DragonflyBSD CCD"; - case "3D48CE54-1D16-11DC-8817-01301BB8A9F5": return "DragonflyBSD Label"; - case "BD215AB2-1D16-11DC-8696-01301BB8A9F5": return "DragonflyBSD Legacy"; - case "61DC63AC-6E38-11DC-8513-01301BB8A9F5": return "DragonflyBSD Hammer"; - case "5CBB9AD1-862D-11DC-A94D-01301BB8A9F5": return "DragonflyBSD Hammer2"; + case "6A8D2AC7-1DD2-11B2-99A6-080020736631": return Localization.Solaris_Reserved; + case "49F48D32-B10E-11DC-B99B-0019D1879648": return Localization.NetBSD_Swap; + case "49F48D5A-B10E-11DC-B99B-0019D1879648": return Localization.NetBSD_FFS; + case "49F48D82-B10E-11DC-B99B-0019D1879648": return Localization.NetBSD_LFS; + case "49F48DAA-B10E-11DC-B99B-0019D1879648": return Localization.NetBSD_RAID; + case "2DB519C4-B10F-11DC-B99B-0019D1879648": return Localization.NetBSD_Concatenated; + case "2DB519EC-B10F-11DC-B99B-0019D1879648": return Localization.NetBSD_Encrypted; + case "FE3A2A5D-4F32-41A7-B725-ACCC3285A309": return Localization.ChromeOS_kernel; + case "3CB8E202-3B7E-47DD-8A3C-7FF2A13CFCEC": return Localization.ChromeOS_rootfs; + case "2E0A753D-9E48-43B0-8337-B15192CB1B5E": return Localization.ChromeOS_future_use; + case "42465331-3BA3-10F1-802A-4861696B7521": return Localization.Haiku_BFS; + case "85D5E45E-237C-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_Boot; + case "85D5E45A-237C-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_Data; + case "85D5E45B-237C-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_Swap; + case "0394EF8B-237E-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_UFS; + case "85D5E45C-237C-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_Vinum; + case "85D5E45D-237C-11E1-B4B3-E89A8F7FC3A7": return Localization.MidnightBSD_ZFS; + case "45B0969E-9B03-4F30-B4C6-B4B80CEFF106": return Localization.Ceph_Journal; + case "45B0969E-9B03-4F30-B4C6-5EC00CEFF106": return Localization.Ceph_dm_crypt_Encrypted_Journal; + case "4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D": return Localization.Ceph_OSD; + case "4FBD7E29-9D25-41B8-AFD0-5EC00CEFF05D": return Localization.Ceph_dm_crypt_OSD; + case "89C57F98-2FE5-4DC0-89C1-F3AD0CEFF2BE": return Localization.Ceph_disk_in_creation; + case "89C57F98-2FE5-4DC0-89C1-5EC00CEFF2BE": return Localization.Ceph_dm_crypt_disk_in_creation; + case "824CC7A0-36A8-11E3-890A-952519AD3F61": return Localization.OpenBSD_Data; + case "CEF5A9AD-73BC-4601-89F3-CDEEEEE321A1": return Localization.QNX_Power_safe_QNX6; + case "C91818F9-8025-47AF-89D2-F030D7000C2C": return Localization.Plan_9; + case "9D275380-40AD-11DB-BF97-000C2911D1B8": return Localization.VMware_vmkcore_coredump; + case "AA31E02A-400F-11DB-9590-000C2911D1B8": return Localization.VMware_VMFS; + case "9198EFFC-31C0-11DB-8F78-000C2911D1B8": return Localization.VMware_Reserved; + case "7412F7D5-A156-4B13-81DC-867174929325": return Localization.ONIE_boot; + case "D4E6E2CD-4469-46F3-B5CB-1BFF57AFC149": return Localization.ONIE_config; + case "9E1A2D38-C612-4316-AA26-8B49521E5A8B": return Localization.PowerPC_PReP_boot; + case "0311FC50-01CA-4725-AD77-9ADBB20ACE98": return Localization.Acronis_Secure_Zone; + case "7C3457EF-0000-11AA-AA11-00306543ECAC": return Localization.Apple_File_System; + case "9D087404-1CA5-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_Label; + case "9D58FDBD-1CA5-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_Swap; + case "9D94CE7C-1CA5-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_UFS; + case "9DD4478F-1CA5-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_Vinum; + case "DBD5211B-1CA5-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_CCD; + case "3D48CE54-1D16-11DC-8817-01301BB8A9F5": return Localization.DragonflyBSD_Label; + case "BD215AB2-1D16-11DC-8696-01301BB8A9F5": return Localization.DragonflyBSD_Legacy; + case "61DC63AC-6E38-11DC-8513-01301BB8A9F5": return Localization.DragonflyBSD_Hammer; + case "5CBB9AD1-862D-11DC-A94D-01301BB8A9F5": return Localization.DragonflyBSD_Hammer2; default: return ""; } } diff --git a/Aaru.Partitions/Human68k.cs b/Aaru.Partitions/Human68k.cs index f647dc709..ebb625210 100644 --- a/Aaru.Partitions/Human68k.cs +++ b/Aaru.Partitions/Human68k.cs @@ -51,11 +51,11 @@ public sealed class Human68K : IPartition const uint X68K_MAGIC = 0x5836384B; /// - public string Name => "Human 68k partitions"; + public string Name => Localization.Human68K_Name; /// public Guid Id => new("246A6D93-4F1A-1F8A-344D-50187A5513A9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/Localization/Localization.Designer.cs b/Aaru.Partitions/Localization/Localization.Designer.cs new file mode 100644 index 000000000..986dd37a0 --- /dev/null +++ b/Aaru.Partitions/Localization/Localization.Designer.cs @@ -0,0 +1,2826 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Aaru.Partitions { + using System; + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [System.Diagnostics.DebuggerNonUserCodeAttribute()] + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Localization { + + private static System.Resources.ResourceManager resourceMan; + + private static System.Globalization.CultureInfo resourceCulture; + + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Localization() { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Resources.ResourceManager ResourceManager { + get { + if (object.Equals(null, resourceMan)) { + System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aaru.Partitions.Localization.Localization", typeof(Localization).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + internal static System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + internal static string Acorn_Name { + get { + return ResourceManager.GetString("Acorn_Name", resourceCulture); + } + } + + internal static string AppleMap_Name { + get { + return ResourceManager.GetString("AppleMap_Name", resourceCulture); + } + } + + internal static string Found_misaligned_entry { + get { + return ResourceManager.GetString("Found_misaligned_entry", resourceCulture); + } + } + + internal static string Found_aligned_entry { + get { + return ResourceManager.GetString("Found_aligned_entry", resourceCulture); + } + } + + internal static string Partition_flags { + get { + return ResourceManager.GetString("Partition_flags", resourceCulture); + } + } + + internal static string Partition_is_valid { + get { + return ResourceManager.GetString("Partition_is_valid", resourceCulture); + } + } + + internal static string Partition_entry_is_allocated { + get { + return ResourceManager.GetString("Partition_entry_is_allocated", resourceCulture); + } + } + + internal static string Partition_is_in_use { + get { + return ResourceManager.GetString("Partition_is_in_use", resourceCulture); + } + } + + internal static string Partition_is_bootable { + get { + return ResourceManager.GetString("Partition_is_bootable", resourceCulture); + } + } + + internal static string Partition_is_readable { + get { + return ResourceManager.GetString("Partition_is_readable", resourceCulture); + } + } + + internal static string Partition_is_writable { + get { + return ResourceManager.GetString("Partition_is_writable", resourceCulture); + } + } + + internal static string First_boot_sector_0 { + get { + return ResourceManager.GetString("First_boot_sector_0", resourceCulture); + } + } + + internal static string Boot_is_0_bytes { + get { + return ResourceManager.GetString("Boot_is_0_bytes", resourceCulture); + } + } + + internal static string Boot_load_address_0_X8 { + get { + return ResourceManager.GetString("Boot_load_address_0_X8", resourceCulture); + } + } + + internal static string Boot_entry_point_0_X8 { + get { + return ResourceManager.GetString("Boot_entry_point_0_X8", resourceCulture); + } + } + + internal static string Boot_code_checksum_0_X8 { + get { + return ResourceManager.GetString("Boot_code_checksum_0_X8", resourceCulture); + } + } + + internal static string Processor_0 { + get { + return ResourceManager.GetString("Processor_0", resourceCulture); + } + } + + internal static string Partition_boot_code_is_position_independent { + get { + return ResourceManager.GetString("Partition_boot_code_is_position_independent", resourceCulture); + } + } + + internal static string Cutting_last_partition_end_0_to_media_size_1 { + get { + return ResourceManager.GetString("Cutting_last_partition_end_0_to_media_size_1", resourceCulture); + } + } + + internal static string Not_adding_partition_because_start_0_is_outside_media_size_1 { + get { + return ResourceManager.GetString("Not_adding_partition_because_start_0_is_outside_media_size_1", resourceCulture); + } + } + + internal static string Apricot_Name { + get { + return ResourceManager.GetString("Apricot_Name", resourceCulture); + } + } + + internal static string Non_bootable { + get { + return ResourceManager.GetString("Non_bootable", resourceCulture); + } + } + + internal static string Apricot_XI_RAM_BIOS { + get { + return ResourceManager.GetString("Apricot_XI_RAM_BIOS", resourceCulture); + } + } + + internal static string Generic_ROM_BIOS { + get { + return ResourceManager.GetString("Generic_ROM_BIOS", resourceCulture); + } + } + + internal static string Apricot_XI_ROM_BIOS { + get { + return ResourceManager.GetString("Apricot_XI_ROM_BIOS", resourceCulture); + } + } + + internal static string Apricot_Portable_ROM_BIOS { + get { + return ResourceManager.GetString("Apricot_Portable_ROM_BIOS", resourceCulture); + } + } + + internal static string Apricot_F1_ROM_BIOS { + get { + return ResourceManager.GetString("Apricot_F1_ROM_BIOS", resourceCulture); + } + } + + internal static string MF1DD_70_track { + get { + return ResourceManager.GetString("MF1DD_70_track", resourceCulture); + } + } + + internal static string Invalid_operating_system { + get { + return ResourceManager.GetString("Invalid_operating_system", resourceCulture); + } + } + + internal static string None_parity { + get { + return ResourceManager.GetString("None_parity", resourceCulture); + } + } + + internal static string Odd_parity { + get { + return ResourceManager.GetString("Odd_parity", resourceCulture); + } + } + + internal static string Even_parity { + get { + return ResourceManager.GetString("Even_parity", resourceCulture); + } + } + + internal static string Mark_parity { + get { + return ResourceManager.GetString("Mark_parity", resourceCulture); + } + } + + internal static string Space_parity { + get { + return ResourceManager.GetString("Space_parity", resourceCulture); + } + } + + internal static string Parallel_print_device { + get { + return ResourceManager.GetString("Parallel_print_device", resourceCulture); + } + } + + internal static string Serial_print_device { + get { + return ResourceManager.GetString("Serial_print_device", resourceCulture); + } + } + + internal static string Unknown_operating_system { + get { + return ResourceManager.GetString("Unknown_operating_system", resourceCulture); + } + } + + internal static string Unknown_boot_type { + get { + return ResourceManager.GetString("Unknown_boot_type", resourceCulture); + } + } + + internal static string Unknown_disk_type { + get { + return ResourceManager.GetString("Unknown_disk_type", resourceCulture); + } + } + + internal static string Unknown_print_device { + get { + return ResourceManager.GetString("Unknown_print_device", resourceCulture); + } + } + + internal static string Unknown_parity_type { + get { + return ResourceManager.GetString("Unknown_parity_type", resourceCulture); + } + } + + internal static string AtariPartitions_Name { + get { + return ResourceManager.GetString("AtariPartitions_Name", resourceCulture); + } + } + + internal static string Boot_code_SHA1_0 { + get { + return ResourceManager.GetString("Boot_code_SHA1_0", resourceCulture); + } + } + + internal static string WARNING_End_of_partition_goes_beyond_device_size { + get { + return ResourceManager.GetString("WARNING_End_of_partition_goes_beyond_device_size", resourceCulture); + } + } + + internal static string Atari_GEMDOS_partition { + get { + return ResourceManager.GetString("Atari_GEMDOS_partition", resourceCulture); + } + } + + internal static string Atari_GEMDOS_partition_bigger_than_32_MiB { + get { + return ResourceManager.GetString("Atari_GEMDOS_partition_bigger_than_32_MiB", resourceCulture); + } + } + + internal static string Linux_partition { + get { + return ResourceManager.GetString("Linux_partition", resourceCulture); + } + } + + internal static string Swap_partition { + get { + return ResourceManager.GetString("Swap_partition", resourceCulture); + } + } + + internal static string RAW_partition { + get { + return ResourceManager.GetString("RAW_partition", resourceCulture); + } + } + + internal static string NetBSD_partition { + get { + return ResourceManager.GetString("NetBSD_partition", resourceCulture); + } + } + + internal static string NetBSD_swap_partition { + get { + return ResourceManager.GetString("NetBSD_swap_partition", resourceCulture); + } + } + + internal static string Atari_UNIX_partition { + get { + return ResourceManager.GetString("Atari_UNIX_partition", resourceCulture); + } + } + + internal static string Macintosh_partition { + get { + return ResourceManager.GetString("Macintosh_partition", resourceCulture); + } + } + + internal static string MINIX_partition { + get { + return ResourceManager.GetString("MINIX_partition", resourceCulture); + } + } + + internal static string Unknown_partition_type { + get { + return ResourceManager.GetString("Unknown_partition_type", resourceCulture); + } + } + + internal static string BSD_Name { + get { + return ResourceManager.GetString("BSD_Name", resourceCulture); + } + } + + internal static string BSD_GetInformation_dl_magic_on_sector_0_at_offset_1_equals_2_X8_expected_3_X8 { + get { + return ResourceManager.GetString("BSD_GetInformation_dl_magic_on_sector_0_at_offset_1_equals_2_X8_expected_3_X8", resourceCulture); + } + } + + internal static string BSD_GetInformation_Adding_it { + get { + return ResourceManager.GetString("BSD_GetInformation_Adding_it", resourceCulture); + } + } + + internal static string Unused_entry { + get { + return ResourceManager.GetString("Unused_entry", resourceCulture); + } + } + + internal static string UNIX_6th_Edition { + get { + return ResourceManager.GetString("UNIX_6th_Edition", resourceCulture); + } + } + + internal static string UNIX_7th_Edition { + get { + return ResourceManager.GetString("UNIX_7th_Edition", resourceCulture); + } + } + + internal static string UNIX_System_V { + get { + return ResourceManager.GetString("UNIX_System_V", resourceCulture); + } + } + + internal static string UNIX_7th_Edition_with_1K_blocks { + get { + return ResourceManager.GetString("UNIX_7th_Edition_with_1K_blocks", resourceCulture); + } + } + + internal static string UNIX_8th_Edition_with_4K_blocks { + get { + return ResourceManager.GetString("UNIX_8th_Edition_with_4K_blocks", resourceCulture); + } + } + + internal static string _4_2_BSD_Fast_File_System { + get { + return ResourceManager.GetString("_4_2_BSD_Fast_File_System", resourceCulture); + } + } + + internal static string _4_4_LFS { + get { + return ResourceManager.GetString("_4_4_LFS", resourceCulture); + } + } + + internal static string HPFS { + get { + return ResourceManager.GetString("HPFS", resourceCulture); + } + } + + internal static string ISO9660 { + get { + return ResourceManager.GetString("ISO9660", resourceCulture); + } + } + + internal static string Boot { + get { + return ResourceManager.GetString("Boot", resourceCulture); + } + } + + internal static string Amiga_FFS { + get { + return ResourceManager.GetString("Amiga_FFS", resourceCulture); + } + } + + internal static string Apple_HFS { + get { + return ResourceManager.GetString("Apple_HFS", resourceCulture); + } + } + + internal static string Digital_Advanced_File_System { + get { + return ResourceManager.GetString("Digital_Advanced_File_System", resourceCulture); + } + } + + internal static string Digital_LSM_Public_Region { + get { + return ResourceManager.GetString("Digital_LSM_Public_Region", resourceCulture); + } + } + + internal static string Digital_LSM_Private_Region { + get { + return ResourceManager.GetString("Digital_LSM_Private_Region", resourceCulture); + } + } + + internal static string Digital_LSM_Simple_Disk { + get { + return ResourceManager.GetString("Digital_LSM_Simple_Disk", resourceCulture); + } + } + + internal static string Concatenated_disk { + get { + return ResourceManager.GetString("Concatenated_disk", resourceCulture); + } + } + + internal static string IBM_JFS2 { + get { + return ResourceManager.GetString("IBM_JFS2", resourceCulture); + } + } + + internal static string Hammer { + get { + return ResourceManager.GetString("Hammer", resourceCulture); + } + } + + internal static string Hammer2 { + get { + return ResourceManager.GetString("Hammer2", resourceCulture); + } + } + + internal static string UDF { + get { + return ResourceManager.GetString("UDF", resourceCulture); + } + } + + internal static string EFS { + get { + return ResourceManager.GetString("EFS", resourceCulture); + } + } + + internal static string ZFS { + get { + return ResourceManager.GetString("ZFS", resourceCulture); + } + } + + internal static string FreeBSD_nandfs { + get { + return ResourceManager.GetString("FreeBSD_nandfs", resourceCulture); + } + } + + internal static string FAT { + get { + return ResourceManager.GetString("FAT", resourceCulture); + } + } + + internal static string Other_or_unknown { + get { + return ResourceManager.GetString("Other_or_unknown", resourceCulture); + } + } + + internal static string DEC_Name { + get { + return ResourceManager.GetString("DEC_Name", resourceCulture); + } + } + + internal static string DragonFlyBSD_Name { + get { + return ResourceManager.GetString("DragonFlyBSD_Name", resourceCulture); + } + } + + internal static string GuidPartitionTable_Name { + get { + return ResourceManager.GetString("GuidPartitionTable_Name", resourceCulture); + } + } + + internal static string Found_unaligned_signature { + get { + return ResourceManager.GetString("Found_unaligned_signature", resourceCulture); + } + } + + internal static string MBR_scheme { + get { + return ResourceManager.GetString("MBR_scheme", resourceCulture); + } + } + + internal static string EFI_System { + get { + return ResourceManager.GetString("EFI_System", resourceCulture); + } + } + + internal static string BIOS_Boot { + get { + return ResourceManager.GetString("BIOS_Boot", resourceCulture); + } + } + + internal static string Intel_Fast_Flash_iFFS { + get { + return ResourceManager.GetString("Intel_Fast_Flash_iFFS", resourceCulture); + } + } + + internal static string Sony_boot { + get { + return ResourceManager.GetString("Sony_boot", resourceCulture); + } + } + + internal static string Lenovo_boot { + get { + return ResourceManager.GetString("Lenovo_boot", resourceCulture); + } + } + + internal static string Microsoft_Reserved_MSR { + get { + return ResourceManager.GetString("Microsoft_Reserved_MSR", resourceCulture); + } + } + + internal static string Microsoft_Basic_data { + get { + return ResourceManager.GetString("Microsoft_Basic_data", resourceCulture); + } + } + + internal static string Logical_Disk_Manager_LDM_metadata { + get { + return ResourceManager.GetString("Logical_Disk_Manager_LDM_metadata", resourceCulture); + } + } + + internal static string Logical_Disk_Manager_data { + get { + return ResourceManager.GetString("Logical_Disk_Manager_data", resourceCulture); + } + } + + internal static string Windows_Recovery_Environment { + get { + return ResourceManager.GetString("Windows_Recovery_Environment", resourceCulture); + } + } + + internal static string IBM_General_Parallel_File_System_GPFS { + get { + return ResourceManager.GetString("IBM_General_Parallel_File_System_GPFS", resourceCulture); + } + } + + internal static string Windows_Storage_Spaces { + get { + return ResourceManager.GetString("Windows_Storage_Spaces", resourceCulture); + } + } + + internal static string HP_UX_Data { + get { + return ResourceManager.GetString("HP_UX_Data", resourceCulture); + } + } + + internal static string HP_UX_Service { + get { + return ResourceManager.GetString("HP_UX_Service", resourceCulture); + } + } + + internal static string Linux_filesystem { + get { + return ResourceManager.GetString("Linux_filesystem", resourceCulture); + } + } + + internal static string Linux_RAID { + get { + return ResourceManager.GetString("Linux_RAID", resourceCulture); + } + } + + internal static string Linux_Root_x86 { + get { + return ResourceManager.GetString("Linux_Root_x86", resourceCulture); + } + } + + internal static string Linux_Root_x86_64 { + get { + return ResourceManager.GetString("Linux_Root_x86_64", resourceCulture); + } + } + + internal static string Linux_Root_32_bit_ARM { + get { + return ResourceManager.GetString("Linux_Root_32_bit_ARM", resourceCulture); + } + } + + internal static string Linux_Root_AArch64 { + get { + return ResourceManager.GetString("Linux_Root_AArch64", resourceCulture); + } + } + + internal static string Logical_Volume_Manager_LVM { + get { + return ResourceManager.GetString("Logical_Volume_Manager_LVM", resourceCulture); + } + } + + internal static string Linux_home { + get { + return ResourceManager.GetString("Linux_home", resourceCulture); + } + } + + internal static string Linux_srv { + get { + return ResourceManager.GetString("Linux_srv", resourceCulture); + } + } + + internal static string Plain_dm_crypt { + get { + return ResourceManager.GetString("Plain_dm_crypt", resourceCulture); + } + } + + internal static string LUKS { + get { + return ResourceManager.GetString("LUKS", resourceCulture); + } + } + + internal static string Linux_Reserved { + get { + return ResourceManager.GetString("Linux_Reserved", resourceCulture); + } + } + + internal static string FreeBSD_Boot { + get { + return ResourceManager.GetString("FreeBSD_Boot", resourceCulture); + } + } + + internal static string FreeBSD_Data { + get { + return ResourceManager.GetString("FreeBSD_Data", resourceCulture); + } + } + + internal static string FreeBSD_UFS { + get { + return ResourceManager.GetString("FreeBSD_UFS", resourceCulture); + } + } + + internal static string FreeBSD_UFS2 { + get { + return ResourceManager.GetString("FreeBSD_UFS2", resourceCulture); + } + } + + internal static string FreeBSD_Vinum { + get { + return ResourceManager.GetString("FreeBSD_Vinum", resourceCulture); + } + } + + internal static string FreeBSD_ZFS { + get { + return ResourceManager.GetString("FreeBSD_ZFS", resourceCulture); + } + } + + internal static string Apple_UFS { + get { + return ResourceManager.GetString("Apple_UFS", resourceCulture); + } + } + + internal static string Apple_RAID { + get { + return ResourceManager.GetString("Apple_RAID", resourceCulture); + } + } + + internal static string Apple_RAID_offline { + get { + return ResourceManager.GetString("Apple_RAID_offline", resourceCulture); + } + } + + internal static string Apple_Boot { + get { + return ResourceManager.GetString("Apple_Boot", resourceCulture); + } + } + + internal static string Apple_Label { + get { + return ResourceManager.GetString("Apple_Label", resourceCulture); + } + } + + internal static string Apple_TV_Recovery { + get { + return ResourceManager.GetString("Apple_TV_Recovery", resourceCulture); + } + } + + internal static string Apple_Core_Storage { + get { + return ResourceManager.GetString("Apple_Core_Storage", resourceCulture); + } + } + + internal static string Solaris_Root { + get { + return ResourceManager.GetString("Solaris_Root", resourceCulture); + } + } + + internal static string Solaris_Swap { + get { + return ResourceManager.GetString("Solaris_Swap", resourceCulture); + } + } + + internal static string Solaris_Backup { + get { + return ResourceManager.GetString("Solaris_Backup", resourceCulture); + } + } + + internal static string Solaris_usr_or_Apple_ZFS { + get { + return ResourceManager.GetString("Solaris_usr_or_Apple_ZFS", resourceCulture); + } + } + + internal static string Solaris_var { + get { + return ResourceManager.GetString("Solaris_var", resourceCulture); + } + } + + internal static string Solaris_home { + get { + return ResourceManager.GetString("Solaris_home", resourceCulture); + } + } + + internal static string Solaris_Alternate_sector { + get { + return ResourceManager.GetString("Solaris_Alternate_sector", resourceCulture); + } + } + + internal static string Solaris_Reserved { + get { + return ResourceManager.GetString("Solaris_Reserved", resourceCulture); + } + } + + internal static string NetBSD_Swap { + get { + return ResourceManager.GetString("NetBSD_Swap", resourceCulture); + } + } + + internal static string NetBSD_FFS { + get { + return ResourceManager.GetString("NetBSD_FFS", resourceCulture); + } + } + + internal static string NetBSD_LFS { + get { + return ResourceManager.GetString("NetBSD_LFS", resourceCulture); + } + } + + internal static string NetBSD_RAID { + get { + return ResourceManager.GetString("NetBSD_RAID", resourceCulture); + } + } + + internal static string NetBSD_Concatenated { + get { + return ResourceManager.GetString("NetBSD_Concatenated", resourceCulture); + } + } + + internal static string NetBSD_Encrypted { + get { + return ResourceManager.GetString("NetBSD_Encrypted", resourceCulture); + } + } + + internal static string ChromeOS_kernel { + get { + return ResourceManager.GetString("ChromeOS_kernel", resourceCulture); + } + } + + internal static string ChromeOS_rootfs { + get { + return ResourceManager.GetString("ChromeOS_rootfs", resourceCulture); + } + } + + internal static string ChromeOS_future_use { + get { + return ResourceManager.GetString("ChromeOS_future_use", resourceCulture); + } + } + + internal static string Haiku_BFS { + get { + return ResourceManager.GetString("Haiku_BFS", resourceCulture); + } + } + + internal static string MidnightBSD_Boot { + get { + return ResourceManager.GetString("MidnightBSD_Boot", resourceCulture); + } + } + + internal static string MidnightBSD_Data { + get { + return ResourceManager.GetString("MidnightBSD_Data", resourceCulture); + } + } + + internal static string MidnightBSD_Swap { + get { + return ResourceManager.GetString("MidnightBSD_Swap", resourceCulture); + } + } + + internal static string MidnightBSD_UFS { + get { + return ResourceManager.GetString("MidnightBSD_UFS", resourceCulture); + } + } + + internal static string MidnightBSD_Vinum { + get { + return ResourceManager.GetString("MidnightBSD_Vinum", resourceCulture); + } + } + + internal static string MidnightBSD_ZFS { + get { + return ResourceManager.GetString("MidnightBSD_ZFS", resourceCulture); + } + } + + internal static string Ceph_Journal { + get { + return ResourceManager.GetString("Ceph_Journal", resourceCulture); + } + } + + internal static string Ceph_dm_crypt_Encrypted_Journal { + get { + return ResourceManager.GetString("Ceph_dm_crypt_Encrypted_Journal", resourceCulture); + } + } + + internal static string Ceph_OSD { + get { + return ResourceManager.GetString("Ceph_OSD", resourceCulture); + } + } + + internal static string Ceph_dm_crypt_OSD { + get { + return ResourceManager.GetString("Ceph_dm_crypt_OSD", resourceCulture); + } + } + + internal static string Ceph_disk_in_creation { + get { + return ResourceManager.GetString("Ceph_disk_in_creation", resourceCulture); + } + } + + internal static string Ceph_dm_crypt_disk_in_creation { + get { + return ResourceManager.GetString("Ceph_dm_crypt_disk_in_creation", resourceCulture); + } + } + + internal static string OpenBSD_Data { + get { + return ResourceManager.GetString("OpenBSD_Data", resourceCulture); + } + } + + internal static string QNX_Power_safe_QNX6 { + get { + return ResourceManager.GetString("QNX_Power_safe_QNX6", resourceCulture); + } + } + + internal static string Plan_9 { + get { + return ResourceManager.GetString("Plan_9", resourceCulture); + } + } + + internal static string VMware_vmkcore_coredump { + get { + return ResourceManager.GetString("VMware_vmkcore_coredump", resourceCulture); + } + } + + internal static string VMware_VMFS { + get { + return ResourceManager.GetString("VMware_VMFS", resourceCulture); + } + } + + internal static string VMware_Reserved { + get { + return ResourceManager.GetString("VMware_Reserved", resourceCulture); + } + } + + internal static string ONIE_boot { + get { + return ResourceManager.GetString("ONIE_boot", resourceCulture); + } + } + + internal static string ONIE_config { + get { + return ResourceManager.GetString("ONIE_config", resourceCulture); + } + } + + internal static string PowerPC_PReP_boot { + get { + return ResourceManager.GetString("PowerPC_PReP_boot", resourceCulture); + } + } + + internal static string Acronis_Secure_Zone { + get { + return ResourceManager.GetString("Acronis_Secure_Zone", resourceCulture); + } + } + + internal static string Apple_File_System { + get { + return ResourceManager.GetString("Apple_File_System", resourceCulture); + } + } + + internal static string DragonflyBSD_Label { + get { + return ResourceManager.GetString("DragonflyBSD_Label", resourceCulture); + } + } + + internal static string DragonflyBSD_Swap { + get { + return ResourceManager.GetString("DragonflyBSD_Swap", resourceCulture); + } + } + + internal static string DragonflyBSD_UFS { + get { + return ResourceManager.GetString("DragonflyBSD_UFS", resourceCulture); + } + } + + internal static string DragonflyBSD_Vinum { + get { + return ResourceManager.GetString("DragonflyBSD_Vinum", resourceCulture); + } + } + + internal static string DragonflyBSD_CCD { + get { + return ResourceManager.GetString("DragonflyBSD_CCD", resourceCulture); + } + } + + internal static string DragonflyBSD_Legacy { + get { + return ResourceManager.GetString("DragonflyBSD_Legacy", resourceCulture); + } + } + + internal static string DragonflyBSD_Hammer { + get { + return ResourceManager.GetString("DragonflyBSD_Hammer", resourceCulture); + } + } + + internal static string DragonflyBSD_Hammer2 { + get { + return ResourceManager.GetString("DragonflyBSD_Hammer2", resourceCulture); + } + } + + internal static string Human68K_Name { + get { + return ResourceManager.GetString("Human68K_Name", resourceCulture); + } + } + + internal static string Empty { + get { + return ResourceManager.GetString("Empty", resourceCulture); + } + } + + internal static string FAT12 { + get { + return ResourceManager.GetString("FAT12", resourceCulture); + } + } + + internal static string XENIX_root { + get { + return ResourceManager.GetString("XENIX_root", resourceCulture); + } + } + + internal static string XENIX_usr { + get { + return ResourceManager.GetString("XENIX_usr", resourceCulture); + } + } + + internal static string FAT16_32_MiB { + get { + return ResourceManager.GetString("FAT16_32_MiB", resourceCulture); + } + } + + internal static string Extended { + get { + return ResourceManager.GetString("Extended", resourceCulture); + } + } + + internal static string FAT16 { + get { + return ResourceManager.GetString("FAT16", resourceCulture); + } + } + + internal static string IFS_HPFS_NTFS { + get { + return ResourceManager.GetString("IFS_HPFS_NTFS", resourceCulture); + } + } + + internal static string AIX_boot_OS2_Commodore_DOS { + get { + return ResourceManager.GetString("AIX_boot_OS2_Commodore_DOS", resourceCulture); + } + } + + internal static string AIX_data_Coherent_QNX { + get { + return ResourceManager.GetString("AIX_data_Coherent_QNX", resourceCulture); + } + } + + internal static string Coherent_swap_OPUS_OS_2_Boot_Manager { + get { + return ResourceManager.GetString("Coherent_swap_OPUS_OS_2_Boot_Manager", resourceCulture); + } + } + + internal static string FAT32 { + get { + return ResourceManager.GetString("FAT32", resourceCulture); + } + } + + internal static string FAT32_LBA { + get { + return ResourceManager.GetString("FAT32_LBA", resourceCulture); + } + } + + internal static string FAT16_LBA { + get { + return ResourceManager.GetString("FAT16_LBA", resourceCulture); + } + } + + internal static string Extended_LBA { + get { + return ResourceManager.GetString("Extended_LBA", resourceCulture); + } + } + + internal static string OPUS { + get { + return ResourceManager.GetString("OPUS", resourceCulture); + } + } + + internal static string Hidden_FAT12 { + get { + return ResourceManager.GetString("Hidden_FAT12", resourceCulture); + } + } + + internal static string Compaq_diagnostics_recovery_partition { + get { + return ResourceManager.GetString("Compaq_diagnostics_recovery_partition", resourceCulture); + } + } + + internal static string Hidden_FAT16_32_MiB_AST_DOS { + get { + return ResourceManager.GetString("Hidden_FAT16_32_MiB_AST_DOS", resourceCulture); + } + } + + internal static string Hidden_FAT16 { + get { + return ResourceManager.GetString("Hidden_FAT16", resourceCulture); + } + } + + internal static string Hidden_IFS_HPFS_NTFS { + get { + return ResourceManager.GetString("Hidden_IFS_HPFS_NTFS", resourceCulture); + } + } + + internal static string AST_Windows_swap { + get { + return ResourceManager.GetString("AST_Windows_swap", resourceCulture); + } + } + + internal static string Willowtech_Photon_coS { + get { + return ResourceManager.GetString("Willowtech_Photon_coS", resourceCulture); + } + } + + internal static string Hidden_FAT32 { + get { + return ResourceManager.GetString("Hidden_FAT32", resourceCulture); + } + } + + internal static string Hidden_FAT32_LBA { + get { + return ResourceManager.GetString("Hidden_FAT32_LBA", resourceCulture); + } + } + + internal static string Hidden_FAT16_LBA { + get { + return ResourceManager.GetString("Hidden_FAT16_LBA", resourceCulture); + } + } + + internal static string Willowsoft_Overture_File_System { + get { + return ResourceManager.GetString("Willowsoft_Overture_File_System", resourceCulture); + } + } + + internal static string Oxygen_FSo2 { + get { + return ResourceManager.GetString("Oxygen_FSo2", resourceCulture); + } + } + + internal static string Oxygen_Extended { + get { + return ResourceManager.GetString("Oxygen_Extended", resourceCulture); + } + } + + internal static string SpeedStor_reserved { + get { + return ResourceManager.GetString("SpeedStor_reserved", resourceCulture); + } + } + + internal static string NEC_DOS { + get { + return ResourceManager.GetString("NEC_DOS", resourceCulture); + } + } + + internal static string Hidden_NTFS { + get { + return ResourceManager.GetString("Hidden_NTFS", resourceCulture); + } + } + + internal static string Theos { + get { + return ResourceManager.GetString("Theos", resourceCulture); + } + } + + internal static string Partition_Magic { + get { + return ResourceManager.GetString("Partition_Magic", resourceCulture); + } + } + + internal static string Hidden_NetWare { + get { + return ResourceManager.GetString("Hidden_NetWare", resourceCulture); + } + } + + internal static string VENIX_80286 { + get { + return ResourceManager.GetString("VENIX_80286", resourceCulture); + } + } + + internal static string PReP_Boot { + get { + return ResourceManager.GetString("PReP_Boot", resourceCulture); + } + } + + internal static string Secure_File_System { + get { + return ResourceManager.GetString("Secure_File_System", resourceCulture); + } + } + + internal static string PTS_DOS { + get { + return ResourceManager.GetString("PTS_DOS", resourceCulture); + } + } + + internal static string Priam_EUMEL_Elan { + get { + return ResourceManager.GetString("Priam_EUMEL_Elan", resourceCulture); + } + } + + internal static string EUMEL_Elan { + get { + return ResourceManager.GetString("EUMEL_Elan", resourceCulture); + } + } + + internal static string ALFS_THIN_lightweight_filesystem_for_DOS { + get { + return ResourceManager.GetString("ALFS_THIN_lightweight_filesystem_for_DOS", resourceCulture); + } + } + + internal static string QNX_4 { + get { + return ResourceManager.GetString("QNX_4", resourceCulture); + } + } + + internal static string QNX_4_Oberon { + get { + return ResourceManager.GetString("QNX_4_Oberon", resourceCulture); + } + } + + internal static string Ontrack_DM_RO_FAT { + get { + return ResourceManager.GetString("Ontrack_DM_RO_FAT", resourceCulture); + } + } + + internal static string Ontrack_DM_RW_FAT { + get { + return ResourceManager.GetString("Ontrack_DM_RW_FAT", resourceCulture); + } + } + + internal static string CPM_Microport_UNIX { + get { + return ResourceManager.GetString("CPM_Microport_UNIX", resourceCulture); + } + } + + internal static string Ontrack_DM_6 { + get { + return ResourceManager.GetString("Ontrack_DM_6", resourceCulture); + } + } + + internal static string EZ_Drive { + get { + return ResourceManager.GetString("EZ_Drive", resourceCulture); + } + } + + internal static string Golden_Bow_VFeature { + get { + return ResourceManager.GetString("Golden_Bow_VFeature", resourceCulture); + } + } + + internal static string Priam_EDISK { + get { + return ResourceManager.GetString("Priam_EDISK", resourceCulture); + } + } + + internal static string SpeedStor { + get { + return ResourceManager.GetString("SpeedStor", resourceCulture); + } + } + + internal static string GNU_Hurd_System_V_386ix { + get { + return ResourceManager.GetString("GNU_Hurd_System_V_386ix", resourceCulture); + } + } + + internal static string NetWare_286 { + get { + return ResourceManager.GetString("NetWare_286", resourceCulture); + } + } + + internal static string NetWare { + get { + return ResourceManager.GetString("NetWare", resourceCulture); + } + } + + internal static string NetWare_386 { + get { + return ResourceManager.GetString("NetWare_386", resourceCulture); + } + } + + internal static string NetWare_NSS { + get { + return ResourceManager.GetString("NetWare_NSS", resourceCulture); + } + } + + internal static string DiskSecure_Multi_Boot { + get { + return ResourceManager.GetString("DiskSecure_Multi_Boot", resourceCulture); + } + } + + internal static string IBM_PC_IX { + get { + return ResourceManager.GetString("IBM_PC_IX", resourceCulture); + } + } + + internal static string Old_MINIX { + get { + return ResourceManager.GetString("Old_MINIX", resourceCulture); + } + } + + internal static string MINIX_Old_Linux { + get { + return ResourceManager.GetString("MINIX_Old_Linux", resourceCulture); + } + } + + internal static string Linux_swap_Solaris { + get { + return ResourceManager.GetString("Linux_swap_Solaris", resourceCulture); + } + } + + internal static string Linux { + get { + return ResourceManager.GetString("Linux", resourceCulture); + } + } + + internal static string Hidden_by_OS2_APM_hibernation { + get { + return ResourceManager.GetString("Hidden_by_OS2_APM_hibernation", resourceCulture); + } + } + + internal static string Linux_extended { + get { + return ResourceManager.GetString("Linux_extended", resourceCulture); + } + } + + internal static string NT_Stripe_Set { + get { + return ResourceManager.GetString("NT_Stripe_Set", resourceCulture); + } + } + + internal static string Linux_Plaintext { + get { + return ResourceManager.GetString("Linux_Plaintext", resourceCulture); + } + } + + internal static string Linux_LVM { + get { + return ResourceManager.GetString("Linux_LVM", resourceCulture); + } + } + + internal static string Amoeba_Hidden_Linux { + get { + return ResourceManager.GetString("Amoeba_Hidden_Linux", resourceCulture); + } + } + + internal static string Amoeba_bad_blocks { + get { + return ResourceManager.GetString("Amoeba_bad_blocks", resourceCulture); + } + } + + internal static string Mylex_EISA_SCSI { + get { + return ResourceManager.GetString("Mylex_EISA_SCSI", resourceCulture); + } + } + + internal static string BSD_OS { + get { + return ResourceManager.GetString("BSD_OS", resourceCulture); + } + } + + internal static string Hibernation { + get { + return ResourceManager.GetString("Hibernation", resourceCulture); + } + } + + internal static string HP_Volume_Expansion { + get { + return ResourceManager.GetString("HP_Volume_Expansion", resourceCulture); + } + } + + internal static string FreeBSD { + get { + return ResourceManager.GetString("FreeBSD", resourceCulture); + } + } + + internal static string OpenBSD { + get { + return ResourceManager.GetString("OpenBSD", resourceCulture); + } + } + + internal static string NeXTStep { + get { + return ResourceManager.GetString("NeXTStep", resourceCulture); + } + } + + internal static string NetBSD { + get { + return ResourceManager.GetString("NetBSD", resourceCulture); + } + } + + internal static string Olivetti_DOS_FAT12 { + get { + return ResourceManager.GetString("Olivetti_DOS_FAT12", resourceCulture); + } + } + + internal static string BootStar { + get { + return ResourceManager.GetString("BootStar", resourceCulture); + } + } + + internal static string BSDi { + get { + return ResourceManager.GetString("BSDi", resourceCulture); + } + } + + internal static string PTS_BootWizard { + get { + return ResourceManager.GetString("PTS_BootWizard", resourceCulture); + } + } + + internal static string Solaris_boot { + get { + return ResourceManager.GetString("Solaris_boot", resourceCulture); + } + } + + internal static string Solaris { + get { + return ResourceManager.GetString("Solaris", resourceCulture); + } + } + + internal static string Novell_DOS_DR_DOS_secured { + get { + return ResourceManager.GetString("Novell_DOS_DR_DOS_secured", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT12 { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT12", resourceCulture); + } + } + + internal static string DR_DOS_reserved { + get { + return ResourceManager.GetString("DR_DOS_reserved", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT16_32_MiB { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT16_32_MiB", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT16 { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT16", resourceCulture); + } + } + + internal static string Syrinx { + get { + return ResourceManager.GetString("Syrinx", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT32_LBA { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT32_LBA", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT16_LBA { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT16_LBA", resourceCulture); + } + } + + internal static string DR_DOS_secured_FAT32 { + get { + return ResourceManager.GetString("DR_DOS_secured_FAT32", resourceCulture); + } + } + + internal static string DR_DOS_secured_extended_LBA { + get { + return ResourceManager.GetString("DR_DOS_secured_extended_LBA", resourceCulture); + } + } + + internal static string Multiuser_DOS_secured_FAT12 { + get { + return ResourceManager.GetString("Multiuser_DOS_secured_FAT12", resourceCulture); + } + } + + internal static string Multiuser_DOS_secured_FAT16_32_MiB { + get { + return ResourceManager.GetString("Multiuser_DOS_secured_FAT16_32_MiB", resourceCulture); + } + } + + internal static string Multiuser_DOS_secured_extended { + get { + return ResourceManager.GetString("Multiuser_DOS_secured_extended", resourceCulture); + } + } + + internal static string Multiuser_DOS_secured_FAT16 { + get { + return ResourceManager.GetString("Multiuser_DOS_secured_FAT16", resourceCulture); + } + } + + internal static string CPM { + get { + return ResourceManager.GetString("CPM", resourceCulture); + } + } + + internal static string Filesystem_less_data { + get { + return ResourceManager.GetString("Filesystem_less_data", resourceCulture); + } + } + + internal static string CPM_CCPM_CTOS { + get { + return ResourceManager.GetString("CPM_CCPM_CTOS", resourceCulture); + } + } + + internal static string Dell_partition { + get { + return ResourceManager.GetString("Dell_partition", resourceCulture); + } + } + + internal static string BootIt_EMBRM { + get { + return ResourceManager.GetString("BootIt_EMBRM", resourceCulture); + } + } + + internal static string DOS_read_only { + get { + return ResourceManager.GetString("DOS_read_only", resourceCulture); + } + } + + internal static string Tandy_DOS { + get { + return ResourceManager.GetString("Tandy_DOS", resourceCulture); + } + } + + internal static string BeOS { + get { + return ResourceManager.GetString("BeOS", resourceCulture); + } + } + + internal static string Sprytx { + get { + return ResourceManager.GetString("Sprytx", resourceCulture); + } + } + + internal static string Guid_Partition_Table { + get { + return ResourceManager.GetString("Guid_Partition_Table", resourceCulture); + } + } + + internal static string EFI_system_partition { + get { + return ResourceManager.GetString("EFI_system_partition", resourceCulture); + } + } + + internal static string Linux_boot { + get { + return ResourceManager.GetString("Linux_boot", resourceCulture); + } + } + + internal static string DOS_3_3_secondary_Unisys_DOS { + get { + return ResourceManager.GetString("DOS_3_3_secondary_Unisys_DOS", resourceCulture); + } + } + + internal static string Prologue { + get { + return ResourceManager.GetString("Prologue", resourceCulture); + } + } + + internal static string VMWare_VMKCORE { + get { + return ResourceManager.GetString("VMWare_VMKCORE", resourceCulture); + } + } + + internal static string Linux_RAID_FreeDOS { + get { + return ResourceManager.GetString("Linux_RAID_FreeDOS", resourceCulture); + } + } + + internal static string SpeedStor_LANStep_PS2_IML { + get { + return ResourceManager.GetString("SpeedStor_LANStep_PS2_IML", resourceCulture); + } + } + + internal static string Xenix_bad_block { + get { + return ResourceManager.GetString("Xenix_bad_block", resourceCulture); + } + } + + internal static string MBR_Name { + get { + return ResourceManager.GetString("MBR_Name", resourceCulture); + } + } + + internal static string MINIX { + get { + return ResourceManager.GetString("MINIX", resourceCulture); + } + } + + internal static string NeXTDisklabel_Name { + get { + return ResourceManager.GetString("NeXTDisklabel_Name", resourceCulture); + } + } + + internal static string Partition_bigger_than_device_reducing { + get { + return ResourceManager.GetString("Partition_bigger_than_device_reducing", resourceCulture); + } + } + + internal static string _0_bytes_per_block { + get { + return ResourceManager.GetString("_0_bytes_per_block", resourceCulture); + } + } + + internal static string _0_bytes_per_fragment { + get { + return ResourceManager.GetString("_0_bytes_per_fragment", resourceCulture); + } + } + + internal static string Space_optimized { + get { + return ResourceManager.GetString("Space_optimized", resourceCulture); + } + } + + internal static string Time_optimized { + get { + return ResourceManager.GetString("Time_optimized", resourceCulture); + } + } + + internal static string Unknown_optimization_0_X2 { + get { + return ResourceManager.GetString("Unknown_optimization_0_X2", resourceCulture); + } + } + + internal static string _0_cylinders_per_group { + get { + return ResourceManager.GetString("_0_cylinders_per_group", resourceCulture); + } + } + + internal static string _0_bytes_per_inode { + get { + return ResourceManager.GetString("_0_bytes_per_inode", resourceCulture); + } + } + + internal static string _0_of_space_must_be_free_at_minimum { + get { + return ResourceManager.GetString("_0_of_space_must_be_free_at_minimum", resourceCulture); + } + } + + internal static string Filesystem_should_be_formatted_at_start { + get { + return ResourceManager.GetString("Filesystem_should_be_formatted_at_start", resourceCulture); + } + } + + internal static string Filesystem_should_be_automatically_mounted { + get { + return ResourceManager.GetString("Filesystem_should_be_automatically_mounted", resourceCulture); + } + } + + internal static string PC98_Name { + get { + return ResourceManager.GetString("PC98_Name", resourceCulture); + } + } + + internal static string PC_UX { + get { + return ResourceManager.GetString("PC_UX", resourceCulture); + } + } + + internal static string N88_BASIC_86 { + get { + return ResourceManager.GetString("N88_BASIC_86", resourceCulture); + } + } + + internal static string Windows_Volume_Set { + get { + return ResourceManager.GetString("Windows_Volume_Set", resourceCulture); + } + } + + internal static string Plan9_Name { + get { + return ResourceManager.GetString("Plan9_Name", resourceCulture); + } + } + + internal static string AmigaRigidDiskBlock_Name { + get { + return ResourceManager.GetString("AmigaRigidDiskBlock_Name", resourceCulture); + } + } + + internal static string Possible_magic_at_block_0_is_1_X8 { + get { + return ResourceManager.GetString("Possible_magic_at_block_0_is_1_X8", resourceCulture); + } + } + + internal static string Found_RDB_magic_at_block_0 { + get { + return ResourceManager.GetString("Found_RDB_magic_at_block_0", resourceCulture); + } + } + + internal static string Going_to_block_0_in_search_of_a_BadBlock_block { + get { + return ResourceManager.GetString("Going_to_block_0_in_search_of_a_BadBlock_block", resourceCulture); + } + } + + internal static string Found_BadBlock_block { + get { + return ResourceManager.GetString("Found_BadBlock_block", resourceCulture); + } + } + + internal static string Bad_block_at_0_replaced_with_good_block_at_1 { + get { + return ResourceManager.GetString("Bad_block_at_0_replaced_with_good_block_at_1", resourceCulture); + } + } + + internal static string Going_to_block_0_in_search_of_a_PartitionEntry_block { + get { + return ResourceManager.GetString("Going_to_block_0_in_search_of_a_PartitionEntry_block", resourceCulture); + } + } + + internal static string Found_PartitionEntry_block { + get { + return ResourceManager.GetString("Found_PartitionEntry_block", resourceCulture); + } + } + + internal static string Going_to_block_0_in_search_of_a_FileSystemHeader_block { + get { + return ResourceManager.GetString("Going_to_block_0_in_search_of_a_FileSystemHeader_block", resourceCulture); + } + } + + internal static string Found_FileSystemHeader_block { + get { + return ResourceManager.GetString("Found_FileSystemHeader_block", resourceCulture); + } + } + + internal static string Going_to_block_0_in_search_of_a_LoadSegment_block { + get { + return ResourceManager.GetString("Going_to_block_0_in_search_of_a_LoadSegment_block", resourceCulture); + } + } + + internal static string Found_LoadSegment_block { + get { + return ResourceManager.GetString("Found_LoadSegment_block", resourceCulture); + } + } + + internal static string LoadSegment_data_SHA1_0 { + get { + return ResourceManager.GetString("LoadSegment_data_SHA1_0", resourceCulture); + } + } + + internal static string Amiga_Original_File_System { + get { + return ResourceManager.GetString("Amiga_Original_File_System", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System { + get { + return ResourceManager.GetString("Amiga_Fast_File_System", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_international_characters { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_international_characters", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_international_characters { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_international_characters", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_directory_cache { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_directory_cache", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_directory_cache { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_directory_cache", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_long_filenames { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_long_filenames", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_long_filenames { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_long_filenames", resourceCulture); + } + } + + internal static string Amiga_UNIX_System_V_filesystem { + get { + return ResourceManager.GetString("Amiga_UNIX_System_V_filesystem", resourceCulture); + } + } + + internal static string Amiga_UNIX_boot_filesystem { + get { + return ResourceManager.GetString("Amiga_UNIX_boot_filesystem", resourceCulture); + } + } + + internal static string Amiga_UNIX_BSD_filesystem { + get { + return ResourceManager.GetString("Amiga_UNIX_BSD_filesystem", resourceCulture); + } + } + + internal static string Amiga_UNIX_Reserved_partition__swap_ { + get { + return ResourceManager.GetString("Amiga_UNIX_Reserved_partition__swap_", resourceCulture); + } + } + + internal static string ProfessionalFileSystem { + get { + return ResourceManager.GetString("ProfessionalFileSystem", resourceCulture); + } + } + + internal static string SmartFileSystem_v1 { + get { + return ResourceManager.GetString("SmartFileSystem_v1", resourceCulture); + } + } + + internal static string SmartFileSystem_v2 { + get { + return ResourceManager.GetString("SmartFileSystem_v2", resourceCulture); + } + } + + internal static string JXFS { + get { + return ResourceManager.GetString("JXFS", resourceCulture); + } + } + + internal static string FAT_as_set_by_CrossDOS { + get { + return ResourceManager.GetString("FAT_as_set_by_CrossDOS", resourceCulture); + } + } + + internal static string HFS_as_set_by_CrossMac { + get { + return ResourceManager.GetString("HFS_as_set_by_CrossMac", resourceCulture); + } + } + + internal static string _4_2_UFS_for_BFFS { + get { + return ResourceManager.GetString("_4_2_UFS_for_BFFS", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_multi_user_patches", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_multi_user_patches", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_international_characters_and_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_international_characters_and_multi_user_patches", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_international_characters_and_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_international_characters_and_multi_user_patches", resourceCulture); + } + } + + internal static string Amiga_Original_File_System_with_directory_cache_and_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Original_File_System_with_directory_cache_and_multi_user_patches", resourceCulture); + } + } + + internal static string Amiga_Fast_File_System_with_directory_cache_and_multi_user_patches { + get { + return ResourceManager.GetString("Amiga_Fast_File_System_with_directory_cache_and_multi_user_patches", resourceCulture); + } + } + + internal static string BSD_unused { + get { + return ResourceManager.GetString("BSD_unused", resourceCulture); + } + } + + internal static string BSD_swap { + get { + return ResourceManager.GetString("BSD_swap", resourceCulture); + } + } + + internal static string BSD_4_2_FFS { + get { + return ResourceManager.GetString("BSD_4_2_FFS", resourceCulture); + } + } + + internal static string BSD_4_4_LFS { + get { + return ResourceManager.GetString("BSD_4_4_LFS", resourceCulture); + } + } + + internal static string NetBSD_unused_root_partition { + get { + return ResourceManager.GetString("NetBSD_unused_root_partition", resourceCulture); + } + } + + internal static string NetBSD_4_2_FFS_root_partition { + get { + return ResourceManager.GetString("NetBSD_4_2_FFS_root_partition", resourceCulture); + } + } + + internal static string NetBSD_4_4_LFS_root_partition { + get { + return ResourceManager.GetString("NetBSD_4_4_LFS_root_partition", resourceCulture); + } + } + + internal static string NetBSD_unused_user_partition { + get { + return ResourceManager.GetString("NetBSD_unused_user_partition", resourceCulture); + } + } + + internal static string NetBSD_4_2_FFS_user_partition { + get { + return ResourceManager.GetString("NetBSD_4_2_FFS_user_partition", resourceCulture); + } + } + + internal static string NetBSD_4_4_LFS_user_partition { + get { + return ResourceManager.GetString("NetBSD_4_4_LFS_user_partition", resourceCulture); + } + } + + internal static string Linux_filesystem_partition { + get { + return ResourceManager.GetString("Linux_filesystem_partition", resourceCulture); + } + } + + internal static string Linux_swap_partition { + get { + return ResourceManager.GetString("Linux_swap_partition", resourceCulture); + } + } + + internal static string RaidFrame_partition { + get { + return ResourceManager.GetString("RaidFrame_partition", resourceCulture); + } + } + + internal static string Unknown_Amiga_DOS_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_Amiga_DOS_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_Amiga_UNIX_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_Amiga_UNIX_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_ProfessionalFileSystem_type_0 { + get { + return ResourceManager.GetString("Unknown_ProfessionalFileSystem_type_0", resourceCulture); + } + } + + internal static string Unknown_SmartFileSystem_type_0 { + get { + return ResourceManager.GetString("Unknown_SmartFileSystem_type_0", resourceCulture); + } + } + + internal static string Unknown_Amiga_DOS_multi_user_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_Amiga_DOS_multi_user_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_BSD_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_BSD_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_NetBSD_root_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_NetBSD_root_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_NetBSD_user_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_NetBSD_user_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_NetBSD_swap_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_NetBSD_swap_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_Linux_filesystem_type_0 { + get { + return ResourceManager.GetString("Unknown_Linux_filesystem_type_0", resourceCulture); + } + } + + internal static string Unknown_partition_type_0 { + get { + return ResourceManager.GetString("Unknown_partition_type_0", resourceCulture); + } + } + + internal static string RioKarma_Name { + get { + return ResourceManager.GetString("RioKarma_Name", resourceCulture); + } + } + + internal static string Rio_Karma { + get { + return ResourceManager.GetString("Rio_Karma", resourceCulture); + } + } + + internal static string SGI_Name { + get { + return ResourceManager.GetString("SGI_Name", resourceCulture); + } + } + + internal static string dvh_magic_equals_0_X8_should_be_1_X8 { + get { + return ResourceManager.GetString("dvh_magic_equals_0_X8_should_be_1_X8", resourceCulture); + } + } + + internal static string Volume_header { + get { + return ResourceManager.GetString("Volume_header", resourceCulture); + } + } + + internal static string Track_replacements { + get { + return ResourceManager.GetString("Track_replacements", resourceCulture); + } + } + + internal static string Sector_replacements { + get { + return ResourceManager.GetString("Sector_replacements", resourceCulture); + } + } + + internal static string Raw_data_swap { + get { + return ResourceManager.GetString("Raw_data_swap", resourceCulture); + } + } + + internal static string Whole_device { + get { + return ResourceManager.GetString("Whole_device", resourceCulture); + } + } + + internal static string Logical_volume { + get { + return ResourceManager.GetString("Logical_volume", resourceCulture); + } + } + + internal static string Raw_logical_volume { + get { + return ResourceManager.GetString("Raw_logical_volume", resourceCulture); + } + } + + internal static string XFS { + get { + return ResourceManager.GetString("XFS", resourceCulture); + } + } + + internal static string XFS_log_device { + get { + return ResourceManager.GetString("XFS_log_device", resourceCulture); + } + } + + internal static string XLV_volume { + get { + return ResourceManager.GetString("XLV_volume", resourceCulture); + } + } + + internal static string SGI_XVM { + get { + return ResourceManager.GetString("SGI_XVM", resourceCulture); + } + } + + internal static string Linux_swap { + get { + return ResourceManager.GetString("Linux_swap", resourceCulture); + } + } + + internal static string SunDisklabel_Name { + get { + return ResourceManager.GetString("SunDisklabel_Name", resourceCulture); + } + } + + internal static string SunOS_partition { + get { + return ResourceManager.GetString("SunOS_partition", resourceCulture); + } + } + + internal static string Partition_timestamped_on_0 { + get { + return ResourceManager.GetString("Partition_timestamped_on_0", resourceCulture); + } + } + + internal static string Swapping_dk_label { + get { + return ResourceManager.GetString("Swapping_dk_label", resourceCulture); + } + } + + internal static string Swapping_dk_label8 { + get { + return ResourceManager.GetString("Swapping_dk_label8", resourceCulture); + } + } + + internal static string Swapping_dk_label16 { + get { + return ResourceManager.GetString("Swapping_dk_label16", resourceCulture); + } + } + + internal static string Unmountable { + get { + return ResourceManager.GetString("Unmountable", resourceCulture); + } + } + + internal static string Read_only { + get { + return ResourceManager.GetString("Read_only", resourceCulture); + } + } + + internal static string LVM { + get { + return ResourceManager.GetString("LVM", resourceCulture); + } + } + + internal static string Sun_boot { + get { + return ResourceManager.GetString("Sun_boot", resourceCulture); + } + } + + internal static string Sun_home { + get { + return ResourceManager.GetString("Sun_home", resourceCulture); + } + } + + internal static string Sun_root { + get { + return ResourceManager.GetString("Sun_root", resourceCulture); + } + } + + internal static string Sun_stand { + get { + return ResourceManager.GetString("Sun_stand", resourceCulture); + } + } + + internal static string Sun_swap { + get { + return ResourceManager.GetString("Sun_swap", resourceCulture); + } + } + + internal static string Sun_usr { + get { + return ResourceManager.GetString("Sun_usr", resourceCulture); + } + } + + internal static string Sun_var { + get { + return ResourceManager.GetString("Sun_var", resourceCulture); + } + } + + internal static string Whole_disk { + get { + return ResourceManager.GetString("Whole_disk", resourceCulture); + } + } + + internal static string Replacement_sectors { + get { + return ResourceManager.GetString("Replacement_sectors", resourceCulture); + } + } + + internal static string Sun_cachefs { + get { + return ResourceManager.GetString("Sun_cachefs", resourceCulture); + } + } + + internal static string Reserved_for_SMI { + get { + return ResourceManager.GetString("Reserved_for_SMI", resourceCulture); + } + } + + internal static string Veritas_public { + get { + return ResourceManager.GetString("Veritas_public", resourceCulture); + } + } + + internal static string Veritas_private { + get { + return ResourceManager.GetString("Veritas_private", resourceCulture); + } + } + + internal static string FreeBSD_swap { + get { + return ResourceManager.GetString("FreeBSD_swap", resourceCulture); + } + } + + internal static string Vinum { + get { + return ResourceManager.GetString("Vinum", resourceCulture); + } + } + + internal static string data { + get { + return ResourceManager.GetString("data", resourceCulture); + } + } + + internal static string error_log { + get { + return ResourceManager.GetString("error_log", resourceCulture); + } + } + + internal static string errorlog { + get { + return ResourceManager.GetString("errorlog", resourceCulture); + } + } + + internal static string swap { + get { + return ResourceManager.GetString("swap", resourceCulture); + } + } + + internal static string user { + get { + return ResourceManager.GetString("user", resourceCulture); + } + } + + internal static string maintenance_area { + get { + return ResourceManager.GetString("maintenance_area", resourceCulture); + } + } + + internal static string maintenance { + get { + return ResourceManager.GetString("maintenance", resourceCulture); + } + } + + internal static string bad_sector_file { + get { + return ResourceManager.GetString("bad_sector_file", resourceCulture); + } + } + + internal static string bad { + get { + return ResourceManager.GetString("bad", resourceCulture); + } + } + + internal static string UNIX_Name { + get { + return ResourceManager.GetString("UNIX_Name", resourceCulture); + } + } + + internal static string VTOC_Name { + get { + return ResourceManager.GetString("VTOC_Name", resourceCulture); + } + } + + internal static string sanity_at_0_is_1_X8_should_be_2_X8_or_3_X8 { + get { + return ResourceManager.GetString("sanity_at_0_is_1_X8_should_be_2_X8_or_3_X8", resourceCulture); + } + } + + internal static string New_VTOC_found_at_0 { + get { + return ResourceManager.GetString("New_VTOC_found_at_0", resourceCulture); + } + } + + internal static string Old_VTOC_found_at_0 { + get { + return ResourceManager.GetString("Old_VTOC_found_at_0", resourceCulture); + } + } + + internal static string Searching_for_VTOC_on_relative_byte_0 { + get { + return ResourceManager.GetString("Searching_for_VTOC_on_relative_byte_0", resourceCulture); + } + } + + internal static string Going_to_read_0_sectors_from_sector_1_getting_VTOC_from_byte_2 { + get { + return ResourceManager.GetString("Going_to_read_0_sectors_from_sector_1_getting_VTOC_from_byte_2", resourceCulture); + } + } + + internal static string Going_to_read_past_device_size_aborting { + get { + return ResourceManager.GetString("Going_to_read_past_device_size_aborting", resourceCulture); + } + } + + internal static string New_VTOC_found { + get { + return ResourceManager.GetString("New_VTOC_found", resourceCulture); + } + } + + internal static string Cannot_find_VTOC { + get { + return ResourceManager.GetString("Cannot_find_VTOC", resourceCulture); + } + } + + internal static string valid { + get { + return ResourceManager.GetString("valid", resourceCulture); + } + } + + internal static string _unmountable_ { + get { + return ResourceManager.GetString("_unmountable_", resourceCulture); + } + } + + internal static string open { + get { + return ResourceManager.GetString("open", resourceCulture); + } + } + + internal static string alternate_sector_mapping { + get { + return ResourceManager.GetString("alternate_sector_mapping", resourceCulture); + } + } + + internal static string _read_only_ { + get { + return ResourceManager.GetString("_read_only_", resourceCulture); + } + } + + internal static string created_on_0 { + get { + return ResourceManager.GetString("created_on_0", resourceCulture); + } + } + + internal static string Unused { + get { + return ResourceManager.GetString("Unused", resourceCulture); + } + } + + internal static string Alternate_sector_space { + get { + return ResourceManager.GetString("Alternate_sector_space", resourceCulture); + } + } + + internal static string non_UNIX { + get { + return ResourceManager.GetString("non_UNIX", resourceCulture); + } + } + + internal static string Alternate_track_space { + get { + return ResourceManager.GetString("Alternate_track_space", resourceCulture); + } + } + + internal static string Alternate_sector_track { + get { + return ResourceManager.GetString("Alternate_sector_track", resourceCulture); + } + } + + internal static string Cache { + get { + return ResourceManager.GetString("Cache", resourceCulture); + } + } + + internal static string Reserved { + get { + return ResourceManager.GetString("Reserved", resourceCulture); + } + } + + internal static string dump { + get { + return ResourceManager.GetString("dump", resourceCulture); + } + } + + internal static string volume_mgt_public_partition { + get { + return ResourceManager.GetString("volume_mgt_public_partition", resourceCulture); + } + } + + internal static string volume_mgt_private_partition { + get { + return ResourceManager.GetString("volume_mgt_private_partition", resourceCulture); + } + } + + internal static string Unknown_TAG_0 { + get { + return ResourceManager.GetString("Unknown_TAG_0", resourceCulture); + } + } + + internal static string Xbox_Name { + get { + return ResourceManager.GetString("Xbox_Name", resourceCulture); + } + } + + internal static string Content_volume { + get { + return ResourceManager.GetString("Content_volume", resourceCulture); + } + } + + internal static string Dashboard_volume { + get { + return ResourceManager.GetString("Dashboard_volume", resourceCulture); + } + } + + internal static string System_cache { + get { + return ResourceManager.GetString("System_cache", resourceCulture); + } + } + + internal static string Data_volume { + get { + return ResourceManager.GetString("Data_volume", resourceCulture); + } + } + + internal static string Security_sectors { + get { + return ResourceManager.GetString("Security_sectors", resourceCulture); + } + } + + internal static string Game_cache { + get { + return ResourceManager.GetString("Game_cache", resourceCulture); + } + } + + internal static string System_volume { + get { + return ResourceManager.GetString("System_volume", resourceCulture); + } + } + + internal static string System_volume_2 { + get { + return ResourceManager.GetString("System_volume_2", resourceCulture); + } + } + + internal static string Xbox_backwards_compatibility { + get { + return ResourceManager.GetString("Xbox_backwards_compatibility", resourceCulture); + } + } + + internal static string XENIX_Name { + get { + return ResourceManager.GetString("XENIX_Name", resourceCulture); + } + } + } +} diff --git a/Aaru.Partitions/Localization/Localization.resx b/Aaru.Partitions/Localization/Localization.resx new file mode 100644 index 000000000..b19ce01e4 --- /dev/null +++ b/Aaru.Partitions/Localization/Localization.resx @@ -0,0 +1,1413 @@ + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, + PublicKeyToken=b77a5c561934e089 + + + + Acorn FileCore partitions + + + Apple Partition Map + + + Found misaligned entry. + + + Found aligned entry. + + + Partition flags: + + + Partition is valid. + + + Partition entry is allocated. + + + Partition is in use. + + + Partition is bootable. + + + Partition is readable. + + + Partition is writable. + + + First boot sector: {0} + + + Boot is {0} bytes. + + + Boot load address: 0x{0:X8} + + + Boot entry point: 0x{0:X8} + + + Boot code checksum: 0x{0:X8} + + + Processor: {0} + + + Partition's boot code is position independent. + + + Cutting last partition end ({0}) to media size ({1}) + + + Not adding partition because start ({0}) is outside media size ({1}) + + + ACT Apricot partitions + + + Non-bootable + + + Apricot & XI RAM BIOS + + + Generic ROM BIOS + + + Apricot & XI ROM BIOS + + + Apricot Portable ROM BIOS + + + Apricot F1 ROM BIOS + + + MF1DD 70-track + + + Invalid + + + None + + + Odd + + + Even + + + Mark + + + Space + + + Parallel + + + Serial + + + Unknown + + + Unknown + + + Unknown + + + Unknown + + + Unknown + + + Atari partitions + + + Boot code SHA1: {0} + + + WARNING: End of partition goes beyond device size + + + Atari GEMDOS partition + + + Atari GEMDOS partition bigger than 32 MiB + + + Linux partition + + + Swap partition + + + RAW partition + + + NetBSD partition + + + NetBSD swap partition + + + Atari UNIX partition + + + Macintosh partition + + + MINIX partition + + + Unknown partition type + + + BSD disklabel + + + dl.magic on sector {0} at offset {1} = 0x{2:X8} (expected 0x{3:X8}) + + + Adding it... + + + Unused entry + + + UNIX 6th Edition + + + UNIX 7th Edition + + + UNIX System V + + + UNIX 7th Edition with 1K blocks + + + UNIX 8th Edition with 4K blocks + + + 4.2BSD Fast File System + + + 4.4LFS + + + HPFS + + + ISO9660 + + + Boot + + + Amiga FFS + + + Apple HFS + + + Digital Advanced File System + + + Digital LSM Public Region + + + Digital LSM Private Region + + + Digital LSM Simple Disk + + + Concatenated disk + + + IBM JFS2 + + + Hammer + + + Hammer2 + + + UDF + + + EFS + + + ZFS + + + FreeBSD nandfs + + + FAT + + + Other or unknown + + + DEC disklabel + + + DragonFly BSD 64-bit disklabel + + + GUID Partition Table + + + Found unaligned signature + + + MBR scheme + + + EFI System + + + BIOS Boot + + + Intel Fast Flash (iFFS) + + + Sony boot + + + Lenovo boot + + + Microsoft Reserved (MSR) + + + Microsoft Basic data + + + Logical Disk Manager (LDM) metadata + + + Logical Disk Manager data + + + Windows Recovery Environment + + + IBM General Parallel File System (GPFS) + + + Windows Storage Spaces + + + HP-UX Data + + + HP-UX Service + + + Linux filesystem + + + Linux RAID + + + Linux Root (x86) + + + Linux Root (x86-64) + + + Linux Root (32-bit ARM) + + + Linux Root (64-bit ARM/AArch64) + + + Logical Volume Manager (LVM) + + + Linux /home + + + Linux /srv + + + Plain dm-crypt + + + LUKS + + + Linux Reserved + + + FreeBSD Boot + + + FreeBSD Data + + + FreeBSD UFS + + + FreeBSD UFS2 + + + FreeBSD Vinum + + + FreeBSD ZFS + + + Apple UFS + + + Apple RAID + + + Apple RAID, offline + + + Apple Boot + + + Apple Label + + + Apple TV Recovery + + + Apple Core Storage + + + Solaris Root + + + Solaris Swap + + + Solaris Backup + + + Solaris /usr or Apple ZFS + + + Solaris /var + + + Solaris /home + + + Solaris Alternate sector + + + Solaris Reserved + + + NetBSD Swap + + + NetBSD FFS + + + NetBSD LFS + + + NetBSD RAID + + + NetBSD Concatenated + + + NetBSD Encrypted + + + ChromeOS kernel + + + ChromeOS rootfs + + + ChromeOS future use + + + Haiku BFS + + + MidnightBSD Boot + + + MidnightBSD Data + + + MidnightBSD Swap + + + MidnightBSD UFS + + + MidnightBSD Vinum + + + MidnightBSD ZFS + + + Ceph Journal + + + Ceph dm-crypt Encrypted Journal + + + Ceph OSD + + + Ceph dm-crypt OSD + + + Ceph disk in creation + + + Ceph dm-crypt disk in creation + + + OpenBSD Data + + + QNX Power-safe (QNX6) + + + Plan 9 + + + VMware vmkcore (coredump) + + + VMware VMFS + + + VMware Reserved + + + ONIE boot + + + ONIE config + + + PowerPC PReP boot + + + Acronis Secure Zone + + + Apple File System + + + DragonflyBSD Label + + + DragonflyBSD Swap + + + DragonflyBSD UFS + + + DragonflyBSD Vinum + + + DragonflyBSD CCD + + + DragonflyBSD Legacy + + + DragonflyBSD Hammer + + + DragonflyBSD Hammer2 + + + Human 68k partitions + + + Empty + + + FAT12 + + + XENIX root + + + XENIX /usr + + + FAT16 < 32 MiB + + + Extended + + + FAT16 + + + IFS (HPFS/NTFS) + + + AIX boot, OS/2, Commodore DOS + + + AIX data, Coherent, QNX + + + Coherent swap, OPUS, OS/2 Boot Manager + + + FAT32 + + + FAT32 (LBA) + + + FAT16 (LBA) + + + Extended (LBA) + + + OPUS + + + Hidden FAT12 + + + Compaq diagnostics, recovery partition + + + Hidden FAT16 < 32 MiB, AST-DOS + + + Hidden FAT16 + + + Hidden IFS (HPFS/NTFS) + + + AST-Windows swap + + + Willowtech Photon coS + + + Hidden FAT32 + + + Hidden FAT32 (LBA) + + + Hidden FAT16 (LBA) + + + Willowsoft Overture File System + + + Oxygen FSo2 + + + Oxygen Extended + + + SpeedStor reserved + + + NEC-DOS + + + Hidden NTFS + + + Theos + + + Partition Magic + + + Hidden NetWare + + + VENIX 80286 + + + PReP Boot + + + Secure File System + + + PTS-DOS + + + Priam, EUMEL/Elan + + + EUMEL/Elan + + + ALFS/THIN lightweight filesystem for DOS + + + QNX 4 + + + QNX 4, Oberon + + + Ontrack DM, R/O, FAT + + + Ontrack DM, R/W, FAT + + + CP/M, Microport UNIX + + + Ontrack DM 6 + + + EZ-Drive + + + Golden Bow VFeature + + + Priam EDISK + + + SpeedStor + + + GNU Hurd, System V, 386/ix + + + NetWare 286 + + + NetWare + + + NetWare 386 + + + NetWare NSS + + + DiskSecure Multi-Boot + + + IBM PC/IX + + + Old MINIX + + + MINIX, Old Linux + + + Linux swap, Solaris + + + Linux + + + Hidden by OS/2, APM hibernation + + + Linux extended + + + NT Stripe Set + + + Linux Plaintext + + + Linux LVM + + + Amoeba, Hidden Linux + + + Amoeba bad blocks + + + Mylex EISA SCSI + + + BSD/OS + + + Hibernation + + + HP Volume Expansion + + + FreeBSD + + + OpenBSD + + + NeXTStep + + + NetBSD + + + Olivetti DOS FAT12 + + + BootStar + + + BSDi + + + PTS BootWizard + + + Solaris boot + + + Solaris + + + Novell DOS, DR-DOS secured + + + DR-DOS secured FAT12 + + + DR-DOS reserved + + + DR-DOS secured FAT16 < 32 MiB + + + DR-DOS secured FAT16 + + + Syrinx + + + DR-DOS secured FAT32 (LBA) + + + DR-DOS secured FAT16 (LBA) + + + DR-DOS secured FAT32 + + + DR-DOS secured extended (LBA) + + + Multiuser DOS secured FAT12 + + + Multiuser DOS secured FAT16 < 32 MiB + + + Multiuser DOS secured extended + + + Multiuser DOS secured FAT16 + + + CP/M + + + Filesystem-less data + + + CP/M, CCP/M, CTOS + + + Dell partition + + + BootIt EMBRM + + + DOS read/only + + + Tandy DOS + + + BeOS + + + Spryt*x + + + Guid Partition Table + + + EFI system partition + + + Linux boot + + + DOS 3.3 secondary, Unisys DOS + + + Prologue + + + VMWare VMKCORE + + + Linux RAID, FreeDOS + + + SpeedStor, LANStep, PS/2 IML + + + Xenix bad block + + + Master Boot Record + + + MINIX + + + NeXT Disklabel + + + Partition bigger than device, reducing... + + + {0} bytes per block + + + {0} bytes per fragment + + + Space optimized + + + Time optimized + + + Unknown optimization {0:X2} + + + {0} cylinders per group + + + {0} bytes per inode + + + {0}% of space must be free at minimum + + + Filesystem should be formatted at start + + + Filesystem should be automatically mounted + + + NEC PC-9800 partition table + + + PC-UX + + + N88-BASIC(86) + + + Windows Volume Set + + + Plan9 partition table + + + Amiga Rigid Disk Block + + + Possible magic at block {0} is 0x{1:X8} + + + Found RDB magic at block {0} + + + Going to block {0} in search of a BadBlock block + + + Found BadBlock block + + + Bad block at {0} replaced with good block at {1} + + + Going to block {0} in search of a PartitionEntry block + + + Found PartitionEntry block + + + Going to block {0} in search of a FileSystemHeader block + + + Found FileSystemHeader block + + + Going to block {0} in search of a LoadSegment block + + + Found LoadSegment block + + + LoadSegment data SHA1: {0} + + + Amiga Original File System + + + Amiga Fast File System + + + Amiga Original File System with international characters + + + Amiga Fast File System with international characters + + + Amiga Original File System with directory cache + + + Amiga Fast File System with directory cache + + + Amiga Original File System with long filenames + + + Amiga Fast File System with long filenames + + + Amiga UNIX System V filesystem + + + Amiga UNIX boot filesystem + + + Amiga UNIX BSD filesystem + + + Amiga UNIX Reserved partition (swap) + + + ProfessionalFileSystem + + + SmartFileSystem v1 + + + SmartFileSystem v2 + + + JXFS + + + FAT, as set by CrossDOS + + + HFS, as set by CrossMac + + + 4.2UFS, for BFFS + + + Amiga Original File System with multi-user patches + + + Amiga Fast File System with multi-user patches + + + Amiga Original File System with international characters and multi-user patches + + + Amiga Fast File System with international characters and multi-user patches + + + Amiga Original File System with directory cache and multi-user patches + + + Amiga Fast File System with directory cache and multi-user patches + + + BSD unused + + + BSD swap + + + BSD 4.2 FFS + + + BSD 4.4 LFS + + + NetBSD unused root partition + + + NetBSD 4.2 FFS root partition + + + NetBSD 4.4 LFS root partition + + + NetBSD unused user partition + + + NetBSD 4.2 FFS user partition + + + NetBSD 4.4 LFS user partition + + + Linux filesystem partition + + + Linux swap partition + + + RaidFrame partition + + + Unknown Amiga DOS filesystem type {0} + + + Unknown Amiga UNIX filesystem type {0} + + + Unknown ProfessionalFileSystem type {0} + + + Unknown SmartFileSystem type {0} + + + Unknown Amiga DOS multi-user filesystem type {0} + + + Unknown BSD filesystem type {0} + + + Unknown NetBSD root filesystem type {0} + + + Unknown NetBSD user filesystem type {0} + + + Unknown NetBSD swap filesystem type {0} + + + Unknown Linux filesystem type {0} + + + Unknown partition type {0} + + + Rio Karma partitioning + + + Rio Karma + + + SGI Disk Volume Header + + + dvh.magic = 0x{0:X8} (should be 0x{1:X8}) + + + Volume header + + + Track replacements + + + Sector replacements + + + Raw data (swap) + + + Whole device + + + Logical volume + + + Raw logical volume + + + XFS + + + XFS log device + + + XLV volume + + + SGI XVM + + + Linux swap + + + Sun Disklabel + + + SunOS partition + + + Partition timestamped on {0} + + + Swapping dk_label + + + Swapping dk_label8 + + + Swapping dk_label16 + + + Unmountable + + + Read-only + + + LVM + + + Sun boot + + + Sun /home + + + Sun / + + + Sun /stand + + + Sun swap + + + Sun /usr + + + Sun /var + + + Whole disk + + + Replacement sectors + + + Sun cachefs + + + Reserved for SMI + + + Veritas public + + + Veritas private + + + FreeBSD swap + + + Vinum + + + data + + + error log + + + errorlog + + + swap + + + user + + + maintenance area + + + maintenance + + + bad sector file + + + bad + + + UNIX hardwired + + + UNIX VTOC + + + sanity at {0} is 0x{1:X8} (should be 0x{2:X8} or 0x{3:X8}) + + + New VTOC found at {0} + + + Old VTOC found at {0} + + + Searching for VTOC on relative byte {0} + + + Going to read {0} sectors from sector {1}, getting VTOC from byte {2} + + + Going to read past device size, aborting... + + + New VTOC found. + + + Cannot find VTOC. + + + (valid) + + + (unmountable) + + + (open) + + + (alternate sector mapping) + + + (read-only) + + + created on {0} + + + Unused + + + Alternate sector space + + + non UNIX + + + Alternate track space + + + Alternate sector track + + + Cache + + + Reserved + + + dump + + + volume mgt public partition + + + volume mgt private partition + + + Unknown TAG: 0x{0:X4} + + + Xbox partitioning + + + Content volume + + + Dashboard volume + + + System cache + + + Data volume + + + Security sectors + + + Game cache + + + System volume + + + System volume 2 + + + Xbox backwards compatibility + + + XENIX + + \ No newline at end of file diff --git a/Aaru.Partitions/MBR.cs b/Aaru.Partitions/MBR.cs index 20085a9a0..94d3f4e03 100644 --- a/Aaru.Partitions/MBR.cs +++ b/Aaru.Partitions/MBR.cs @@ -58,205 +58,256 @@ public sealed class MBR : IPartition static readonly string[] _mbrTypes = { // 0x00 - "Empty", "FAT12", "XENIX root", "XENIX /usr", + Localization.Empty, Localization.FAT12, Localization.XENIX_root, Localization.XENIX_usr, // 0x04 - "FAT16 < 32 MiB", "Extended", "FAT16", "IFS (HPFS/NTFS)", + Localization.FAT16_32_MiB, Localization.Extended, Localization.FAT16, Localization.IFS_HPFS_NTFS, // 0x08 - "AIX boot, OS/2, Commodore DOS", "AIX data, Coherent, QNX", "Coherent swap, OPUS, OS/2 Boot Manager", "FAT32", + Localization.AIX_boot_OS2_Commodore_DOS, Localization.AIX_data_Coherent_QNX, + Localization.Coherent_swap_OPUS_OS_2_Boot_Manager, Localization.FAT32, // 0x0C - "FAT32 (LBA)", "Unknown", "FAT16 (LBA)", "Extended (LBA)", + Localization.FAT32_LBA, Localization.Unknown_partition_type, Localization.FAT16_LBA, Localization.Extended_LBA, // 0x10 - "OPUS", "Hidden FAT12", "Compaq diagnostics, recovery partition", "Unknown", + Localization.OPUS, Localization.Hidden_FAT12, Localization.Compaq_diagnostics_recovery_partition, + Localization.Unknown_partition_type, // 0x14 - "Hidden FAT16 < 32 MiB, AST-DOS", "Unknown", "Hidden FAT16", "Hidden IFS (HPFS/NTFS)", + Localization.Hidden_FAT16_32_MiB_AST_DOS, Localization.Unknown_partition_type, Localization.Hidden_FAT16, + Localization.Hidden_IFS_HPFS_NTFS, // 0x18 - "AST-Windows swap", "Willowtech Photon coS", "Unknown", "Hidden FAT32", + Localization.AST_Windows_swap, Localization.Willowtech_Photon_coS, Localization.Unknown_partition_type, + Localization.Hidden_FAT32, // 0x1C - "Hidden FAT32 (LBA)", "Unknown", "Hidden FAT16 (LBA)", "Unknown", + Localization.Hidden_FAT32_LBA, Localization.Unknown_partition_type, Localization.Hidden_FAT16_LBA, + Localization.Unknown_partition_type, // 0x20 - "Willowsoft Overture File System", "Oxygen FSo2", "Oxygen Extended ", "SpeedStor reserved", + Localization.Willowsoft_Overture_File_System, Localization.Oxygen_FSo2, Localization.Oxygen_Extended, + Localization.SpeedStor_reserved, // 0x24 - "NEC-DOS", "Unknown", "SpeedStor reserved", "Hidden NTFS", + Localization.NEC_DOS, Localization.Unknown_partition_type, Localization.SpeedStor_reserved, + Localization.Hidden_NTFS, // 0x28 - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x2C - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x30 - "Unknown", "SpeedStor reserved", "Unknown", "SpeedStor reserved", + Localization.Unknown_partition_type, Localization.SpeedStor_reserved, Localization.Unknown_partition_type, + Localization.SpeedStor_reserved, // 0x34 - "SpeedStor reserved", "Unknown", "SpeedStor reserved", "Unknown", + Localization.SpeedStor_reserved, Localization.Unknown_partition_type, Localization.SpeedStor_reserved, + Localization.Unknown_partition_type, // 0x38 - "Theos", "Plan 9", "Unknown", "Unknown", + Localization.Theos, Localization.Plan_9, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x3C - "Partition Magic", "Hidden NetWare", "Unknown", "Unknown", + Localization.Partition_Magic, Localization.Hidden_NetWare, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x40 - "VENIX 80286", "PReP Boot", "Secure File System", "PTS-DOS", + Localization.VENIX_80286, Localization.PReP_Boot, Localization.Secure_File_System, Localization.PTS_DOS, // 0x44 - "Unknown", "Priam, EUMEL/Elan", "EUMEL/Elan", "EUMEL/Elan", + Localization.Unknown_partition_type, Localization.Priam_EUMEL_Elan, Localization.EUMEL_Elan, + Localization.EUMEL_Elan, // 0x48 - "EUMEL/Elan", "Unknown", "ALFS/THIN lightweight filesystem for DOS", "Unknown", + Localization.EUMEL_Elan, Localization.Unknown_partition_type, + Localization.ALFS_THIN_lightweight_filesystem_for_DOS, Localization.Unknown_partition_type, // 0x4C - "Unknown", "QNX 4", "QNX 4", "QNX 4, Oberon", + Localization.Unknown_partition_type, Localization.QNX_4, Localization.QNX_4, Localization.QNX_4_Oberon, // 0x50 - "Ontrack DM, R/O, FAT", "Ontrack DM, R/W, FAT", "CP/M, Microport UNIX", "Ontrack DM 6", + Localization.Ontrack_DM_RO_FAT, Localization.Ontrack_DM_RW_FAT, Localization.CPM_Microport_UNIX, + Localization.Ontrack_DM_6, // 0x54 - "Ontrack DM 6", "EZ-Drive", "Golden Bow VFeature", "Unknown", + Localization.Ontrack_DM_6, Localization.EZ_Drive, Localization.Golden_Bow_VFeature, + Localization.Unknown_partition_type, // 0x58 - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x5C - "Priam EDISK", "Unknown", "Unknown", "Unknown", + Localization.Priam_EDISK, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x60 - "Unknown", "SpeedStor", "Unknown", "GNU Hurd, System V, 386/ix", + Localization.Unknown_partition_type, Localization.SpeedStor, Localization.Unknown_partition_type, + Localization.GNU_Hurd_System_V_386ix, // 0x64 - "NetWare 286", "NetWare", "NetWare 386", "NetWare", + Localization.NetWare_286, Localization.NetWare, Localization.NetWare_386, Localization.NetWare, // 0x68 - "NetWare", "NetWare NSS", "Unknown", "Unknown", + Localization.NetWare, Localization.NetWare_NSS, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x6C - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x70 - "DiskSecure Multi-Boot", "Unknown", "UNIX 7th Edition", "Unknown", + Localization.DiskSecure_Multi_Boot, Localization.Unknown_partition_type, Localization.UNIX_7th_Edition, + Localization.Unknown_partition_type, // 0x74 - "Unknown", "IBM PC/IX", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.IBM_PC_IX, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x78 - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x7C - "Unknown", "Unknown", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x80 - "Old MINIX", "MINIX, Old Linux", "Linux swap, Solaris", "Linux", + Localization.Old_MINIX, Localization.MINIX_Old_Linux, Localization.Linux_swap_Solaris, Localization.Linux, // 0x84 - "Hidden by OS/2, APM hibernation", "Linux extended", "NT Stripe Set", "NT Stripe Set", + Localization.Hidden_by_OS2_APM_hibernation, Localization.Linux_extended, Localization.NT_Stripe_Set, + Localization.NT_Stripe_Set, // 0x88 - "Linux Plaintext", "Unknown", "Unknown", "Unknown", + Localization.Linux_Plaintext, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x8C - "Unknown", "Unknown", "Linux LVM", "Unknown", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Linux_LVM, + Localization.Unknown_partition_type, // 0x90 - "Unknown", "Unknown", "Unknown", "Amoeba, Hidden Linux", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Amoeba_Hidden_Linux, // 0x94 - "Amoeba bad blocks", "Unknown", "Unknown", "Unknown", + Localization.Amoeba_bad_blocks, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x98 - "Unknown", "Mylex EISA SCSI", "Unknown", "Unknown", + Localization.Unknown_partition_type, Localization.Mylex_EISA_SCSI, Localization.Unknown_partition_type, + Localization.Unknown_partition_type, // 0x9C - "Unknown", "Unknown", "Unknown", "BSD/OS", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.BSD_OS, // 0xA0 - "Hibernation", "HP Volume Expansion", "Unknown", "HP Volume Expansion", + Localization.Hibernation, Localization.HP_Volume_Expansion, Localization.Unknown_partition_type, + Localization.HP_Volume_Expansion, // 0xA4 - "HP Volume Expansion", "FreeBSD", "OpenBSD", "NeXTStep", + Localization.HP_Volume_Expansion, Localization.FreeBSD, Localization.OpenBSD, Localization.NeXTStep, // 0xA8 - "Apple UFS", "NetBSD", "Olivetti DOS FAT12", "Apple Boot", + Localization.Apple_UFS, Localization.NetBSD, Localization.Olivetti_DOS_FAT12, Localization.Apple_Boot, // 0xAC - "Unknown", "Unknown", "Unknown", "Apple HFS", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.Apple_HFS, // 0xB0 - "BootStar", "HP Volume Expansion", "Unknown", "HP Volume Expansion", + Localization.BootStar, Localization.HP_Volume_Expansion, Localization.Unknown_partition_type, + Localization.HP_Volume_Expansion, // 0xB4 - "HP Volume Expansion", "Unknown", "HP Volume Expansion", "BSDi", + Localization.HP_Volume_Expansion, Localization.Unknown_partition_type, Localization.HP_Volume_Expansion, + Localization.BSDi, // 0xB8 - "BSDi swap", "Unknown", "Unknown", "PTS BootWizard", + "BSDi swap", Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.PTS_BootWizard, // 0xBC - "Unknown", "Unknown", "Solaris boot", "Solaris", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Solaris_boot, + Localization.Solaris, // 0xC0 - "Novell DOS, DR-DOS secured", "DR-DOS secured FAT12", "DR-DOS reserved", "DR-DOS reserved", + Localization.Novell_DOS_DR_DOS_secured, Localization.DR_DOS_secured_FAT12, Localization.DR_DOS_reserved, + Localization.DR_DOS_reserved, // 0xC4 - "DR-DOS secured FAT16 < 32 MiB", "Unknown", "DR-DOS secured FAT16", "Syrinx", + Localization.DR_DOS_secured_FAT16_32_MiB, Localization.Unknown_partition_type, + Localization.DR_DOS_secured_FAT16, Localization.Syrinx, // 0xC8 - "DR-DOS reserved", "DR-DOS reserved", "DR-DOS reserved", "DR-DOS secured FAT32", + Localization.DR_DOS_reserved, Localization.DR_DOS_reserved, Localization.DR_DOS_reserved, + Localization.DR_DOS_secured_FAT32, // 0xCC - "DR-DOS secured FAT32 (LBA)", "DR-DOS reserved", "DR-DOS secured FAT16 (LBA)", "DR-DOS secured extended (LBA)", + Localization.DR_DOS_secured_FAT32_LBA, Localization.DR_DOS_reserved, Localization.DR_DOS_secured_FAT16_LBA, + Localization.DR_DOS_secured_extended_LBA, // 0xD0 - "Multiuser DOS secured FAT12", "Multiuser DOS secured FAT12", "Unknown", "Unknown", + Localization.Multiuser_DOS_secured_FAT12, Localization.Multiuser_DOS_secured_FAT12, + Localization.Unknown_partition_type, Localization.Unknown_partition_type, // 0xD4 - "Multiuser DOS secured FAT16 < 32 MiB", "Multiuser DOS secured extended", "Multiuser DOS secured FAT16", - "Unknown", + Localization.Multiuser_DOS_secured_FAT16_32_MiB, Localization.Multiuser_DOS_secured_extended, + Localization.Multiuser_DOS_secured_FAT16, Localization.Unknown_partition_type, // 0xD8 - "CP/M", "Unknown", "Filesystem-less data", "CP/M, CCP/M, CTOS", + Localization.CPM, Localization.Unknown_partition_type, Localization.Filesystem_less_data, + Localization.CPM_CCPM_CTOS, // 0xDC - "Unknown", "Unknown", "Dell partition", "BootIt EMBRM", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Dell_partition, + Localization.BootIt_EMBRM, // 0xE0 - "Unknown", "SpeedStor", "DOS read/only", "SpeedStor", + Localization.Unknown_partition_type, Localization.SpeedStor, Localization.DOS_read_only, Localization.SpeedStor, // 0xE4 - "SpeedStor", "Tandy DOS", "SpeedStor", "Unknown", + Localization.SpeedStor, Localization.Tandy_DOS, Localization.SpeedStor, Localization.Unknown_partition_type, // 0xE8 - "Unknown", "Unknown", "Unknown", "BeOS", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.BeOS, // 0xEC - "Unknown", "Spryt*x", "Guid Partition Table", "EFI system partition", + Localization.Unknown_partition_type, Localization.Sprytx, Localization.Guid_Partition_Table, + Localization.EFI_system_partition, // 0xF0 - "Linux boot", "SpeedStor", "DOS 3.3 secondary, Unisys DOS", "SpeedStor", + Localization.Linux_boot, Localization.SpeedStor, Localization.DOS_3_3_secondary_Unisys_DOS, + Localization.SpeedStor, // 0xF4 - "SpeedStor", "Prologue", "SpeedStor", "Unknown", + Localization.SpeedStor, Localization.Prologue, Localization.SpeedStor, Localization.Unknown_partition_type, // 0xF8 - "Unknown", "Unknown", "Unknown", "VMWare VMFS", + Localization.Unknown_partition_type, Localization.Unknown_partition_type, Localization.Unknown_partition_type, + Localization.VMware_VMFS, // 0xFC - "VMWare VMKCORE", "Linux RAID, FreeDOS", "SpeedStor, LANStep, PS/2 IML", "Xenix bad block" + Localization.VMWare_VMKCORE, Localization.Linux_RAID_FreeDOS, Localization.SpeedStor_LANStep_PS2_IML, + Localization.Xenix_bad_block }; /// - public string Name => "Master Boot Record"; + public string Name => Localization.MBR_Name; /// public Guid Id => new("5E8A34E8-4F1A-59E6-4BF7-7EA647063A76"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// [SuppressMessage("ReSharper", "UnusedVariable")] @@ -439,7 +490,7 @@ public sealed class MBR : IPartition part.Type = $"0x{entry.type:X2}"; part.Name = DecodeMbrType(entry.type); part.Sequence = counter; - part.Description = entry.status == 0x80 ? "Partition is bootable." : ""; + part.Description = entry.status == 0x80 ? Localization.Partition_is_bootable : ""; part.Scheme = Name; counter++; @@ -562,7 +613,7 @@ public sealed class MBR : IPartition part.Type = $"0x{ebrEntry.type:X2}"; part.Name = DecodeMbrType(ebrEntry.type); part.Sequence = counter; - part.Description = ebrEntry.status == 0x80 ? "Partition is bootable." : ""; + part.Description = ebrEntry.status == 0x80 ? Localization.Partition_is_bootable : ""; part.Scheme = Name; counter++; @@ -664,8 +715,8 @@ public sealed class MBR : IPartition anyMnx = true; part.Type = "MINIX"; - part.Name = "MINIX"; - part.Description = mnxEntry.status == 0x80 ? "Partition is bootable." : ""; + part.Name = Localization.MINIX; + part.Description = mnxEntry.status == 0x80 ? Localization.Partition_is_bootable : ""; part.Scheme = "MINIX"; partitions.Add(part); diff --git a/Aaru.Partitions/NeXT.cs b/Aaru.Partitions/NeXT.cs index 2e14cdd08..3e22e9a39 100644 --- a/Aaru.Partitions/NeXT.cs +++ b/Aaru.Partitions/NeXT.cs @@ -64,11 +64,11 @@ public sealed class NeXTDisklabel : IPartition const ushort DISKTAB_ENTRY_SIZE = 0x2C; /// - public string Name => "NeXT Disklabel"; + public string Name => Localization.NeXTDisklabel_Name; /// public Guid Id => new("246A6D93-4F1A-1F8A-344D-50187A5513A9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -229,34 +229,34 @@ public sealed class NeXTDisklabel : IPartition if(part.Start + part.Length > imagePlugin.Info.Sectors) { - AaruConsole.DebugWriteLine("NeXT Plugin", "Partition bigger than device, reducing..."); + AaruConsole.DebugWriteLine("NeXT Plugin", Localization.Partition_bigger_than_device_reducing); part.Length = imagePlugin.Info.Sectors - part.Start; part.Size = part.Length * sectorSize; AaruConsole.DebugWriteLine("NeXT Plugin", "label.dl_dt.d_partitions[{0}].p_size = {1}", i, part.Length); } - sb.AppendFormat("{0} bytes per block", label.dl_dt.d_partitions[i].p_bsize).AppendLine(); - sb.AppendFormat("{0} bytes per fragment", label.dl_dt.d_partitions[i].p_fsize).AppendLine(); + sb.AppendFormat(Localization._0_bytes_per_block, label.dl_dt.d_partitions[i].p_bsize).AppendLine(); + sb.AppendFormat(Localization._0_bytes_per_fragment, label.dl_dt.d_partitions[i].p_fsize).AppendLine(); if(label.dl_dt.d_partitions[i].p_opt == 's') - sb.AppendLine("Space optimized"); + sb.AppendLine(Localization.Space_optimized); else if(label.dl_dt.d_partitions[i].p_opt == 't') - sb.AppendLine("Time optimized"); + sb.AppendLine(Localization.Time_optimized); else - sb.AppendFormat("Unknown optimization {0:X2}", label.dl_dt.d_partitions[i].p_opt).AppendLine(); + sb.AppendFormat(Localization.Unknown_optimization_0_X2, label.dl_dt.d_partitions[i].p_opt).AppendLine(); - sb.AppendFormat("{0} cylinders per group", label.dl_dt.d_partitions[i].p_cpg).AppendLine(); - sb.AppendFormat("{0} bytes per inode", label.dl_dt.d_partitions[i].p_density).AppendLine(); + sb.AppendFormat(Localization._0_cylinders_per_group, label.dl_dt.d_partitions[i].p_cpg).AppendLine(); + sb.AppendFormat(Localization._0_bytes_per_inode, label.dl_dt.d_partitions[i].p_density).AppendLine(); - sb.AppendFormat("{0}% of space must be free at minimum", label.dl_dt.d_partitions[i].p_minfree). + sb.AppendFormat(Localization._0_of_space_must_be_free_at_minimum, label.dl_dt.d_partitions[i].p_minfree). AppendLine(); if(label.dl_dt.d_partitions[i].p_newfs != 1) - sb.AppendLine("Filesystem should be formatted at start"); + sb.AppendLine(Localization.Filesystem_should_be_formatted_at_start); if(label.dl_dt.d_partitions[i].p_automnt == 1) - sb.AppendLine("Filesystem should be automatically mounted"); + sb.AppendLine(Localization.Filesystem_should_be_automatically_mounted); part.Description = sb.ToString(); diff --git a/Aaru.Partitions/PC98.cs b/Aaru.Partitions/PC98.cs index 3d5837fd9..06c681967 100644 --- a/Aaru.Partitions/PC98.cs +++ b/Aaru.Partitions/PC98.cs @@ -47,11 +47,11 @@ namespace Aaru.Partitions; public sealed class PC98 : IPartition { /// - public string Name => "NEC PC-9800 partition table"; + public string Name => Localization.PC98_Name; /// public Guid Id => new("27333401-C7C2-447D-961C-22AD0641A09A"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -74,7 +74,7 @@ public sealed class PC98 : IPartition return false; // Prevent false positives with some FAT BPBs - if(Encoding.ASCII.GetString(bootSector, 0x36, 3) == "FAT") + if(Encoding.ASCII.GetString(bootSector, 0x36, 3) == Localization.FAT) return false; Table table = Marshal.ByteArrayToStructureLittleEndian(sector); @@ -151,20 +151,20 @@ public sealed class PC98 : IPartition { switch(sid & 0x7F) { - case 0x01: return "FAT12"; - case 0x04: return "PC-UX"; - case 0x06: return "N88-BASIC(86)"; + case 0x01: return Localization.FAT12; + case 0x04: return Localization.PC_UX; + case 0x06: return Localization.N88_BASIC_86; // Supposedly for FAT16 < 32 MiB, seen in bigger partitions case 0x11: - case 0x21: return "FAT16"; + case 0x21: return Localization.FAT16; case 0x28: case 0x41: - case 0x48: return "Windows Volume Set"; - case 0x44: return "FreeBSD"; - case 0x61: return "FAT32"; - case 0x62: return "Linux"; - default: return "Unknown"; + case 0x48: return Localization.Windows_Volume_Set; + case 0x44: return Localization.FreeBSD; + case 0x61: return Localization.FAT32; + case 0x62: return Localization.Linux; + default: return Localization.Unknown_partition_type; } } diff --git a/Aaru.Partitions/Plan9.cs b/Aaru.Partitions/Plan9.cs index c1e96e3b1..a830a369f 100644 --- a/Aaru.Partitions/Plan9.cs +++ b/Aaru.Partitions/Plan9.cs @@ -50,11 +50,11 @@ namespace Aaru.Partitions; public sealed class Plan9 : IPartition { /// - public string Name => "Plan9 partition table"; + public string Name => Localization.Plan9_Name; /// public Guid Id => new("F0BF4FFC-056E-4E7C-8B65-4EAEE250ADD9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/RDB.cs b/Aaru.Partitions/RDB.cs index 9dc40a3e9..bcec95029 100644 --- a/Aaru.Partitions/RDB.cs +++ b/Aaru.Partitions/RDB.cs @@ -178,11 +178,11 @@ public sealed class AmigaRigidDiskBlock : IPartition const uint FLAGS_NO_AUTOMOUNT = 0x00000002; /// - public string Name => "Amiga Rigid Disk Block"; + public string Name => Localization.AmigaRigidDiskBlock_Name; /// public Guid Id => new("8D72ED97-1854-4170-9CE4-6E8446FD9863"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -211,11 +211,12 @@ public sealed class AmigaRigidDiskBlock : IPartition uint magic = BigEndianBitConverter.ToUInt32(tmpSector, 0); - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Possible magic at block {0} is 0x{1:X8}", rdbBlock, magic); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Possible_magic_at_block_0_is_1_X8, rdbBlock, + magic); if(magic == RIGID_DISK_BLOCK_MAGIC) { - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Found RDB magic at block {0}", rdbBlock); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Found_RDB_magic_at_block_0, rdbBlock); foundRdb = true; @@ -371,7 +372,7 @@ public sealed class AmigaRigidDiskBlock : IPartition while(nextBlock != 0xFFFFFFFF) { - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Going to block {0} in search of a BadBlock block", + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Going_to_block_0_in_search_of_a_BadBlock_block, nextBlock); errno = imagePlugin.ReadSector(nextBlock, out sector); @@ -384,7 +385,7 @@ public sealed class AmigaRigidDiskBlock : IPartition if(magic != BAD_BLOCK_LIST_MAGIC) break; - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Found BadBlock block"); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Found_BadBlock_block); var chainEntry = new BadBlockList { @@ -415,7 +416,8 @@ public sealed class AmigaRigidDiskBlock : IPartition chainEntry.BlockPairs[i].GoodBlock = BigEndianBitConverter.ToUInt32(sector, (int)(0x18 + (i * 8) + 4)); - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Bad block at {0} replaced with good block at {1}", + AaruConsole.DebugWriteLine("Amiga RDB plugin", + Localization.Bad_block_at_0_replaced_with_good_block_at_1, chainEntry.BlockPairs[i].BadBlock, chainEntry.BlockPairs[i].GoodBlock); } @@ -429,7 +431,8 @@ public sealed class AmigaRigidDiskBlock : IPartition while(nextBlock != 0xFFFFFFFF) { - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Going to block {0} in search of a PartitionEntry block", + AaruConsole.DebugWriteLine("Amiga RDB plugin", + Localization.Going_to_block_0_in_search_of_a_PartitionEntry_block, nextBlock + sectorOffset); errno = imagePlugin.ReadSector(nextBlock + sectorOffset, out sector); @@ -442,7 +445,7 @@ public sealed class AmigaRigidDiskBlock : IPartition if(magic != PARTITION_BLOCK_MAGIC) break; - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Found PartitionEntry block"); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Found_PartitionEntry_block); var partEntry = new PartitionEntry { @@ -598,8 +601,8 @@ public sealed class AmigaRigidDiskBlock : IPartition while(nextBlock != 0xFFFFFFFF) { - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Going to block {0} in search of a FileSystemHeader block", - nextBlock); + AaruConsole.DebugWriteLine("Amiga RDB plugin", + Localization.Going_to_block_0_in_search_of_a_FileSystemHeader_block, nextBlock); errno = imagePlugin.ReadSector(nextBlock, out sector); @@ -611,7 +614,7 @@ public sealed class AmigaRigidDiskBlock : IPartition if(magic != FILESYSTEM_HEADER_MAGIC) break; - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Found FileSystemHeader block"); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Found_FileSystemHeader_block); var fshd = new FileSystemHeader { @@ -676,8 +679,8 @@ public sealed class AmigaRigidDiskBlock : IPartition while(nextBlock != 0xFFFFFFFF) { - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Going to block {0} in search of a LoadSegment block", - nextBlock); + AaruConsole.DebugWriteLine("Amiga RDB plugin", + Localization.Going_to_block_0_in_search_of_a_LoadSegment_block, nextBlock); errno = imagePlugin.ReadSector(nextBlock, out sector); @@ -689,7 +692,7 @@ public sealed class AmigaRigidDiskBlock : IPartition if(magicSeg != LOAD_SEG_MAGIC) break; - AaruConsole.DebugWriteLine("Amiga RDB plugin", "Found LoadSegment block"); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.Found_LoadSegment_block); thereAreLoadSegments = true; @@ -723,7 +726,7 @@ public sealed class AmigaRigidDiskBlock : IPartition if(thereAreLoadSegments) { string loadSegSha1 = sha1Ctx.End(); - AaruConsole.DebugWriteLine("Amiga RDB plugin", "LoadSegment data SHA1: {0}", loadSegSha1); + AaruConsole.DebugWriteLine("Amiga RDB plugin", Localization.LoadSegment_data_SHA1_0, loadSegSha1); } fshdEntries.Add(fshd); @@ -760,88 +763,99 @@ public sealed class AmigaRigidDiskBlock : IPartition { switch(amigaDosType) { - case TYPEID_OFS: return "Amiga Original File System"; - case TYPEID_FFS: return "Amiga Fast File System"; - case TYPEID_OFS_INTL: return "Amiga Original File System with international characters"; - case TYPEID_FFS_INTL: return "Amiga Fast File System with international characters"; - case TYPEID_OFS_CACHE: return "Amiga Original File System with directory cache"; - case TYPEID_FFS_CACHE: return "Amiga Fast File System with directory cache"; - case TYPEID_OFS2: return "Amiga Original File System with long filenames"; - case TYPEID_FFS2: return "Amiga Fast File System with long filenames"; - case TYPEID_AMIX_SYSV: return "Amiga UNIX System V filesystem"; - case TYPEID_AMIX_BOOT: return "Amiga UNIX boot filesystem"; - case TYPEID_AMIX_FFS: return "Amiga UNIX BSD filesystem"; - case TYPEID_AMIX_RESERVED: return "Amiga UNIX Reserved partition (swap)"; + case TYPEID_OFS: return Localization.Amiga_Original_File_System; + case TYPEID_FFS: return Localization.Amiga_Fast_File_System; + case TYPEID_OFS_INTL: return Localization.Amiga_Original_File_System_with_international_characters; + case TYPEID_FFS_INTL: return Localization.Amiga_Fast_File_System_with_international_characters; + case TYPEID_OFS_CACHE: return Localization.Amiga_Original_File_System_with_directory_cache; + case TYPEID_FFS_CACHE: return Localization.Amiga_Fast_File_System_with_directory_cache; + case TYPEID_OFS2: return Localization.Amiga_Original_File_System_with_long_filenames; + case TYPEID_FFS2: return Localization.Amiga_Fast_File_System_with_long_filenames; + case TYPEID_AMIX_SYSV: return Localization.Amiga_UNIX_System_V_filesystem; + case TYPEID_AMIX_BOOT: return Localization.Amiga_UNIX_boot_filesystem; + case TYPEID_AMIX_FFS: return Localization.Amiga_UNIX_BSD_filesystem; + case TYPEID_AMIX_RESERVED: return Localization.Amiga_UNIX_Reserved_partition__swap_; case TYPEID_PFS: case TYPEID_PFS2: case TYPEID_PFS_MUSER: - case TYPEID_AFS: return "ProfessionalFileSystem"; - case TYPEID_SFS: return "SmartFileSystem v1"; - case TYPEID_SFS2: return "SmartFileSystem v2"; - case TYPEID_JXFS: return "JXFS"; - case TYPEID_CROSS_DOS: return "FAT, as set by CrossDOS"; - case TYPEID_CROSS_MAC: return "HFS, as set by CrossMac"; - case TYPEID_BFFS: return "4.2UFS, for BFFS"; - case TYPEID_OFS_MUSER: return "Amiga Original File System with multi-user patches"; - case TYPEID_FFS_MUSER: return "Amiga Fast File System with multi-user patches"; + case TYPEID_AFS: return Localization.ProfessionalFileSystem; + case TYPEID_SFS: return Localization.SmartFileSystem_v1; + case TYPEID_SFS2: return Localization.SmartFileSystem_v2; + case TYPEID_JXFS: return Localization.JXFS; + case TYPEID_CROSS_DOS: return Localization.FAT_as_set_by_CrossDOS; + case TYPEID_CROSS_MAC: return Localization.HFS_as_set_by_CrossMac; + case TYPEID_BFFS: return Localization._4_2_UFS_for_BFFS; + case TYPEID_OFS_MUSER: return Localization.Amiga_Original_File_System_with_multi_user_patches; + case TYPEID_FFS_MUSER: return Localization.Amiga_Fast_File_System_with_multi_user_patches; case TYPEID_OFS_INTL_MUSER: - return "Amiga Original File System with international characters and multi-user patches"; + return Localization.Amiga_Original_File_System_with_international_characters_and_multi_user_patches; case TYPEID_FFS_INTL_MUSER: - return "Amiga Fast File System with international characters and multi-user patches"; + return Localization.Amiga_Fast_File_System_with_international_characters_and_multi_user_patches; case TYPEID_OFS_CACHE_MUSER: - return "Amiga Original File System with directory cache and multi-user patches"; - case TYPEID_FFS_CACHE_MUSER: return "Amiga Fast File System with directory cache and multi-user patches"; - case TYPEID_OLD_BSD_UNUSED: return "BSD unused"; - case TYPEID_OLD_BSD_SWAP: return "BSD swap"; - case TYPEID_OLD_BSD42_FFS: return "BSD 4.2 FFS"; - case TYPEID_OLD_BSD44_LFS: return "BSD 4.4 LFS"; - case TYPEID_NETBSD_ROOT_UNUSED: return "NetBSD unused root partition"; - case TYPEID_NETBSD_ROOT_42FFS: return "NetBSD 4.2 FFS root partition"; - case TYPEID_NETBSD_ROOT_44LFS: return "NetBSD 4.4 LFS root partition"; - case TYPEID_NETBSD_USER_UNUSED: return "NetBSD unused user partition"; - case TYPEID_NETBSD_USER_42FFS: return "NetBSD 4.2 FFS user partition"; - case TYPEID_NETBSD_USER_44LFS: return "NetBSD 4.4 LFS user partition"; - case TYPEID_NETBSD_SWAP: return "NetBSD swap partition"; - case TYPEID_LINUX: return "Linux filesystem partition"; - case TYPEID_LINUX_SWAP: return "Linux swap partition"; + return Localization.Amiga_Original_File_System_with_directory_cache_and_multi_user_patches; + case TYPEID_FFS_CACHE_MUSER: + return Localization.Amiga_Fast_File_System_with_directory_cache_and_multi_user_patches; + case TYPEID_OLD_BSD_UNUSED: return Localization.BSD_unused; + case TYPEID_OLD_BSD_SWAP: return Localization.BSD_swap; + case TYPEID_OLD_BSD42_FFS: return Localization.BSD_4_2_FFS; + case TYPEID_OLD_BSD44_LFS: return Localization.BSD_4_4_LFS; + case TYPEID_NETBSD_ROOT_UNUSED: return Localization.NetBSD_unused_root_partition; + case TYPEID_NETBSD_ROOT_42FFS: return Localization.NetBSD_4_2_FFS_root_partition; + case TYPEID_NETBSD_ROOT_44LFS: return Localization.NetBSD_4_4_LFS_root_partition; + case TYPEID_NETBSD_USER_UNUSED: return Localization.NetBSD_unused_user_partition; + case TYPEID_NETBSD_USER_42FFS: return Localization.NetBSD_4_2_FFS_user_partition; + case TYPEID_NETBSD_USER_44LFS: return Localization.NetBSD_4_4_LFS_user_partition; + case TYPEID_NETBSD_SWAP: return Localization.NetBSD_swap_partition; + case TYPEID_LINUX: return Localization.Linux_filesystem_partition; + case TYPEID_LINUX_SWAP: return Localization.Linux_swap_partition; case TYPEID_RAID_FRAME: - case TYPEID_RAID_FRAME0: return "RaidFrame partition"; + case TYPEID_RAID_FRAME0: return Localization.RaidFrame_partition; default: { if((amigaDosType & TYPEID_OFS) == TYPEID_OFS) - return $"Unknown Amiga DOS filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_Amiga_DOS_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_AMIX_SYSV) == TYPEID_AMIX_SYSV) - return $"Unknown Amiga UNIX filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_Amiga_UNIX_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & 0x50465300) == 0x50465300 || (amigaDosType & 0x41465300) == 0x41465300) - return $"Unknown ProfessionalFileSystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_ProfessionalFileSystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_SFS) == TYPEID_SFS) - return $"Unknown SmartFileSystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_SmartFileSystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_OFS_MUSER) == TYPEID_OFS_MUSER) - return $"Unknown Amiga DOS multi-user filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_Amiga_DOS_multi_user_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_OLD_BSD_UNUSED) == TYPEID_OLD_BSD_UNUSED) - return $"Unknown BSD filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_BSD_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_NETBSD_ROOT_UNUSED) == TYPEID_NETBSD_ROOT_UNUSED) - return $"Unknown NetBSD root filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_NetBSD_root_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_NETBSD_USER_UNUSED) == TYPEID_NETBSD_USER_UNUSED) - return $"Unknown NetBSD user filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_NetBSD_user_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_NETBSD_SWAP) == TYPEID_NETBSD_SWAP) - return $"Unknown NetBSD swap filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_NetBSD_swap_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); if((amigaDosType & TYPEID_LINUX) == TYPEID_LINUX || (amigaDosType & TYPEID_LINUX_SWAP) == TYPEID_LINUX_SWAP) - return $"Unknown Linux filesystem type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_Linux_filesystem_type_0, + AmigaDosTypeToString(amigaDosType)); - return $"Unknown partition type {AmigaDosTypeToString(amigaDosType)}"; + return string.Format(Localization.Unknown_partition_type_0, AmigaDosTypeToString(amigaDosType)); } } } diff --git a/Aaru.Partitions/RioKarma.cs b/Aaru.Partitions/RioKarma.cs index c33def0d7..91e89f221 100644 --- a/Aaru.Partitions/RioKarma.cs +++ b/Aaru.Partitions/RioKarma.cs @@ -49,11 +49,11 @@ public sealed class RioKarma : IPartition const byte ENTRY_MAGIC = 0x4D; /// - public string Name => "Rio Karma partitioning"; + public string Name => Localization.RioKarma_Name; /// public Guid Id => new("246A6D93-4F1A-1F8A-344D-50187A5513A9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -78,7 +78,7 @@ public sealed class RioKarma : IPartition Offset = (ulong)(entry.offset * sector.Length), Size = entry.size, Length = (ulong)(entry.size * sector.Length), - Type = "Rio Karma", + Type = Localization.Rio_Karma, Sequence = counter++, Scheme = Name } where entry.type == ENTRY_MAGIC select part).ToList(); diff --git a/Aaru.Partitions/SGI.cs b/Aaru.Partitions/SGI.cs index 38bd5bbb6..9a220730a 100644 --- a/Aaru.Partitions/SGI.cs +++ b/Aaru.Partitions/SGI.cs @@ -53,11 +53,11 @@ public sealed class SGI : IPartition const int SGI_MAGIC = 0x0BE5A941; /// - public string Name => "SGI Disk Volume Header"; + public string Name => Localization.SGI_Name; /// public Guid Id => new("AEF5AB45-4880-4CE8-8735-F0A402E2E5F2"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -78,7 +78,8 @@ public sealed class SGI : IPartition for(int i = 0; i < dvh.partitions.Length; i++) dvh.partitions[i] = (Partition)Marshal.SwapStructureMembersEndian(dvh.partitions[i]); - AaruConsole.DebugWriteLine("SGIVH plugin", "dvh.magic = 0x{0:X8} (should be 0x{1:X8})", dvh.magic, SGI_MAGIC); + AaruConsole.DebugWriteLine("SGIVH plugin", Localization.dvh_magic_equals_0_X8_should_be_1_X8, dvh.magic, + SGI_MAGIC); if(dvh.magic != SGI_MAGIC) return false; @@ -168,24 +169,24 @@ public sealed class SGI : IPartition static string TypeToString(SGIType typ) => typ switch { - SGIType.Header => "Volume header", - SGIType.TrkRepl => "Track replacements", - SGIType.SecRepl => "Sector replacements", - SGIType.Swap => "Raw data (swap)", - SGIType.Bsd => "4.2BSD Fast File System", - SGIType.SystemV => "UNIX System V", - SGIType.Volume => "Whole device", - SGIType.EFS => "EFS", - SGIType.Lvol => "Logical volume", - SGIType.Rlvol => "Raw logical volume", - SGIType.XFS => "XFS", - SGIType.Xlvol => "XFS log device", - SGIType.Rxlvol => "XLV volume", - SGIType.Xvm => "SGI XVM", - SGIType.LinuxSwap => "Linux swap", - SGIType.Linux => "Linux", - SGIType.LinuxRAID => "Linux RAID", - _ => "Unknown" + SGIType.Header => Localization.Volume_header, + SGIType.TrkRepl => Localization.Track_replacements, + SGIType.SecRepl => Localization.Sector_replacements, + SGIType.Swap => Localization.Raw_data_swap, + SGIType.Bsd => Localization._4_2_BSD_Fast_File_System, + SGIType.SystemV => Localization.UNIX_System_V, + SGIType.Volume => Localization.Whole_device, + SGIType.EFS => Localization.EFS, + SGIType.Lvol => Localization.Logical_volume, + SGIType.Rlvol => Localization.Raw_logical_volume, + SGIType.XFS => Localization.XFS, + SGIType.Xlvol => Localization.XFS_log_device, + SGIType.Rxlvol => Localization.XLV_volume, + SGIType.Xvm => Localization.SGI_XVM, + SGIType.LinuxSwap => Localization.Linux_swap, + SGIType.Linux => Localization.Linux, + SGIType.LinuxRAID => Localization.Linux_RAID, + _ => Localization.Unknown_partition_type }; [StructLayout(LayoutKind.Sequential, Pack = 1)] diff --git a/Aaru.Partitions/Sun.cs b/Aaru.Partitions/Sun.cs index 62a62c5b6..6a89fefb2 100644 --- a/Aaru.Partitions/Sun.cs +++ b/Aaru.Partitions/Sun.cs @@ -76,11 +76,11 @@ public sealed class SunDisklabel : IPartition (4 * 4) + (12 * 2) + (2 * 2)); /// - public string Name => "Sun Disklabel"; + public string Name => Localization.SunDisklabel_Name; /// public Guid Id => new("50F35CC4-8375-4445-8DCB-1BA550C931A3"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -195,7 +195,7 @@ public sealed class SunDisklabel : IPartition (((ulong)dkl.dkl_map[i].dkl_cylno * sectorsPerCylinder) + sectorOffset) * DK_LABEL_SIZE, Start = (((ulong)dkl.dkl_map[i].dkl_cylno * sectorsPerCylinder) + sectorOffset) * DK_LABEL_SIZE / imagePlugin.Info.SectorSize, - Type = "SunOS partition", + Type = Localization.SunOS_partition, Scheme = Name }; @@ -278,8 +278,9 @@ public sealed class SunDisklabel : IPartition }; if(dkl8.dkl_vtoc.v_timestamp[i] != 0) - part.Description += $"\nPartition timestamped on { - DateHandlers.UnixToDateTime(dkl8.dkl_vtoc.v_timestamp[i])}"; + part.Description += "\n" + string.Format(Localization.Partition_timestamped_on_0, + DateHandlers. + UnixToDateTime(dkl8.dkl_vtoc.v_timestamp[i])); if(part.Start < imagePlugin.Info.Sectors && part.End <= imagePlugin.Info.Sectors) @@ -359,8 +360,9 @@ public sealed class SunDisklabel : IPartition }; if(dkl16.dkl_vtoc.v_timestamp[i] != 0) - part.Description += $"\nPartition timestamped on { - DateHandlers.UnixToDateTime(dkl16.dkl_vtoc.v_timestamp[i])}"; + part.Description += "\n" + string.Format(Localization.Partition_timestamped_on_0, + DateHandlers. + UnixToDateTime(dkl16.dkl_vtoc.v_timestamp[i])); if(part.Start < imagePlugin.Info.Sectors && part.End <= imagePlugin.Info.Sectors) @@ -373,7 +375,7 @@ public sealed class SunDisklabel : IPartition static dk_label SwapDiskLabel(dk_label label) { - AaruConsole.DebugWriteLine("Sun plugin", "Swapping dk_label"); + AaruConsole.DebugWriteLine("Sun plugin", Localization.Swapping_dk_label); label = (dk_label)Marshal.SwapStructureMembersEndian(label); for(int i = 0; i < label.dkl_map.Length; i++) @@ -384,7 +386,7 @@ public sealed class SunDisklabel : IPartition static dk_label8 SwapDiskLabel(dk_label8 label) { - AaruConsole.DebugWriteLine("Sun plugin", "Swapping dk_label8"); + AaruConsole.DebugWriteLine("Sun plugin", Localization.Swapping_dk_label8); label = (dk_label8)Marshal.SwapStructureMembersEndian(label); for(int i = 0; i < label.dkl_map.Length; i++) @@ -410,7 +412,7 @@ public sealed class SunDisklabel : IPartition static dk_label16 SwapDiskLabel(dk_label16 label) { - AaruConsole.DebugWriteLine("Sun plugin", "Swapping dk_label16"); + AaruConsole.DebugWriteLine("Sun plugin", Localization.Swapping_dk_label16); label = (dk_label16)Marshal.SwapStructureMembersEndian(label); for(int i = 0; i < label.dkl_vtoc.v_bootinfo.Length; i++) @@ -438,41 +440,41 @@ public sealed class SunDisklabel : IPartition var sb = new StringBuilder(); if(flags.HasFlag(SunFlags.NoMount)) - sb.AppendLine("Unmountable"); + sb.AppendLine(Localization.Unmountable); if(flags.HasFlag(SunFlags.ReadOnly)) - sb.AppendLine("Read-only"); + sb.AppendLine(Localization.Read_only); return sb.ToString(); } static string SunIdToString(SunTag id) => id switch { - SunTag.Linux => "Linux", - SunTag.LinuxRaid => "Linux RAID", - SunTag.LinuxSwap => "Linux swap", - SunTag.LVM => "LVM", - SunTag.SunBoot => "Sun boot", - SunTag.SunEmpty => "Empty", - SunTag.SunHome => "Sun /home", - SunTag.SunRoot => "Sun /", - SunTag.SunStand => "Sun /stand", - SunTag.SunSwap => "Sun swap", - SunTag.SunUsr => "Sun /usr", - SunTag.SunVar => "Sun /var", - SunTag.SunWholeDisk => "Whole disk", - SunTag.SunAlt => "Replacement sectors", - SunTag.SunCache => "Sun cachefs", - SunTag.SunReserved => "Reserved for SMI", - SunTag.VxVmPublic => "Veritas public", - SunTag.VxVmPrivate => "Veritas private", - SunTag.NetBSD => "NetBSD", - SunTag.FreeBSD_Swap => "FreeBSD swap", - SunTag.FreeBSD_UFS => "FreeBSD", - SunTag.FreeBSD_Vinum => "Vinum", - SunTag.FreeBSD_ZFS => "FreeBSD ZFS", - SunTag.FreeBSD_NANDFS => "FreeBSD nandfs", - _ => "Unknown" + SunTag.Linux => Localization.Linux, + SunTag.LinuxRaid => Localization.Linux_RAID, + SunTag.LinuxSwap => Localization.Linux_swap, + SunTag.LVM => Localization.LVM, + SunTag.SunBoot => Localization.Sun_boot, + SunTag.SunEmpty => Localization.Empty, + SunTag.SunHome => Localization.Sun_home, + SunTag.SunRoot => Localization.Sun_root, + SunTag.SunStand => Localization.Sun_stand, + SunTag.SunSwap => Localization.Sun_swap, + SunTag.SunUsr => Localization.Sun_usr, + SunTag.SunVar => Localization.Sun_var, + SunTag.SunWholeDisk => Localization.Whole_disk, + SunTag.SunAlt => Localization.Replacement_sectors, + SunTag.SunCache => Localization.Sun_cachefs, + SunTag.SunReserved => Localization.Reserved_for_SMI, + SunTag.VxVmPublic => Localization.Veritas_public, + SunTag.VxVmPrivate => Localization.Veritas_private, + SunTag.NetBSD => Localization.NetBSD, + SunTag.FreeBSD_Swap => Localization.FreeBSD_swap, + SunTag.FreeBSD_UFS => Localization.FreeBSD, + SunTag.FreeBSD_Vinum => Localization.Vinum, + SunTag.FreeBSD_ZFS => Localization.FreeBSD_ZFS, + SunTag.FreeBSD_NANDFS => Localization.FreeBSD_nandfs, + _ => Localization.Unknown_partition_type }; enum SunTag : ushort diff --git a/Aaru.Partitions/UNIX.cs b/Aaru.Partitions/UNIX.cs index 72aaaa767..5de4f8d7e 100644 --- a/Aaru.Partitions/UNIX.cs +++ b/Aaru.Partitions/UNIX.cs @@ -53,7 +53,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9600, Start = 0, Size = 4915200, @@ -64,7 +64,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 20000, Start = 9600, Size = 10240000, @@ -74,8 +74,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 29600, Size = 102400, @@ -85,8 +85,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6000, Start = 29800, Size = 3072000, @@ -96,8 +96,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 363376, Start = 35800, Size = 186048512, @@ -107,8 +107,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 181688, Start = 35800, Size = 93024256, @@ -118,8 +118,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 181688, Start = 217488, Size = 93024256, @@ -129,8 +129,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 1000, Start = 399176, Size = 512000, @@ -145,7 +145,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9600, Start = 0, Size = 4915200, @@ -156,7 +156,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 20000, Start = 9600, Size = 10240000, @@ -166,8 +166,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 29600, Size = 102400, @@ -177,8 +177,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6000, Start = 29800, Size = 3072000, @@ -188,8 +188,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 200412, Start = 35800, Size = 102610944, @@ -199,8 +199,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 1000, Start = 236212, Size = 512000, @@ -215,7 +215,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9600, Start = 0, Size = 4915200, @@ -226,7 +226,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 20000, Start = 9600, Size = 10240000, @@ -236,8 +236,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 29600, Size = 102400, @@ -247,8 +247,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6000, Start = 29800, Size = 3072000, @@ -258,8 +258,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 854272, Start = 35800, Size = 437387264, @@ -269,8 +269,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 181688, Start = 35800, Size = 93024256, @@ -280,8 +280,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 181688, Start = 217488, Size = 93024256, @@ -291,8 +291,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 490896, Start = 399176, Size = 251338752, @@ -302,8 +302,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 1000, Start = 890072, Size = 512000, @@ -318,7 +318,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9000, Start = 0, Size = 4608000, @@ -328,8 +328,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 9000, Size = 102400, @@ -339,8 +339,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 4000, Start = 9200, Size = 2048000, @@ -350,8 +350,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 37600, Start = 13200, Size = 19251200, @@ -361,8 +361,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 12000, Start = 13200, Size = 6144000, @@ -372,8 +372,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 25600, Start = 25200, Size = 13107200, @@ -383,8 +383,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 102, Start = 890072, Size = 50800, @@ -399,7 +399,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9700, Start = 0, Size = 4966400, @@ -409,8 +409,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 9700, Size = 51200, @@ -420,8 +420,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3000, Start = 9800, Size = 1536000, @@ -432,7 +432,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 28728, Start = 12800, Size = 14708736, @@ -442,8 +442,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 41528, Size = 16384, @@ -458,7 +458,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9700, Start = 0, Size = 4966400, @@ -469,7 +469,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 17300, Start = 9700, Size = 102400, @@ -479,8 +479,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 27000, Size = 51200, @@ -490,8 +490,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3000, Start = 27100, Size = 1536000, @@ -501,8 +501,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 53072, Start = 30100, Size = 27172864, @@ -512,8 +512,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 83172, Size = 16384, @@ -528,7 +528,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 7460, Start = 0, Size = 4608000, @@ -538,8 +538,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 40, Start = 0, Size = 20480, @@ -549,8 +549,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 2200, Start = 0, Size = 1126400, @@ -561,7 +561,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 11868, Start = 9700, Size = 6076416, @@ -571,8 +571,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 21568, Size = 16384, @@ -587,7 +587,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9700, Start = 0, Size = 4966400, @@ -598,7 +598,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 17300, Start = 9700, Size = 8857600, @@ -608,8 +608,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 27000, Size = 51200, @@ -619,8 +619,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3000, Start = 27100, Size = 1536000, @@ -630,8 +630,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 30348, Start = 30100, Size = 15538176, @@ -641,8 +641,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 60448, Size = 16384, @@ -657,7 +657,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9700, Start = 0, Size = 4966400, @@ -668,7 +668,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 17300, Start = 9700, Size = 8857600, @@ -678,8 +678,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 27000, Size = 51200, @@ -689,8 +689,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3000, Start = 27100, Size = 1536000, @@ -700,8 +700,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 108540, Start = 30100, Size = 55572480, @@ -711,8 +711,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 138640, Size = 16384, @@ -727,7 +727,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9700, Start = 0, Size = 4966400, @@ -738,7 +738,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 17300, Start = 9700, Size = 8857600, @@ -748,8 +748,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 27000, Size = 51200, @@ -759,8 +759,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3000, Start = 27100, Size = 1536000, @@ -770,8 +770,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 281068, Start = 30100, Size = 143906816, @@ -781,8 +781,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "maintenance area", - Type = "maintenance", + Name = Localization.maintenance_area, + Type = Localization.maintenance, Length = 32, Start = 311168, Size = 16384, @@ -797,7 +797,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 7920, Start = 0, Size = 4055040, @@ -807,8 +807,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 7920, Size = 51200, @@ -818,8 +818,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 2936, Start = 8020, Size = 1503232, @@ -830,7 +830,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 16126, Start = 10956, Size = 8256512, @@ -840,8 +840,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 44, Start = 27082, Size = 22528, @@ -856,7 +856,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 7920, Start = 0, Size = 4055040, @@ -866,8 +866,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 7920, Size = 51200, @@ -877,8 +877,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 2936, Start = 8020, Size = 1503232, @@ -889,7 +889,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 42790, Start = 10956, Size = 21908480, @@ -899,8 +899,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 44, Start = 53746, Size = 22528, @@ -915,7 +915,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9120, Start = 0, Size = 4669440, @@ -925,8 +925,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 9120, Size = 102400, @@ -936,8 +936,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 5400, Start = 9320, Size = 2764800, @@ -948,7 +948,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 5600, Start = 29120, Size = 2867200, @@ -958,8 +958,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 96896, Start = 34720, Size = 49610752, @@ -969,8 +969,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 32160, Start = 34720, Size = 16465920, @@ -980,8 +980,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 32160, Start = 66880, Size = 16465920, @@ -991,8 +991,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 32576, Start = 99040, Size = 16678912, @@ -1002,8 +1002,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 64, Start = 131616, Size = 32768, @@ -1018,7 +1018,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 10336, Start = 0, Size = 5292032, @@ -1029,7 +1029,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 21280, Start = 10336, Size = 10895360, @@ -1039,8 +1039,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 31616, Size = 102400, @@ -1050,8 +1050,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6388, Start = 31816, Size = 3270656, @@ -1061,8 +1061,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 462016, Start = 38304, Size = 236552192, @@ -1072,8 +1072,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 153824, Start = 38304, Size = 78757888, @@ -1083,8 +1083,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 153824, Start = 192128, Size = 78757888, @@ -1094,8 +1094,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 154368, Start = 192128, Size = 79036416, @@ -1105,8 +1105,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 64, Start = 421312, Size = 32768, @@ -1121,7 +1121,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 8400, Start = 0, Size = 4300800, @@ -1131,8 +1131,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 8400, Size = 51200, @@ -1142,8 +1142,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3100, Start = 8500, Size = 1587200, @@ -1154,7 +1154,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 28400, Start = 11600, Size = 14540800, @@ -1169,7 +1169,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 8400, Start = 0, Size = 4300800, @@ -1179,8 +1179,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 100, Start = 8400, Size = 51200, @@ -1190,8 +1190,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 3100, Start = 8500, Size = 1587200, @@ -1202,7 +1202,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 68400, Start = 11600, Size = 35020800, @@ -1217,7 +1217,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9614, Start = 0, Size = 4922368, @@ -1228,7 +1228,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 20064, Start = 9614, Size = 10272768, @@ -1238,8 +1238,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 29678, Size = 102400, @@ -1249,8 +1249,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6070, Start = 29878, Size = 1587200, @@ -1260,8 +1260,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 135806, Start = 35948, Size = 69532672, @@ -1271,8 +1271,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 44, Start = 171754, Size = 22528, @@ -1287,7 +1287,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/", - Type = "data", + Type = Localization.data, Length = 9614, Start = 0, Size = 4922368, @@ -1298,7 +1298,7 @@ public sealed class UNIX : IPartition { Description = null, Name = "/usr", - Type = "data", + Type = Localization.data, Length = 20064, Start = 9614, Size = 10272768, @@ -1308,8 +1308,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "error log", - Type = "errorlog", + Name = Localization.error_log, + Type = Localization.errorlog, Length = 200, Start = 29678, Size = 102400, @@ -1319,8 +1319,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "swap", - Type = "swap", + Name = Localization.swap, + Type = Localization.swap, Length = 6070, Start = 29878, Size = 1587200, @@ -1330,8 +1330,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 135806, Start = 35948, Size = 69532672, @@ -1341,8 +1341,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 304678, Start = 35948, Size = 155995136, @@ -1352,8 +1352,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "user", - Type = "data", + Name = Localization.user, + Type = Localization.data, Length = 166828, Start = 171798, Size = 85415936, @@ -1363,8 +1363,8 @@ public sealed class UNIX : IPartition new() { Description = null, - Name = "bad sector file", - Type = "bad", + Name = Localization.bad_sector_file, + Type = Localization.bad, Length = 44, Start = 340626, Size = 22528, @@ -1374,11 +1374,11 @@ public sealed class UNIX : IPartition }; /// - public string Name => "UNIX hardwired"; + public string Name => Localization.UNIX_Name; /// public Guid Id => new("9ED7E30B-53BF-4619-87A0-5D2002155617"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/VTOC.cs b/Aaru.Partitions/VTOC.cs index 20ac7cd2f..4d1f05eb8 100644 --- a/Aaru.Partitions/VTOC.cs +++ b/Aaru.Partitions/VTOC.cs @@ -57,11 +57,11 @@ public sealed class VTOC : IPartition const uint XPDVERS = 3; /* 1st version of extended pdinfo */ /// - public string Name => "UNIX VTOC"; + public string Name => Localization.VTOC_Name; /// public Guid Id => new("6D35A66F-8D77-426F-A562-D88F6A1F1702"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -87,7 +87,7 @@ public sealed class VTOC : IPartition magic = BitConverter.ToUInt32(pdsector, 4); - AaruConsole.DebugWriteLine("VTOC plugin", "sanity at {0} is 0x{1:X8} (should be 0x{2:X8} or 0x{3:X8})", + AaruConsole.DebugWriteLine("VTOC plugin", Localization.sanity_at_0_is_1_X8_should_be_2_X8_or_3_X8, i + sectorOffset, magic, PD_MAGIC, PD_CIGAM); if(magic != PD_MAGIC && @@ -175,7 +175,7 @@ public sealed class VTOC : IPartition if(magic is VTOC_SANE or VTOC_ENAS) { magicFound = true; - AaruConsole.DebugWriteLine("VTOC plugin", "New VTOC found at {0}", pdloc + sectorOffset + 1); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.New_VTOC_found_at_0, pdloc + sectorOffset + 1); if(magic == VTOC_SANE) vtoc = Marshal.ByteArrayToStructureLittleEndian(vtocsector); @@ -203,7 +203,7 @@ public sealed class VTOC : IPartition { magicFound = true; useOld = true; - AaruConsole.DebugWriteLine("VTOC plugin", "Old VTOC found at {0}", pdloc + sectorOffset + 1); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.Old_VTOC_found_at_0, pdloc + sectorOffset + 1); if(magic == VTOC_SANE) vtocOld = Marshal.ByteArrayToStructureLittleEndian(vtocsector); @@ -225,7 +225,7 @@ public sealed class VTOC : IPartition if(!magicFound) { - AaruConsole.DebugWriteLine("VTOC plugin", "Searching for VTOC on relative byte {0}", pd.vtoc_ptr); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.Searching_for_VTOC_on_relative_byte_0, pd.vtoc_ptr); ulong relSecPtr = pd.vtoc_ptr / imagePlugin.Info.SectorSize; uint relSecOff = pd.vtoc_ptr % imagePlugin.Info.SectorSize; uint secCount = (relSecOff + pd.vtoc_len) / imagePlugin.Info.SectorSize; @@ -234,12 +234,12 @@ public sealed class VTOC : IPartition secCount++; AaruConsole.DebugWriteLine("VTOC plugin", - "Going to read {0} sectors from sector {1}, getting VTOC from byte {2}", + Localization.Going_to_read_0_sectors_from_sector_1_getting_VTOC_from_byte_2, secCount, relSecPtr + sectorOffset, relSecOff); if(relSecPtr + sectorOffset + secCount >= imagePlugin.Info.Sectors) { - AaruConsole.DebugWriteLine("VTOC plugin", "Going to read past device size, aborting..."); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.Going_to_read_past_device_size_aborting); return false; } @@ -256,7 +256,7 @@ public sealed class VTOC : IPartition if(magic is VTOC_SANE or VTOC_ENAS) { magicFound = true; - AaruConsole.DebugWriteLine("VTOC plugin", "New VTOC found."); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.New_VTOC_found); if(magic == VTOC_SANE) vtoc = Marshal.ByteArrayToStructureLittleEndian(vtocsector); @@ -278,7 +278,7 @@ public sealed class VTOC : IPartition if(!magicFound) { - AaruConsole.DebugWriteLine("VTOC plugin", "Cannot find VTOC."); + AaruConsole.DebugWriteLine("VTOC plugin", Localization.Cannot_find_VTOC); return false; } @@ -397,22 +397,22 @@ public sealed class VTOC : IPartition } if(parts[i].p_flag.HasFlag(pFlag.V_VALID)) - info += " (valid)"; + info += Localization.valid; if(parts[i].p_flag.HasFlag(pFlag.V_UNMNT)) - info += " (unmountable)"; + info += Localization._unmountable_; if(parts[i].p_flag.HasFlag(pFlag.V_OPEN)) - info += " (open)"; + info += Localization.open; if(parts[i].p_flag.HasFlag(pFlag.V_REMAP)) - info += " (alternate sector mapping)"; + info += Localization.alternate_sector_mapping; if(parts[i].p_flag.HasFlag(pFlag.V_RONLY)) - info += " (read-only)"; + info += Localization._read_only_; if(timestamps[i] != 0) - info += $" created on {DateHandlers.UnixToDateTime(timestamps[i])}"; + info += string.Format(Localization.created_on_0, DateHandlers.UnixToDateTime(timestamps[i])); part.Description = "UNIX slice" + info + "."; @@ -425,23 +425,23 @@ public sealed class VTOC : IPartition static string DecodeUnixtag(pTag type, bool isNew) => type switch { - pTag.V_UNUSED => "Unused", - pTag.V_BOOT => "Boot", + pTag.V_UNUSED => Localization.Unused, + pTag.V_BOOT => Localization.Boot, pTag.V_ROOT => "/", - pTag.V_SWAP => "Swap", + pTag.V_SWAP => Localization.swap, pTag.V_USER => "/usr", - pTag.V_BACKUP => "Whole disk", - pTag.V_STAND_OLD => isNew ? "Stand" : "Alternate sector space", - pTag.V_VAR_OLD => isNew ? "/var" : "non UNIX", - pTag.V_HOME_OLD => isNew ? "/home" : "Alternate track space", - pTag.V_ALTSCTR_OLD => isNew ? "Alternate sector track" : "Stand", - pTag.V_CACHE => isNew ? "Cache" : "/var", - pTag.V_RESERVED => isNew ? "Reserved" : "/home", - pTag.V_DUMP => "dump", - pTag.V_ALTSCTR => "Alternate sector track", - pTag.V_VMPUBLIC => "volume mgt public partition", - pTag.V_VMPRIVATE => "volume mgt private partition", - _ => $"Unknown TAG: 0x{type:X4}" + pTag.V_BACKUP => Localization.Whole_disk, + pTag.V_STAND_OLD => isNew ? "Stand" : Localization.Alternate_sector_space, + pTag.V_VAR_OLD => isNew ? "/var" : Localization.non_UNIX, + pTag.V_HOME_OLD => isNew ? "/home" : Localization.Alternate_track_space, + pTag.V_ALTSCTR_OLD => isNew ? Localization.Alternate_sector_track : "Stand", + pTag.V_CACHE => isNew ? Localization.Cache : "/var", + pTag.V_RESERVED => isNew ? Localization.Reserved : "/home", + pTag.V_DUMP => Localization.dump, + pTag.V_ALTSCTR => Localization.Alternate_sector_track, + pTag.V_VMPUBLIC => Localization.volume_mgt_public_partition, + pTag.V_VMPRIVATE => Localization.volume_mgt_private_partition, + _ => string.Format(Localization.Unknown_TAG_0, type) }; [StructLayout(LayoutKind.Sequential, Pack = 1)] diff --git a/Aaru.Partitions/XENIX.cs b/Aaru.Partitions/XENIX.cs index 09106934a..c2b977ce1 100644 --- a/Aaru.Partitions/XENIX.cs +++ b/Aaru.Partitions/XENIX.cs @@ -53,11 +53,11 @@ public sealed class XENIX : IPartition const uint XENIX_OFFSET = 977; /// - public string Name => "XENIX"; + public string Name => Localization.XENIX_Name; /// public Guid Id => new("53BE01DE-E68B-469F-A17F-EC2E4BD61CD9"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) diff --git a/Aaru.Partitions/Xbox.cs b/Aaru.Partitions/Xbox.cs index 8bd28492b..acfde92eb 100644 --- a/Aaru.Partitions/Xbox.cs +++ b/Aaru.Partitions/Xbox.cs @@ -65,11 +65,11 @@ public sealed class Xbox : IPartition const uint XBOX360_DEVKIT_MAGIC = 0x00020000; /// - public string Name => "Xbox partitioning"; + public string Name => Localization.Xbox_Name; /// public Guid Id => new("E3F6FB91-D358-4F22-A550-81E92D50EB78"); /// - public string Author => "Natalia Portillo"; + public string Author => Authors.NataliaPortillo; /// public bool GetInformation(IMediaImage imagePlugin, out List partitions, ulong sectorOffset) @@ -94,7 +94,7 @@ public sealed class Xbox : IPartition { var contentPart = new Partition { - Description = "Content volume", + Description = Localization.Content_volume, Size = (ulong)table.contentLen * imagePlugin.Info.SectorSize, Length = table.contentLen, Sequence = 1, @@ -105,7 +105,7 @@ public sealed class Xbox : IPartition var dashboardPart = new Partition { - Description = "Dashboard volume", + Description = Localization.Dashboard_volume, Size = (ulong)table.dashboardLen * imagePlugin.Info.SectorSize, Length = table.dashboardLen, Sequence = 2, @@ -134,7 +134,7 @@ public sealed class Xbox : IPartition { var sysCachePart = new Partition { - Description = "System cache", + Description = Localization.System_cache, Size = MEMORY_UNIT_DATA_OFF, Length = (ulong)(MEMORY_UNIT_DATA_OFF / imagePlugin.Info.SectorSize), Sequence = 1, @@ -145,7 +145,7 @@ public sealed class Xbox : IPartition var dataPart = new Partition { - Description = "Data volume", + Description = Localization.Data_volume, Size = (imagePlugin.Info.Sectors * imagePlugin.Info.SectorSize) - MEMORY_UNIT_DATA_OFF, Length = imagePlugin.Info.Sectors - sysCachePart.Length, Sequence = 2, @@ -178,7 +178,7 @@ public sealed class Xbox : IPartition var securityPart = new Partition { - Description = "Security sectors", + Description = Localization.Security_sectors, Size = XBOX360_SECURITY_SECTOR_LEN, Length = (ulong)(XBOX360_SECURITY_SECTOR_LEN / imagePlugin.Info.SectorSize), Sequence = 1, @@ -189,7 +189,7 @@ public sealed class Xbox : IPartition var sysCachePart = new Partition { - Description = "System cache", + Description = Localization.System_cache, Size = XBOX360_SYSTEM_CACHE_LEN, Length = (ulong)(XBOX360_SYSTEM_CACHE_LEN / imagePlugin.Info.SectorSize), Sequence = 2, @@ -200,7 +200,7 @@ public sealed class Xbox : IPartition var gameCachePart = new Partition { - Description = "Game cache", + Description = Localization.Game_cache, Size = XBOX360_GAME_CACHE_LEN, Length = (ulong)(XBOX360_GAME_CACHE_LEN / imagePlugin.Info.SectorSize), Sequence = 3, @@ -211,7 +211,7 @@ public sealed class Xbox : IPartition var sysExtPart = new Partition { - Description = "System volume", + Description = Localization.System_volume, Size = XBOX368_SYS_EXT_LEN, Length = (ulong)(XBOX368_SYS_EXT_LEN / imagePlugin.Info.SectorSize), Sequence = 4, @@ -222,7 +222,7 @@ public sealed class Xbox : IPartition var sysExt2Part = new Partition { - Description = "System volume 2", + Description = Localization.System_volume_2, Size = XBOX360_SYS_EXT2_LEN, Length = (ulong)(XBOX360_SYS_EXT2_LEN / imagePlugin.Info.SectorSize), Sequence = 5, @@ -233,7 +233,7 @@ public sealed class Xbox : IPartition var xbox1Part = new Partition { - Description = "Xbox backwards compatibility", + Description = Localization.Xbox_backwards_compatibility, Size = XBOX360_COMPAT_LEN, Length = (ulong)(XBOX360_COMPAT_LEN / imagePlugin.Info.SectorSize), Sequence = 6, @@ -244,7 +244,7 @@ public sealed class Xbox : IPartition var dataPart = new Partition { - Description = "Data volume", + Description = Localization.Data_volume, Sequence = 7, Offset = XBOX_360DATA_OFF, Start = (ulong)(XBOX_360DATA_OFF / imagePlugin.Info.SectorSize),