Fix dressup Undress button text: UNDRESS global doesn't exist in 1.12.1

This commit is contained in:
Brues
2026-10-31 16:43:29 -05:00
parent 2b7febf617
commit 9da2d459dd
9 changed files with 9 additions and 1 deletions
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["deDE"] = {
["Click Action"] = nil, ["Click Action"] = nil,
["Click Casting"] = nil, ["Click Casting"] = nil,
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = nil, ["Clock"] = nil,
["Close"] = nil, ["Close"] = nil,
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -134,6 +134,7 @@ pfUI_translation["enUS"] = {
["Click Action"] = nil, ["Click Action"] = nil,
["Click Casting"] = nil, ["Click Casting"] = nil,
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = nil, ["Clock"] = nil,
["Close"] = nil, ["Close"] = nil,
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["esES"] = {
["Click Action"] = "Acción al hacer clic", ["Click Action"] = "Acción al hacer clic",
["Click Casting"] = "Lanzamiento al hacer click", ["Click Casting"] = "Lanzamiento al hacer click",
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "Reloj", ["Clock"] = "Reloj",
["Close"] = "Cerrar", ["Close"] = "Cerrar",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["frFR"] = {
["Click Action"] = "Action au clic", ["Click Action"] = "Action au clic",
["Click Casting"] = "Clique sur le lancement de sort", ["Click Casting"] = "Clique sur le lancement de sort",
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "Horloge", ["Clock"] = "Horloge",
["Close"] = "Fermer", ["Close"] = "Fermer",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["koKR"] = {
["Click Action"] = "클릭 액션", ["Click Action"] = "클릭 액션",
["Click Casting"] = nil, ["Click Casting"] = nil,
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "시계", ["Clock"] = "시계",
["Close"] = "닫기", ["Close"] = "닫기",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["ruRU"] = {
["Click Action"] = "Действие при нажатии", ["Click Action"] = "Действие при нажатии",
["Click Casting"] = "Каст по нажатию", ["Click Casting"] = "Каст по нажатию",
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "Часы", ["Clock"] = "Часы",
["Close"] = "Закрыть", ["Close"] = "Закрыть",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["zhCN"] = {
["Click Action"] = "点击操作", ["Click Action"] = "点击操作",
["Click Casting"] = "点击施法", ["Click Casting"] = "点击施法",
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "时间", ["Clock"] = "时间",
["Close"] = "关闭", ["Close"] = "关闭",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1
View File
@@ -128,6 +128,7 @@ pfUI_translation["zhTW"] = {
["Click Action"] = "點擊操作", ["Click Action"] = "點擊操作",
["Click Casting"] = nil, ["Click Casting"] = nil,
["Click to undress"] = nil, ["Click to undress"] = nil,
["Undress"] = nil,
["Clock"] = "時間", ["Clock"] = "時間",
["Close"] = "關閉", ["Close"] = "關閉",
["Collapse Empty Slots"] = nil, ["Collapse Empty Slots"] = nil,
+1 -1
View File
@@ -32,7 +32,7 @@ pfUI:RegisterSkin("Dress Up Frame", function ()
local undress = CreateFrame("Button", "pfDressUpFrameUndressButton", DressUpFrame, "UIPanelButtonTemplate") local undress = CreateFrame("Button", "pfDressUpFrameUndressButton", DressUpFrame, "UIPanelButtonTemplate")
undress:SetSize(80, 22) undress:SetSize(80, 22)
undress:SetText(UNDRESS) undress:SetText(T["Undress"])
undress:SetPoint("RIGHT", DressUpFrameResetButton, "LEFT", -2*bpad, 0) undress:SetPoint("RIGHT", DressUpFrameResetButton, "LEFT", -2*bpad, 0)
undress:SetScript("OnClick", function() undress:SetScript("OnClick", function()
DressUpModel:Undress() DressUpModel:Undress()