/
CompactBars.db.profile.maxneg, CompactBars.db.profile.position,CompactBars.db.profile.horizontal, |
CompactBars.db.profile.loflag, CompactBars.db.profile.scaletexture, CompactBars.db.profile.locked, CompactBars.db.profile.scale, |
CompactBars.db.profile.height, CompactBars.db.profile.fonts, CompactBars.db.profile.scaletext, CompactBars.db.profile.amaxtimes, |
CompactBars.db.profile.ehidescale, CompactBars.db.profile.eiconpos) |
CompactBars.db.profile.ehidescale, CompactBars.db.profile.eiconpos, CompactBars.db.profile.nevershowscale) |
end |
local function isSpell(id) |
if GetSpellInfo(id) then return true end |
refreshScale() |
end, |
}, |
nevershowscale = { |
name = L["Never show scale"], |
type = "toggle", |
get = function() return CompactBars.db.profile.nevershowscale end, |
set = function(self, inp) CompactBars.db.profile.nevershowscale = inp |
refreshScale() |
end, |
}, |
textures = { |
type = "group", |
name = L["Textures"], |
CompactBars.db.profile.loflag, CompactBars.db.profile.scaletexture, CompactBars.db.profile.locked, |
CompactBars.db.profile.scale, CompactBars.db.profile.height, CompactBars.db.profile.fonts, |
CompactBars.db.profile.scaletext, CompactBars.db.profile.amaxtimes, CompactBars.db.profile.ehidescale, |
CompactBars.db.profile.eiconpos) |
CompactBars.db.profile.eiconpos, CompactBars.db.profile.nevershowscale) |
self:SpellUpdate() |
end |
function CompactBars:OnInitialize() |
local L = LibStub("AceLocale-3.0"):NewLocale("CompactBars", "enUS", true) |
if L then |
L["Never show scale"] = "Never show scale" |
L["Enable Ticks"] = "Enable ticks" |
L["Tick time"] = "Tick time" |
L["Duration"] = "Duration" |
local L = LibStub("AceLocale-3.0"):NewLocale("CompactBars", "deDE") |
if L then |
L["Never show scale"] = "Skala nie anzeigen" |
L["Enable Ticks"] = "Ticks aktivieren" |
L["Tick time"] = "Dauer zwischen ticks" |
L["Duration"] = "Dauer" |