Module:Lang: Difference between revisionsGive feedback
Updated some icons and icon colors to be accurate to what's in the game. Alphabetized the list. |
Replaced keybinds with descriptive action names for clarity. Added spacing. |
||
| Line 144: | Line 144: | ||
KEYBINDS = { | KEYBINDS = { | ||
-- Movement | |||
MoveForward = "'''Move Forward button'''", | |||
MoveBackwards = "'''Move Backward button'''", | |||
MoveLeft = "'''Move Left button'''", | |||
MoveRight = "'''Move Right button'''", | |||
Mantle = "'''Jump button'''", | |||
Zipline = "'''Zipline button'''", | |||
Roll = "'''Dash button'''", | |||
Crouch = "'''Crouch button'''", | |||
MoveDown = "'''Fly Down button'''", | |||
MoveUp = "'''Fly Up button'''", | |||
-- Combat | |||
Attack = "'''Fire button'''", | |||
ADS = "'''Alt-Fire button'''", | |||
Reload = "'''Reload button'''", | |||
AbilityMelee = "'''Melee button'''", | |||
HeldItem = "'''Melee Parry/Throw Held Item button'''", | |||
-- Abilities | |||
Ability1 = "'''Ability 1 button'''", | |||
Ability2 = "'''Ability 2 button'''", | |||
Ability3 = "'''Ability 3 button'''", | |||
Ability4 = "'''Ability 4 button'''", | |||
AltCast = "'''Alternate Cast'''", | |||
-- UI & Menus | |||
OpenHeroSheet = "'''Open Shop button'''", | |||
PurchaseQuickbuy = "'''Purchase Quickbuy button'''", | |||
Scoreboard = "'''Scoreboard button'''", | |||
OpenMainMenu = "'''Open Main Menu button'''", | |||
-- Communication | |||
PushToTalk = "'''Voice Chat button'''", | |||
-- Misc & Hideout | |||
Pause = "'''Pause button'''", | |||
ReplayDeath = "'''Replay Death button'''", | |||
HideoutUse = "'''Interact with an object in the Hideout button'''", | |||
HideoutCancelMatchmaking = "'''Cancel Matchmaking button'''", | |||
} | } | ||
| Line 178: | Line 204: | ||
end | end | ||
end) | end) | ||
-- Force spaces around keybinds where the source data omits them | |||
text = text:gsub("([a-zA-Z])'''", "%1 '''") | |||
text = text:gsub("'''([a-zA-Z])", "''' %1") | |||
return frame:preprocess(text) | return frame:preprocess(text) | ||