diff --git a/Aaru.Decoders/CD/FullTOC.cs b/Aaru.Decoders/CD/FullTOC.cs index 1a5f48044..43ff985b5 100644 --- a/Aaru.Decoders/CD/FullTOC.cs +++ b/Aaru.Decoders/CD/FullTOC.cs @@ -79,10 +79,9 @@ public static class FullTOC if(decoded.DataLength + 2 != CDFullTOCResponse.Length) { AaruLogging.Debug(MODULE_NAME, - Localization - .Expected_CDFullTOC_size_0_bytes_is_not_received_size_1_bytes_not_decoding, - decoded.DataLength + 2, - CDFullTOCResponse.Length); + Localization.Expected_CDFullTOC_size_0_bytes_is_not_received_size_1_bytes_not_decoding, + decoded.DataLength + 2, + CDFullTOCResponse.Length); return null; } @@ -128,19 +127,19 @@ public static class FullTOC descriptor.TNO != 0) { sb.AppendLine(Localization.Unknown_TOC_entry_format_printing_values_as_is); - sb.AppendLine($"SessionNumber = {descriptor.SessionNumber}"); - sb.AppendLine($"ADR = {descriptor.ADR}"); - sb.AppendLine($"CONTROL = {descriptor.CONTROL}"); - sb.AppendLine($"TNO = {descriptor.TNO}"); - sb.AppendLine($"POINT = {descriptor.POINT}"); - sb.AppendLine($"Min = {descriptor.Min}"); - sb.AppendLine($"Sec = {descriptor.Sec}"); - sb.AppendLine($"Frame = {descriptor.Frame}"); - sb.AppendLine($"HOUR = {descriptor.HOUR}"); - sb.AppendLine($"PHOUR = {descriptor.PHOUR}"); - sb.AppendLine($"PMIN = {descriptor.PMIN}"); - sb.AppendLine($"PSEC = {descriptor.PSEC}"); - sb.AppendLine($"PFRAME = {descriptor.PFRAME}"); + sb.AppendLine($"[slateblue1]SessionNumber = [teal]{descriptor.SessionNumber}[/][/]"); + sb.AppendLine($"[slateblue1]ADR = [teal]{descriptor.ADR}[/][/]"); + sb.AppendLine($"[slateblue1]CONTROL = [teal]{descriptor.CONTROL}[/][/]"); + sb.AppendLine($"[slateblue1]TNO = [teal]{descriptor.TNO}[/][/]"); + sb.AppendLine($"[slateblue1]POINT = [teal]{descriptor.POINT}[/][/]"); + sb.AppendLine($"[slateblue1]Min = [teal]{descriptor.Min}[/][/]"); + sb.AppendLine($"[slateblue1]Sec = [teal]{descriptor.Sec}[/][/]"); + sb.AppendLine($"[slateblue1]Frame = [teal]{descriptor.Frame}[/][/]"); + sb.AppendLine($"[slateblue1]HOUR = [teal]{descriptor.HOUR}[/][/]"); + sb.AppendLine($"[slateblue1]PHOUR = [teal]{descriptor.PHOUR}[/][/]"); + sb.AppendLine($"[slateblue1]PMIN = [teal]{descriptor.PMIN}[/][/]"); + sb.AppendLine($"[slateblue1]PSEC = [teal]{descriptor.PSEC}[/][/]"); + sb.AppendLine($"[slateblue1]PFRAME = [teal]{descriptor.PFRAME}[/][/]"); } else { diff --git a/Aaru.Decoders/Localization/Localization.resx b/Aaru.Decoders/Localization/Localization.resx index 1447fbdb8..7061aa107 100644 --- a/Aaru.Decoders/Localization/Localization.resx +++ b/Aaru.Decoders/Localization/Localization.resx @@ -1654,19 +1654,19 @@ Expected CDFullTOC size ({0} bytes) is not received size ({1} bytes), not decoding - First complete session number: {0} + [slateblue1]First complete session number:[/] [teal]{0}[/] - Last complete session number: {0} + [slateblue1]Last complete session number:[/] [teal]{0}[/] - Unknown TOC entry format, printing values as-is + [slateblue1]Unknown TOC entry format, printing values as-is[/] - Session {0} + [slateblue1]Session[/] [teal]{0}[/] - First video track number: {0} + [slateblue1]First video track number:[/] [teal]{0}[/] CD-V single in NTSC format with digital stereo sound @@ -1693,22 +1693,22 @@ CD-V disc in PAL format with digital bilingual sound - First track number: {0} ( + [slateblue1]First track number: [teal]{0}[/] [italic]( - ) + )[/][/] Stereo audio track with no pre-emphasis - Stereo audio track with 50/15 μs pre-emphasis + Stereo audio track with [teal]50/15 μs[/] pre-emphasis Quadraphonic audio track with no pre-emphasis - Quadraphonic audio track with 50/15 μs pre-emphasis + Quadraphonic audio track with [teal]50/15 μs[/] pre-emphasis Data track, recorded uninterrupted @@ -1717,179 +1717,179 @@ Data track, recorded incrementally - Disc type: {0} + [slateblue1]Disc type: [teal]{0}[/][/] - Last video track number: {0} + [slateblue1]Last video track number: [teal]{0}[/][/] - Last track number: {0} ( + [slateblue1]Last track number: [teal]{0}[/] [italic]( - Lead-Out start position: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Lead-Out start position: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/] - Lead-Out start position: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Lead-Out start position: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Lead-Out is audio type + [slateblue1]Lead-Out is audio type[/] - Lead-Out is data type + [slateblue1]Lead-Out is data type[/] - Book type: 0x{0:X2} + [slateblue1]Book type: [teal]0x{0:X2}[/][/] - Material type: 0x{0:X2} + [slateblue1]Material type: [teal]0x{0:X2}[/][/] - Moment of inertia: 0x{0:X2} + [slateblue1]Moment of inertia: [teal]0x{0:X2}[/][/] - Data track {3} starts at: {4:D2}:{0:D2}:{1:D2}:{2:D2} ( + [slateblue1]Data track [teal]{3}[/] starts at: [lime]{4:D2}:{0:D2}:{1:D2}:{2:D2}[/] [italic]( - Audio track {3} starts at: {4:D2}:{0:D2}:{1:D2}:{2:D2} ( + [slateblue1]Audio track [teal]{3}[/] starts at: [lime]{4:D2}:{0:D2}:{1:D2}:{2:D2}[/] [italic]( - Data track {3} starts at: {0:D2}:{1:D2}:{2:D2} ( + [slateblue1]Data track [teal]{3}[/] starts at: [lime]{0:D2}:{1:D2}:{2:D2}[/] [italic]( - Audio track {3} starts at: {0:D2}:{1:D2}:{2:D2} ( + [slateblue1]Audio track [teal]{3}[/] starts at: [lime]{0:D2}:{1:D2}:{2:D2}[/] [italic]( - Absolute time: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Absolute time: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Absolute time: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Absolute time: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Video track {3} starts at: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Video track [teal]{3}[/] starts at: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Start of next possible program in the recordable area of the disc: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Start of next possible program in the recordable area of the disc: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Maximum start of outermost Lead-Out in the recordable area of the disc: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Maximum start of outermost Lead-Out in the recordable area of the disc: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Start of next possible program in the recordable area of the disc: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Start of next possible program in the recordable area of the disc: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Maximum start of outermost Lead-Out in the recordable area of the disc: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Maximum start of outermost Lead-Out in the recordable area of the disc: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Number of skip interval pointers: {0} + [slateblue1]Number of skip interval pointers: [teal]{0}[/][/] - Number of skip track pointers: {0} + [slateblue1]Number of skip track pointers: [teal]{0}[/][/] - Skip track {0} + [slateblue1]Skip track [teal]{0}[/][/] - Optimum recording power: 0x{0:X2} + [slateblue1]Optimum recording power: [teal]0x{0:X2}[/][/] - Start time of the first Lead-in area in the disc: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Start time of the first Lead-in area in the disc: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Start time of the first Lead-in area in the disc: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Start time of the first Lead-in area in the disc: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Copy of information of A1 from ATIP found + [slateblue1]Copy of information of A1 from ATIP found[/] - Start position of outer part lead-in area: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Start position of outer part lead-in area: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Stop position of inner part lead-out area: {3:D2}:{0:D2}:{1:D2}:{2:D2} + [slateblue1]Stop position of inner part lead-out area: [lime]{3:D2}:{0:D2}:{1:D2}:{2:D2}[/][/] - Start position of outer part lead-in area: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Start position of outer part lead-in area: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Stop position of inner part lead-out area: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Stop position of inner part lead-out area: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Start time for interval that should be skipped: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Start time for interval that should be skipped: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Ending time for interval that should be skipped: {0:D2}:{1:D2}:{2:D2} + [slateblue1]Ending time for interval that should be skipped: [lime]{0:D2}:{1:D2}:{2:D2}[/][/] - Disc ID: {0:X6} + [slateblue1]Disc ID: [teal]{0:X6}[/][/] - Expected CD PMA size ({0} bytes) is not received size ({1} bytes), not decoding + [slateblue1]Expected CD PMA size ([lime]{0}[/] bytes) is not received size ([lime]{1}[/] bytes), not decoding[/] - Track {0} (Stereo audio track with no pre-emphasis) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Stereo audio track with no pre-emphasis)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Stereo audio track with no pre-emphasis) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Stereo audio track with no pre-emphasis)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Track {0} (Stereo audio track with 50/15 μs pre-emphasis) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Stereo audio track with [teal]50/15 μs[/] pre-emphasis)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2} and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Stereo audio track with 50/15 μs pre-emphasis) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Stereo audio track with [teal]50/15 μs[/] pre-emphasis)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Track {0} (Quadraphonic audio track with no pre-emphasis) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Quadraphonic audio track with no pre-emphasis)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Quadraphonic audio track with no pre-emphasis) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Quadraphonic audio track with no pre-emphasis)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Track {0} (Quadraphonic audio track with 50/15 μs pre-emphasis) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Quadraphonic audio track with [teal]50/15[/] μs pre-emphasis)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Quadraphonic audio track with 50/15 μs pre-emphasis) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Quadraphonic audio track with [teal]50/15[/] μs pre-emphasis)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Track {0} (Data track, recorded uninterrupted) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Data track, recorded uninterrupted)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Data track, recorded uninterrupted) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Data track, recorded uninterrupted)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Track {0} (Data track, recorded incrementally) starts at {4}:{1:D2}:{2:D2}:{3:D2} and ends at {8}:{5:D2}:{6:D2}:{7:D2} + [slateblue1]Track [teal]{0}[/] [italic](Data track, recorded incrementally)[/] starts at [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/][/] - Track {0} (Data track, recorded incrementally) starts at {1:D2}:{2:D2}:{3:D2} and ends at {4:D2}:{5:D2}:{6:D2} + [slateblue1]Track [teal]{0}[/] [italic](Data track, recorded incrementally)[/] starts at [lime]{1:D2}:{2:D2}:{3:D2}[/] and ends at [lime]{4:D2}:{5:D2}:{6:D2}[/][/] - Reserved = 0x{0:X2} + [slateblue1]Reserved = [teal]0x{0:X2}[/] - Skip track assignment {0} says that tracks {1} should be skipped + [slateblue1]Skip track assignment [teal]{0}[/] says that tracks [teal]{1}[/] should be skipped - Unskip track assignment {0} says that tracks {1} should not be skipped + [slateblue1]Unskip track assignment [teal]{0}[/] says that tracks [teal]{1}[/] should not be skipped - Skip time interval assignment {0} says that from {4}:{1:D2}:{2:D2}:{3:D2} to {8}:{5:D2}:{6:D2}:{7:D2} should be skipped + [slateblue1]Skip time interval assignment [teal]{0}[/] says that from [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] to [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/] should be skipped[/] - Skip time interval assignment {0} says that from {1:D2}:{2:D2}:{3:D2} to {4:D2}:{5:D2}:{6:D2} should be skipped + [slateblue1]Skip time interval assignment [teal]{0}[/] says that from [lime]{1:D2}:{2:D2}:{3:D2}[/] to [lime]{4:D2}:{5:D2}:{6:D2}[/] should be skipped[/] - Unskip time interval assignment {0} says that from {4}:{1:D2}:{2:D2}:{3:D2} to {8}:{5:D2}:{6:D2}:{7:D2} should not be skipped + [slateblue1]Unskip time interval assignment [teal]{0}[/] says that from [lime]{4}:{1:D2}:{2:D2}:{3:D2}[/] to [lime]{8}:{5:D2}:{6:D2}:{7:D2}[/] should not be skipped[/] - Unskip time interval assignment {0} says that from {1:D2}:{2:D2}:{3:D2} to {4:D2}:{5:D2}:{6:D2} should not be skipped + [slateblue1]Unskip time interval assignment [teal]{0}[/] says that from [lime]{1:D2}:{2:D2}:{3:D2}[/] to [lime]{4:D2}:{5:D2}:{6:D2}[/] should not be skipped[/] CD sector.