Skip to content

Commit

Permalink
Забыл локализацию
Browse files Browse the repository at this point in the history
  • Loading branch information
FaDeOkno committed Aug 8, 2024
1 parent a2a171a commit e06c477
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/ADT/Quirks/EntitySystems/SharedQuirksSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ public abstract class SharedQuirksSystem : EntitySystem
{
[Dependency] private readonly SharedEntityStorageSystem _storage = default!;
[Dependency] protected readonly IRobustRandom _random = default!;
[Dependency] private readonly IPrototypeManager _proto = default!;
[Dependency] private readonly INetManager _netMan = default!;
[Dependency] private readonly MovementSpeedModifierSystem _movementSpeed = default!;
[Dependency] private readonly SharedPopupSystem _popup = default!;
[Dependency] private readonly TagSystem _tag = default!;
Expand Down Expand Up @@ -62,7 +60,9 @@ public override void Initialize()
public void TryHide(EntityUid uid, EntityUid closet)
{
if (_storage.Insert(uid, closet))
{
_popup.PopupClient(Loc.GetString("quirk-fast-locker-hide-success"), uid);
}
else
_popup.PopupCursor(Loc.GetString("quirk-fast-locker-hide-fail"), uid);
}
Expand Down
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/ADT/Interaction/fast-hide-popups.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
quirk-fast-locker-hide-success = Вы успешно спрятались.
quirk-fast-locker-hide-fail = Вы не можете забраться сюда.
quirk-fast-locker-hide-verb = Спрятаться

0 comments on commit e06c477

Please sign in to comment.