chore: flatten Altoholic-Addon/ wrapper + add standard .gitignore/.gitattributes

Each DataStore_* / Altoholic_* addon now lives at the repo root, matching
the Exiles fork-layout convention (one folder per addon, no wrapper dir).
This commit is contained in:
2026-05-25 10:59:24 +02:00
parent 7789489aec
commit bbe2492a5b
387 changed files with 2 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
if not DataStore then return end
local addonName = "DataStore_Inventory"
local addon = _G[addonName]
local L = LibStub("AceLocale-3.0"):GetLocale(addonName)
function addon:SetupOptions()
DataStore:AddOptionCategory(DataStoreInventoryOptions, addonName, "DataStore")
-- localize options
DataStoreInventoryOptions_AutoClearGuildInventoryText:SetText(L["CLEAR_INVENTORY_TEXT"])
DataStoreInventoryOptions_BroadcastAiLText:SetText(L["BROADCAST_AIL_TEXT"])
DataStoreInventoryOptions_EquipmentRequestNotificationText:SetText(L["EQUIP_REQ_TEXT"])
DataStore:SetCheckBoxTooltip(DataStoreInventoryOptions_AutoClearGuildInventory, L["CLEAR_INVENTORY_TITLE"], L["CLEAR_INVENTORY_ENABLED"], L["CLEAR_INVENTORY_DISABLED"])
DataStore:SetCheckBoxTooltip(DataStoreInventoryOptions_BroadcastAiL, L["BROADCAST_AIL_TITLE"], L["BROADCAST_AIL_ENABLED"], L["BROADCAST_AIL_DISABLED"])
DataStore:SetCheckBoxTooltip(DataStoreInventoryOptions_EquipmentRequestNotification, L["EQUIP_REQ_TITLE"], L["EQUIP_REQ_ENABLED"], L["EQUIP_REQ_DISABLED"])
-- restore saved options to gui
DataStoreInventoryOptions_AutoClearGuildInventory:SetChecked(DataStore:GetOption(addonName, "AutoClearGuildInventory"))
DataStoreInventoryOptions_BroadcastAiL:SetChecked(DataStore:GetOption(addonName, "BroadcastAiL"))
DataStoreInventoryOptions_EquipmentRequestNotification:SetChecked(DataStore:GetOption(addonName, "EquipmentRequestNotification"))
end