]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix force-feeding Loc strings not using target's gender (#34276)
authorTayrtahn <tayrtahn@gmail.com>
Sun, 12 Jan 2025 14:33:53 +0000 (09:33 -0500)
committerGitHub <noreply@github.com>
Sun, 12 Jan 2025 14:33:53 +0000 (15:33 +0100)
Content.Server/Nutrition/EntitySystems/FoodSystem.cs
Resources/Locale/en-US/nutrition/components/food-component.ftl

index 158c7f4955c5ad8f02adfecf40b9f006eb750dea..fd68f611c1920fe02a5a9aca5e3b002b248db697 100644 (file)
@@ -268,7 +268,7 @@ public sealed class FoodSystem : EntitySystem
         if (stomachToUse == null)
         {
             _solutionContainer.TryAddSolution(soln.Value, split);
-            _popup.PopupEntity(forceFeed ? Loc.GetString("food-system-you-cannot-eat-any-more-other") : Loc.GetString("food-system-you-cannot-eat-any-more"), args.Target.Value, args.User);
+            _popup.PopupEntity(forceFeed ? Loc.GetString("food-system-you-cannot-eat-any-more-other", ("target", args.Target.Value)) : Loc.GetString("food-system-you-cannot-eat-any-more"), args.Target.Value, args.User);
             return;
         }
 
index 4eae610085e900d2ba749c6e333355cab7cc14a0..3de156fdef441470c5b4602faf6948042fedd3b0 100644 (file)
@@ -14,11 +14,11 @@ food-system-remove-mask = You need to take off the {$entity} first.
 ## System
 
 food-system-you-cannot-eat-any-more = You can't eat any more!
-food-system-you-cannot-eat-any-more-other = They can't eat any more!
+food-system-you-cannot-eat-any-more-other = {CAPITALIZE(SUBJECT($target))} can't eat any more!
 food-system-try-use-food-is-empty = {CAPITALIZE(THE($entity))} is empty!
 food-system-wrong-utensil = You can't eat {THE($food)} with {INDEFINITE($utensil)} {$utensil}.
 food-system-cant-digest = You can't digest {THE($entity)}!
-food-system-cant-digest-other = They can't digest {THE($entity)}!
+food-system-cant-digest-other = {CAPITALIZE(SUBJECT($target))} can't digest {THE($entity)}!
 
 food-system-verb-eat = Eat