diff --git a/Aaru.Localization/Core.resx b/Aaru.Localization/Core.resx index c0f4c745f..7a1abc516 100644 --- a/Aaru.Localization/Core.resx +++ b/Aaru.Localization/Core.resx @@ -3060,10 +3060,10 @@ It has no sense to do it, and it will put too much strain on the tape. Unable to write file {0} - Sectors {0} + [slateblue1]Sectors [lime]{0}[/][/] - Entropying sector {0} + [slateblue1]Entropying sector [lime]{0}[/][/] Error {0} while reading sector {1}, continuing... diff --git a/Aaru.Localization/UI.resx b/Aaru.Localization/UI.resx index 7133e0a00..736886dd2 100644 --- a/Aaru.Localization/UI.resx +++ b/Aaru.Localization/UI.resx @@ -1273,17 +1273,17 @@ In you are unsure, please press N to not continue. Calculating disc entropy of multisession images is not yet implemented. - Entropy for track {0} is {1:F4}. + [slateblue1]Entropy for track [teal]{0}[/] is [teal]{1:F4}[/].[/] - Track {0} has {1} unique sectors ({2:P3}) + [slateblue1]Track [teal]{0}[/] has [teal]{1}[/] unique sectors ([aqua]{2:P3}[/])[/] {0} is the track number, {1} how many sectors are unique, {2:P3} the percentage of total sectors that are unique (percent symbol included) - Entropy for disk is {0:F4}. + [slateblue1]Entropy for disk is [teal]{0:F4}[/].[/] - Disk has {0} unique sectors ({1:P3}) + [slateblue1]Disk has [teal]{0}[/] unique sectors ([aqua]{1:P3}[/])[/] {0} is how many sectors are unique, {1:P3} the percentage of total sectors that are unique (percent symbol included) diff --git a/Aaru/Commands/Image/Entropy.cs b/Aaru/Commands/Image/Entropy.cs index ea1c7e92d..fe0510f0c 100644 --- a/Aaru/Commands/Image/Entropy.cs +++ b/Aaru/Commands/Image/Entropy.cs @@ -129,7 +129,7 @@ sealed class EntropyCommand : Command entropyCalculator.UpdateProgressEvent += (text, current, maximum) => { _progressTask1 ??= ctx.AddTask("Progress"); - _progressTask1.Description = Markup.Escape(text); + _progressTask1.Description = text; _progressTask1.Value = current; _progressTask1.MaxValue = maximum; }; @@ -137,7 +137,7 @@ sealed class EntropyCommand : Command entropyCalculator.UpdateProgress2Event += (text, current, maximum) => { _progressTask2 ??= ctx.AddTask("Progress"); - _progressTask2.Description = Markup.Escape(text); + _progressTask2.Description = text; _progressTask2.Value = current; _progressTask2.MaxValue = maximum; }; @@ -158,9 +158,8 @@ sealed class EntropyCommand : Command { if(opticalFormat.Sessions?.Count > 1) { - AaruLogging - .Error(UI - .Calculating_disc_entropy_of_multisession_images_is_not_yet_implemented); + AaruLogging.Error(UI + .Calculating_disc_entropy_of_multisession_images_is_not_yet_implemented); wholeDisc = false; }