diff --git a/SellFrame.lua b/SellFrame.lua index 7b9a79c..0d28eae 100644 --- a/SellFrame.lua +++ b/SellFrame.lua @@ -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"]);