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

@@ -97,7 +97,7 @@ namespace Content.Server.Nutrition.Components
if (UsesRemaining <= 0)
{
user.PopupMessage(Loc.GetString("{0:TheName} is empty!", Owner));
user.PopupMessage(Loc.GetString("food-component-try-use-food-is-empty", ("entity", Owner)));
return false;
}
@@ -150,7 +150,7 @@ namespace Content.Server.Nutrition.Components
if (firstStomach == null)
{
trueTarget.PopupMessage(user, Loc.GetString("You can't eat any more!"));
trueTarget.PopupMessage(user, Loc.GetString("food-you-cannot-eat-any-more"));
return false;
}
@@ -165,7 +165,7 @@ namespace Content.Server.Nutrition.Components
SoundSystem.Play(Filter.Pvs(trueTarget), UseSound, trueTarget, AudioParams.Default.WithVolume(-1f));
}
trueTarget.PopupMessage(user, Loc.GetString("Nom"));
trueTarget.PopupMessage(user, Loc.GetString("food-nom"));
// If utensils were used
if (utensils != null)