From f466d8723cac1dd324ad8a6b21d5ba20a75b30cf Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 11 Mar 2021 13:10:37 -0300 Subject: [PATCH] Renamed 'Custom Displays' to just 'Scripts' --- core/parser.lua | 2 +- frames/window_custom.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/parser.lua b/core/parser.lua index bfda18ba..29e91871 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -334,7 +334,7 @@ local _hook_interrupt_container = _detalhes.hooks ["HOOK_INTERRUPT"] --> encoutner rules - local ignored_npc_ids = { + local ignored_npc_ids = { --deprecated to be removed --amorphous cyst g'huun Uldir - ignore damage done to this npcs ["138185"] = true, --boss room mythic ["141264"] = true, --trash diff --git a/frames/window_custom.lua b/frames/window_custom.lua index 538f57e8..d52e538a 100644 --- a/frames/window_custom.lua +++ b/frames/window_custom.lua @@ -141,7 +141,7 @@ function _detalhes:InitializeCustomDisplayWindow() local DetailsCustomPanel = CreateFrame ("frame", "DetailsCustomPanel", UIParent,"BackdropTemplate") DetailsCustomPanel.Frame = DetailsCustomPanel - DetailsCustomPanel.__name = "Custom Displays" + DetailsCustomPanel.__name = Loc ["STRING_SCRIPTS_TITLE"] DetailsCustomPanel.real_name = "DETAILS_CUSTOMDISPLAY" --DetailsCustomPanel.__icon = [[Interface\FriendsFrame\UI-FriendsList-Small-Up]] DetailsCustomPanel.__icon = [[Interface\AddOns\Details\images\icons]] @@ -1846,7 +1846,7 @@ apply1:SetPoint ("left", font_size2, "right", 2, 0) apply1:SetTemplate (CONST_CODETEXTENTRYBUTTON_TEMPLATE) - local open_API = gump:NewButton (supportFrame, nil, "$parentOpenAPI", "openAPIbutton", CONST_EDITBOX_BUTTON_WIDTH, CONST_EDITBOX_BUTTON_HEIGHT, _detalhes.OpenAPI, nil, nil, nil, "API") + local open_API = gump:NewButton (supportFrame, nil, "$parentOpenAPI", "openAPIbutton", CONST_EDITBOX_BUTTON_WIDTH, CONST_EDITBOX_BUTTON_HEIGHT, function()end, nil, nil, nil, "API") --_detalhes.OpenAPI - opening the api was cancelling the editing process open_API:SetPoint ("left", apply1, "right", 2, 0) open_API:SetTemplate (CONST_CODETEXTENTRYBUTTON_TEMPLATE)