diff --git a/Content.Server/Storage/Components/ServerStorageComponent.cs b/Content.Server/Storage/Components/ServerStorageComponent.cs index fe57a65e16..58dbd27db9 100644 --- a/Content.Server/Storage/Components/ServerStorageComponent.cs +++ b/Content.Server/Storage/Components/ServerStorageComponent.cs @@ -256,14 +256,14 @@ namespace Content.Server.Storage.Components if (!handSys.TryDrop(player, toInsert.Value, handsComp: hands)) { - Owner.PopupMessage(player, "Can't insert."); + Owner.PopupMessage(player, Loc.GetString("comp-storage-cant-insert")); return false; } if (!Insert(toInsert.Value)) { handSys.PickupOrDrop(player, toInsert.Value, handsComp: hands); - Owner.PopupMessage(player, "Can't insert."); + Owner.PopupMessage(player, Loc.GetString("comp-storage-cant-insert")); return false; } @@ -282,7 +282,7 @@ namespace Content.Server.Storage.Components if (!Insert(toInsert)) { - Owner.PopupMessage(player, "Can't insert."); + Owner.PopupMessage(player, Loc.GetString("comp-storage-cant-insert")); return false; } return true; diff --git a/Resources/Locale/en-US/components/storage-component.ftl b/Resources/Locale/en-US/components/storage-component.ftl index 11070caf78..7b9346fd3a 100644 --- a/Resources/Locale/en-US/components/storage-component.ftl +++ b/Resources/Locale/en-US/components/storage-component.ftl @@ -1,4 +1,5 @@ comp-storage-no-item-size = None +comp-storage-cant-insert = Can't insert. comp-storage-window-title = Storage Item comp-storage-window-volume = Items: { $itemCount }, Stored: { $usedVolume }/{ $maxVolume } comp-storage-window-volume-unlimited = Items: { $itemCount }