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

@@ -1,5 +1,6 @@
#nullable enable
using Robust.Shared.GameObjects;
using Robust.Shared.Localization;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Utility;
@@ -24,10 +25,10 @@ namespace Content.Shared.Construction.Steps
public override void DoExamine(FormattedMessage message, bool inDetailsRange)
{
message.AddMarkup(string.IsNullOrEmpty(Name)
? Robust.Shared.Localization.Loc.GetString(
? Loc.GetString(
"construction-insert-entity-with-component",
("componentName", Component))// Terrible.
: Robust.Shared.Localization.Loc.GetString(
: Loc.GetString(
"construction-insert-exact-entity",
("entityName", Name)));
}