Skip to content

Commit

Permalink
imp - Localize two messages in KernelInitializers
Browse files Browse the repository at this point in the history
---

We need to set the two messages for localization in the KernelInitializers class.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 9, 2024
1 parent 1c20fe5 commit 546a93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/Nitrocid/Kernel/Starting/KernelInitializers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal static void InitializeCritical()
{
if (!ConsoleExtensions.InitializeSequences())
{
TextWriterColor.Write("Can not initialize VT sequences for your Windows terminal. Make sure that you're running Windows 10 or later.");
TextWriterColor.Write(Translate.DoTranslation("Can not initialize VT sequences for your Windows terminal. Make sure that you're running Windows 10 or later."));
InputTools.DetectKeypress();
}
}
Expand Down Expand Up @@ -105,7 +105,7 @@ internal static void InitializeCritical()
}
catch (Exception ex)
{
TextWriterColor.Write($"{ex}");
TextWriterColor.Write(Translate.DoTranslation("Failed to start critical components") + $": {ex}");
throw;
}
}
Expand Down

0 comments on commit 546a93a

Please sign in to comment.