mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move markup to resources in list-encodings command.
This commit is contained in:
@@ -513,7 +513,7 @@ In you are unsure, please press N to not continue.</value>
|
|||||||
<value>No partitions found, not searching for filesystems</value>
|
<value>No partitions found, not searching for filesystems</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Title_Name" xml:space="preserve">
|
<data name="Title_Name" xml:space="preserve">
|
||||||
<value>Name</value>
|
<value>[bold][darkgreen]Name[/][/]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Title_Type" xml:space="preserve">
|
<data name="Title_Type" xml:space="preserve">
|
||||||
<value>Type</value>
|
<value>Type</value>
|
||||||
@@ -528,7 +528,7 @@ In you are unsure, please press N to not continue.</value>
|
|||||||
<value>{0} sectors, {1} bytes</value>
|
<value>{0} sectors, {1} bytes</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Title_Description" xml:space="preserve">
|
<data name="Title_Description" xml:space="preserve">
|
||||||
<value>Description</value>
|
<value>[bold][slateblue1]Description[/][/]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Identifying_filesystems" xml:space="preserve">
|
<data name="Identifying_filesystems" xml:space="preserve">
|
||||||
<value>Identifying filesystems...</value>
|
<value>Identifying filesystems...</value>
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ using Aaru.CommonTypes.Enums;
|
|||||||
using Aaru.Core;
|
using Aaru.Core;
|
||||||
using Aaru.Localization;
|
using Aaru.Localization;
|
||||||
using Aaru.Logging;
|
using Aaru.Logging;
|
||||||
using Serilog;
|
|
||||||
using Spectre.Console;
|
using Spectre.Console;
|
||||||
using Spectre.Console.Cli;
|
using Spectre.Console.Cli;
|
||||||
|
|
||||||
@@ -74,8 +73,8 @@ sealed class ListEncodingsCommand : Command<ListEncodingsCommand.Settings>
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
Table table = new();
|
Table table = new();
|
||||||
table.AddColumn(new TableColumn(new Markup($"[bold][darkgreen]{UI.Title_Name}[/][/]").Centered()));
|
table.AddColumn(new TableColumn(new Markup(UI.Title_Name).Centered()));
|
||||||
table.AddColumn(new TableColumn(new Markup($"[bold][slateblue1]{UI.Title_Description}[/][/]").Centered()));
|
table.AddColumn(new TableColumn(new Markup(UI.Title_Description).Centered()));
|
||||||
table.Border(TableBorder.Rounded);
|
table.Border(TableBorder.Rounded);
|
||||||
table.BorderColor(Color.Yellow);
|
table.BorderColor(Color.Yellow);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user