Quantcast

Removed the "Sort:" prefix from the sort-type name in the sort box - fixes truncation issue, plus its function was obvious.

James D. Callahan III [03-27-10 - 06:16]
Removed the "Sort:" prefix from the sort-type name in the sort box - fixes truncation issue, plus its function was obvious.
Filename
Frame.lua
diff --git a/Frame.lua b/Frame.lua
index 92d6898..514288f 100644
--- a/Frame.lua
+++ b/Frame.lua
@@ -1166,15 +1166,15 @@ local function SetSortName()
 	local sort_type = addon.db.profile.sorting

 	if sort_type == "Name" then
-		ARL_DD_SortText:SetText(L["Sort"] .. ": " .. _G.NAME)
+		ARL_DD_SortText:SetText(_G.NAME)
 	elseif sort_type == "SkillAsc" then
-		ARL_DD_SortText:SetText(L["Sort"] .. ": " .. L["Skill (Asc)"])
+		ARL_DD_SortText:SetText(L["Skill (Asc)"])
 	elseif sort_type == "SkillDesc" then
-		ARL_DD_SortText:SetText(L["Sort"] .. ": " .. L["Skill (Desc)"])
+		ARL_DD_SortText:SetText(L["Skill (Desc)"])
 	elseif sort_type == "Acquisition" then
-		ARL_DD_SortText:SetText(L["Sort"] .. ": " .. L["Acquisition"])
+		ARL_DD_SortText:SetText(L["Acquisition"])
 	elseif sort_type == "Location" then
-		ARL_DD_SortText:SetText(L["Sort"] .. ": " .. L["Location"])
+		ARL_DD_SortText:SetText(L["Location"])
 	end
 end