From bd80b0df7bfd8d896779dd4f879c993a29b3d548 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Sat, 11 Jul 2020 15:19:28 +0200 Subject: [PATCH] Make potted plants use the macro as example. --- .../GameObjects/Components/PottedPlantHideComponent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/GameObjects/Components/PottedPlantHideComponent.cs b/Content.Server/GameObjects/Components/PottedPlantHideComponent.cs index 4c48cceddf..5c1c2cd9e1 100644 --- a/Content.Server/GameObjects/Components/PottedPlantHideComponent.cs +++ b/Content.Server/GameObjects/Components/PottedPlantHideComponent.cs @@ -46,7 +46,7 @@ namespace Content.Server.GameObjects.Components if (size > MaxItemSize) { Owner.PopupMessage(eventArgs.User, - Loc.GetString("The {0} is too big to fit in the plant!", eventArgs.Using.Name)); + Loc.GetString("{0:TheName} is too big to fit in the plant!", eventArgs.Using.Name)); return false; } @@ -57,7 +57,7 @@ namespace Content.Server.GameObjects.Components return false; } - Owner.PopupMessage(eventArgs.User, Loc.GetString("You hide the {0} in the plant.", eventArgs.Using.Name)); + Owner.PopupMessage(eventArgs.User, Loc.GetString("You hide {0:theName} in the plant.", eventArgs.Using.Name)); Rustle(); return true; }