Quantcast

the beginning of some config wording and reorganization

Repooc [08-06-14 - 01:39]
the beginning of some config wording and reorganization
Filename
ElvUI_SLE/options/autorelease_c.lua
ElvUI_SLE/options/chat_c.lua
ElvUI_SLE/options/core_c.lua
ElvUI_SLE/options/exprepbar_c.lua
ElvUI_SLE/options/nameplates_c.lua
ElvUI_SLE/options/tooltip_c.lua
ElvUI_SLE/options/uibuttons_c.lua
ElvUI_SLE/options/unitframes_c.lua
ElvUI_SLE/options/vehicle_c.lua
diff --git a/ElvUI_SLE/options/autorelease_c.lua b/ElvUI_SLE/options/autorelease_c.lua
index 3ba7bf9..7f14bb2 100644
--- a/ElvUI_SLE/options/autorelease_c.lua
+++ b/ElvUI_SLE/options/autorelease_c.lua
@@ -4,7 +4,7 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.pvpautorelease = {
 		type = "group",
 		name = L["PvP Auto Release"],
-		order = 5,
+		order = 9,
 		args = {
 			header = {
 				order = 1,
diff --git a/ElvUI_SLE/options/chat_c.lua b/ElvUI_SLE/options/chat_c.lua
index 1760aa7..7d6bbc5 100644
--- a/ElvUI_SLE/options/chat_c.lua
+++ b/ElvUI_SLE/options/chat_c.lua
@@ -3,7 +3,7 @@ local CH = E:GetModule('Chat')

 local function configTable()
 	E.Options.args.sle.args.options.args.general.args.chat = {
-		order = 7,
+		order = 5,
 		type = "group",
 		name = L["Chat"],
 		args = {
@@ -12,40 +12,44 @@ local function configTable()
 				type = "header",
 				name = L["Chat"],
 			},
-			editboxhistory = {
-				order = 2,
-				type = "range",
-				name = L["Chat Editbox History"],
-				desc = L["Amount of messages to save. Set to 0 to disable."],
-				min = 0, max = 20, step = 1,
-				get = function(info) return E.db.chat.editboxhistory end,
-				set = function(info, value)	E.db.chat.editboxhistory = value; end,
-			},
-			guildmaster = {
-				order = 3,
-				type = "toggle",
-				name = "Guild Master Icon",
-				desc = [[Show an icon near your Guild Master's messages in chat.
-	Will not affect messages in chat history and possibly some messages right after your loading screen disappears on login.]],
-				get = function(info) return E.private.sle.guildmaster end,
-				set = function(info, value)	E.private.sle.guildmaster = value; CH:GMIconUpdate() end,
-			},
 			historyreset = {
-				order = 4,
+				order = 2,
 				type = 'execute',
 				name = "Reset Chat History",
-				desc = "Will delete all messages from chat history added prior clicking the button.",
+				desc = "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 = 5,
+				order = 3,
 				type = 'execute',
 				name = "Reset Editbox History",
-				desc = "Will delete all messages from editbox history. Will immidiatly reload your UI.",
+				desc = "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,
 			},
+			header2 = {
+				order = 4,
+				type = "description",
+				name = "",
+			},
+			guildmaster = {
+				order = 5,
+				type = "toggle",
+				name = "Guild Master Icon",
+				desc = "Displays an icon near your Guild Master in chat.\n\nSome messages in chat history may disappear on login.",
+				get = function(info) return E.private.sle.guildmaster end,
+				set = function(info, value)	E.private.sle.guildmaster = value; CH:GMIconUpdate() end,
+			},
+			editboxhistory = {
+				order = 6,
+				type = "range",
+				name = L["Chat Editbox History"],
+				desc = L["The amount of messages to save in the editbox history.\n\n|cffFF0000Note:|r To disable, set to 0."],
+				min = 0, max = 20, step = 1,
+				get = function(info) return E.db.chat.editboxhistory end,
+				set = function(info, value)	E.db.chat.editboxhistory = value; end,
+			},
 		},
 	}
 end
diff --git a/ElvUI_SLE/options/core_c.lua b/ElvUI_SLE/options/core_c.lua
index a50f049..43f38d2 100644
--- a/ElvUI_SLE/options/core_c.lua
+++ b/ElvUI_SLE/options/core_c.lua
@@ -10,14 +10,13 @@ local function configTable()
 			width = "full",
 	}

-	local size = E.db.general.fontSize
+	--local size = E.db.general.fontSize

 	--Main options group
 	E.Options.args.sle = {
 		type = "group",
-		name = "Shadow & Light",
-		desc = [[The |cff1784d1ElvUI|r modification by
-	Darth Predator and Repooc.]],
+		name = L["Shadow & Light"],
+		desc = "Plugin for |cff1784d1ElvUI|r by\nDarth Predator and Repooc.",
 		order = 50,
 		args = {
 			header = {
@@ -49,26 +48,26 @@ local function configTable()
 				childGroups = 'tab',
 				name = SETTINGS,
 				args = {
-					intro = {
+					--[[intro = {
 						order = 1,
 						type = "description",
 						name = L["Below you can see option groups presented by |cff1784d1Shadow & Light|r."],
-					},
+					},]]
 					general = {
 						order = 2,
 						type = "group",
 						name = L["General"],
 						args = {
-							intro = {
+							--[[intro = {
 								order = 1,
 								type = "description",
 								name = L["General options of |cff1784d1Shadow & Light|r."],
-							},
+							},]]
 							Reset = {
 								order = 2,
 								type = 'execute',
 								name = L["Reset All"],
-								desc = L["Reset all Shadow & Light options and movers to their defaults"],
+								desc = L["Resets all movers & options for S&L."],
 								func = function() SLE:Reset(true) end,
 							},
 							space1 = {
@@ -82,7 +81,7 @@ local function configTable()
 								name = "",
 							},
 							lootwindow = {
-								order = 6,
+								order = 7,
 								type = "group",
 								name = L["Loot History"],
 								args = {
diff --git a/ElvUI_SLE/options/exprepbar_c.lua b/ElvUI_SLE/options/exprepbar_c.lua
index 6d97f06..275431f 100644
--- a/ElvUI_SLE/options/exprepbar_c.lua
+++ b/ElvUI_SLE/options/exprepbar_c.lua
@@ -6,7 +6,7 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.exprep = {
 		type = "group",
 		name = L["Xp-Rep Text"],
-		order = 6,
+		order = 13,
 		args = {
 			header = {
 				order = 1,
diff --git a/ElvUI_SLE/options/nameplates_c.lua b/ElvUI_SLE/options/nameplates_c.lua
index 99523b4..8011797 100644
--- a/ElvUI_SLE/options/nameplates_c.lua
+++ b/ElvUI_SLE/options/nameplates_c.lua
@@ -5,14 +5,14 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.nameplate = {
 		type = "group",
 		name = L["NamePlates"],
-		order = 82,
+		order = 8,
 		get = function(info) return E.db.sle.nameplate[ info[#info] ] end,
 		set = function(info, value) E.db.sle.nameplate[ info[#info] ] = value; NP:UpdateAllPlates() end,
 		args = {
 			header = {
 				order = 1,
 				type = "header",
-				name = L["NAMEPLATE_DESC"],
+				name = L["NamePlates"],
 			},
 			targetcount = {
 				type = "toggle",
diff --git a/ElvUI_SLE/options/tooltip_c.lua b/ElvUI_SLE/options/tooltip_c.lua
index 481f576..9f1e447 100644
--- a/ElvUI_SLE/options/tooltip_c.lua
+++ b/ElvUI_SLE/options/tooltip_c.lua
@@ -2,7 +2,7 @@ local E, L, V, P, G = unpack(ElvUI);

 local function configTable()
 	E.Options.args.sle.args.options.args.general.args.tooltip = {
-		order = 95,
+		order = 10,
 		type = "group",
 		get = function(info) return E.db.tooltip[ info[#info] ] end,
 		name = L["Tooltip"],
diff --git a/ElvUI_SLE/options/uibuttons_c.lua b/ElvUI_SLE/options/uibuttons_c.lua
index 57cea0a..316f055 100644
--- a/ElvUI_SLE/options/uibuttons_c.lua
+++ b/ElvUI_SLE/options/uibuttons_c.lua
@@ -5,7 +5,7 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.uibuttons = {
 		type = "group",
 		name = L["UI Buttons"],
-		order = 99,
+		order = 11,
 		args = {
 			header = {
 				order = 1,
diff --git a/ElvUI_SLE/options/unitframes_c.lua b/ElvUI_SLE/options/unitframes_c.lua
index cfebaf4..c8e5c96 100644
--- a/ElvUI_SLE/options/unitframes_c.lua
+++ b/ElvUI_SLE/options/unitframes_c.lua
@@ -19,7 +19,7 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.unitframes = {
 		type = "group",
 		name = L["UnitFrames"],
-		order = 100,
+		order = 12,
 		args = {
 			header = {
 				order = 1,
diff --git a/ElvUI_SLE/options/vehicle_c.lua b/ElvUI_SLE/options/vehicle_c.lua
index 3f99c11..4d6f2b9 100644
--- a/ElvUI_SLE/options/vehicle_c.lua
+++ b/ElvUI_SLE/options/vehicle_c.lua
@@ -4,7 +4,7 @@ local function configTable()
 	E.Options.args.sle.args.options.args.general.args.vehicle = {
 		type = "group",
 		name = L["Enhanced Vehicle Bar"],
-		order = 84,
+		order = 6,
 		args = {
 			header = {
 				order = 1,
@@ -14,7 +14,7 @@ local function configTable()
 			info = {
 				order = 2,
 				type = "description",
-				name = L["Use the enhanced vehicle bar based on work by Azilroka"],
+				name = L["A different look/feel vehicle bar based on work by Azilroka"],
 			},
 			enable = {
 				order = 3,