diff --git a/Content.Server/Guardian/GuardianSystem.cs b/Content.Server/Guardian/GuardianSystem.cs index 341993ce2f..e8c3fe7028 100644 --- a/Content.Server/Guardian/GuardianSystem.cs +++ b/Content.Server/Guardian/GuardianSystem.cs @@ -8,6 +8,7 @@ using Content.Shared.Examine; using Content.Shared.Guardian; using Content.Shared.Hands.Components; using Content.Shared.Hands.EntitySystems; +using Content.Shared.IdentityManagement; using Content.Shared.Interaction; using Content.Shared.Interaction.Events; using Content.Shared.Mobs; @@ -188,7 +189,9 @@ namespace Content.Server.Guardian // Can only inject things with the component... if (!HasComp(target)) { - _popupSystem.PopupEntity(Loc.GetString("guardian-activator-invalid-target"), user, user); + var msg = Loc.GetString("guardian-activator-invalid-target", ("entity", Identity.Entity(target, EntityManager, user))); + + _popupSystem.PopupEntity(msg, user, user); return; } diff --git a/Resources/Locale/en-US/guardian/guardian.ftl b/Resources/Locale/en-US/guardian/guardian.ftl index 141646087d..13cb9ad9da 100644 --- a/Resources/Locale/en-US/guardian/guardian.ftl +++ b/Resources/Locale/en-US/guardian/guardian.ftl @@ -6,8 +6,7 @@ guardian-already-present-invalid-creation = You are NOT re-living that haunting guardian-no-actions-invalid-creation = You don't have the ability to host a guardian! guardian-activator-empty-invalid-creation = The injector is spent. guardian-activator-empty-examine = [color=#ba1919]The injector is spent.[/color] -# TODO: Change this once other species can inject it? -guardian-activator-invalid-target = Only humans can be injected! +guardian-activator-invalid-target = {CAPITALIZE(THE($entity))} cannot be injected! guardian-no-soul = Your guardian has no soul. guardian-available = Your guardian now has a soul. guardian-inside-container = There's no room to release your guardian!