Renamed 'Custom Displays' to just 'Scripts'

This commit is contained in:
Tercio Jose
2021-03-11 13:10:37 -03:00
parent 34019fd81b
commit f466d8723c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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)