More localize (#7869)
* Localize replacement accents * Localize bar signs * Holidays * Localize species
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Server.Holiday.Greet
|
||||
|
||||
public string Greet(HolidayPrototype holiday)
|
||||
{
|
||||
return _greet;
|
||||
return Loc.GetString(_greet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,10 @@ namespace Content.Server.Holiday.Greet
|
||||
{
|
||||
public sealed class DefaultHolidayGreet : IHolidayGreet
|
||||
{
|
||||
public string Greet(HolidayPrototype holiday) => Loc.GetString("holiday-greet", ("holidayName", holiday.Name));
|
||||
public string Greet(HolidayPrototype holiday)
|
||||
{
|
||||
var holidayName = Loc.GetString(holiday.Name);
|
||||
return Loc.GetString("holiday-greet", ("holidayName", holidayName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user