Skip to content

Commit

Permalink
Fixing slash command and clarifying option in keybind UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ynazar1 committed Jan 21, 2023
1 parent 6812255 commit 6b5ddc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ local SaveBindings = SaveBindings or AttemptToSaveBindings

-- Setup keybinds (these need to be global strings to show up properly in ESC -> Key Bindings)
BINDING_HEADER_GatherMate2Treasures = "GatherMate2Treasures"
BINDING_NAME_TOGGLE_GATHERMATE2TREASURES_MINIMAPICONS = L["Keybind to toggle Minimap Icons"]
BINDING_NAME_TOGGLE_GATHERMATE2TREASURES_MAINMAPICONS = L["Keybind to toggle Worldmap Icons"]
BINDING_NAME_TOGGLE_GATHERMATE2TREASURES_MINIMAPICONS = L["GMTS: Keybind to toggle Minimap Icons"]
BINDING_NAME_TOGGLE_GATHERMATE2TREASURES_MAINMAPICONS = L["GMTS: Keybind to toggle Worldmap Icons"]

-- A helper function for keybindings
local KeybindHelper = {}
Expand Down Expand Up @@ -1187,8 +1187,8 @@ function Config:OnInitialize()
InterfaceOptionsFrame_OpenToCategory("GatherMate 2 Treasures")
end

SLASH_GatherMate2T1 = "/gathermatets"
SlashCmdList.GatherMate2Treasures = openOptions
SLASH_GatherMate2Treasures1 = "/gathermatets"
SlashCmdList["GatherMate2Treasures"] = openOptions

self:RegisterMessage("GatherMate2TreasuresConfigChanged")
if DataBroker then
Expand Down
4 changes: 2 additions & 2 deletions Locales/GatherMate2Treasures-enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ L["Import GatherMateData"] = true
L["Import Options"] = true
L["Import Style"] = true
L["Importing_Desc"] = "Importing allows GatherMate to get node data from other sources apart from what you find yourself in the game world. After importing data, you may need to perform a database cleanup."
L["Keybind to toggle Minimap Icons"] = true
L["Keybind to toggle Worldmap Icons"] = true
L["GMTS: Keybind to toggle Minimap Icons"] = true
L["GMTS: Keybind to toggle Worldmap Icons"] = true
L["Legion"] = true
L["Load GatherMate2Data and import the data to your database."] = true
L["Load GatherMateData and import the data to your database."] = true
Expand Down

0 comments on commit 6b5ddc4

Please sign in to comment.