Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -147,7 +147,7 @@ namespace Content.Server.Light.Components
|
||||
|
||||
void IExamine.Examine(FormattedMessage message, bool inDetailsRange)
|
||||
{
|
||||
message.AddMarkup(Loc.GetString($"The battery indicator displays: {BatteryStateText[State]}."));
|
||||
message.AddMarkup(Loc.GetString("emergency-light-component-on-examine",("batteryStateText", BatteryStateText[State])));
|
||||
}
|
||||
|
||||
public enum EmergencyLightState
|
||||
@@ -160,10 +160,10 @@ namespace Content.Server.Light.Components
|
||||
|
||||
public Dictionary<EmergencyLightState, string> BatteryStateText = new()
|
||||
{
|
||||
{ EmergencyLightState.Full, "[color=darkgreen]Full[/color]"},
|
||||
{ EmergencyLightState.Empty, "[color=darkred]Empty[/color]"},
|
||||
{ EmergencyLightState.Charging, "[color=darkorange]Charging[/color]"},
|
||||
{ EmergencyLightState.On, "[color=darkorange]Discharging[/color]"}
|
||||
{ EmergencyLightState.Full, "emergency-light-component-light-state-full" },
|
||||
{ EmergencyLightState.Empty, "emergency-light-component-light-state-empty" },
|
||||
{ EmergencyLightState.Charging, "emergency-light-component-light-state-charging" },
|
||||
{ EmergencyLightState.On, "emergency-light-component-light-state-on" }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user