added compatibility for WotLK (by KVLtv)
Cette révision appartient à :
Parent
7feded8980
révision
f42d9a11f3
1 fichiers modifiés avec 10 ajouts et 3 suppressions
|
@ -973,9 +973,16 @@ function AuctionLite:CreateSellFrame()
|
|||
SellPerItemButtonText:SetText(L["per item"]);
|
||||
SellPerStackButtonText:SetText(L["per stack"]);
|
||||
|
||||
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"]);
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket