Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -166,7 +166,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
|
||||
if (!args.User.TryGetComponent(out IHandsComponent? hands))
|
||||
{
|
||||
Owner.PopupMessage(args.User, Loc.GetString("You have no hands."));
|
||||
Owner.PopupMessage(args.User, Loc.GetString("disposal-router-window-tag-input-activate-no-hands"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -202,7 +202,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
return;
|
||||
}
|
||||
|
||||
data.Text = Loc.GetString("Open Configuration");
|
||||
data.Text = Loc.GetString("configure-verb-get-data-text");
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.192dpi.png";
|
||||
}
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
|
||||
if (!args.User.TryGetComponent(out IHandsComponent? hands))
|
||||
{
|
||||
Owner.PopupMessage(args.User, Loc.GetString("You have no hands."));
|
||||
Owner.PopupMessage(args.User, Loc.GetString("disposal-tagger-window-activate-no-hands"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
return;
|
||||
}
|
||||
|
||||
data.Text = Loc.GetString("Open Configuration");
|
||||
data.Text = Loc.GetString("configure-verb-get-data-text");
|
||||
data.IconTexture = "/Textures/Interface/VerbIcons/settings.svg.192dpi.png";
|
||||
}
|
||||
|
||||
|
||||
@@ -176,7 +176,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
{
|
||||
var directions = string.Join(", ", ConnectableDirections());
|
||||
|
||||
Owner.PopupMessage(entity, Loc.GetString("{0}", directions));
|
||||
Owner.PopupMessage(entity, Loc.GetString("disposal-tube-component-popup-directions-text", ("directions", directions)));
|
||||
}
|
||||
|
||||
private void UpdateVisualState()
|
||||
@@ -283,7 +283,7 @@ namespace Content.Server.Disposal.Tube.Components
|
||||
{
|
||||
protected override void GetData(IEntity user, IDisposalTubeComponent component, VerbData data)
|
||||
{
|
||||
data.Text = Loc.GetString("Tube Directions");
|
||||
data.Text = Loc.GetString("tube-direction-verb-get-data-text");
|
||||
data.CategoryData = VerbCategories.Debug;
|
||||
data.Visibility = VerbVisibility.Invisible;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user