5.20.5
This commit is contained in:
+35
-3
@@ -741,7 +741,18 @@ Private.event_prototypes["DBM Timer"] = {
|
||||
display = L["Count"],
|
||||
desc = L["Occurrence of the event, reset when aura is unloaded\nCan be a range of values\nCan have multiple values separated by a comma or a space\n\nExamples:\n2nd 5th and 6th events: 2, 5, 6\n2nd to 6th: 2-6\nevery 2 events: /2\nevery 3 events starting from 2nd: 2/3\nevery 3 events starting from 2nd and ending at 11th: 2-11/3\n\nOnly if DBM shows it on it's bar"],
|
||||
type = "string",
|
||||
store = true,
|
||||
conditionType = "string",
|
||||
operator_types = "none",
|
||||
preamble = "local counter = Private.ExecEnv.CreateTriggerCounter(%q)",
|
||||
test = "counter:SetCount(tonumber(count) or 0) == nil and counter:Match()",
|
||||
conditionPreamble = function(input)
|
||||
return Private.ExecEnv.CreateTriggerCounter(input)
|
||||
end,
|
||||
conditionTest = function(state, needle, op, preamble)
|
||||
preamble:SetCount(tonumber(state.count) or 0)
|
||||
return preamble:Match()
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "dbmType",
|
||||
@@ -1430,6 +1441,16 @@ Private.event_prototypes["BigWigs Timer"] = {
|
||||
type = "string",
|
||||
store = true,
|
||||
conditionType = "string",
|
||||
operator_types = "none",
|
||||
preamble = "local counter = Private.ExecEnv.CreateTriggerCounter(%q)",
|
||||
test = "counter:SetCount(tonumber(count) or 0) == nil and counter:Match()",
|
||||
conditionPreamble = function(input)
|
||||
return Private.ExecEnv.CreateTriggerCounter(input)
|
||||
end,
|
||||
conditionTest = function(state, needle, op, preamble)
|
||||
preamble:SetCount(tonumber(state.count) or 0)
|
||||
return preamble:Match()
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "cast",
|
||||
@@ -1616,6 +1637,9 @@ Private.event_prototypes["Boss Mod Announce"] = {
|
||||
display = L["Count"],
|
||||
desc = L["Occurrence of the event\nCan be a range of values\nCan have multiple values separated by a comma or a space\n\nExamples:\n2nd 5th and 6th events: 2, 5, 6\n2nd to 6th: 2-6\nevery 2 events: /2\nevery 3 events starting from 2nd: 2/3\nevery 3 events starting from 2nd and ending at 11th: 2-11/3\n\nWorks only if Boss Mod addon show counter"],
|
||||
type = "string",
|
||||
store = true,
|
||||
conditionType = "string",
|
||||
operator_types = "none",
|
||||
preamble = "local counter = Private.ExecEnv.CreateTriggerCounter(%q)",
|
||||
test = "counter:SetCount(tonumber(count) or 0) == nil and counter:Match()",
|
||||
conditionPreamble = function(input)
|
||||
@@ -1625,9 +1649,6 @@ Private.event_prototypes["Boss Mod Announce"] = {
|
||||
preamble:SetCount(tonumber(state.count) or 0)
|
||||
return preamble:Match()
|
||||
end,
|
||||
store = true,
|
||||
conditionType = "string",
|
||||
operator_types = "none"
|
||||
},
|
||||
{
|
||||
name = "cloneId",
|
||||
@@ -1865,6 +1886,17 @@ Private.event_prototypes["Boss Mod Timer"] = {
|
||||
desc = L["Occurrence of the event, reset when aura is unloaded\nCan be a range of values\nCan have multiple values separated by a comma or a space\n\nExamples:\n2nd 5th and 6th events: 2, 5, 6\n2nd to 6th: 2-6\nevery 2 events: /2\nevery 3 events starting from 2nd: 2/3\nevery 3 events starting from 2nd and ending at 11th: 2-11/3\n\nOnly if DBM shows it on it's bar"],
|
||||
type = "string",
|
||||
conditionType = "string",
|
||||
operator_types = "none",
|
||||
preamble = "local counter = Private.ExecEnv.CreateTriggerCounter(%q)",
|
||||
test = "counter:SetCount(tonumber(count) or 0) == nil and counter:Match()",
|
||||
conditionPreamble = function(input)
|
||||
return Private.ExecEnv.CreateTriggerCounter(input)
|
||||
end,
|
||||
conditionTest = function(state, needle, op, preamble)
|
||||
preamble:SetCount(tonumber(state.count) or 0)
|
||||
return preamble:Match()
|
||||
end,
|
||||
store = true,
|
||||
},
|
||||
{
|
||||
name = "isBarEnabled",
|
||||
|
||||
@@ -401,13 +401,13 @@ local function CreateTestForCondition(data, input, allConditionsTemplate, usedSt
|
||||
elseif (cType == "string" and value) then
|
||||
if(op == "==") then
|
||||
check = stateCheck .. stateVariableCheck .. "state[" .. trigger .. "]" .. string.format("[%q]", variable)
|
||||
.. " == [[" .. value .. "]]";
|
||||
.. string.format(" == %q", value)
|
||||
elseif (op == "find('%s')") then
|
||||
check = stateCheck .. stateVariableCheck .. "state[" .. trigger .. "]" .. string.format("[%q]", variable)
|
||||
.. ":find([[" .. value .. "]], 1, true)";
|
||||
.. string.format(":find(%q, 1, true)", value)
|
||||
elseif (op == "match('%s')") then
|
||||
check = stateCheck .. stateVariableCheck .. "state[" .. trigger .. "]" .. string.format("[%q]", variable)
|
||||
.. ":match([[" .. value .. "]], 1, true)";
|
||||
.. string.format(":match(%q, 1, true)", value)
|
||||
end
|
||||
end
|
||||
-- If adding a new condition type, don't forget to adjust the validator in the options code
|
||||
|
||||
@@ -6,30 +6,30 @@ local Private = select(2, ...)
|
||||
Private.DiscordList = {
|
||||
[=[AcidWeb]=],
|
||||
[=[aelen]=],
|
||||
[=[Ariani Continuity]=],
|
||||
[=[Alluneve]=],
|
||||
[=[Azortharion]=],
|
||||
[=[BadBrain]=],
|
||||
[=[Bart]=],
|
||||
[=[Boneshock]=],
|
||||
[=[Boxthor]=],
|
||||
[=[Burlis]=],
|
||||
[=[Causese]=],
|
||||
[=[Chab]=],
|
||||
[=[Darian]=],
|
||||
[=[Continuity]=],
|
||||
[=[Desik]=],
|
||||
[=[despi]=],
|
||||
[=[Dodgen]=],
|
||||
[=[Doomer Ipse]=],
|
||||
[=[exality]=],
|
||||
[=[Fatpala]=],
|
||||
[=[Fels]=],
|
||||
[=[Fenchurch]=],
|
||||
[=[Fliyin]=],
|
||||
[=[Fx]=],
|
||||
[=[Guffin]=],
|
||||
[=[Ifor]=],
|
||||
[=[Ironi]=],
|
||||
[=[Jiberish]=],
|
||||
[=[Jods]=],
|
||||
[=[kanegasi]=],
|
||||
[=[Karalana]=],
|
||||
[=[Korvus]=],
|
||||
[=[Koxy]=],
|
||||
[=[Krazyito]=],
|
||||
@@ -51,16 +51,13 @@ Private.DiscordList = {
|
||||
[=[pit]=],
|
||||
[=[Putro]=],
|
||||
[=[Reloe]=],
|
||||
[=[Saaggs]=],
|
||||
[=[Sammy]=],
|
||||
[=[Spaten]=],
|
||||
[=[Tel]=],
|
||||
[=[Thorill]=],
|
||||
[=[Translit]=],
|
||||
[=[update]=],
|
||||
[=[vozochris]=],
|
||||
[=[Wizeowel]=],
|
||||
[=[Xepheris]=],
|
||||
[=[Zeus]=],
|
||||
[=[Zytech]=],
|
||||
}
|
||||
Private.DiscordListCJ = {
|
||||
}
|
||||
|
||||
@@ -1582,7 +1582,7 @@ do
|
||||
return false
|
||||
end
|
||||
|
||||
for i = 1, 20 do
|
||||
for i = 0, 20 do
|
||||
counter.fastMatches[i] = counter.RunTests(counter, i)
|
||||
end
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ WeakAuras.halfWidth = WeakAuras.normalWidth / 2
|
||||
WeakAuras.doubleWidth = WeakAuras.normalWidth * 2
|
||||
|
||||
local versionStringFromToc = GetAddOnMetadata("WeakAuras", "Version")
|
||||
local versionString = "5.20.4 Beta"
|
||||
local versionString = "5.20.5 Beta"
|
||||
-- Year, Month, Day, Hour, Minute, Seconds
|
||||
local buildTime = "2025".."09".."14".."20".."43".."00"
|
||||
local isAwesomeEnabled = C_VoiceChat and C_VoiceChat.SpeakText and 2 -- TTS available
|
||||
|
||||
@@ -1053,10 +1053,10 @@ L["Install the addons BugSack and BugGrabber for detailed error logs."] = "Insta
|
||||
L["Instance"] = "Instanz"
|
||||
L["Instance Difficulty"] = "Instanzschwierigkeit"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Id"] = "Instance Id"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Info"] = "Instance Info"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Name"] = "Instance Name"
|
||||
@@ -1629,9 +1629,9 @@ L["Progress Value"] = "Fortschrittswert"
|
||||
L["Pull"] = "Pull"
|
||||
L["Pulse"] = "Pulsieren"
|
||||
L["PvP Flagged"] = "PvP aktiv"
|
||||
L["PvP Talent selected"] = "Gewähltes PvP-Talent"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
L["PvP Talent selected"] = "Gewähltes PvP-Talent"
|
||||
--[[Translation missing --]]
|
||||
L["Quality Id"] = "Quality Id"
|
||||
--[[Translation missing --]]
|
||||
|
||||
@@ -657,8 +657,8 @@ L["Hybrid"] = "Hybrid"
|
||||
L["Icon"] = "Icon"
|
||||
L["Icon Function"] = "Icon Function"
|
||||
L["Icon Function (fallback state)"] = "Icon Function (fallback state)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "Id"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"
|
||||
L["Ignore Dead"] = "Ignore Dead"
|
||||
L["Ignore Disconnected"] = "Ignore Disconnected"
|
||||
@@ -693,8 +693,8 @@ L["Instakill"] = "Instakill"
|
||||
L["Install the addons BugSack and BugGrabber for detailed error logs."] = "Install the addons BugSack and BugGrabber for detailed error logs."
|
||||
L["Instance"] = "Instance"
|
||||
L["Instance Difficulty"] = "Instance Difficulty"
|
||||
L["Instance ID"] = "Instance ID"
|
||||
L["Instance Id"] = "Instance Id"
|
||||
L["Instance ID"] = "Instance ID"
|
||||
L["Instance Info"] = "Instance Info"
|
||||
L["Instance Name"] = "Instance Name"
|
||||
L["Instance Size Type"] = "Instance Size Type"
|
||||
@@ -1350,8 +1350,8 @@ L["Talent"] = "Talent"
|
||||
L["Talent |cFFFF0000Not|r Known"] = "Talent |cFFFF0000Not|r Known"
|
||||
L["Talent |cFFFF0000Not|r Selected"] = "Talent |cFFFF0000Not|r Selected"
|
||||
L["Talent Known"] = "Talent Known"
|
||||
L["Talent selected"] = "Talent selected"
|
||||
L["Talent Selected"] = "Talent Selected"
|
||||
L["Talent selected"] = "Talent selected"
|
||||
L["Talent Specialization"] = "Talent Specialization"
|
||||
L["Tanking And Highest"] = "Tanking And Highest"
|
||||
L["Tanking But Not Highest"] = "Tanking But Not Highest"
|
||||
|
||||
+10
-17
@@ -178,8 +178,7 @@ L["Bar enabled in BigWigs settings"] = "Barra activada en la configuración de B
|
||||
L["Bar enabled in Boss Mod addon settings"] = "Barra activada en la configuración del addon del módulo de jefe"
|
||||
L["Bar enabled in DBM settings"] = "Barra activada en la configuración de DBM"
|
||||
L["Bar Texture"] = "Textura de barra"
|
||||
--[[Translation missing --]]
|
||||
L["Bar Type"] = "Bar Type"
|
||||
L["Bar Type"] = "Tipo de barra"
|
||||
L["Baron Geddon"] = "Barón Geddon"
|
||||
L["Battle for Azeroth"] = "Battle for Azeroth"
|
||||
L["Battle.net Whisper"] = "Battle.net Mensaje"
|
||||
@@ -224,8 +223,7 @@ L["Bottom Right"] = "Abajo Derecha"
|
||||
L["Bottom to Top"] = "De Abajo a Arriba"
|
||||
L["Bounce"] = "Rebotar"
|
||||
L["Bounce with Decay"] = "Rebotar con Amortiguación"
|
||||
--[[Translation missing --]]
|
||||
L["Break"] = "Break"
|
||||
L["Break"] = "Romper"
|
||||
L["BreakUpLargeNumbers (Blizzard)"] = "BreakUpLargeNumbers (Blizzard)"
|
||||
L["Broodlord Lashlayer"] = "Señor de linaje Capazote"
|
||||
L["Buff"] = "Beneficio"
|
||||
@@ -486,8 +484,7 @@ L["Error decompressing. This doesn't look like a WeakAuras import."] = "Error al
|
||||
L["Error deserializing"] = "Error de deserialización"
|
||||
L["Error Frame"] = "Marco de error"
|
||||
L["ERROR in '%s' unknown or incompatible sub element type '%s'"] = "ERROR en '%s' tipo de subelemento '%s' desconocido o incompatible"
|
||||
--[[Translation missing --]]
|
||||
L["Error in Aura '%s'"] = "Error in Aura '%s'"
|
||||
L["Error in Aura '%s'"] = "Error en el aura '%s\""
|
||||
L["Error not receiving display information from %s"] = "Error al no recibir información de visualización de %s"
|
||||
L["Essence"] = "Esencia"
|
||||
L["Essence #1"] = "Esencia #1"
|
||||
@@ -643,8 +640,8 @@ L["Hybrid"] = "Híbrido"
|
||||
L["Icon"] = "Icono"
|
||||
L["Icon Function"] = "Función de icono"
|
||||
L["Icon Function (fallback state)"] = "Función de icono (estado de reserva)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "ID"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "Si necesitas más ayuda, abre un ticket en GitHub o visita nuestro Discord en https://discord.gg/weakauras."
|
||||
L["Ignore Dead"] = "Ignorar muertos"
|
||||
L["Ignore Disconnected"] = "Ignorar desconectados"
|
||||
@@ -768,8 +765,7 @@ L["Low Damage"] = "Bajo Daño"
|
||||
L["Lower Than Tank"] = "Menor Que el Tanque"
|
||||
L["Lowest Spell Id"] = "ID de hechizo más bajo"
|
||||
L["Lua error"] = "Error de lua"
|
||||
--[[Translation missing --]]
|
||||
L["Lua error in Aura '%s': %s"] = "Lua error in Aura '%s': %s"
|
||||
L["Lua error in Aura '%s': %s"] = "Error de Lua en el aura '%s': %s"
|
||||
L["Lucifron"] = "Lucifron"
|
||||
L["Maexxna"] = "Maexxna"
|
||||
L["Magic"] = "Magia"
|
||||
@@ -1022,12 +1018,11 @@ L["Progress"] = "Progreso"
|
||||
L["Progress Source"] = "Fuente de progreso"
|
||||
L["Progress Total"] = "Progreso total"
|
||||
L["Progress Value"] = "Valor de progreso"
|
||||
--[[Translation missing --]]
|
||||
L["Pull"] = "Pull"
|
||||
L["Pull"] = "Iniciar"
|
||||
L["Pulse"] = "Pulso"
|
||||
L["PvP Flagged"] = "Marcado JcJ"
|
||||
L["PvP Talent Selected"] = "Talento de JcJ seleccionado"
|
||||
L["PvP Talent selected"] = "Talento de JcJ seleccionado"
|
||||
L["PvP Talent Selected"] = "Talento de JcJ seleccionado"
|
||||
L["Quality Id"] = "ID de calidad"
|
||||
L["Quantity"] = "Cantidad"
|
||||
L["Quantity earned this week"] = "Cantidad ganada esta semana"
|
||||
@@ -1140,8 +1135,7 @@ L["Seconds"] = "Segundos"
|
||||
L[ [=[Secure frame detected. Find more information:
|
||||
https://github.com/WeakAuras/WeakAuras2/wiki/Protected-Frames]=] ] = "Marco seguro detectado. Encuentra más información: https://github.com/WeakAuras/WeakAuras2/wiki/Protected-Frames"
|
||||
L["Select Frame"] = "Seleccionar marco"
|
||||
--[[Translation missing --]]
|
||||
L["Select the type of timer to filter"] = "Select the type of timer to filter"
|
||||
L["Select the type of timer to filter"] = "Selecciona el tipo de temporizador para filtrar"
|
||||
L["Selection Mode"] = "Modo de selección"
|
||||
L["Separator"] = "Separador"
|
||||
L["Set IDs can be found on websites such as wowhead.com/cata/item-sets"] = "Los IDs de conjuntos se pueden encontrar en sitios web como wowhead.com/cata/es/item-sets"
|
||||
@@ -1296,8 +1290,8 @@ L["Talent"] = "Talento"
|
||||
L["Talent |cFFFF0000Not|r Known"] = "Talento |cFFFF0000desconocido|r"
|
||||
L["Talent |cFFFF0000Not|r Selected"] = "Talento |cFFFF0000no|r seleccionado"
|
||||
L["Talent Known"] = "Talento conocido"
|
||||
L["Talent selected"] = "Talento seleccionado"
|
||||
L["Talent Selected"] = "Talento seleccionado"
|
||||
L["Talent selected"] = "Talento seleccionado"
|
||||
L["Talent Specialization"] = "Especialización de Talentos"
|
||||
L["Tanking And Highest"] = "Tanqueando y el más alto"
|
||||
L["Tanking But Not Highest"] = "Tanqueando pero no el mas alto"
|
||||
@@ -1351,8 +1345,7 @@ L["Time since stack gain"] = "Tiempo desde gana de acumulación"
|
||||
L["Time since stack lost"] = "Tiempo desde que se perdió la acumulación"
|
||||
L["Timed"] = "Temporizado"
|
||||
L["Timed Progress"] = "Progreso temporizado"
|
||||
--[[Translation missing --]]
|
||||
L["Timer"] = "Timer"
|
||||
L["Timer"] = "Temporizador"
|
||||
L["Timer Id"] = "ID de temporizador"
|
||||
L["Toggle"] = "Mostrar"
|
||||
L["Toggle List"] = "Mostar lista"
|
||||
|
||||
+10
-17
@@ -178,8 +178,7 @@ L["Bar enabled in BigWigs settings"] = "Barra activada en la configuración de B
|
||||
L["Bar enabled in Boss Mod addon settings"] = "Barra activada en la configuración del addon del módulo de jefe"
|
||||
L["Bar enabled in DBM settings"] = "Barra activada en la configuración de DBM"
|
||||
L["Bar Texture"] = "Textura de barra"
|
||||
--[[Translation missing --]]
|
||||
L["Bar Type"] = "Bar Type"
|
||||
L["Bar Type"] = "Tipo de barra"
|
||||
L["Baron Geddon"] = "Barón Geddon"
|
||||
L["Battle for Azeroth"] = "Battle for Azeroth"
|
||||
L["Battle.net Whisper"] = "Battle.net Mensaje"
|
||||
@@ -224,8 +223,7 @@ L["Bottom Right"] = "Abajo Derecha"
|
||||
L["Bottom to Top"] = "De Abajo a Arriba"
|
||||
L["Bounce"] = "Rebotar"
|
||||
L["Bounce with Decay"] = "Rebotar con Amortiguación"
|
||||
--[[Translation missing --]]
|
||||
L["Break"] = "Break"
|
||||
L["Break"] = "Romper"
|
||||
L["BreakUpLargeNumbers (Blizzard)"] = "BreakUpLargeNumbers (Blizzard)"
|
||||
L["Broodlord Lashlayer"] = "Señor de linaje Capazote"
|
||||
L["Buff"] = "Beneficio"
|
||||
@@ -486,8 +484,7 @@ L["Error decompressing. This doesn't look like a WeakAuras import."] = "Error al
|
||||
L["Error deserializing"] = "Error de deserialización"
|
||||
L["Error Frame"] = "Marco de error"
|
||||
L["ERROR in '%s' unknown or incompatible sub element type '%s'"] = "ERROR en '%s' tipo de subelemento '%s' desconocido o incompatible"
|
||||
--[[Translation missing --]]
|
||||
L["Error in Aura '%s'"] = "Error in Aura '%s'"
|
||||
L["Error in Aura '%s'"] = "Error en el aura '%s'"
|
||||
L["Error not receiving display information from %s"] = "Error al no recibir información de visualización de %s"
|
||||
L["Essence"] = "Esencia"
|
||||
L["Essence #1"] = "Esencia #1"
|
||||
@@ -643,8 +640,8 @@ L["Hybrid"] = "Híbrido"
|
||||
L["Icon"] = "Icono"
|
||||
L["Icon Function"] = "Función de icono"
|
||||
L["Icon Function (fallback state)"] = "Función de icono (estado de reserva)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "ID"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "Si necesitas más ayuda, abre un ticket en GitHub o visita nuestro Discord en https://discord.gg/weakauras."
|
||||
L["Ignore Dead"] = "Ignorar muertos"
|
||||
L["Ignore Disconnected"] = "Ignorar desconectados"
|
||||
@@ -680,8 +677,8 @@ L["Instakill"] = "Muerte Instantanea"
|
||||
L["Install the addons BugSack and BugGrabber for detailed error logs."] = "Instala los addons BugSack y BugGrabber para obtener registros de errores detallados."
|
||||
L["Instance"] = "Instancia"
|
||||
L["Instance Difficulty"] = "Dificultad de la instancia"
|
||||
L["Instance ID"] = "ID de estancia"
|
||||
L["Instance Id"] = "ID de estancia"
|
||||
L["Instance ID"] = "ID de estancia"
|
||||
L["Instance Info"] = "Info de estancia"
|
||||
L["Instance Name"] = "Nombre de estancia"
|
||||
L["Instance Size Type"] = "Tipo de tamaño de estancia"
|
||||
@@ -769,8 +766,7 @@ L["Low Damage"] = "Bajo Daño"
|
||||
L["Lower Than Tank"] = "Menor Que el Tanque"
|
||||
L["Lowest Spell Id"] = "ID de hechizo más bajo"
|
||||
L["Lua error"] = "Error de lua"
|
||||
--[[Translation missing --]]
|
||||
L["Lua error in Aura '%s': %s"] = "Lua error in Aura '%s': %s"
|
||||
L["Lua error in Aura '%s': %s"] = "Error de Lua en el aura '%s': %s"
|
||||
L["Lucifron"] = "Lucifron"
|
||||
L["Maexxna"] = "Maexxna"
|
||||
L["Magic"] = "Magia"
|
||||
@@ -1023,8 +1019,7 @@ L["Progress"] = "Progreso"
|
||||
L["Progress Source"] = "Fuente de progreso"
|
||||
L["Progress Total"] = "Progreso total"
|
||||
L["Progress Value"] = "Valor de progreso"
|
||||
--[[Translation missing --]]
|
||||
L["Pull"] = "Pull"
|
||||
L["Pull"] = "Iniciar"
|
||||
L["Pulse"] = "Pulso"
|
||||
L["PvP Flagged"] = "Marcado JcJ"
|
||||
L["PvP Talent selected"] = "Talento de JcJ seleccionado"
|
||||
@@ -1141,8 +1136,7 @@ L["Seconds"] = "Segundos"
|
||||
L[ [=[Secure frame detected. Find more information:
|
||||
https://github.com/WeakAuras/WeakAuras2/wiki/Protected-Frames]=] ] = "Marco seguro detectado. Encuentra más información: https://github.com/WeakAuras/WeakAuras2/wiki/Protected-Frames"
|
||||
L["Select Frame"] = "Seleccionar marco"
|
||||
--[[Translation missing --]]
|
||||
L["Select the type of timer to filter"] = "Select the type of timer to filter"
|
||||
L["Select the type of timer to filter"] = "Selecciona el tipo de temporizador para filtrar"
|
||||
L["Selection Mode"] = "Modo de selección"
|
||||
L["Separator"] = "Separador"
|
||||
L["Set IDs can be found on websites such as wowhead.com/cata/item-sets"] = "Los ID de conjuntos se pueden encontrar en sitios web como wowhead.com/cata/mx/item-sets"
|
||||
@@ -1297,8 +1291,8 @@ L["Talent"] = "Talento"
|
||||
L["Talent |cFFFF0000Not|r Known"] = "Talento |cFFFF0000desconocido|r"
|
||||
L["Talent |cFFFF0000Not|r Selected"] = "Talento |cFFFF0000no|r seleccionado"
|
||||
L["Talent Known"] = "Talento conocido"
|
||||
L["Talent selected"] = "Talento seleccionado"
|
||||
L["Talent Selected"] = "Talento seleccionado"
|
||||
L["Talent selected"] = "Talento seleccionado"
|
||||
L["Talent Specialization"] = "Especialización de Talentos"
|
||||
L["Tanking And Highest"] = "Tanqueando y el más alto"
|
||||
L["Tanking But Not Highest"] = "Tanqueando pero no el mas alto"
|
||||
@@ -1352,8 +1346,7 @@ L["Time since stack gain"] = "Tiempo desde gana de acumulación"
|
||||
L["Time since stack lost"] = "Tiempo desde que se perdió la acumulación"
|
||||
L["Timed"] = "Temporizado"
|
||||
L["Timed Progress"] = "Progreso temporizado"
|
||||
--[[Translation missing --]]
|
||||
L["Timer"] = "Timer"
|
||||
L["Timer"] = "Temporizador"
|
||||
L["Timer Id"] = "ID de temporizador"
|
||||
L["Toggle"] = "Mostrar"
|
||||
L["Toggle List"] = "Mostar lista"
|
||||
|
||||
@@ -886,10 +886,10 @@ L["Icon Function"] = "Icon Function"
|
||||
--[[Translation missing --]]
|
||||
L["Icon Function (fallback state)"] = "Icon Function (fallback state)"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["Id"] = "Id"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"
|
||||
L["Ignore Dead"] = "Ignorer la mort"
|
||||
L["Ignore Disconnected"] = "Ignorer les déconnectés"
|
||||
@@ -932,10 +932,10 @@ L["Install the addons BugSack and BugGrabber for detailed error logs."] = "Insta
|
||||
L["Instance"] = "Instance"
|
||||
L["Instance Difficulty"] = "Difficulté de l'Instance"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Id"] = "Instance Id"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Info"] = "Instance Info"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Name"] = "Instance Name"
|
||||
@@ -1435,9 +1435,9 @@ L["Progress Value"] = "Valeur de progression"
|
||||
L["Pull"] = "Pull"
|
||||
L["Pulse"] = "Pulsation"
|
||||
L["PvP Flagged"] = "JcJ activé"
|
||||
L["PvP Talent selected"] = "Talent JcJ sélectionné"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
L["PvP Talent selected"] = "Talent JcJ sélectionné"
|
||||
--[[Translation missing --]]
|
||||
L["Quality Id"] = "Quality Id"
|
||||
--[[Translation missing --]]
|
||||
|
||||
@@ -1010,10 +1010,10 @@ L["Icon Function"] = "Icon Function"
|
||||
--[[Translation missing --]]
|
||||
L["Icon Function (fallback state)"] = "Icon Function (fallback state)"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["Id"] = "Id"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"
|
||||
--[[Translation missing --]]
|
||||
L["Ignore Dead"] = "Ignore Dead"
|
||||
@@ -1082,10 +1082,10 @@ L["Instance"] = "Instance"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Difficulty"] = "Instance Difficulty"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Id"] = "Instance Id"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Info"] = "Instance Info"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Name"] = "Instance Name"
|
||||
@@ -1772,10 +1772,10 @@ L["Pulse"] = "Pulse"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Flagged"] = "PvP Flagged"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent selected"] = "PvP Talent selected"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
--[[Translation missing --]]
|
||||
L["Quality Id"] = "Quality Id"
|
||||
--[[Translation missing --]]
|
||||
L["Quantity"] = "Quantity"
|
||||
|
||||
@@ -362,7 +362,7 @@ L["Current Zone Group"] = "지금 있는 지역 그룹"
|
||||
L["Curse"] = "저주"
|
||||
L["Custom"] = "사용자 정의"
|
||||
L["Custom Action"] = "사용자 정의 동작"
|
||||
L["Custom Anchor"] = "사용자 정의 위치 고정"
|
||||
L["Custom Anchor"] = "사용자 정의 고정"
|
||||
L["Custom Check"] = "사용자 정의 검사"
|
||||
L["Custom Color"] = "사용자 정의 색상"
|
||||
L["Custom Condition Code"] = "사용자 정의 조건 코드"
|
||||
@@ -452,7 +452,7 @@ L["Ebonroc"] = "에본로크"
|
||||
L["Eclipse Direction"] = "일식 방향"
|
||||
L["Edge"] = "가장자리"
|
||||
L["Edge of Madness"] = "광란의 경계"
|
||||
L["Effective Spell Id"] = "유효 주문 ID"
|
||||
L["Effective Spell Id"] = "실효 주문 ID"
|
||||
L["Elide"] = "생략"
|
||||
L["Elite"] = "정예"
|
||||
L["Emote"] = "감정 표현"
|
||||
@@ -615,7 +615,7 @@ L["Group Arrangement"] = "그룹 배치"
|
||||
L["Group Leader/Assist"] = "공격대장/부공격대장"
|
||||
L["Group Size"] = "그룹 규모"
|
||||
L["Group Type"] = "그룹 종류"
|
||||
L["Grow"] = "확장 방식"
|
||||
L["Grow"] = "확장"
|
||||
L["GTFO Alert"] = "GTFO 경보"
|
||||
L["Guardian"] = "경비병"
|
||||
L["Guild"] = "길드"
|
||||
@@ -659,8 +659,8 @@ L["Hybrid"] = "혼합"
|
||||
L["Icon"] = "아이콘"
|
||||
L["Icon Function"] = "아이콘 함수"
|
||||
L["Icon Function (fallback state)"] = "Icon 함수 (고장 대체 상태)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "ID"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "더 많은 도움이 필요하다면 GitHub에서 티켓을 열거나 저희 Discord (https://discord.gg/weakauras)를 방문해 주세요!"
|
||||
L["Ignore Dead"] = "죽음 무시"
|
||||
L["Ignore Disconnected"] = "오프라인 무시"
|
||||
@@ -695,8 +695,8 @@ L["Instakill"] = "즉사"
|
||||
L["Install the addons BugSack and BugGrabber for detailed error logs."] = "자세한 오류 기록을 수집하려면 BugSack과 BugGrabber 애드온을 설치하세요."
|
||||
L["Instance"] = "인스턴스"
|
||||
L["Instance Difficulty"] = "인스턴스 난이도"
|
||||
L["Instance ID"] = "인스턴스(Instance) ID"
|
||||
L["Instance Id"] = "인스턴스(Instance) ID"
|
||||
L["Instance ID"] = "인스턴스(Instance) ID"
|
||||
L["Instance Info"] = "인스턴스 던전 정보"
|
||||
L["Instance Name"] = "인스턴스 이름"
|
||||
L["Instance Size Type"] = "인스턴스 크기 종류"
|
||||
@@ -1075,8 +1075,8 @@ L["Progress Value"] = "진행도 값"
|
||||
L["Pull"] = "풀링"
|
||||
L["Pulse"] = "맥박"
|
||||
L["PvP Flagged"] = "플레이어 간 전투 활성화"
|
||||
L["PvP Talent Selected"] = "선택한 PvP 특성"
|
||||
L["PvP Talent selected"] = "선택한 PvP 특성"
|
||||
L["PvP Talent Selected"] = "선택한 PvP 특성"
|
||||
L["Quality Id"] = "품질 Id"
|
||||
L["Quantity"] = "수량"
|
||||
L["Quantity earned this week"] = "이번주 획득량"
|
||||
@@ -1367,7 +1367,7 @@ L["Texture Rotation"] = "텍스처 회전"
|
||||
L["Thaddius"] = "타디우스"
|
||||
L["The aura has overwritten the global '%s', this might affect other auras."] = "이 위크오라가 전역 '%s'|1을;를; 덮어썼습니다. 이 작업은 다른 위크오라에도 적용됩니다."
|
||||
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "이 위크오라는 aura_env 전역 변수를 덮어쓰려 하고 있습니다. 허용되지 않는 작업입니다."
|
||||
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "유효 레벨은 시간여행 던전 같은 곳에서 바뀌는 레벨과는 다른 것입니다."
|
||||
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "실제 적용되는 실효 레벨은 시간여행 던전 등에서 보이는 레벨과 차이가 있습니다."
|
||||
L["The Four Horsemen"] = "4기사단"
|
||||
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "'ID' 값은 주문별 BigWigs 설정에 있습니다"
|
||||
L["The Prophet Skeram"] = "예언자 스케람"
|
||||
|
||||
@@ -1082,10 +1082,10 @@ L["Icon Function"] = "Icon Function"
|
||||
--[[Translation missing --]]
|
||||
L["Icon Function (fallback state)"] = "Icon Function (fallback state)"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["Id"] = "Id"
|
||||
--[[Translation missing --]]
|
||||
L["ID"] = "ID"
|
||||
--[[Translation missing --]]
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"
|
||||
--[[Translation missing --]]
|
||||
L["Ignore Dead"] = "Ignore Dead"
|
||||
@@ -1146,10 +1146,10 @@ L["Install the addons BugSack and BugGrabber for detailed error logs."] = "Insta
|
||||
L["Instance"] = "Instance"
|
||||
L["Instance Difficulty"] = "Dificuldade da Instância"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Id"] = "Instance Id"
|
||||
--[[Translation missing --]]
|
||||
L["Instance ID"] = "Instance ID"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Info"] = "Instance Info"
|
||||
--[[Translation missing --]]
|
||||
L["Instance Name"] = "Instance Name"
|
||||
@@ -1783,10 +1783,10 @@ L["Pull"] = "Pull"
|
||||
L["Pulse"] = "Pulsar"
|
||||
L["PvP Flagged"] = "Marcado para JxJ"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent selected"] = "PvP Talent selected"
|
||||
--[[Translation missing --]]
|
||||
L["PvP Talent Selected"] = "PvP Talent Selected"
|
||||
--[[Translation missing --]]
|
||||
L["Quality Id"] = "Quality Id"
|
||||
--[[Translation missing --]]
|
||||
L["Quantity"] = "Quantity"
|
||||
@@ -2265,9 +2265,9 @@ L["Talent |cFFFF0000Not|r Selected"] = "Talent |cFFFF0000Not|r Selected"
|
||||
--[[Translation missing --]]
|
||||
L["Talent Known"] = "Talent Known"
|
||||
--[[Translation missing --]]
|
||||
L["Talent selected"] = "Talent selected"
|
||||
--[[Translation missing --]]
|
||||
L["Talent Selected"] = "Talent Selected"
|
||||
--[[Translation missing --]]
|
||||
L["Talent selected"] = "Talent selected"
|
||||
L["Talent Specialization"] = "Especialização de talentos"
|
||||
--[[Translation missing --]]
|
||||
L["Tanking And Highest"] = "Tanking And Highest"
|
||||
|
||||
@@ -238,8 +238,7 @@ L["Bottom Right"] = "Снизу справа"
|
||||
L["Bottom to Top"] = "Снизу вверх"
|
||||
L["Bounce"] = "Отскок"
|
||||
L["Bounce with Decay"] = "Отскок с затуханием"
|
||||
--[[Translation missing --]]
|
||||
L["Break"] = "Break"
|
||||
L["Break"] = "Перерыв"
|
||||
L["BreakUpLargeNumbers (Blizzard)"] = "РазделениеБольшихЧисел (Blizzard)"
|
||||
L["Broodlord Lashlayer"] = "Предводитель драконов Разящий Бич"
|
||||
L["Buff"] = "Бафф"
|
||||
@@ -677,8 +676,8 @@ L["Hybrid"] = "Гибридная"
|
||||
L["Icon"] = "Иконка"
|
||||
L["Icon Function"] = "Функция иконки"
|
||||
L["Icon Function (fallback state)"] = "Функция иконки (резервное состояние)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "ID"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "Если вам необходима дополнительная помощь, пожалуйста, откройте запрос на GitHub или посетите наш сервер в Discord по адресу https://discord.gg/weakauras."
|
||||
L["Ignore Dead"] = "Не учитывать мёртвые цели"
|
||||
L["Ignore Disconnected"] = "Не учитывать игроков не в сети"
|
||||
@@ -833,9 +832,9 @@ L[ [=[Matches stage number of encounter journal.
|
||||
Intermissions are .5
|
||||
E.g. 1;2;1;2;2.5;3]=] ] = [=[Совпадает с номером фазы в журнале сражения с боссом. Смена фаз нумеруется как x.5
|
||||
Например: 1, 2, 1, 2, 2.5, 3.]=]
|
||||
L["Max Char "] = "Макс. количество символов"
|
||||
--[[Translation missing --]]
|
||||
L["Max Char"] = "Max Char"
|
||||
L["Max Char "] = "Макс. количество символов"
|
||||
L["Max Charges"] = "Макс. количество зарядов"
|
||||
L["Max Health"] = "Макс. запас здоровья"
|
||||
L["Max Power"] = "Макс. запас энергии"
|
||||
@@ -1072,8 +1071,8 @@ L["Progress Value"] = "Текущее значение"
|
||||
L["Pull"] = "Pull"
|
||||
L["Pulse"] = "Пульсация"
|
||||
L["PvP Flagged"] = "В режиме PvP"
|
||||
L["PvP Talent Selected"] = "PvP талант выбран"
|
||||
L["PvP Talent selected"] = "PvP талант выбран"
|
||||
L["PvP Talent Selected"] = "PvP талант выбран"
|
||||
L["Quality Id"] = "ID качества"
|
||||
L["Quantity"] = "Количество"
|
||||
L["Quantity earned this week"] = "Заработано на этой неделе"
|
||||
|
||||
@@ -696,8 +696,8 @@ L["Instakill"] = "秒杀"
|
||||
L["Install the addons BugSack and BugGrabber for detailed error logs."] = "安装BugSack和BugGrabber插件以获得详细错误记录。"
|
||||
L["Instance"] = "副本"
|
||||
L["Instance Difficulty"] = "副本难度"
|
||||
L["Instance ID"] = "副本ID"
|
||||
L["Instance Id"] = "副本ID"
|
||||
L["Instance ID"] = "副本ID"
|
||||
L["Instance Info"] = "副本信息"
|
||||
L["Instance Name"] = "副本名称"
|
||||
L["Instance Size Type"] = "副本大小类型"
|
||||
@@ -811,8 +811,8 @@ L["Matches (Pattern)"] = "匹配(表达式)"
|
||||
L[ [=[Matches stage number of encounter journal.
|
||||
Intermissions are .5
|
||||
E.g. 1;2;1;2;2.5;3]=] ] = "符合冒险指南的阶段。转阶段为.5。例如1;2;1;2;2.5;3"
|
||||
L["Max Char"] = "最大字符数"
|
||||
L["Max Char "] = "最大字符数"
|
||||
L["Max Char"] = "最大字符数"
|
||||
L["Max Charges"] = "最大充能次数"
|
||||
L["Max Health"] = "最大生命值"
|
||||
L["Max Power"] = "最大能量值"
|
||||
@@ -1084,8 +1084,8 @@ L["Progress Value"] = "进度值"
|
||||
L["Pull"] = "Pull"
|
||||
L["Pulse"] = "脉动"
|
||||
L["PvP Flagged"] = "PvP 状态"
|
||||
L["PvP Talent Selected"] = "已选择PvP天赋"
|
||||
L["PvP Talent selected"] = "PvP 天赋选择"
|
||||
L["PvP Talent Selected"] = "已选择PvP天赋"
|
||||
L["Quality Id"] = "品质ID"
|
||||
L["Quantity"] = "数量"
|
||||
L["Quantity earned this week"] = "本周获取数量"
|
||||
|
||||
@@ -646,8 +646,8 @@ L["Hybrid"] = "混合"
|
||||
L["Icon"] = "圖示"
|
||||
L["Icon Function"] = "圖示功能"
|
||||
L["Icon Function (fallback state)"] = "圖示函數 (備用狀態)"
|
||||
L["ID"] = "ID"
|
||||
L["Id"] = "Id"
|
||||
L["ID"] = "ID"
|
||||
L["If you require additional assistance, please open a ticket on GitHub or visit our Discord at https://discord.gg/weakauras!"] = "如果你需要其他協助,請在 GitHub 新增問題,或拜訪我們的 Discord https://discord.gg/weakauras!"
|
||||
L["Ignore Dead"] = "忽略死者"
|
||||
L["Ignore Disconnected"] = "忽略離線者"
|
||||
@@ -1051,8 +1051,8 @@ L["Progress Value"] = "進度值"
|
||||
L["Pull"] = "拉怪"
|
||||
L["Pulse"] = "跳動"
|
||||
L["PvP Flagged"] = "PvP 標幟"
|
||||
L["PvP Talent Selected"] = "已選擇的 PvP 天賦"
|
||||
L["PvP Talent selected"] = "選擇的 PvP 天賦"
|
||||
L["PvP Talent Selected"] = "已選擇的 PvP 天賦"
|
||||
L["Quality Id"] = "品質id"
|
||||
L["Quantity"] = "數量"
|
||||
L["Quantity earned this week"] = "本週獲取數量"
|
||||
|
||||
Binary file not shown.
@@ -236,7 +236,7 @@ local function SendChat(self, options)
|
||||
if (not options or WeakAuras.IsOptionsOpen()) then
|
||||
return
|
||||
end
|
||||
Private.HandleChatAction(options.message_type, options.message, options.message_dest, options.message_dest_isunit, options.message_channel, options.r, options.g, options.b, self, options.message_custom, nil, options.message_formaters);
|
||||
Private.HandleChatAction(options.message_type, options.message, options.message_dest, options.message_dest_isunit, options.message_channel, options.r, options.g, options.b, self, {customFunc = options.message_custom}, nil, options.message_formaters);
|
||||
end
|
||||
|
||||
local function RunCode(self, func)
|
||||
|
||||
@@ -195,7 +195,6 @@ local funcs = {
|
||||
self.tick_color[1], self.tick_color[2], self.tick_color[3], self.tick_color[4] = r, g, b, a or 1
|
||||
if self.use_texture then
|
||||
for _, tick in ipairs(self.ticks) do
|
||||
tick:SetTexture(r, g, b, a or 1)
|
||||
tick:SetVertexColor(r, g, b, a or 1)
|
||||
end
|
||||
self:UpdateTickDesaturated()
|
||||
|
||||
+18
-15
@@ -3357,10 +3357,10 @@ function Private.ReleaseClone(id, cloneId, regionType)
|
||||
end
|
||||
end
|
||||
|
||||
function Private.HandleChatAction(message_type, message, message_dest, message_dest_isunit, message_channel, r, g, b, region, customFunc, when, formatters)
|
||||
function Private.HandleChatAction(message_type, message, message_dest, message_dest_isunit, message_channel, r, g, b, region, customCache, when, formatters)
|
||||
local useHiddenStates = when == "finish"
|
||||
if (message:find('%%')) then
|
||||
message = Private.ReplacePlaceHolders(message, region, customFunc, useHiddenStates, formatters);
|
||||
message = Private.ReplacePlaceHolders(message, region, customCache, useHiddenStates, formatters);
|
||||
end
|
||||
if(message_type == "PRINT") then
|
||||
DEFAULT_CHAT_FRAME:AddMessage(message, r or 1, g or 1, b or 1);
|
||||
@@ -3389,7 +3389,7 @@ function Private.HandleChatAction(message_type, message, message_dest, message_d
|
||||
elseif(message_type == "WHISPER") then
|
||||
if(message_dest) then
|
||||
if (message_dest:find('%%')) then
|
||||
message_dest = Private.ReplacePlaceHolders(message_dest, region, customFunc, useHiddenStates, formatters);
|
||||
message_dest = Private.ReplacePlaceHolders(message_dest, region, customCache, useHiddenStates, formatters);
|
||||
end
|
||||
if message_dest_isunit == true then
|
||||
message_dest = UnitName(message_dest)
|
||||
@@ -3655,7 +3655,7 @@ function Private.PerformActions(data, when, region)
|
||||
|
||||
if(actions.do_message and actions.message_type and actions.message) then
|
||||
local customFunc = Private.customActionsFunctions[data.id][when .. "_message"];
|
||||
Private.HandleChatAction(actions.message_type, actions.message, actions.message_dest, actions.message_dest_isunit, actions.message_channel, actions.r, actions.g, actions.b, region, customFunc, when, formatters);
|
||||
Private.HandleChatAction(actions.message_type, actions.message, actions.message_dest, actions.message_dest_isunit, actions.message_channel, actions.r, actions.g, actions.b, region, {customFunc = customFunc}, when, formatters);
|
||||
end
|
||||
|
||||
if (actions.stop_sound) then
|
||||
@@ -4846,15 +4846,18 @@ function Private.RunCustomTextFunc(region, customFunc)
|
||||
return custom
|
||||
end
|
||||
|
||||
local function ReplaceValuePlaceHolders(textStr, region, customFunc, state, formatter, trigger)
|
||||
local function ReplaceValuePlaceHolders(textStr, region, customCache, state, formatter, trigger)
|
||||
local value;
|
||||
|
||||
local customIndexSubStr = textStr:match("^c(%d*)$")
|
||||
|
||||
if customIndexSubStr then
|
||||
local custom
|
||||
if customFunc then
|
||||
custom = Private.RunCustomTextFunc(region, customFunc)
|
||||
if customCache then
|
||||
if not customCache.custom then
|
||||
customCache.custom = Private.RunCustomTextFunc(region, customCache.customFunc)
|
||||
end
|
||||
custom = customCache.custom
|
||||
else
|
||||
custom = region.values.custom
|
||||
end
|
||||
@@ -5008,7 +5011,7 @@ end
|
||||
|
||||
Private.ContainsPlaceHoldersPredicate = ContainsPlaceHolders
|
||||
|
||||
local function ValueForSymbol(symbol, region, customFunc, regionState, regionStates, useHiddenStates, formatters)
|
||||
local function ValueForSymbol(symbol, region, customCache, regionState, regionStates, useHiddenStates, formatters)
|
||||
local triggerNum, sym = string.match(symbol, "(.+)%.(.+)")
|
||||
triggerNum = triggerNum and tonumber(triggerNum)
|
||||
if triggerNum and sym then
|
||||
@@ -5022,7 +5025,7 @@ local function ValueForSymbol(symbol, region, customFunc, regionState, regionSta
|
||||
return tostring(value) or ""
|
||||
end
|
||||
else
|
||||
local value = ReplaceValuePlaceHolders(sym, region, customFunc, regionStates[triggerNum], formatters[symbol], triggerNum);
|
||||
local value = ReplaceValuePlaceHolders(sym, region, customCache, regionStates[triggerNum], formatters[symbol], triggerNum);
|
||||
return value or ""
|
||||
end
|
||||
end
|
||||
@@ -5040,12 +5043,12 @@ local function ValueForSymbol(symbol, region, customFunc, regionState, regionSta
|
||||
return ""
|
||||
else
|
||||
local value = (useHiddenStates or regionState.show)
|
||||
and ReplaceValuePlaceHolders(symbol, region, customFunc, regionState, formatters[symbol], regionState.triggernum)
|
||||
and ReplaceValuePlaceHolders(symbol, region, customCache, regionState, formatters[symbol], regionState.triggernum)
|
||||
return value or ""
|
||||
end
|
||||
end
|
||||
|
||||
function Private.ReplacePlaceHolders(textStr, region, customFunc, useHiddenStates, formatters)
|
||||
function Private.ReplacePlaceHolders(textStr, region, customCache, useHiddenStates, formatters)
|
||||
local regionValues = region.values;
|
||||
local regionState = region.state or {};
|
||||
local regionStates = region.states or {};
|
||||
@@ -5064,7 +5067,7 @@ function Private.ReplacePlaceHolders(textStr, region, customFunc, useHiddenState
|
||||
if symbol == "%" then
|
||||
return "%" -- Double % input
|
||||
end
|
||||
local value = ValueForSymbol(symbol, region, customFunc, regionState, regionStates, useHiddenStates, formatters);
|
||||
local value = ValueForSymbol(symbol, region, customCache, regionState, regionStates, useHiddenStates, formatters);
|
||||
if (value) then
|
||||
textStr = tostring(value);
|
||||
end
|
||||
@@ -5097,7 +5100,7 @@ function Private.ReplacePlaceHolders(textStr, region, customFunc, useHiddenState
|
||||
-- 0-9a-zA-Z or dot character
|
||||
else -- End of variable
|
||||
local symbol = string.sub(textStr, start, currentPos - 1)
|
||||
result = result .. ValueForSymbol(symbol, region, customFunc, regionState, regionStates, useHiddenStates, formatters)
|
||||
result = result .. ValueForSymbol(symbol, region, customCache, regionState, regionStates, useHiddenStates, formatters)
|
||||
|
||||
if char == 37 then
|
||||
-- Do nothing
|
||||
@@ -5108,7 +5111,7 @@ function Private.ReplacePlaceHolders(textStr, region, customFunc, useHiddenState
|
||||
elseif state == 3 then
|
||||
if char == 125 then -- } closing brace
|
||||
local symbol = string.sub(textStr, start, currentPos - 1)
|
||||
result = result .. ValueForSymbol(symbol, region, customFunc, regionState, regionStates, useHiddenStates, formatters)
|
||||
result = result .. ValueForSymbol(symbol, region, customCache, regionState, regionStates, useHiddenStates, formatters)
|
||||
start = currentPos + 1
|
||||
end
|
||||
end
|
||||
@@ -5120,7 +5123,7 @@ function Private.ReplacePlaceHolders(textStr, region, customFunc, useHiddenState
|
||||
result = result .. string.sub(textStr, start, currentPos - 1)
|
||||
elseif state == 2 and currentPos > start then
|
||||
local symbol = string.sub(textStr, start, currentPos - 1)
|
||||
result = result .. ValueForSymbol(symbol, region, customFunc, regionState, regionStates, useHiddenStates, formatters)
|
||||
result = result .. ValueForSymbol(symbol, region, customCache, regionState, regionStates, useHiddenStates, formatters)
|
||||
elseif state == 1 then
|
||||
result = result .. "%"
|
||||
end
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Interface: 30300
|
||||
## Title: WeakAuras
|
||||
## Author: The WeakAuras Team
|
||||
## Version: 5.20.4
|
||||
## Version: 5.20.5
|
||||
## IconTexture: Interface\AddOns\WeakAuras\Media\Textures\icon.blp
|
||||
## X-Flavor: 3.3.5
|
||||
## Notes: A powerful, comprehensive utility for displaying graphics and information based on buffs, debuffs, and other triggers.
|
||||
|
||||
Reference in New Issue
Block a user