Support full TOC colorization in media info command.

This commit is contained in:
2025-08-18 19:50:34 +01:00
parent b8b396e4a6
commit 906e974257
5 changed files with 10 additions and 10 deletions

View File

@@ -1980,8 +1980,8 @@
<value>El vocado de dispositivos ATA en crudo no está implementado, continuando...</value>
</data>
<data name="Raw_TOC" xml:space="preserve">
<value>Tabla de contenidos sin procesar</value>
</data>
<value>[bold][blue]Tabla de contenidos sin procesar:[/][/]</value>
</data>
<data name="Reading_0_raw_bytes_1_cooked_bytes_per_sector" xml:space="preserve">
<value>Leyendo {0} bytes sin procesar ({1} procesados) por sector.</value>
</data>

View File

@@ -336,8 +336,8 @@
<value>Session information</value>
</data>
<data name="Raw_TOC" xml:space="preserve">
<value>Raw TOC</value>
</data>
<value>[bold][blue]Raw TOC:[/][/]</value>
</data>
<data name="PMA" xml:space="preserve">
<value>PMA</value>
</data>

View File

@@ -1851,8 +1851,8 @@
<value>Obteniendo información del fichero...</value>
</data>
<data name="Retrieving_SCSI_information" xml:space="preserve">
<value>Obteniendo información SCSI...</value>
</data>
<value>[slateblue1]Obteniendo información SCSI...[/]</value>
</data>
<data name="Retry_passes" xml:space="preserve">
<value>Pasos de reintento</value>
</data>

View File

@@ -1523,8 +1523,8 @@ In you are unsure, please press N to not continue.</value>
<value>Please use device-info command for MMC/SD devices.</value>
</data>
<data name="Retrieving_SCSI_information" xml:space="preserve">
<value>Retrieving SCSI information...</value>
</data>
<value>[slateblue1]Retrieving SCSI information...[/]</value>
</data>
<data name="Densities_supported_by_currently_inserted_media" xml:space="preserve">
<value>Densities supported by currently inserted media</value>
</data>

View File

@@ -698,8 +698,8 @@ sealed class MediaInfoCommand : Command<MediaInfoCommand.Settings>
if(scsiInfo.FullToc.HasValue)
{
AaruLogging.WriteLine($"[bold]{Localization.Core.Raw_TOC}:[/]" +
$"\n{Markup.Escape(FullTOC.Prettify(scsiInfo.RawToc))}");
AaruLogging.WriteLine(Localization.Core.Raw_TOC);
AaruLogging.WriteLine(FullTOC.Prettify(scsiInfo.RawToc));
}
}