From e218a65d37a409d19eb5f396d8ee3aa7959b584a Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Sun, 26 Aug 2018 22:50:06 +0200 Subject: [PATCH] point out new features Templates Condition Combinations TSU Custom Variables War Mode Load Condition Group Role Trigger Filter --- WeakAuras/Prototypes.lua | 2 +- WeakAurasOptions/BuffTrigger.lua | 2 +- WeakAurasOptions/ConditionOptions.lua | 2 +- WeakAurasOptions/GenericTrigger.lua | 2 +- WeakAurasOptions/OptionsFrames/OptionsFrame.lua | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index 3f830fdaa0..5f6a5b3875 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -677,7 +677,7 @@ WeakAuras.load_prototype = { }, { name = "warmode", - display = L["War Mode Active"], + display = '|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t' .. L["War Mode Active"], type = "tristate", init = "arg", width = "double", diff --git a/WeakAurasOptions/BuffTrigger.lua b/WeakAurasOptions/BuffTrigger.lua index 6ef2da9cef..374d6f8936 100644 --- a/WeakAurasOptions/BuffTrigger.lua +++ b/WeakAurasOptions/BuffTrigger.lua @@ -711,7 +711,7 @@ function WeakAuras.GetBuffTriggerOptions(data, trigger) }, useGroupRole = { type = "toggle", - name = L["Filter by Group Role"], + name = '|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t' .. L["Filter by Group Role"], order = 47.1, hidden = function() return not (trigger.type == "aura" and trigger.unit == "group"); end, }, diff --git a/WeakAurasOptions/ConditionOptions.lua b/WeakAurasOptions/ConditionOptions.lua index a7bc2d1b77..c861ac426e 100644 --- a/WeakAurasOptions/ConditionOptions.lua +++ b/WeakAurasOptions/ConditionOptions.lua @@ -1435,7 +1435,7 @@ local function createConditionTemplatesValueList(allConditionTemplates, numTrigg if (#sorted > 0) then if (triggernum == -2) then -- Do Nothing - conditionTemplates.display[index] = string.format(L["Combinations"]); + conditionTemplates.display[index] = '|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t' .. string.format(L["Combinations"]); elseif (triggernum == -1) then conditionTemplates.display[index] = string.format(L["Global Conditions"]); else diff --git a/WeakAurasOptions/GenericTrigger.lua b/WeakAurasOptions/GenericTrigger.lua index d105148ba3..a88c3256ea 100644 --- a/WeakAurasOptions/GenericTrigger.lua +++ b/WeakAurasOptions/GenericTrigger.lua @@ -338,7 +338,7 @@ function WeakAuras.GetGenericTriggerOptions(data, trigger, untrigger) return not (trigger.type == "custom" and trigger.custom_type == "stateupdate"); end - WeakAuras.AddCodeOption(options, data, L["Custom Variables"], "custom_variables", 11, hideCustomVariables, appendToTriggerPath("customVariables"), false, true, extraSetFunctionReload, nil, true); + WeakAuras.AddCodeOption(options, data, '|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t' .. L["Custom Variables"], "custom_variables", 11, hideCustomVariables, appendToTriggerPath("customVariables"), false, true, extraSetFunctionReload, nil, true); local function hideCustomUntrigger() return not (trigger.type == "custom" diff --git a/WeakAurasOptions/OptionsFrames/OptionsFrame.lua b/WeakAurasOptions/OptionsFrames/OptionsFrame.lua index afbd1ef6a5..ebe06607e1 100644 --- a/WeakAurasOptions/OptionsFrames/OptionsFrame.lua +++ b/WeakAurasOptions/OptionsFrames/OptionsFrame.lua @@ -690,7 +690,7 @@ function WeakAuras.CreateFrame() containerScroll:AddChild(simpleLabel); local button = AceGUI:Create("WeakAurasNewButton"); - button:SetTitle(L["From Template"]); + button:SetTitle('|TInterface\\OptionsFrame\\UI-OptionsFrame-NewFeatureIcon:0|t' .. L["From Template"]); button:SetDescription(L["Offer a guided way to create auras for your class"]) button:SetIcon("Interface\\Icons\\INV_Misc_Book_06"); button:SetClick(function()