Change text for ghost visibility button (#30998)

* add new text

* changed loc names

* fixes
This commit is contained in:
tosatur
2024-08-20 03:51:54 +10:00
committed by GitHub
parent fb686d687c
commit b2a24f50dd
2 changed files with 4 additions and 3 deletions

View File

@@ -99,8 +99,8 @@ namespace Content.Client.Ghost
if (args.Handled) if (args.Handled)
return; return;
Popup.PopupEntity(Loc.GetString("ghost-gui-toggle-ghost-visibility-popup"), args.Performer); var locId = GhostVisibility ? "ghost-gui-toggle-ghost-visibility-popup-off" : "ghost-gui-toggle-ghost-visibility-popup-on";
Popup.PopupEntity(Loc.GetString(locId), args.Performer);
if (uid == _playerManager.LocalEntity) if (uid == _playerManager.LocalEntity)
ToggleGhostVisibility(); ToggleGhostVisibility();

View File

@@ -1,7 +1,8 @@
ghost-gui-return-to-body-button = Return to body ghost-gui-return-to-body-button = Return to body
ghost-gui-ghost-warp-button = Ghost Warp ghost-gui-ghost-warp-button = Ghost Warp
ghost-gui-ghost-roles-button = Ghost Roles ({$count}) ghost-gui-ghost-roles-button = Ghost Roles ({$count})
ghost-gui-toggle-ghost-visibility-popup = Toggled visibility of ghosts. ghost-gui-toggle-ghost-visibility-popup-on = Enabled visibility of ghosts.
ghost-gui-toggle-ghost-visibility-popup-off = Disabled visibility of ghosts.
ghost-gui-toggle-lighting-manager-popup = Toggled all lighting. ghost-gui-toggle-lighting-manager-popup = Toggled all lighting.
ghost-gui-toggle-fov-popup = Toggled field-of-view. ghost-gui-toggle-fov-popup = Toggled field-of-view.