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

@@ -35,8 +35,8 @@ namespace Content.Server.Inventory.Components
if (_inventory.GetSlotItem(Slots.INNERCLOTHING) == null)
{
reason = Loc.GetString(slotMask == SlotFlags.IDCARD
? "You need a uniform to store something in your ID slot!"
: "You need a uniform to store something in your pockets!");
? "human-inventory-controller-component-need-uniform-to-store-in-id-slot-text"
: "human-inventory-controller-component-need-uniform-to-store-in-pockets-text");
return false;
}
@@ -51,7 +51,7 @@ namespace Content.Server.Inventory.Components
}
else if (!flagsCheck)
{
reason = Loc.GetString("This is too large!");
reason = Loc.GetString("human-inventory-controller-component-too-large-text");
}
}
}