added compatibility for WotLK (by KVLtv)
This commit is contained in:
parent
7feded8980
commit
f42d9a11f3
1 changed files with 10 additions and 3 deletions
|
@ -973,9 +973,16 @@ function AuctionLite:CreateSellFrame()
|
|||
SellPerItemButtonText:SetText(L["per item"]);
|
||||
SellPerStackButtonText:SetText(L["per stack"]);
|
||||
|
||||
SellShortAuctionButtonText:SetText(L["%dh"]:format(2));
|
||||
SellMediumAuctionButtonText:SetText(L["%dh"]:format(8));
|
||||
SellLongAuctionButtonText:SetText(L["%dh"]:format(24));
|
||||
local version, major, minor = strmatch(GetBuildInfo(), '([%d]*)%.([%d]*)%.([%d]*)')
|
||||
if version >= "3" then
|
||||
SellShortAuctionButtonText:SetText(L["%dh"]:format(12));
|
||||
SellMediumAuctionButtonText:SetText(L["%dh"]:format(24));
|
||||
SellLongAuctionButtonText:SetText(L["%dh"]:format(48));
|
||||
else
|
||||
SellShortAuctionButtonText:SetText(L["%dh"]:format(2));
|
||||
SellMediumAuctionButtonText:SetText(L["%dh"]:format(8));
|
||||
SellLongAuctionButtonText:SetText(L["%dh"]:format(24));
|
||||
end
|
||||
|
||||
-- Set button text and adjust arrows.
|
||||
SellItemNameButton:SetText(L["Competing Auctions"]);
|
||||
|
|
Loading…
Reference in a new issue