Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Locale/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
1 change: 0 additions & 1 deletion Locale/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,6 @@ l10n.ITEM_EQUIP_LOC = {
l10n["EXPLORER_CLEAR_FILTER"] = "|cff00ff00Clear|r";
--
l10n.SLASH_NOTE = {
["expand"] = "Expand frame",
["blz_style"] = "Blizzard style",
["bg_color"] = "Click to set background color",
["show_tradeskill_frame_price_info"] = "Show price info in tradeskill frame",
Expand Down
20 changes: 1 addition & 19 deletions setting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ MT.BuildEnv("setting");
end
--
local default_SET = {
expand = false,
blz_style = false,
bg_color = { 0.0, 0.0, 0.0, 0.75, },
show_tradeskill_frame_price_info = true,
Expand Down Expand Up @@ -292,9 +291,7 @@ MT.BuildEnv("setting");
-->

function MT.OnSettingChanged(key, val, loading)
if key == 'expand' then
MT.ToggleFrameExpand(val);
elseif key == 'blz_style' then
if key == 'blz_style' then
MT.RefreshFramesStyle(loading);
elseif key == 'bg_color' then
MT.RefreshFramesStyle(loading);
Expand Down Expand Up @@ -352,20 +349,6 @@ do -- SLASH
local SEPARATOR = "[ %`%~%!%@%#%$%%%^%&%*%(%)%-%_%=%+%[%{%]%}%\\%|%;%:%\'%\"%,%<%.%>%/%?]*";
-- 1type, 2pattern, 3key, 4note(string or func), 5proc_func(key, val), 6func_to_mod_val, 7config_type(nil for check), 8cmd_for_config / drop_meta, 9para[slider:{min, max, step}], 10sub_config_on_val
VT.SetCommandList = {
{ -- expand
'bool',
"^expand" .. SEPARATOR .. "(.*)" .. SEPARATOR .. "$",
"expand",
l10n.SLASH_NOTE["expand"],
nil,
[8] = function(self)
if self:GetChecked() then
SlashCmdList["ALATRADEFRAME"]("setexpand1");
else
SlashCmdList["ALATRADEFRAME"]("setexpand0");
end
end,
},
{ -- blz_style
'bool',
"^blz" .. SEPARATOR .. "style" .. SEPARATOR .. "(.*)" .. SEPARATOR .. "$",
Expand Down Expand Up @@ -764,7 +747,6 @@ do -- SLASH
-- default
if strfind(msg, "[A-Za-z0-9]+" ) then
MT.Print("Invalid command: [[", msg, "]] Use: ");
MT.Print(" /atf setexpand on/off");
MT.Print(" /atf setblzstyle on/off");
MT.Print(" /atf setpriceinfo on/off");
MT.Print(" /atf setrank on/off");
Expand Down
Loading