Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using Content.Client.CharacterAppearance;
|
||||
using Content.Client.HUD.UI;
|
||||
using Content.Client.Inventory;
|
||||
@@ -35,12 +35,12 @@ namespace Content.Client.Lobby.UI
|
||||
|
||||
var header = new NanoHeading
|
||||
{
|
||||
Text = Loc.GetString("Character")
|
||||
Text = Loc.GetString("lobby-character-preview-panel-header")
|
||||
};
|
||||
|
||||
CharacterSetupButton = new Button
|
||||
{
|
||||
Text = Loc.GetString("Customize"),
|
||||
Text = Loc.GetString("lobby-character-preview-panel-character-setup-button"),
|
||||
HorizontalAlignment = HAlignment.Left
|
||||
};
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Content.Client.Lobby.UI
|
||||
|
||||
vBox.AddChild(header);
|
||||
|
||||
_unloaded = new Label {Text = "Your character preferences have not yet loaded, please stand by."};
|
||||
_unloaded = new Label {Text = Loc.GetString("lobby-character-preview-panel-unloaded-preferences-label")};
|
||||
|
||||
_loaded = new VBoxContainer {Visible = false};
|
||||
|
||||
@@ -147,7 +147,7 @@ namespace Content.Client.Lobby.UI
|
||||
foreach (var slot in AllSlots)
|
||||
{
|
||||
var itemType = gear.GetGear(slot, profile);
|
||||
if (itemType != "")
|
||||
if (itemType != string.Empty)
|
||||
{
|
||||
var item = entityMan.SpawnEntity(itemType, MapCoordinates.Nullspace);
|
||||
inventory.SetSlotVisuals(slot, item);
|
||||
|
||||
Reference in New Issue
Block a user