WoWInterface SVN SliceCommander

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/Core
    from Rev 241 to Rev 242
    Reverse comparison

Rev 241 → Rev 242

Settings.lua
114,6 → 114,7
 
function SliceCommander:getShowCDDescription(spell)
if string.sub(spell, -2) == 'CD' then
print(spell)
return string.format(L["Display the %s cooldown bar"], SC_SPELL[spell])
else
return string.format(L["Display the %s timer bar"], SC_SPELL[spell])
Event.lua
130,6 → 130,14
end
_G['SC'].initDone = false
local _, englishClass = UnitClass("player")
 
local spec = GetSpecialization()
if spec == 5 and englishClass == "ROGUE" then --newly created toon
print(L["You have to choose a spec to use SliceCommander."])
SliceCommander:OnDisable()
return 0
end
 
if englishClass == "ROGUE" then
SliceCommander_LoadTukuiApi()
SliceCommander:LoadPopup()
StaticPopups.lua
25,7 → 25,7
function SliceCommander:LoadPopup()
SC.PopupDialogs = {};
SC.StaticPopup_DisplayedFrames = {};
 
 
SC.PopupDialogs['FAILED_UISCALE'] = {
text = L["You have changed your UIScale, however you still have the PixelPerfect option enabled in SliceCommander. Press accept if you would like to disable the Auto Scale option."],
button1 = ACCEPT,