Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -110,9 +110,9 @@ namespace Content.Server.PowerCell.Components
|
||||
if (!inDetailsRange) return;
|
||||
string sizeLetter = SlotSize switch
|
||||
{
|
||||
PowerCellSize.Small => Loc.GetString("S"),
|
||||
PowerCellSize.Medium => Loc.GetString("M"),
|
||||
PowerCellSize.Large => Loc.GetString("L"),
|
||||
PowerCellSize.Small => Loc.GetString("power-cell-slot-component-small-size-shorthand"),
|
||||
PowerCellSize.Medium => Loc.GetString("power-cell-slot-component-medium-size-shorthand"),
|
||||
PowerCellSize.Large => Loc.GetString("power-cell-slot-component-large-size-shorthand"),
|
||||
_ => "???"
|
||||
};
|
||||
if (DescFormatString != null) message.AddMarkup(string.Format(DescFormatString, sizeLetter));
|
||||
@@ -189,12 +189,12 @@ namespace Content.Server.PowerCell.Components
|
||||
|
||||
if (component.Cell == null)
|
||||
{
|
||||
data.Text = Loc.GetString("No cell");
|
||||
data.Text = Loc.GetString("power-cell-slot-component-no-cell");
|
||||
data.Visibility = VerbVisibility.Disabled;
|
||||
}
|
||||
else
|
||||
{
|
||||
data.Text = Loc.GetString("Eject cell");
|
||||
data.Text = Loc.GetString("power-cell-slot-component-eject-cell");
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/eject.svg.192dpi.png";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user