Skip to content

Commit

Permalink
Update frame blacklist description
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Jun 19, 2023
1 parent 0845145 commit a369b80
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
30 changes: 25 additions & 5 deletions Clicked/Config/Blacklist.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,36 @@ function BlacklistOptions:CreateOptionsTable()
type = "group",
name = Addon.L["Frame Blacklist"],
args = {
help = {
help1 = {
type = "description",
name = Addon.L["If you want to exclude certain unit frames from click-cast functionality, you can tick the boxes next to each item in order to blacklist them. This will take effect immediately."],
name = Addon.L["The frame blacklist can be used if you want to exclude specific unit frames from click-cast functionality."],
order = 0
},
spacer1 = {
type = "description",
name = "",
order = 1
},
help2 = {
type = "description",
name = Addon.L["To add a unit frame to the blacklist, simply select it from the dropdown below. To remove a unit frame from the blacklist, uncheck the box next to the item."],
order = 2,
},
spacer2 = {
type = "description",
name = "",
order = 3
},
help3 = {
type = "description",
name = Addon.L["This will take effect immediately."],
order = 4,
},
selector = {
type = "select",
name = Addon.L["Add a unit frame"],
width = "full",
order = 1,
order = 10,
values = function()
local result = {}

Expand Down Expand Up @@ -217,7 +237,7 @@ function BlacklistOptions:CreateOptionsTable()
selected = {
type = "header",
name = Addon.L["Selected"],
order = 2
order = 20
}
}
}
Expand Down Expand Up @@ -293,7 +313,7 @@ function BlacklistOptions:SetSelectedItem(name, enabled)
end,
type = "toggle",
width = "full",
order = 3,
order = 30,
set = function(_, value)
if not value then
Addon.db.profile.blacklist[name] = nil
Expand Down
4 changes: 3 additions & 1 deletion Clicked/Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,9 @@ L["Show abilities in unit tooltips"] = true
L["If enabled unit tooltips will be augmented to show abilities and keybinds that can be used on the target."] = true
L["Cast on key down rather than key up"] = true
L["This option will make bindings trigger on the 'down' portion of a button press rather than the 'up' portion."] = true
L["If you want to exclude certain unit frames from click-cast functionality, you can tick the boxes next to each item in order to blacklist them. This will take effect immediately."] = true
L["The frame blacklist can be used if you want to exclude specific unit frames from click-cast functionality."] = true
L["To add a unit frame to the blacklist, simply select it from the dropdown below. To remove a unit frame from the blacklist, uncheck the box next to the item."] = true
L["This will take effect immediately."] = true
L["Selected"] = true
L["Add a unit frame"] = true
L["Blizzard"] = true
Expand Down

0 comments on commit a369b80

Please sign in to comment.