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

@@ -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";
}

View File

@@ -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";
}

View File

@@ -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;