Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -766,13 +766,13 @@ namespace Content.Server.Hands.Components
|
||||
{
|
||||
if (ActiveHand != null && Drop(ActiveHand, false))
|
||||
{
|
||||
source.PopupMessageOtherClients(Loc.GetString("{0} disarms {1}!", source.Name, target.Name));
|
||||
source.PopupMessageCursor(Loc.GetString("You disarm {0}!", target.Name));
|
||||
source.PopupMessageOtherClients(Loc.GetString("hands-component-disarm-success-others-message!",("source", source.Name),("target", target.Name)));
|
||||
source.PopupMessageCursor(Loc.GetString("hands-component-disarm-success-message",("target", target.Name)));
|
||||
}
|
||||
else
|
||||
{
|
||||
source.PopupMessageOtherClients(Loc.GetString("{0} shoves {1}!", source.Name, target.Name));
|
||||
source.PopupMessageCursor(Loc.GetString("You shove {0}!", target.Name));
|
||||
source.PopupMessageOtherClients(Loc.GetString("hands-component-shove-success-others-message",("source", source.Name),("target", target.Name)));
|
||||
source.PopupMessageCursor(Loc.GetString("hands-component-shove-success-message",("target", target.Name)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,8 +240,8 @@ namespace Content.Server.Hands
|
||||
if (!inventoryComp.TryGetSlotItem(equipmentSlot, out ItemComponent? equipmentItem)
|
||||
|| !equipmentItem.Owner.TryGetComponent<ServerStorageComponent>(out var storageComponent))
|
||||
{
|
||||
plyEnt.PopupMessage(Loc.GetString("You have no {0} to take something out of!",
|
||||
SlotNames[equipmentSlot].ToLower()));
|
||||
plyEnt.PopupMessage(Loc.GetString("hands-system-missing-equipment-slot",
|
||||
("slotName", SlotNames[equipmentSlot].ToLower())));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -255,8 +255,8 @@ namespace Content.Server.Hands
|
||||
{
|
||||
if (storageComponent.StoredEntities.Count == 0)
|
||||
{
|
||||
plyEnt.PopupMessage(Loc.GetString("There's nothing in your {0} to take out!",
|
||||
SlotNames[equipmentSlot].ToLower()));
|
||||
plyEnt.PopupMessage(Loc.GetString("hands-system-empty-equipment-slot",
|
||||
("slotName", SlotNames[equipmentSlot].ToLower())));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user