Cleaned up formatting

Converted stray tabs to spaces, removed trailing whitespace, fixed some indentation, reordered some lines, etc.
This commit is contained in:
Bart Kuijper
2024-08-27 20:58:27 +02:00
parent 083135ad5e
commit e6133915f9
4 changed files with 199 additions and 202 deletions
+2 -2
View File
@@ -10,8 +10,6 @@
-- the condition that the licensee accepts all responsibility and liability -- the condition that the licensee accepts all responsibility and liability
-- for any damage that may arise from the use of this AddOn. -- for any damage that may arise from the use of this AddOn.
-- --
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
-- Global Variables -- Global Variables
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
@@ -530,6 +528,8 @@ function toggleFishing()
printOPTION(LEVELRANGE_TOGGLEFISHING, LEVELRANGE_OFF, LEVELRANGE_COLORS.OFF.r, LEVELRANGE_COLORS.OFF.g, LEVELRANGE_COLORS.OFF.b); printOPTION(LEVELRANGE_TOGGLEFISHING, LEVELRANGE_OFF, LEVELRANGE_COLORS.OFF.r, LEVELRANGE_COLORS.OFF.g, LEVELRANGE_COLORS.OFF.b);
end end
end end
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
-- Instance and Raid Information -- Instance and Raid Information
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
+2 -1
View File
@@ -38,6 +38,7 @@
</OnLoad> </OnLoad>
</Scripts> </Scripts>
</GameTooltip> </GameTooltip>
<!-- Configuration checkbox template --> <!-- Configuration checkbox template -->
<CheckButton name="LevelRangeOptionsCheckButtonTemplate" <CheckButton name="LevelRangeOptionsCheckButtonTemplate"
inherits="UICheckButtonTemplate" virtual="true"> inherits="UICheckButtonTemplate" virtual="true">
@@ -160,7 +161,7 @@
</Anchors> </Anchors>
</CheckButton> </CheckButton>
<!-- Option #5; row 5, column 1 --> <!-- Option #5; row 5, column 1 -->
<CheckButton name="$parentOpt5" <CheckButton name="$parentOpt5"
inherits="LevelRangeOptionsCheckButtonTemplate"> inherits="LevelRangeOptionsCheckButtonTemplate">
<Anchors> <Anchors>
+160 -164
View File
@@ -2,218 +2,214 @@
-- LevelRange :: Translatable Strings - English -- LevelRange :: Translatable Strings - English
-- Copyright (c) 2006 Philip Hughes (Bull3t) -- Copyright (c) 2006 Philip Hughes (Bull3t)
-- --
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
-- Localised Strings - English -- Localised Strings - English
-------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------
-- LevelRange -- LevelRange
LEVELRANGE_NAME = "LevelRange"; LEVELRANGE_NAME = "LevelRange";
LEVELRANGE_DESCRIPTION = "Shows the zone level range on the World Map"; LEVELRANGE_DESCRIPTION = "Shows the zone level range on the World Map";
-- Factions -- Factions
LEVELRANGE_ALLIANCE = "Alliance"; LEVELRANGE_ALLIANCE = "Alliance";
LEVELRANGE_HORDE = "Horde"; LEVELRANGE_HORDE = "Horde";
LEVELRANGE_CONTESTED = "Contested"; LEVELRANGE_CONTESTED = "Contested";
-- Zones -- Zones
LEVELRANGE_MOONGLADE = "Moonglade"; LEVELRANGE_1KNEEDLES = "Thousand Needles";
LEVELRANGE_ELWYNN = "Elwynn Forest"; LEVELRANGE_ALTERAC = "Alterac Mountains";
LEVELRANGE_DUNMOROGH = "Dun Morogh"; LEVELRANGE_ARATHI = "Arathi Highlands";
LEVELRANGE_TIRISFAL = "Tirisfal Glades"; LEVELRANGE_ASHENVALE = "Ashenvale";
LEVELRANGE_LOCHMODAN = "Loch Modan"; LEVELRANGE_AZSHARA = "Azshara";
LEVELRANGE_SILVERPINE = "Silverpine Forest"; LEVELRANGE_BADLANDS = "Badlands";
LEVELRANGE_WESTFALL = "Westfall"; LEVELRANGE_BARRENS = "The Barrens";
LEVELRANGE_REDRIDGE = "Redridge Mountains"; LEVELRANGE_BLASTEDLANDS = "Blasted Lands";
LEVELRANGE_DUSKWOOD = "Duskwood"; LEVELRANGE_BURNINGSTEPPE = "Burning Steppes";
LEVELRANGE_HILLSBRAD = "Hillsbrad Foothills"; LEVELRANGE_DARKSHORE = "Darkshore";
LEVELRANGE_WETLANDS = "Wetlands"; LEVELRANGE_DEADWINDPASS = "Deadwind Pass";
LEVELRANGE_ALTERAC = "Alterac Mountains"; LEVELRANGE_DESOLACE = "Desolace";
LEVELRANGE_ARATHI = "Arathi Highlands"; LEVELRANGE_DUNMOROGH = "Dun Morogh";
LEVELRANGE_STRANGLETHORN = "Stranglethorn Vale"; LEVELRANGE_DUROTAR = "Durotar";
LEVELRANGE_BADLANDS = "Badlands"; LEVELRANGE_DUSKWOOD = "Duskwood";
LEVELRANGE_SORROWS = "Swamp of Sorrows"; LEVELRANGE_DUSTWALLOW = "Dustwallow Marsh";
LEVELRANGE_HINTERLANDS = "The Hinterlands"; LEVELRANGE_EASTERNPLAGUE = "Eastern Plaguelands";
LEVELRANGE_SEARINGGORGE = "Searing Gorge"; LEVELRANGE_ELWYNN = "Elwynn Forest";
LEVELRANGE_BLASTEDLANDS = "Blasted Lands"; LEVELRANGE_FELWOOD = "Felwood";
LEVELRANGE_BURNINGSTEPPE = "Burning Steppes"; LEVELRANGE_FERALAS = "Feralas";
LEVELRANGE_WESTERNPLAGUE = "Western Plaguelands"; LEVELRANGE_HILLSBRAD = "Hillsbrad Foothills";
LEVELRANGE_EASTERNPLAGUE = "Eastern Plaguelands"; LEVELRANGE_HINTERLANDS = "The Hinterlands";
LEVELRANGE_DUROTAR = "Durotar"; LEVELRANGE_LOCHMODAN = "Loch Modan";
LEVELRANGE_MULGORE = "Mulgore"; LEVELRANGE_MOONGLADE = "Moonglade";
LEVELRANGE_DARKSHORE = "Darkshore"; LEVELRANGE_MULGORE = "Mulgore";
LEVELRANGE_BARRENS = "The Barrens"; LEVELRANGE_REDRIDGE = "Redridge Mountains";
LEVELRANGE_STONETALON = "Stonetalon Mountains"; LEVELRANGE_SEARINGGORGE = "Searing Gorge";
LEVELRANGE_ASHENVALE = "Ashenvale"; LEVELRANGE_SILITHUS = "Silithus";
LEVELRANGE_1KNEEDLES = "Thousand Needles"; LEVELRANGE_SILVERPINE = "Silverpine Forest";
LEVELRANGE_DESOLACE = "Desolace"; LEVELRANGE_SORROWS = "Swamp of Sorrows";
LEVELRANGE_DUSTWALLOW = "Dustwallow Marsh"; LEVELRANGE_STONETALON = "Stonetalon Mountains";
LEVELRANGE_FERALAS = "Feralas"; LEVELRANGE_STRANGLETHORN = "Stranglethorn Vale";
LEVELRANGE_TANARIS = "Tanaris"; LEVELRANGE_TANARIS = "Tanaris";
LEVELRANGE_AZSHARA = "Azshara"; LEVELRANGE_TELDRASSIL = "Teldrassil";
LEVELRANGE_FELWOOD = "Felwood"; LEVELRANGE_TIRISFAL = "Tirisfal Glades";
LEVELRANGE_UNGOROCRATER = "Un'Goro Crater"; LEVELRANGE_UNGOROCRATER = "Un'Goro Crater";
LEVELRANGE_SILITHUS = "Silithus"; LEVELRANGE_WESTERNPLAGUE = "Western Plaguelands";
LEVELRANGE_WINTERSPRING = "Winterspring"; LEVELRANGE_WESTFALL = "Westfall";
LEVELRANGE_TELDRASSIL = "Teldrassil"; LEVELRANGE_WETLANDS = "Wetlands";
LEVELRANGE_DEADWINDPASS = "Deadwind Pass"; LEVELRANGE_WINTERSPRING = "Winterspring";
--Turtle WoW Zones --Turtle WoW Zones
LEVELRANGE_THALASSIANHIGHLANDS = "Thalassian Highlands";
LEVELRANGE_BLACKSTONEISLAND = "Blackstone Island"; LEVELRANGE_BLACKSTONEISLAND = "Blackstone Island";
LEVELRANGE_GILNEAS = "Gilneas";
LEVELRANGE_GILLIJIM = "Gillijim's Isle"; LEVELRANGE_GILLIJIM = "Gillijim's Isle";
LEVELRANGE_LAPIDIS = "Lapidis Isle"; LEVELRANGE_GILNEAS = "Gilneas";
LEVELRANGE_TELABIM = "Tel'Abim";
LEVELRANGE_SCARLETENCLAVE = "Scarlet Enclave";
LEVELRANGE_HYJAL = "Hyjal"; LEVELRANGE_HYJAL = "Hyjal";
LEVELRANGE_LAPIDIS = "Lapidis Isle";
LEVELRANGE_SCARLETENCLAVE = "Scarlet Enclave";
LEVELRANGE_TELABIM = "Tel'Abim";
LEVELRANGE_THALASSIANHIGHLANDS = "Thalassian Highlands";
-- Sub-zones -- Sub-zones
LEVELRANGE_ORGRIMMAR = "Orgrimmar"; LEVELRANGE_DARNASSUS = "Darnassus";
LEVELRANGE_THUNDERBLUFF = "Thunder Bluff"; LEVELRANGE_IRONFORGE = "Ironforge";
LEVELRANGE_UNDERCITY = "Undercity"; LEVELRANGE_ORGRIMMAR = "Orgrimmar";
LEVELRANGE_IRONFORGE = "Ironforge"; LEVELRANGE_STORMWIND = "Stormwind City";
LEVELRANGE_STORMWIND = "Stormwind City"; LEVELRANGE_THUNDERBLUFF = "Thunder Bluff";
LEVELRANGE_DARNASSUS = "Darnassus"; LEVELRANGE_UNDERCITY = "Undercity";
--Turtle WoW Sub-zones --Turtle WoW Sub-zones
LEVELRANGE_ALAHTHALAS = "Alah'Thalas"; LEVELRANGE_ALAHTHALAS = "Alah'Thalas";
LEVELRANGE_TIRISFALUPLANDS = "Tirisfal Uplands"; LEVELRANGE_RUINSOFZULRASAZ = "Ruins of Zul'rasaz";
LEVELRANGE_RUINSOFZULRASAZ = "Ruins of Zul'rasaz"; LEVELRANGE_TIRISFALUPLANDS = "Tirisfal Uplands";
-- Instances -- Instances
LEVELRANGE_DEADMINES = "Deadmines"; LEVELRANGE_INSTANCESTEXT = "Instances:";
LEVELRANGE_WAILINGCAVERNS = "Wailing Caverns";
LEVELRANGE_SHADOWFANGKEEP = "Shadowfang Keep";
LEVELRANGE_BLACKFATHOMDEEPS = "Blackfathom Deeps";
LEVELRANGE_GNOMEREGAN = "Gnomeregan";
LEVELRANGE_RAZORFENKRAUL = "Razorfen Kraul";
LEVELRANGE_SCARLETMONASTERY = "The Scarlet Monastery";
LEVELRANGE_RAZORFENDOWNS = "Razorfen Downs";
LEVELRANGE_ULDAMAN = "Uldaman";
LEVELRANGE_MARAUDON = "Maraudon";
LEVELRANGE_SUNKENTEMPLE = "The Sunken Temple";
LEVELRANGE_BLACKROCKDEPTH = "Blackrock Depths";
LEVELRANGE_BLACKROCKSPIRE = "Blackrock Spire";
LEVELRANGE_STRATHOLME = "Stratholme";
LEVELRANGE_DIREMAUL = "Dire Maul";
LEVELRANGE_SCHOLOMANCE = "Scholomance";
LEVELRANGE_RAGEFIRECHASM = "Ragefire Chasm";
LEVELRANGE_STOCKADES = "The Stockades";
LEVELRANGE_ZULFARRAK = "Zul'Farrak";
LEVELRANGE_INSTANCESTEXT = "Instances:"; LEVELRANGE_BLACKFATHOMDEEPS = "Blackfathom Deeps";
LEVELRANGE_BLACKROCKDEPTH = "Blackrock Depths";
LEVELRANGE_BLACKROCKSPIRE = "Blackrock Spire";
LEVELRANGE_DEADMINES = "Deadmines";
LEVELRANGE_DIREMAUL = "Dire Maul";
LEVELRANGE_GNOMEREGAN = "Gnomeregan";
LEVELRANGE_MARAUDON = "Maraudon";
LEVELRANGE_RAGEFIRECHASM = "Ragefire Chasm";
LEVELRANGE_RAZORFENDOWNS = "Razorfen Downs";
LEVELRANGE_RAZORFENKRAUL = "Razorfen Kraul";
LEVELRANGE_SCARLETMONASTERY = "The Scarlet Monastery";
LEVELRANGE_SCHOLOMANCE = "Scholomance";
LEVELRANGE_SHADOWFANGKEEP = "Shadowfang Keep";
LEVELRANGE_STOCKADES = "The Stockades";
LEVELRANGE_STRATHOLME = "Stratholme";
LEVELRANGE_SUNKENTEMPLE = "The Sunken Temple";
LEVELRANGE_ULDAMAN = "Uldaman";
LEVELRANGE_WAILINGCAVERNS = "Wailing Caverns";
LEVELRANGE_ZULFARRAK = "Zul'Farrak";
--Turtle WoW Dungeons --Turtle WoW Dungeons
LEVELRANGE_CRESCENTGROVE = "The Crescent Grove"; LEVELRANGE_COTBLACKMORASS = "Caverns of Time: The Black Morass";
LEVELRANGE_GILNEASCITY = "Gilneas City"; LEVELRANGE_CRESCENTGROVE = "The Crescent Grove";
LEVELRANGE_HATEFORGEQUARRY = "Hateforge Quarry"; LEVELRANGE_GILNEASCITY = "Gilneas City";
LEVELRANGE_KARAZHANCRYPT = "Karazhan Crypt"; LEVELRANGE_HATEFORGEQUARRY = "Hateforge Quarry";
LEVELRANGE_STORMWINDVAULT = "Stormwind Vault"; LEVELRANGE_KARAZHANCRYPT = "Karazhan Crypt";
LEVELRANGE_COTBLACKMORASS = "Caverns of Time: The Black Morass"; LEVELRANGE_STORMWINDVAULT = "Stormwind Vault";
-- Raids -- Raids
LEVELRANGE_NAXXRAMAS = "Naxxramas"; LEVELRANGE_RAIDSTEXT = "Raids:";
LEVELRANGE_ONYXIASLAIR = "Onyxia's Lair";
LEVELRANGE_RUINSAHNQIRAJ = "Ruins of Ahn'Qiraj"; LEVELRANGE_NAXXRAMAS = "Naxxramas";
LEVELRANGE_TEMPLEAHNQIRAJ = "Temple of Ahn'Qiraj"; LEVELRANGE_ONYXIASLAIR = "Onyxia's Lair";
LEVELRANGE_ZULGURUB = "Zul'Gurub"; LEVELRANGE_RUINSAHNQIRAJ = "Ruins of Ahn'Qiraj";
LEVELRANGE_TEMPLEAHNQIRAJ = "Temple of Ahn'Qiraj";
LEVELRANGE_ZULGURUB = "Zul'Gurub";
--Turtle WoW Raids --Turtle WoW Raids
LEVELRANGE_EMERALDSANCTUM = "Emerald Sanctum"; LEVELRANGE_EMERALDSANCTUM = "Emerald Sanctum";
LEVELRANGE_LOWERKARAZHANHALLS = "Lower Karazhan Halls"; LEVELRANGE_LOWERKARAZHANHALLS = "Lower Karazhan Halls";
LEVELRANGE_RAIDSTEXT = "Raids:";
-- General Strings -- General Strings
LEVELRANGE_LEVELS = "Levels %d - %d"; LEVELRANGE_LEVELS = "Levels %d - %d";
LEVELRANGE_FLEVEL = "Fishing Level %d"; LEVELRANGE_FLEVEL = "Fishing Level %d";
-- Message Strings -- Message Strings
LEVELRANGE_LOADEDPREFIX = "LevelRange version " LEVELRANGE_LOADEDPREFIX = "LevelRange version "
LEVELRANGE_LOADEDSUFFIX = " loaded." LEVELRANGE_LOADEDSUFFIX = " loaded."
-- Instances List -- Instances List
LEVELRANGE_INSTANCES1 = LEVELRANGE_DEADMINES .. " (17, 26)" LEVELRANGE_INSTANCES1 = LEVELRANGE_DEADMINES .. " (17, 26)"
LEVELRANGE_INSTANCES2 = LEVELRANGE_WAILINGCAVERNS .. " (17, 24)" LEVELRANGE_INSTANCES2 = LEVELRANGE_WAILINGCAVERNS .. " (17, 24)"
LEVELRANGE_INSTANCES3 = LEVELRANGE_SHADOWFANGKEEP .. " (22, 30)" LEVELRANGE_INSTANCES3 = LEVELRANGE_SHADOWFANGKEEP .. " (22, 30)"
LEVELRANGE_INSTANCES4 = LEVELRANGE_BLACKFATHOMDEEPS .. " (24, 32)" LEVELRANGE_INSTANCES4 = LEVELRANGE_BLACKFATHOMDEEPS .. " (24, 32)"
LEVELRANGE_INSTANCES5 = LEVELRANGE_GNOMEREGAN .. " (29, 38)" LEVELRANGE_INSTANCES5 = LEVELRANGE_GNOMEREGAN .. " (29, 38)"
LEVELRANGE_INSTANCES6 = LEVELRANGE_RAZORFENKRAUL .. " (25, 30)" LEVELRANGE_INSTANCES6 = LEVELRANGE_RAZORFENKRAUL .. " (25, 30)"
LEVELRANGE_INSTANCES7 = LEVELRANGE_SCARLETMONASTERY .. " (34, 45)" LEVELRANGE_INSTANCES7 = LEVELRANGE_SCARLETMONASTERY .. " (34, 45)"
LEVELRANGE_INSTANCES8 = LEVELRANGE_RAZORFENDOWNS .. " (33, 45)" LEVELRANGE_INSTANCES8 = LEVELRANGE_RAZORFENDOWNS .. " (33, 45)"
LEVELRANGE_INSTANCES9 = LEVELRANGE_ULDAMAN .. " (35, 47)" LEVELRANGE_INSTANCES9 = LEVELRANGE_ULDAMAN .. " (35, 47)"
LEVELRANGE_INSTANCES10 = LEVELRANGE_MARAUDON .. " (46, 55)" LEVELRANGE_INSTANCES10 = LEVELRANGE_MARAUDON .. " (46, 55)"
LEVELRANGE_INSTANCES11 = LEVELRANGE_SUNKENTEMPLE .. " (45, 55)" LEVELRANGE_INSTANCES11 = LEVELRANGE_SUNKENTEMPLE .. " (45, 55)"
LEVELRANGE_INSTANCES12 = LEVELRANGE_BLACKROCKDEPTH .. " (52, 60)" LEVELRANGE_INSTANCES12 = LEVELRANGE_BLACKROCKDEPTH .. " (52, 60)"
LEVELRANGE_INSTANCES13 = LEVELRANGE_BLACKROCKSPIRE .. " (58, 60)" LEVELRANGE_INSTANCES13 = LEVELRANGE_BLACKROCKSPIRE .. " (58, 60)"
LEVELRANGE_INSTANCES14 = LEVELRANGE_STRATHOLME .. " (58, 60)" LEVELRANGE_INSTANCES14 = LEVELRANGE_STRATHOLME .. " (58, 60)"
LEVELRANGE_INSTANCES15 = LEVELRANGE_DIREMAUL .. " (55, 60)" LEVELRANGE_INSTANCES15 = LEVELRANGE_DIREMAUL .. " (55, 60)"
LEVELRANGE_INSTANCES16 = LEVELRANGE_SCHOLOMANCE .. " (57, 60)" LEVELRANGE_INSTANCES16 = LEVELRANGE_SCHOLOMANCE .. " (57, 60)"
LEVELRANGE_INSTANCES17 = LEVELRANGE_RAGEFIRECHASM .. " (13, 18)"
LEVELRANGE_INSTANCES17 = LEVELRANGE_RAGEFIRECHASM .. " (13, 18)" LEVELRANGE_INSTANCES18 = LEVELRANGE_STOCKADES .. " (24, 32)"
LEVELRANGE_INSTANCES18 = LEVELRANGE_STOCKADES .. " (24, 32)" LEVELRANGE_INSTANCES19 = LEVELRANGE_ZULFARRAK .. " (44, 54)"
LEVELRANGE_INSTANCES19 = LEVELRANGE_ZULFARRAK .. " (44, 54)"
-- Help Strings -- Help Strings
LEVELRANGE_HELP0 = "Use the following commands to change LevelRange options." LEVELRANGE_HELP0 = "Use the following commands to change LevelRange options."
LEVELRANGE_HELP1 = "/lr >> Open LevelRange options frame." LEVELRANGE_HELP1 = "/lr >> Open LevelRange options frame."
LEVELRANGE_HELP2 = "/lr toggle >> Toggle showing of the LevelRange tooltip." LEVELRANGE_HELP2 = "/lr toggle >> Toggle showing of the LevelRange tooltip."
LEVELRANGE_HELP3 = "/lr instances >> Toggle showing of instances on the tooltip." LEVELRANGE_HELP3 = "/lr instances >> Toggle showing of instances on the tooltip."
LEVELRANGE_HELP4 = "/lr pvp >> Toggle showing of PvP diplomacy on the tooltip." LEVELRANGE_HELP4 = "/lr pvp >> Toggle showing of PvP diplomacy on the tooltip."
LEVELRANGE_HELP5 = "/lr fishing >> Toggle display of minimum fishing level requirement on tooltip." LEVELRANGE_HELP5 = "/lr fishing >> Toggle display of minimum fishing level requirement on tooltip."
LEVELRANGE_HELP6 = "Long Command: /levelrange can also be used inplace of /lr." LEVELRANGE_HELP6 = "Long Command: /levelrange can also be used inplace of /lr."
-- Toggle Message Strings -- Toggle Message Strings
LEVELRANGE_ON = "ON" LEVELRANGE_ON = "ON"
LEVELRANGE_OFF = "OFF" LEVELRANGE_OFF = "OFF"
LEVELRANGE_ENABLED = "Enabled." LEVELRANGE_ENABLED = "Enabled."
LEVELRANGE_DISABLED = "Disabled." LEVELRANGE_DISABLED = "Disabled."
LEVELRANGE_TOGGLESHOW = "LevelRange Tooltip" LEVELRANGE_TOGGLESHOW = "LevelRange Tooltip"
LEVELRANGE_TOGGLEINSTANCES = "Display LevelRange Instances" LEVELRANGE_TOGGLEINSTANCES = "Display LevelRange Instances"
LEVELRANGE_TOGGLERAIDS = "Display LevelRange Raids" LEVELRANGE_TOGGLERAIDS = "Display LevelRange Raids"
LEVELRANGE_TOGGLEPVP = "Display LevelRange PvP Diplomacy" LEVELRANGE_TOGGLEPVP = "Display LevelRange PvP Diplomacy"
LEVELRANGE_TOGGLEFISHING = "Display Minimum fishing level requirement" LEVELRANGE_TOGGLEFISHING = "Display Minimum fishing level requirement"
-- Options Frame Strings -- Options Frame Strings
LEVELRANGE_OPTIONS_CLOSE = "Close" LEVELRANGE_OPTIONS_TITLE = "LevelRange Options"
LEVELRANGE_OPTIONS_TITLE = "LevelRange Options" LEVELRANGE_OPTIONS_CLOSE = "Close"
LEVELRANGE_OPTIONS = {}; LEVELRANGE_OPTIONS = {};
LEVELRANGE_OPTIONS[1] = { -- Option 1 LEVELRANGE_OPTIONS[1] = { -- Option 1
label = "Enable LevelRange", label = "Enable LevelRange",
option = "showLevelRange", option = "showLevelRange",
tooltip = "Show/hide LevelRange tooltip", tooltip = "Show/hide LevelRange tooltip",
children = {2, 3, 4, 5}, children = {2, 3, 4, 5},
}; };
LEVELRANGE_OPTIONS[2] = { -- Option 2 LEVELRANGE_OPTIONS[2] = { -- Option 2
label = "Show Instances", label = "Show Instances",
option = "showInstances", option = "showInstances",
tooltip = "Show/hide instances on tooltip", tooltip = "Show/hide instances on tooltip",
}; };
LEVELRANGE_OPTIONS[3] = { -- Option 3 LEVELRANGE_OPTIONS[3] = { -- Option 3
label = "Show Raids", label = "Show Raids",
option = "showRaids", option = "showRaids",
tooltip = "Show/hide raids on tooltip", tooltip = "Show/hide raids on tooltip",
}; };
LEVELRANGE_OPTIONS[4] = { -- Option 4 LEVELRANGE_OPTIONS[4] = { -- Option 4
label = "Show PvP Diplomacy", label = "Show PvP Diplomacy",
option = "showPvP", option = "showPvP",
tooltip = "Show/hide PvP Diplomacy on tooltip", tooltip = "Show/hide PvP Diplomacy on tooltip",
}; };
LEVELRANGE_OPTIONS[5] = { -- Option 5 LEVELRANGE_OPTIONS[5] = { -- Option 5
label = "Show Fishing level requirement", label = "Show Fishing level requirement",
option = "showFishing", option = "showFishing",
tooltip = "Show/hide Fishing level requirement on tooltip", tooltip = "Show/hide Fishing level requirement on tooltip",
}; };
LEVELRANGE_DEFAULT_OPTS = { LEVELRANGE_DEFAULT_OPTS = {
["showLevelRange"] = true, ["showLevelRange"] = true,
["showInstances"] = true, ["showInstances"] = true,
["showPvP"] = true, ["showPvP"] = true,
["showFishing"] = true, ["showFishing"] = true,
}; };