Use short context names in hotkey yaml, generate translation key at runtime.

This commit is contained in:
RoosterDragon
2024-09-23 19:06:08 +01:00
committed by Gustas
parent 559a76be8d
commit 6bd64677ec
15 changed files with 208 additions and 203 deletions

View File

@@ -1,134 +1,134 @@
CycleBase: H
Description: hotkey-description-cyclebase
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
ToLastEvent: SPACE
Description: hotkey-description-tolastevent
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
ToSelection: HOME
Description: hotkey-description-toselection
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
SelectAllUnits: Q
Description: hotkey-description-selectallunits
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
SelectUnitsByType: W
Description: hotkey-description-selectunitsbytype
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
CycleHarvesters: N
Description: hotkey-description-cycleharvesters
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
Pause: PAUSE
Description: hotkey-description-pause
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
Sell: Z
Description: hotkey-description-sell
Types: OrderGenerator
Contexts: hotkey-context-player
Contexts: player
Repair: C
Description: hotkey-description-repair
Types: OrderGenerator
Contexts: hotkey-context-player
Contexts: player
PlaceBeacon: B
Description: hotkey-description-placebeacon
Types: OrderGenerator
Contexts: hotkey-context-player
Contexts: player
CycleStatusBars: COMMA
Description: hotkey-description-cyclestatusbars
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
ToggleMute: M
Description: hotkey-description-togglemute
Types: World
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator
TogglePlayerStanceColor: COMMA Ctrl
Description: hotkey-description-toggleplayerstancecolor
Types: World
Contexts: hotkey-context-player, hotkey-context-spectator
Contexts: player, spectator
TakeScreenshot: P Ctrl
Description: hotkey-description-takescreenshot
Types: World
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator
AttackMove: A
Description: hotkey-description-attackmove
Types: Unit
Contexts: hotkey-context-player
Contexts: player
Stop: S
Description: hotkey-description-stop
Types: Unit
Contexts: hotkey-context-player
Contexts: player
Scatter: X Ctrl
Description: hotkey-description-scatter
Types: Unit
Contexts: hotkey-context-player
Contexts: player
Deploy: F
Description: hotkey-description-deploy
Types: Unit
Contexts: hotkey-context-player
Contexts: player
Guard: D
Description: hotkey-description-guard
Types: Unit
Contexts: hotkey-context-player
Contexts: player
StanceAttackAnything: A Alt
Description: hotkey-description-stanceattackanything
Types: Stance
Contexts: hotkey-context-player
Contexts: player
StanceDefend: S Alt
Description: hotkey-description-stancedefend
Types: Stance
Contexts: hotkey-context-player
Contexts: player
StanceReturnFire: D Alt
Description: hotkey-description-stancereturnfire
Types: Stance
Contexts: hotkey-context-player
Contexts: player
StanceHoldFire: F Alt
Description: hotkey-description-stanceholdfire
Types: Stance
Contexts: hotkey-context-player
Contexts: player
StopMusic: AUDIOSTOP
Description: hotkey-description-stopmusic
Types: Music
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator
PauseMusic: AUDIOPLAY
Description: hotkey-description-pausemusic
Types: Music
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator
PrevMusic: AUDIOPREV
Description: hotkey-description-prevmusic
Types: Music
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator
NextMusic: AUDIONEXT
Description: hotkey-description-nextmusic
Types: Music
Contexts: hotkey-context-menu, hotkey-context-player, hotkey-context-spectator
Contexts: menu, player, spectator