Make potted plants use the macro as example.

This commit is contained in:
Pieter-Jan Briers
2020-07-11 15:19:28 +02:00
parent 51d08e8b05
commit bd80b0df7b

View File

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