Retail version r90 (06 Jul 2010)

This commit is contained in:
telkar-rg
2023-10-07 09:27:37 +02:00
parent 098899fcc0
commit ded44e3e93
382 changed files with 95765 additions and 0 deletions
@@ -0,0 +1,16 @@
if not DataStore then return end
local addonName = "DataStore_Auctions"
local addon = _G[addonName]
local L = LibStub("AceLocale-3.0"):GetLocale(addonName)
function addon:SetupOptions()
DataStore:AddOptionCategory(DataStoreAuctionsOptions, addonName, "DataStore")
-- localize options
DataStoreAuctionsOptions_AutoClearExpiredItemsText:SetText(L["Automatically clear expired auctions and bids"])
DataStore:SetCheckBoxTooltip(DataStoreAuctionsOptions_AutoClearExpiredItems, L["CLEAR_ITEMS_TITLE"], L["CLEAR_ITEMS_ENABLED"], L["CLEAR_ITEMS_DISABLED"])
-- restore saved options to gui
DataStoreAuctionsOptions_AutoClearExpiredItems:SetChecked(DataStore:GetOption(addonName, "AutoClearExpiredItems"))
end