From a369b8060af410dc631de0d0f4de1dd745ad7900 Mon Sep 17 00:00:00 2001 From: Kevin Krol Date: Mon, 19 Jun 2023 12:58:29 +0200 Subject: [PATCH] Update frame blacklist description --- Clicked/Config/Blacklist.lua | 30 +++++++++++++++++++++++++----- Clicked/Locales/enUS.lua | 4 +++- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/Clicked/Config/Blacklist.lua b/Clicked/Config/Blacklist.lua index 0bdda5b1..dac34e07 100644 --- a/Clicked/Config/Blacklist.lua +++ b/Clicked/Config/Blacklist.lua @@ -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 = {} @@ -217,7 +237,7 @@ function BlacklistOptions:CreateOptionsTable() selected = { type = "header", name = Addon.L["Selected"], - order = 2 + order = 20 } } } @@ -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 diff --git a/Clicked/Locales/enUS.lua b/Clicked/Locales/enUS.lua index 02a00219..6c40ca90 100644 --- a/Clicked/Locales/enUS.lua +++ b/Clicked/Locales/enUS.lua @@ -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