diff --git a/Program.cs b/Program.cs index 6f3cae5..4b31d99 100644 --- a/Program.cs +++ b/Program.cs @@ -11,7 +11,7 @@ class View_driver static void Main(string[] args) { List drivers = new List(); - string unknownName = "Неизвестное устройство"; + string unknownName = "Unknown Device"; var searcher = new ManagementObjectSearcher("SELECT * FROM Win32_PnPEntity"); foreach (ManagementObject obj in searcher.Get()) { @@ -25,7 +25,7 @@ class View_driver var statusColor = driver.Status_Device_driver switch { "OK" => ConsoleColor.Green, - "Error" => ConsoleColor.Red, + "Error" => ConsoleColor.DarkRed, "Degraded" => ConsoleColor.Yellow, _ => ConsoleColor.Gray }; @@ -33,17 +33,17 @@ class View_driver ? ConsoleColor.Red : ConsoleColor.DarkGray; - Console.Write("Имя: "); + Console.Write("Name: "); Console.ForegroundColor = nameColor; Console.Write(driver.Name_Device_driver); Console.ResetColor(); - Console.Write(" | Статус: "); + Console.Write(" | Status: "); Console.ForegroundColor = statusColor; Console.Write(driver.Status_Device_driver); Console.ResetColor(); - Console.Write(" | Путь: "); + Console.Write(" | Path: "); Console.ForegroundColor = ConsoleColor.DarkYellow; Console.Write($"{driver.Path_Device_driver}\n"); Console.ResetColor();