diff --git a/ARLConfig.lua b/ARLConfig.lua
index 49e0a48..a218e9e 100644
--- a/ARLConfig.lua
+++ b/ARLConfig.lua
@@ -1079,7 +1079,7 @@ local function fullOptions()
desc = L["SCANBUTTONPOSITION_DESC"],
get = function() return addon.db.profile.scanbuttonlocation end,
set = function(info,name) addon.db.profile.scanbuttonlocation = name end,
- values = function() return {TopRight = L["Top Right"], TopLeft = L["Top Left"], BottomRight = L["Bottom Right"], BottomLeft = L["Bottom Left"]} end,
+ values = function() return {TR = L["Top Right"], TL = L["Top Left"], BR = L["Bottom Right"], BL = L["Bottom Left"]} end,
},
uiscale = {
order = 30,
@@ -1091,9 +1091,9 @@ local function fullOptions()
step = .05,
bigStep = .05,
get = function() return addon.db.profile.frameopts.uiscale end,
- set = function( info, v )
+ set = function(info, v)
addon.db.profile.frameopts.uiscale = v
- if ( addon.Frame ) then addon.Frame:SetScale( v ) end
+ if (addon.Frame) then addon.Frame:SetScale(v) end
end,
},
tooltipscale = {
@@ -1106,10 +1106,10 @@ local function fullOptions()
step = .05,
bigStep = .05,
get = function() return addon.db.profile.frameopts.tooltipscale end,
- set = function( info, v )
+ set = function(info, v)
addon.db.profile.frameopts.tooltipscale = v
- if ( arlTooltip ) then arlTooltip:SetScale( v ) end
- if ( arlTooltip2 ) then arlTooltip:SetScale( v ) end
+ if (arlTooltip) then arlTooltip:SetScale(v) end
+ if (arlTooltip2) then arlTooltip:SetScale(v) end
end,
},
acquiretooltiplocation = {
diff --git a/ARLFrame.lua b/ARLFrame.lua
index 20ff91e..05977ef 100644
--- a/ARLFrame.lua
+++ b/ARLFrame.lua
@@ -481,13 +481,13 @@ end
local function SetSpellTooltip(owner, loc)
arlTooltip2:SetOwner(owner)
- if (loc == L["Top"]) then
+ if (loc == "Top") then
arlTooltip2:SetPoint("BOTTOMLEFT", owner, "TOPLEFT")
- elseif (loc == L["Bottom"]) then
+ elseif (loc == "Bottom") then
arlTooltip2:SetPoint("TOPLEFT", owner, "BOTTOMLEFT")
- elseif (loc == L["Left"]) then
+ elseif (loc == "Left") then
arlTooltip2:SetPoint("TOPRIGHT", owner, "TOPLEFT")
- elseif (loc == L["Right"]) then
+ elseif (loc == "Right") then
arlTooltip2:SetPoint("TOPLEFT", owner, "TOPRIGHT")
end
@@ -810,15 +810,15 @@ local function GenerateTooltipContent(owner, rIndex, playerFaction, exclude)
else
--arlTooltip:SetOwner(owner, "ANCHOR_RIGHT")
arlTooltip:SetOwner(owner)
- if (acquiretooltiplocation == L["Right"]) then
+ if (acquiretooltiplocation == "Right") then
arlTooltip:SetPoint("TOPLEFT", owner, "TOPRIGHT")
- elseif (acquiretooltiplocation == L["Left"]) then
+ elseif (acquiretooltiplocation == "Left") then
arlTooltip:SetPoint("TOPRIGHT", owner, "TOPLEFT")
- elseif (acquiretooltiplocation == L["Top"]) then
+ elseif (acquiretooltiplocation == "Top") then
arlTooltip1:SetPoint("BOTTOMLEFT", owner, "TOPLEFT")
- elseif (acquiretooltiplocation == L["Bottom"]) then
+ elseif (acquiretooltiplocation == "Bottom") then
arlTooltip1:SetPoint("TOPLEFT", owner, "BOTTOMLEFT")
- elseif (acquiretooltiplocation == L["Mouse"]) then
+ elseif (acquiretooltiplocation == "Mouse") then
arlTooltip:SetOwner(owner, "ANCHOR_CURSOR")
end
@@ -1180,13 +1180,13 @@ function addon:ShowScanButton()
local loc = addon.db.profile.scanbuttonlocation
- if (loc == L["Top Right"]) then
+ if (loc == "TR") then
addon.ScanButton:SetPoint("RIGHT",TradeSkillFrameCloseButton,"LEFT",4,0)
- elseif (loc == L["Top Left"]) then
+ elseif (loc == "TL") then
addon.ScanButton:SetPoint("LEFT",TradeSkillFramePortrait,"RIGHT",2,12)
- elseif (loc == L["Bottom Right"]) then
+ elseif (loc == "BR") then
addon.ScanButton:SetPoint("RIGHT",TradeSkillFrameCloseButton,"LEFT",4,0)
- elseif (loc == L["Bottom Left"]) then
+ elseif (loc == "BL") then
addon.ScanButton:SetPoint("LEFT",TradeSkillFramePortrait,"RIGHT",2,12)
end
addon.ScanButton:SetWidth(addon.ScanButton:GetTextWidth() + 10)
diff --git a/AckisRecipeList.lua b/AckisRecipeList.lua
index 2a73301..34c9681 100644
--- a/AckisRecipeList.lua
+++ b/AckisRecipeList.lua
@@ -148,9 +148,12 @@ function addon:OnInitialize()
includeexcluded = false,
closeguionskillclose = false,
ignoreexclusionlist = false,
- scanbuttonlocation = L["Top Right"],
- spelltooltiplocation = L["Right"],
- acquiretooltiplocation = L["Mouse"],
+ --scanbuttonlocation = L["Top Right"],
+ --spelltooltiplocation = L["Right"],
+ --acquiretooltiplocation = L["Mouse"],
+ scanbuttonlocation = "Top Right",
+ spelltooltiplocation = "Right",
+ acquiretooltiplocation = "Mouse",
-- Recipe Exclusion
exclusionlist = {},