Files
OldThink/Resources/Locale/en-US/ghost/ghost-gui.ftl
MilenVolf 5fa6578c3d Collapsible ghost roles menu (#32717)
* Make ghost roles collapsible

* Save `BodyVisible` state of each `Collapsible` box

* Make ghost role collapsible only when group has more than 1 role

* Make it a little prettier

* Make only ghost role buttons collapsible

* Apply requested changes

* Typo

* Small cleanup

* Store in list, instead of iterating

* Make unique ids more unique

* Move it out of the cycle

* Make _collapsibleBoxes into dictionary and use key instead of Collapsible boxes names

Added TODO. So after the problem will be fixed in `GhostRolesEui`, it should be mirrored and fixed here too.

* Put TODO in GhostRolesEui. I guess Issue must be made for this

* Use HashSet instead of Dictionary as suggested. Invert the HashSet, so being present means it uncollapsed

I decided to invert HashSet to _uncollapsedStates, because players surely will have more collapsed buttons than opened, so we optimise memory usage a little bit.

* Remove extra space from ghost roles window

* Add buttons stretching. Size 3:1

(cherry picked from commit cc3a19c212e96eda25236060c7809a66a69d7bdd)
2024-12-02 18:08:17 +03:00

45 lines
2.3 KiB
Plaintext

ghost-gui-return-to-body-button = Return to body
ghost-gui-ghost-warp-button = Ghost Warp
ghost-gui-ghost-roles-button = Ghost Roles ({$count})
ghost-gui-toggle-ghost-visibility-name = Toggle Ghosts
ghost-gui-toggle-ghost-visibility-desc = Toggle the visibility of other ghosts.
ghost-gui-toggle-ghost-visibility-popup = Toggled visibility of ghosts.
ghost-gui-toggle-lighting-manager-name = Toggle All Lighting
ghost-gui-toggle-lighting-manager-desc = Toggle all light rendering to better observe dark areas.
ghost-gui-toggle-lighting-manager-popup = Toggled all lighting.
ghost-gui-toggle-fov-name = Toggle FoV
ghost-gui-toggle-fov-desc = Toggles field-of-view in order to see what players see.
ghost-gui-toggle-fov-popup = Toggled field-of-view.
ghost-gui-scare-name = Boo!
ghost-gui-scare-desc = Scare your crew members because of boredom!
ghost-gui-toggle-ghost-hearing-name = Toggle Ghost Hearing
ghost-gui-toggle-ghost-hearing-desc = Toggle between hearing all messages and hearing only radio & nearby messages.
ghost-gui-toggle-hearing-popup-on = You can now hear all messages.
ghost-gui-toggle-hearing-popup-off = You can now only hear radio and nearby messages.
ghost-target-window-title = Ghost Warp
ghost-target-window-current-button = Warp: {$name}
ghost-target-window-warp-to-most-followed = Warp to Most Followed
ghost-roles-window-title = Ghost Roles
ghost-roles-window-available-button = Available ({$rolesCount})
ghost-roles-window-join-raffle-button = Join raffle
ghost-roles-window-raffle-in-progress-button =
Join raffle ({$time} left, { $players ->
[one] {$players} player
*[other] {$players} players
})
ghost-roles-window-leave-raffle-button =
Leave raffle ({$time} left, { $players ->
[one] {$players} player
*[other] {$players} players
})
ghost-roles-window-request-role-button = Request
ghost-roles-window-request-role-button-timer = Request ({$time}s)
ghost-roles-window-follow-role-button = Follow
ghost-roles-window-no-roles-available-label = There are currently no available ghost roles.
ghost-roles-window-rules-footer = The button will enable after {$time} seconds (this delay is to make sure you read the rules).
ghost-return-to-body-title = Return to Body
ghost-return-to-body-text = You are being revived! Return to your body?