Removed old Loc.GetString() use instances (#4155)

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
Galactic Chimp
2021-06-21 02:13:54 +02:00
committed by GitHub
parent 4a46fbe6dd
commit 392b820796
523 changed files with 3082 additions and 1551 deletions

View File

@@ -5,9 +5,6 @@ namespace Content.Server.Holiday.Greet
{
public class DefaultHolidayGreet : IHolidayGreet
{
public string Greet(HolidayPrototype holiday)
{
return Loc.GetString("Have a happy {0}!", holiday.Name);
}
public string Greet(HolidayPrototype holiday) => Loc.GetString("holiday-greet", ("holidayName", holiday.Name));
}
}