Quantcast

Some locale/option updates

Repooc [10-13-14 - 04:31]
Some locale/option updates

Signed-off-by: Repooc <repooc82@gmail.com>
Filename
ElvUI_SLE/options/auras_c.lua
ElvUI_SLE/options/backgrounds_c.lua
ElvUI_SLE/options/chat_c.lua
ElvUI_SLE/options/datatexts_c.lua
ElvUI_SLE/options/dev_c.lua
diff --git a/ElvUI_SLE/options/auras_c.lua b/ElvUI_SLE/options/auras_c.lua
index 231bbc3..92e279f 100644
--- a/ElvUI_SLE/options/auras_c.lua
+++ b/ElvUI_SLE/options/auras_c.lua
@@ -15,7 +15,7 @@ local function configTable()
 			intro = {
 				order = 2,
 				type = "description",
-				name = "Some aura changes",
+				name = "",
 			},
 			enabled = {
 				order = 3,
@@ -38,8 +38,8 @@ local function configTable()
 			buffs = {
 				order = 6,
 				type = "toggle",
-				name = "Hide Buffs Time",
-				--desc = L["Sets size of buttons"],
+				name = L["Hide Buff Timer"],
+				desc = L["This hides the time remaining for your buffs."],
 				disabled = function() return not E.db.sle.auras.enable end,
 				get = function(info) return E.db.sle.auras.buffs.hideTimer end,
 				set = function(info, value) E.db.sle.auras.buffs.hideTimer = value end,
@@ -47,8 +47,8 @@ local function configTable()
 			debuffs = {
 				order = 7,
 				type = "toggle",
-				name = "Hide Debuffs Time",
-				--desc = L['The spacing between buttons.'],
+				name = L["Hide Debuff Timer"],
+				desc = L["This hides the time remaining for your debuffs."],
 				disabled = function() return not E.db.sle.auras.enable end,
 				get = function(info) return E.db.sle.auras.debuffs.hideTimer end,
 				set = function(info, value) E.db.sle.auras.debuffs.hideTimer = value end,
diff --git a/ElvUI_SLE/options/backgrounds_c.lua b/ElvUI_SLE/options/backgrounds_c.lua
index e1c6aae..8a84fb6 100644
--- a/ElvUI_SLE/options/backgrounds_c.lua
+++ b/ElvUI_SLE/options/backgrounds_c.lua
@@ -2,8 +2,8 @@
 local BG = E:GetModule('SLE_BackGrounds')

 local function configTable()
+	--GroupName = { ShortName, Order }
 	local drop = {
-		--Group name = {short name, order}
 		["Bottom BG"] = {"bottom", 1},
 		["Left BG"] = {"left", 2},
 		["Right BG"] = {"right", 3},
@@ -100,7 +100,7 @@ local function configTable()
 			get = function(info) return E.db.sle.backgrounds[v[1]][ info[#info] ] end,
 			disabled = function() return not E.db.sle.backgrounds[v[1]].enabled or not E.private.sle.backgrounds end,
 			args = {
-				width = { --setting width (obviously)
+				width = {
 					order = 1,
 					type = "range",
 					name = L['Width'],
@@ -116,12 +116,11 @@ local function configTable()
 					min = 30, max = E.screenheight/2, step = 1,
 					set = function(info, value) E.db.sle.backgrounds[v[1]].height = value; BG:FramesSize() end,
 				},
-				spacer = { --Empty slot for making sliders move to next line
+				spacer = {
 					order = 3,
 					type = "description",
 					name = "",
 				},
-				--Setting custom texture for those who like it
 				texture = {
 					order = 6,
 					type = 'input',
diff --git a/ElvUI_SLE/options/chat_c.lua b/ElvUI_SLE/options/chat_c.lua
index 085d21b..0fdeda1 100644
--- a/ElvUI_SLE/options/chat_c.lua
+++ b/ElvUI_SLE/options/chat_c.lua
@@ -15,16 +15,16 @@ local function configTable()
 			historyreset = {
 				order = 2,
 				type = 'execute',
-				name = "Reset Chat History",
-				desc = "Clears your chat history and will reload your UI.",
+				name = L["Reset Chat History"],
+				desc = L["Clears your chat history and will reload your UI."],
 				disabled = function() return not E.db.chat.chatHistory end,
 				func = function() E:StaticPopup_Show("SLE_CHAT_HISTORY") end,
 			},
 			editreset = {
 				order = 3,
 				type = 'execute',
-				name = "Reset Editbox History",
-				desc = "Clears the editbox history and will reload your UI.",
+				name = L["Reset Editbox History"],
+				desc = L["Clears the editbox history and will reload your UI."],
 				disabled = function() return not E.db.chat.chatHistory end,
 				func = function() E:StaticPopup_Show("SLE_EDIT_HISTORY") end,
 			},
@@ -36,8 +36,8 @@ local function configTable()
 			guildmaster = {
 				order = 5,
 				type = "toggle",
-				name = "Guild Master Icon",
-				desc = "Displays an icon near your Guild Master in chat.\n\n|cffFF0000Note:|r Some messages in chat history may disappear on login.",
+				name = L["Guild Master Icon"],
+				desc = L["Displays an icon near your Guild Master in chat.\n\n|cffFF0000Note:|r Some messages in chat history may disappear on login."],
 				get = function(info) return E.db.sle.chat.guildmaster end,
 				set = function(info, value)	E.db.sle.chat.guildmaster = value; CH:GMIconUpdate() end,
 			},
diff --git a/ElvUI_SLE/options/datatexts_c.lua b/ElvUI_SLE/options/datatexts_c.lua
index a1e8124..5a57203 100644
--- a/ElvUI_SLE/options/datatexts_c.lua
+++ b/ElvUI_SLE/options/datatexts_c.lua
@@ -76,8 +76,8 @@ local function configTable()
 					chathandle = {
 						order = 7,
 						type = "toggle",
-						name = "Chat handle",
-						desc = L["Show/Hide dashboard."],
+						name = L["Override Chat DT Panels"],
+						desc = L["This will have S&L handle chat datatext panels and place them below the left & right chat panels.\n\n|cffFF0000Note:|r When you first enabled, you may need to move the chat panels up to see your datatext panels."],
 						get = function(info) return E.db.sle.datatext.chathandle end,
 						set = function(info, value) E.db.sle.datatext.chathandle = value; E:GetModule('Layout'):ToggleChatPanels() end
 					},
@@ -205,7 +205,7 @@ local function configTable()
 			intro = {
 				order = 2,
 				type = "description",
-				name = L["Some datatexts that Shadow & Light are supplied with, has settings that can be modified to alter the displayed information. Please use the dropdown box to select which datatext you would like to configure."]
+				name = L["Some datatexts that Shadow & Light are supplied with have settings that can be modified to alter the displayed information. Please use the dropdown box to select which datatext you would like to configure."]
 			},
 			spacer = {
 				order = 3,
diff --git a/ElvUI_SLE/options/dev_c.lua b/ElvUI_SLE/options/dev_c.lua
index 9822c4f..85a815b 100644
--- a/ElvUI_SLE/options/dev_c.lua
+++ b/ElvUI_SLE/options/dev_c.lua
@@ -24,14 +24,14 @@ if SLE:Auth() then
 	local text = ''
 	local wtarget = ""
 	local bnetP
-
+
 	function SLE:delete(...)
 		local _, id = ...
 		id = tostring(id)
 		bnettesttbl[id] = nil
 	end
 	SLE:RegisterEvent('BN_FRIEND_ACCOUNT_OFFLINE', 'delete')
-
+
 	RegisterAddonMessagePrefix('SLE_DEV_INFO')

 	local f = CreateFrame('Frame')
@@ -43,30 +43,32 @@ if SLE:Auth() then
 		if event == 'BN_FRIEND_ACCOUNT_ONLINE' or event == 'BN_FRIEND_ACCOUNT_OFFLINE' then
 			SLE:GetBNetInfo()
 		end
+
 		if event == 'PLAYER_ENTERING_WORLD' then
 			SLE:GetBNetInfo()
 		end
+
 		if prefix == 'SLE_DEV_INFO' then
 			if event == 'CHAT_MSG_ADDON' or event == 'BN_CHAT_MSG_ADDON' then
 				if not message:find("SLEinfo") then
 					local userLevel, userClass, userName, userRealm, userVersion = strsplit('#', message)
 					if (userName == E.myname and userRealm == E.myrealm) then return end;
-
+
 					userVersion = tonumber(userVersion)
-
+
 					if userVersion > highestVersion then
 						highestVersion = userVersion
 					end
-
+
 					local id = #UserListCache + 1;
-
+
 					for i=1,#UserListCache do
 						if (UserListCache[i].userName == userName and UserListCache[i].userRealm == userRealm) then
 							id = i;
 							break;
 						end
 					end
-
+
 					UserListCache[id] = {
 						['userLevel'] = userLevel,
 						['userClass'] = userClass,
@@ -74,7 +76,7 @@ if SLE:Auth() then
 						['userRealm'] = userRealm,
 						['userVersion'] = userVersion,
 					}
-
+
 					if (IsAddOnLoaded("ElvUI_Config")) then
 						ACD:SelectGroup('ElvUI', 'sle', 'developer', 'userList')
 					end
@@ -306,7 +308,6 @@ if SLE:Auth() then
 						},
 					},
 				},
-
 				devdiaggroup = {
 					order = 5,
 					type = "group",