local ADDON_NAME, OneWoW = ...

local reg = OneWoW.SettingsFeatureRegistry

reg:Register("tooltips", { id = "general",       title = "TIPS_GENERAL_TITLE",       description = "TIPS_GENERAL_DESC" })
reg:Register("tooltips", { id = "collections",   title = "TIPS_COLLECTIONS_TITLE",   description = "TIPS_COLLECTIONS_DESC" })
reg:Register("tooltips", { id = "customnotes",   title = "TIPS_CUSTOMNOTES_TITLE",   description = "TIPS_CUSTOMNOTES_DESC" })
reg:Register("tooltips", { id = "itemtracker",      title = "TIPS_ITEMTRACKER_TITLE",      description = "TIPS_ITEMTRACKER_DESC" })
reg:Register("tooltips", { id = "recipeknowledge", title = "TIPS_RECIPEKNOWLEDGE_TITLE", description = "TIPS_RECIPEKNOWLEDGE_DESC" })
reg:Register("tooltips", { id = "itemtypes",     title = "TIPS_ITEMTYPES_TITLE",     description = "TIPS_ITEMTYPES_DESC" })
reg:Register("tooltips", { id = "playermounts",  title = "TIPS_PLAYERMOUNTS_TITLE",  description = "TIPS_PLAYERMOUNTS_DESC" })
reg:Register("tooltips", { id = "enhancements",  title = "TIPS_ENHANCEMENTS_TITLE",  description = "TIPS_ENHANCEMENTS_DESC" })
reg:Register("tooltips", { id = "talentmods",   title = "TIPS_TALENTMODS_TITLE",   description = "TIPS_TALENTMODS_DESC" })
reg:Register("tooltips", { id = "technicalids",  title = "TIPS_TECHNICALIDS_TITLE",  description = "TIPS_TECHNICALIDS_DESC" })
reg:Register("tooltips", { id = "value",         title = "TIPS_VALUE_TITLE",         description = "TIPS_VALUE_DESC" })
reg:Register("tooltips", { id = "pets",          title = "TIPS_PETS_TITLE",          description = "TIPS_PETS_DESC" })

-- Mirror of Overlays > Gear Upgrade Overlay. Shares the same enable state
-- and settings storage (overlays/upgrade) so changes in either tab sync 1:1.
reg:Register("tooltips", {
    id           = "gearupgrades",
    title        = "TIPS_GEARUPGRADES_TITLE",
    description  = "OVR_UPGRADE_DESC",
    settingsTab  = "overlays",
    settingsId   = "upgrade",
})
