Quantcast

Using moar globals

Darthpred [06-01-15 - 18:03]
Using moar globals
Filename
ElvUI_SLE/options/auras_c.lua
ElvUI_SLE/options/autorelease_c.lua
ElvUI_SLE/options/backgrounds_c.lua
ElvUI_SLE/options/chat_c.lua
ElvUI_SLE/options/datatexts_c.lua
diff --git a/ElvUI_SLE/options/auras_c.lua b/ElvUI_SLE/options/auras_c.lua
index aef5c0f..606ee5a 100644
--- a/ElvUI_SLE/options/auras_c.lua
+++ b/ElvUI_SLE/options/auras_c.lua
@@ -20,7 +20,7 @@ local function configTable()
 			enabled = {
 				order = 3,
 				type = "toggle",
-				name = L["Enable"],
+				name = ENABLE,
 				get = function(info) return E.db.sle.auras.enable end,
 				set = function(info, value) E.db.sle.auras.enable = value end
 			},
diff --git a/ElvUI_SLE/options/autorelease_c.lua b/ElvUI_SLE/options/autorelease_c.lua
index bbf23e5..7f31e9a 100644
--- a/ElvUI_SLE/options/autorelease_c.lua
+++ b/ElvUI_SLE/options/autorelease_c.lua
@@ -19,7 +19,7 @@ local function configTable()
 			enable = {
 				order = 3,
 				type = "toggle",
-				name = L["Enable"],
+				name = ENABLE,
 				get = function(info) return E.db.sle.pvpautorelease end,
 				set = function(info, value) E.db.sle.pvpautorelease = value; end
 			},
diff --git a/ElvUI_SLE/options/backgrounds_c.lua b/ElvUI_SLE/options/backgrounds_c.lua
index 76238da..cb3b4c2 100644
--- a/ElvUI_SLE/options/backgrounds_c.lua
+++ b/ElvUI_SLE/options/backgrounds_c.lua
@@ -29,7 +29,7 @@ local function configTable()
 			enabled = {
 				order = 3,
 				type = "toggle",
-				name = L["Enable"],
+				name = ENABLE,
 				desc = L["Show/Hide this frame."],
 				get = function(info) return E.private.sle.backgrounds end,
 				set = function(info, value) E.private.sle.backgrounds = value; E:StaticPopup_Show("PRIVATE_RL") end
diff --git a/ElvUI_SLE/options/chat_c.lua b/ElvUI_SLE/options/chat_c.lua
index 5c8a0e2..8b508ea 100644
--- a/ElvUI_SLE/options/chat_c.lua
+++ b/ElvUI_SLE/options/chat_c.lua
@@ -80,7 +80,7 @@ local function configTable()
 					enable = {
 						order = 1,
 						type = "toggle",
-						name = L["Enable"],
+						name = ENABLE,
 						desc = L["Allows separate alpha setting for textures in chat"],
 						get = function(info) return E.db.sle.chat.textureAlpha.enable end,
 						set = function(info, value)	E.db.sle.chat.textureAlpha.enable = value; E:UpdateMedia() end,
diff --git a/ElvUI_SLE/options/datatexts_c.lua b/ElvUI_SLE/options/datatexts_c.lua
index 64326d7..b4b1a07 100644
--- a/ElvUI_SLE/options/datatexts_c.lua
+++ b/ElvUI_SLE/options/datatexts_c.lua
@@ -96,7 +96,7 @@ local function configTable()
 			enabled = {
 				order = 1,
 				type = "toggle",
-				name = L["Enable"],
+				name = ENABLE,
 				desc = L["Show/Hide this panel."],
 				set = function(info, value) E.db.sle.datatext[v[1]].enabled = value; DTP:ExtraDataBarSetup() end
 			},
@@ -154,7 +154,7 @@ local function configTable()
 			enabled = {
 				order = 1,
 				type = "toggle",
-				name = L["Enable"],
+				name = ENABLE,
 				desc = L["Show/Hide this panel."],
 				get = function(info) return E.db.datatexts[v[3]] end,
 				set = function(info, value)