Use TheName macro and GrammarComponent (#1396)

This commit is contained in:
Hugal31
2020-07-17 10:44:32 +02:00
committed by GitHub
parent f313a9267a
commit a5051c549b
8 changed files with 32 additions and 15 deletions

View File

@@ -120,7 +120,7 @@ namespace Content.Server.GameObjects.Components.Gravity
var notifyManager = IoCManager.Resolve<IServerNotifyManager>();
notifyManager.PopupMessage(Owner, eventArgs.User, Loc.GetString("You repair the gravity generator with the welder"));
notifyManager.PopupMessage(Owner, eventArgs.User, Loc.GetString("You repair {0:theName} with {1:theName}", Owner, eventArgs.Using));
return true;
}