Files
crystall-punk-14/Content.Server/Holiday/Greet/Custom.cs
Alex Evgrashin 89fda5ec83 More localize (#7869)
* Localize replacement accents

* Localize bar signs

* Holidays

* Localize species
2022-05-03 18:32:06 +10:00

19 lines
452 B
C#

using Content.Server.Holiday.Interfaces;
using JetBrains.Annotations;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Holiday.Greet
{
[UsedImplicitly]
[DataDefinition]
public sealed class Custom : IHolidayGreet
{
[DataField("text")] private string _greet = string.Empty;
public string Greet(HolidayPrototype holiday)
{
return Loc.GetString(_greet);
}
}
}