Skip to content

Commit

Permalink
point out new features
Browse files Browse the repository at this point in the history
Templates
Condition Combinations
TSU Custom Variables
War Mode Load Condition
Group Role Trigger Filter
  • Loading branch information
Stanzilla committed Aug 26, 2018
1 parent 52902b9 commit e218a65
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion WeakAuras/Prototypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion WeakAurasOptions/BuffTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion WeakAurasOptions/ConditionOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion WeakAurasOptions/GenericTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion WeakAurasOptions/OptionsFrames/OptionsFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e218a65

Please sign in to comment.