* Create in-guidebook errors * Localize client-facing parser error * Uncomment line * Missed another localization string
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);
|
|
}
|
|
}
|