(cherry picked from commit 0b28c5780e55ac544c1acace487aad0a8d8faf28)
This commit is contained in:
NoM0Re
2026-01-13 00:47:51 -07:00
committed by andrew6180
parent 65ac8d1191
commit 05f060140a
36 changed files with 1367 additions and 99 deletions
@@ -1,6 +1,13 @@
if not WeakAuras.IsLibsOK() then return end
local AddonName = ...
local OptionsPrivate = select(2, ...)
local widgetType, widgetVersion = "WeakAurasMiniTalent", 3
if not WeakAuras.IsLibsOK() then
return
end
local keepOpenForReload = {}
local widgetType, widgetVersion = "WeakAurasMiniTalent", 5
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(widgetType) or 0) >= widgetVersion then
return
@@ -160,11 +167,15 @@ local function TalentFrame_Update(self)
local backgroundIndex = MAX_NUM_TALENTS * GetNumTalentTabs() + 1
for tab = 1, GetNumTalentTabs() do
local background = self.backgrounds[tab]
local texture = self.list[backgroundIndex][tab]
local base = "Interface\\TalentFrame\\" .. texture .. "-"
background:SetTexture(base .. "TopLeft")
if self.open then
background:Show()
local texture = self.list[backgroundIndex] and self.list[backgroundIndex][tab]
if texture then
local base = "Interface\\TalentFrame\\" .. texture .. "-"
background:SetTexture(base .. "TopLeft")
if self.open then
background:Show()
else
background:Hide()
end
else
background:Hide()
end
@@ -175,6 +186,7 @@ end
local methods = {
OnAcquire = function(self)
self:SetDisabled(false)
self.acquired = true
end,
OnRelease = function(self)
@@ -182,6 +194,7 @@ local methods = {
self:SetMultiselect(false)
self.value = nil
self.list = nil
self.acquired = false
end,
SetList = function(self, list)
@@ -300,6 +313,30 @@ local function Constructor()
end
talentFrame.obj = widget
local function OnBeforeReload()
if widget.acquired then
local user = widget:GetUserDataTable()
if user and user.path then
keepOpenForReload[user.path[#user.path]] = widget.open
end
end
end
local function OnAfterReload()
if widget.acquired then
local user = widget:GetUserDataTable()
if user and user.path then
if keepOpenForReload[user.path[#user.path]] then
widget:ToggleView(true)
keepOpenForReload[user.path[#user.path]] = nil
end
end
end
end
OptionsPrivate.Private.callbacks:RegisterCallback("BeforeReload", OnBeforeReload)
OptionsPrivate.Private.callbacks:RegisterCallback("AfterReload", OnAfterReload)
return AceGUI:RegisterAsWidget(widget)
end
+29 -31
View File
@@ -4,50 +4,48 @@ local AddonName = ...
local OptionsPrivate = select(2, ...)
OptionsPrivate.changelog = {
versionString = '5.20.7',
dateString = '2025-11-27',
fullChangeLogUrl = 'https://github.com/WeakAuras/WeakAuras2/compare/5.20.6...5.20.7',
versionString = '5.21.0',
dateString = '2026-01-12',
fullChangeLogUrl = 'https://github.com/WeakAuras/WeakAuras2/compare/5.20.7...5.21.0',
highlightText = [==[
- Basic support for Wrath Titan (thanks WoW CN community)
- Support for new Masque version
- Various bug fixes]==], commitText = [==[Copilot (1):
- TBC Anniversary support
- Fixes for Titan realms
- Improvements for Masque support
- Deprecation warning for Midnight]==], commitText = [==[InfusOnWoW (2):
- Fix allstates:Get to return false instead of nil
InfusOnWoW (6):
- Masque Support: Support new masque version
- Profiling: Add an inherit font
- BT Multi Target mode: add warnings on it, and if it's missing a filter
- Update Discord List
- Fix regression in Abbreviate numbers on retail
- Add a warning to the WeakAuras window about Midnight (#6126)
- Update Discord List
NoM0Re (6):
- Titan: Replace encounter data with phase 1 raids & bosses
- Titan: remove neutral faction group
- Titan: fix repair dialog text assignment
- Glyph Load: Only show in Mists of Pandaria
- Remove atlas file from Wrath Titan Reforge
- Add Wrath Titan Reforged support
- TBC Anniversary support
- Retail: TOC Bump
- Mists: TOC Bump
- Titan: remove unused talent_types_specific
- MiniTalent: fix closing the widget after selecting a talent
- Titan: Raid Launch Fixes
Stanzilla (4):
Stanzilla (2):
- Update WeakAurasModelPaths from wago.tools
- Update WeakAurasModelPaths from wago.tools
- Update WeakAurasModelPaths from wago.tools
- Update WeakAurasModelPaths from wago.tools
- Update Discord List
dependabot[bot] (2):
StormFX (1):
- Bump actions/checkout from 5 to 6
- Bump actions/upload-artifact from 4 to 5
- Fix Masque glow support. (Closes #6098)
mrbuds (2):
dependabot[bot] (5):
- Remove atlas files
- Model's Icon set to sword guy on classic, fixes #6075
- Bump actions/upload-artifact from 5 to 6
- Bump peter-evans/create-pull-request from 7 to 8
- Bump leafo/gh-actions-luarocks from 5 to 6
- Bump cbrgm/mastodon-github-action from 2.1.19 to 2.1.22
- Bump peter-evans/create-pull-request from 6 to 7
github-actions[bot] (2):
- Update WeakAurasModelPaths from wago.tools (#6130)
- Update WeakAurasModelPaths from wago.tools (#6121)
]==]
}
+4
View File
@@ -1050,6 +1050,10 @@ function OptionsPrivate.ConstructOptions(prototype, data, startorder, triggernum
end
WeakAuras.Add(data);
if (reloadOptions) then
-- Hack specifally for Mini talent widgets
-- That widget needs to be informed before and
-- after a reload
OptionsPrivate.Private.callbacks:Fire("BeforeReload")
WeakAuras.ClearAndUpdateOptions(data.id)
WeakAuras.FillOptions()
end
+4
View File
@@ -1385,6 +1385,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["WeakAuras %s on WoW %s"] = "WeakAuras %s on WoW %s"
--[[Translation missing --]]
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
--[[Translation missing --]]
L["What do you want to do?"] = "What do you want to do?"
--[[Translation missing --]]
+3
View File
@@ -930,6 +930,9 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "We thank"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s on WoW %s"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "What do you want to do?"
L["Whole Area"] = "Whole Area"
L["wrapping"] = "wrapping"
+6 -4
View File
@@ -795,10 +795,8 @@ every 3 events starting from 2nd and ending at 11th: 2-11/3]=] ] = "Ocurrencia d
L["The duration of the animation in seconds. The finish animation does not start playing until after the display would normally be hidden."] = [=[La duración de la animación en segundos. La animación de finalización no comienza a reproducirse hasta que la visualización normalmente estaría oculta.
]=]
L["The group and all direct children will share the same base frame level."] = "El grupo y todos los hijos directos compartirán el mismo nivel de marco base."
--[[Translation missing --]]
L["The Multi Target mode is less reliable and not recommended."] = "The Multi Target mode is less reliable and not recommended."
--[[Translation missing --]]
L["The Multi Target mode requires a name or spell id filter"] = "The Multi Target mode requires a name or spell id filter"
L["The Multi Target mode is less reliable and not recommended."] = "El modo Multiobjetivo es menos fiable y no se recomienda."
L["The Multi Target mode requires a name or spell id filter"] = "El modo Multiobjetivo requiere un filtro por nombre o ID de hechizo"
L["The trigger number is optional. When no trigger number is specified, the trigger selected via dynamic information will be used."] = "El número de disparador es opcional. Cuando no se especifica un número de disparador, se usará el disparador seleccionado a través de información dinámica."
L["The type of trigger"] = "El tipo de activador"
L["The WeakAuras Options Addon version %s doesn't match the WeakAuras version %s. If you updated the addon while the game was running, try restarting World of Warcraft. Otherwise try reinstalling WeakAuras"] = "La versión del addon WeakAuras Options %s no coincide con la versión de WeakAuras %s. Si actualizaste el addon mientras el juego estaba en ejecución, intenta reiniciar World of Warcraft. De lo contrario, intenta reinstalar WeakAuras."
@@ -890,6 +888,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "Agradecemos a"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s en WoW %s"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recomienda usar IDs de hechizos en lugar de nombres. Los IDs de hechizos se localizan automáticamente."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "¿Qué es lo que quieres hacer?"
L["Whole Area"] = "Área completa"
L["wrapping"] = "envolviendo"
+6 -4
View File
@@ -795,10 +795,8 @@ every 3 events starting from 2nd and ending at 11th: 2-11/3]=] ] = "Ocurrencia d
L["The duration of the animation in seconds. The finish animation does not start playing until after the display would normally be hidden."] = [=[La duración de la animación en segundos. La animación de finalización no comienza a reproducirse hasta que la visualización normalmente estaría oculta.
]=]
L["The group and all direct children will share the same base frame level."] = "El grupo y todos los hijos directos compartirán el mismo nivel de marco base."
--[[Translation missing --]]
L["The Multi Target mode is less reliable and not recommended."] = "The Multi Target mode is less reliable and not recommended."
--[[Translation missing --]]
L["The Multi Target mode requires a name or spell id filter"] = "The Multi Target mode requires a name or spell id filter"
L["The Multi Target mode is less reliable and not recommended."] = "El modo Multiobjetivo es menos fiable y no se recomienda."
L["The Multi Target mode requires a name or spell id filter"] = "El modo Multiobjetivo requiere un filtro por nombre o ID de hechizo"
L["The trigger number is optional. When no trigger number is specified, the trigger selected via dynamic information will be used."] = "El número de disparador es opcional. Cuando no se especifica un número de disparador, se usará el disparador seleccionado a través de información dinámica."
L["The type of trigger"] = "El tipo de activador"
L["The WeakAuras Options Addon version %s doesn't match the WeakAuras version %s. If you updated the addon while the game was running, try restarting World of Warcraft. Otherwise try reinstalling WeakAuras"] = "La versión del addon WeakAuras Options %s no coincide con la versión de WeakAuras %s. Si actualizaste el addon mientras el juego estaba en ejecución, intenta reiniciar World of Warcraft. De lo contrario, intenta reinstalar WeakAuras."
@@ -890,6 +888,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "Agradecemos a"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s en WoW %s"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recomienda usar IDs de hechizos en lugar de nombres. Los IDs de hechizos se localizan automáticamente."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "¿Qué es lo que quieres hacer?"
L["Whole Area"] = "Área completa"
L["wrapping"] = "envolviendo"
+4
View File
@@ -1217,6 +1217,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["WeakAuras %s on WoW %s"] = "WeakAuras %s on WoW %s"
--[[Translation missing --]]
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
--[[Translation missing --]]
L["What do you want to do?"] = "What do you want to do?"
--[[Translation missing --]]
+4
View File
@@ -1527,6 +1527,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["WeakAuras %s on WoW %s"] = "WeakAuras %s on WoW %s"
--[[Translation missing --]]
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
--[[Translation missing --]]
L["What do you want to do?"] = "What do you want to do?"
--[[Translation missing --]]
+6 -4
View File
@@ -24,7 +24,7 @@ local L = WeakAuras.L
L["%i. %s"] = "%i. %s"
L["%s - %i. Trigger"] = "%s - %i. 활성 조건"
L["%s - Alpha Animation"] = "%s - 투명도 애니메이션"
L["%s - Color Animation"] = "%s - 색 애니메이션"
L["%s - Color Animation"] = "%s - 색 애니메이션"
L["%s - Condition Custom Chat %s"] = "%s - 조건 사용자 정의 대화 %s"
L["%s - Condition Custom Check %s"] = "%s - 조건 사용자 정의 검사 %s"
L["%s - Condition Custom Code %s"] = "%s - 조건 사용자 정의 코드 %s"
@@ -671,7 +671,7 @@ every 3 events starting from 2nd and ending at 11th: 2-11/3]=] ] = [=[이벤트
L["Paste Trigger Settings"] = "활성 조건 설정 붙여넣기"
L["Places a tick on the bar"] = "바에 틱 배치"
L["Play Sound"] = "소리 재생"
L["Player Spells found:"] = "플레이어 주문 발견:"
L["Player Spells found:"] = "발견된 플레이어 주문:"
L["Portrait Zoom"] = "초상화 확대"
L["Position and Size Settings"] = "위치 및 크기 설정"
L["Preferred Match"] = "우선 표시 대상"
@@ -799,8 +799,8 @@ every 3 events starting from 2nd and ending at 11th: 2-11/3]=] ] = [=[이벤트
L["Sound Channel"] = "소리 채널"
L["Sound File Path"] = "소리 파일 경로"
L["Sound Kit ID"] = "소리 Kit ID"
L["Space Horizontally"] = "가로로 벌리기"
L["Space Vertically"] = "세로로 벌리기"
L["Space Horizontally"] = "가로 간격"
L["Space Vertically"] = "세로 간격"
L["Spark Settings"] = "섬광 설정"
L["Spark Texture"] = "섬광 텍스처"
L["Specific Currency ID"] = "화폐 ID 지정"
@@ -934,6 +934,8 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "감사합니다"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s (WoW %s)"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras는 주문 이름 대신 주문 ID 사용을 권장합니다. 주문 ID는 언어에 맞게 자동 번역됩니다."
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = "WeakAuras는 Midnight을 지원하지 않습니다. 사전 패치가 출시되면 WeakAuras는 비활성화됩니다. 자세한 내용은 Patreon 페이지(https://patreon.com/WeakAuras)를 참조하세요."
L["What do you want to do?"] = "무엇을 할까요?"
L["Whole Area"] = "전체 구역"
L["wrapping"] = "줄바꿈"
+4
View File
@@ -1528,6 +1528,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["WeakAuras %s on WoW %s"] = "WeakAuras %s on WoW %s"
--[[Translation missing --]]
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
--[[Translation missing --]]
L["What do you want to do?"] = "What do you want to do?"
--[[Translation missing --]]
+4
View File
@@ -944,6 +944,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["WeakAuras %s on WoW %s"] = "WeakAuras: %s. Интерфейс: %s"
--[[Translation missing --]]
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "Что вы хотите сделать?"
L["Whole Area"] = "Вся область"
L["wrapping"] = "Перенос слов при переполнении"
+4
View File
@@ -918,6 +918,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "我们感谢"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s + WoW %s"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WA建议使用法术id而不是法术名称。法术id会自动本地化。"
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "你想要做什么?"
L["Whole Area"] = "整个区域"
L["wrapping"] = "折叠"
+4
View File
@@ -908,6 +908,10 @@ Upgrade your version of WeakAuras or wait for next release before installing thi
L["We thank"] = "我們感謝"
L["WeakAuras %s on WoW %s"] = "WeakAuras %s 在 WoW %s"
L["WeakAuras recommends using spell ids instead of names. Spell ids are automatically localized."] = "WeakAuras 建議使用法術ID而不是名稱。法術ID會自動本地化。"
--[[Translation missing --]]
L[ [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=] ] = [=[WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.
Read more on our Patreon page https://patreon.com/WeakAuras]=]
L["What do you want to do?"] = "你想要怎麼做?"
L["Whole Area"] = "整個區域"
L["wrapping"] = "自動換行"
@@ -1609,5 +1609,40 @@ function OptionsPrivate.CreateFrame()
local left, right, top, bottom = w/2,-w/2, 0, h-25
frame:SetClampRectInsets(left, right, top, bottom)
-- Add warning about Midnight support ending, to notify users about possible coming changes
local midnightWarning = CreateFrame("Frame", nil, frame)
midnightWarning:SetBackdrop({
bgFile = "Interface\\Addons\\WeakAuras\\Media\\Textures\\Square_FullWhite.tga",
edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
tile = true,
tileSize = 16,
edgeSize = 16,
insets = { left = 4, right = 4, top = 4, bottom = 4 }
})
midnightWarning:SetBackdropBorderColor(1, 0, 0, 1);
midnightWarning:SetBackdropColor(0, 0, 0, 1)
midnightWarning:SetPoint("TOPLEFT", frame, "BOTTOMLEFT")
midnightWarning:SetPoint("TOPRIGHT", frame, "BOTTOMRIGHT")
midnightWarning:SetHeight(50)
local text = midnightWarning:CreateFontString(nil, "OVERLAY", "GameFontNormalLarge")
text:SetPoint("LEFT", midnightWarning, "LEFT", 10, 0)
text:SetText(L["WeakAuras will not support Midnight. On release of the prepatch, WeakAuras will be disabled.\nRead more on our Patreon page https://patreon.com/WeakAuras"])
-- Fade-out animation and hide for rest of the session
local fade = midnightWarning:CreateAnimationGroup()
local alpha = fade:CreateAnimation("Alpha")
alpha:SetChange(-1)
alpha:SetDuration(0.5)
alpha:SetStartDelay(5) -- hide after 5 second
alpha:SetSmoothing("OUT")
fade:SetScript("OnFinished", function()
midnightWarning:Hide()
end)
fade:Play()
return frame
end
+1 -1
View File
@@ -3,7 +3,7 @@ local Private = select(2, ...)
local L = WeakAuras.L
local optionsVersion = "5.20.7 Beta"
local optionsVersion = "5.21.0 Beta"
if optionsVersion ~= WeakAuras.versionString then
local message = string.format(L["The WeakAuras Options Addon version %s doesn't match the WeakAuras version %s. If you updated the addon while the game was running, try restarting World of Warcraft. Otherwise try reinstalling WeakAuras"],
+1 -1
View File
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras Options
## Author: The WeakAuras Team
## Version: 5.20.7
## Version: 5.21.0
## IconTexture: Interface\AddOns\WeakAuras\Media\Textures\icon.blp
## Notes: Options for WeakAuras
## Notes-esES: Opciones para WeakAuras