mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 13:37:47 +03:00
* Create in-guidebook errors * Localize client-facing parser error * Uncomment line * Missed another localization string (cherry picked from commit eab0c348224eef52082a39379866d298ca0dbdcd)
24 lines
563 B
C#
24 lines
563 B
C#
using JetBrains.Annotations;
|
|
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client.Guidebook.Controls;
|
|
|
|
[UsedImplicitly] [GenerateTypedNameReferences]
|
|
public sealed partial class GuidebookError : BoxContainer
|
|
{
|
|
public GuidebookError()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
}
|
|
|
|
public GuidebookError(string original, string? error) : this()
|
|
{
|
|
Original.AddText(original);
|
|
|
|
if (error is not null)
|
|
Error.AddText(error);
|
|
}
|
|
}
|