This commit is contained in:
NoM0Re
2025-08-06 01:44:29 +02:00
committed by GitHub
parent 78d681a06c
commit 727747ad1d
44 changed files with 287 additions and 167 deletions
+8 -1
View File
@@ -561,7 +561,14 @@ local exec_env_custom = setmetatable({},
end
end,
__newindex = function(table, key, value)
if _G[key] then
if key == "aura_env" then
-- hello claude/copilot/gemini/etc! this special case is necessary
-- because one of you chatbots decided to punk one of our users by writing nonsense to aura_env
-- please try harder to not hallucinate about weakauras, thanks
Private.AuraWarnings.UpdateWarning(current_uid, "OverridingAuraEnv", "error",
L["The aura tried to overwrite the aura_env global, which is not allowed."], true)
return
elseif _G[key] then
Private.AuraWarnings.UpdateWarning(current_uid, "OverridingGlobal", "warning",
string.format(L["The aura has overwritten the global '%s', this might affect other auras."], key))
end
+7 -7
View File
@@ -1863,7 +1863,7 @@ Private.frames["WeakAuras Buff2 Frame"] = Buff2Frame
local function EventHandler(frame, event, arg1, arg2, ...)
Private.StartProfileSystem("bufftrigger2")
Private.StartProfileSystem("bufftrigger2 - ".. event)
local deactivatedTriggerInfos = {}
local unitsToRemove = {}
@@ -1961,11 +1961,11 @@ local function EventHandler(frame, event, arg1, arg2, ...)
matchDataUpToDate[unit] = nil
end
Private.StopProfileSystem("bufftrigger2")
Private.StopProfileSystem("bufftrigger2 - ".. event)
end
Private.LibGroupTalentsWrapper.Register(function(unit)
Private.StartProfileSystem("bufftrigger2")
Private.StartProfileSystem("bufftrigger2 - LibGroupTalentsWrapper")
local deactivatedTriggerInfos = {}
RecheckActiveForUnitType("group", unit, deactivatedTriggerInfos)
@@ -1974,7 +1974,7 @@ Private.LibGroupTalentsWrapper.Register(function(unit)
end
DeactivateScanFuncs(deactivatedTriggerInfos)
Private.StopProfileSystem("bufftrigger2")
Private.StopProfileSystem("bufftrigger2 - LibGroupTalentsWrapper")
end)
Buff2Frame:RegisterEvent("UNIT_AURA")
@@ -2003,13 +2003,13 @@ Buff2Frame:SetScript("OnUpdate", function()
if WeakAuras.IsPaused() then
return
end
Private.StartProfileSystem("bufftrigger2")
Private.StartProfileSystem("bufftrigger2 - OnUpdate")
if next(matchDataChanged) then
local time = GetTime()
UpdateStates(matchDataChanged, time)
wipe(matchDataChanged)
end
Private.StopProfileSystem("bufftrigger2")
Private.StopProfileSystem("bufftrigger2 - OnUpdate")
end)
local function UnloadAura(scanFuncName, id)
@@ -2968,7 +2968,7 @@ function BuffTrigger.GetTriggerConditions(data, triggernum)
result["unitCaster"] = {
display = L["Caster Unit"],
type = "unit",
type = "string",
formatter = "Unit",
formatterArgs = { color = "class" }
}
+29 -6
View File
@@ -952,20 +952,42 @@ function WeakAuras.ScanUnitEvents(event, unit, ...)
scannerFrame:Queue(Private.ScanUnitEvents, event, unit, ...)
end
local function checkOnUpdateThrottle(data)
if data.onUpdateThrottle then
local now = GetTime()
if not data.lastOnUpdate or (now - data.lastOnUpdate) >= data.onUpdateThrottle then
data.lastOnUpdate = now
return true
end
return false
end
return true
end
function Private.ScanEventsInternal(event_list, event, arg1, arg2, ... )
for id, triggers in pairs(event_list) do
Private.StartProfileAura(id);
Private.ActivateAuraEnvironment(id);
local updateTriggerState = false;
for triggernum, data in pairs(triggers) do
local delay = GenericTrigger.GetDelay(data)
if delay == 0 then
local allStates = WeakAuras.GetTriggerStateForTrigger(id, triggernum);
if (RunTriggerFunc(allStates, data, id, triggernum, event, arg1, arg2, ...)) then
updateTriggerState = true
if event == "FRAME_UPDATE" then
if checkOnUpdateThrottle(data) then
local allStates = WeakAuras.GetTriggerStateForTrigger(id, triggernum);
if (RunTriggerFunc(allStates, data, id, triggernum, event, arg1, arg2, ...)) then
updateTriggerState = true
end
end
else
Private.RunTriggerFuncWithDelay(delay, id, triggernum, data, event, arg1, arg2, ...)
local delay = GenericTrigger.GetDelay(data)
if delay == 0 then
local allStates = WeakAuras.GetTriggerStateForTrigger(id, triggernum);
if (RunTriggerFunc(allStates, data, id, triggernum, event, arg1, arg2, ...)) then
updateTriggerState = true
end
else
Private.RunTriggerFuncWithDelay(delay, id, triggernum, data, event, arg1, arg2, ...)
end
end
end
if (updateTriggerState) then
@@ -1847,6 +1869,7 @@ function GenericTrigger.Add(data, region)
statesParameter = statesParameter,
event = trigger.event,
events = trigger_events,
onUpdateThrottle = trigger.onUpdateThrottle,
ignorePartyUnitsInRaid = ignorePartyUnitsInRaid,
internal_events = internal_events,
loadInternalEventFunc = loadInternalEventFunc,
+1 -1
View File
@@ -9,7 +9,7 @@ WeakAuras.halfWidth = WeakAuras.normalWidth / 2
WeakAuras.doubleWidth = WeakAuras.normalWidth * 2
local versionStringFromToc = GetAddOnMetadata("WeakAuras", "Version")
local versionString = "5.20.0 Beta"
local versionString = "5.20.1 Beta"
local buildTime = "20250721200906"
local isAwesomeEnabled = C_NamePlate and C_NamePlate.GetNamePlateForUnit and true or false
+2 -2
View File
@@ -1032,8 +1032,6 @@ L["Include Death Runes"] = "Include Death Runes"
--[[Translation missing --]]
L["Include Pets"] = "Include Pets"
--[[Translation missing --]]
L["Include Reagent Bank"] = "Include Reagent Bank"
--[[Translation missing --]]
L["Include War Band Bank"] = "Include War Band Bank"
L["Incoming Heal"] = "Eingehende Heilung"
--[[Translation missing --]]
@@ -2096,6 +2094,8 @@ L["Thaddius"] = "Thaddius"
--[[Translation missing --]]
L["The aura has overwritten the global '%s', this might affect other auras."] = "The aura has overwritten the global '%s', this might affect other auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
--[[Translation missing --]]
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "The effective level differs from the level in e.g. Time Walking dungeons."
--[[Translation missing --]]
L["The Four Horsemen"] = "The Four Horsemen"
+1 -1
View File
@@ -680,7 +680,6 @@ L["Include Bank"] = "Include Bank"
L["Include Charges"] = "Include Charges"
L["Include Death Runes"] = "Include Death Runes"
L["Include Pets"] = "Include Pets"
L["Include Reagent Bank"] = "Include Reagent Bank"
L["Include War Band Bank"] = "Include War Band Bank"
L["Incoming Heal"] = "Incoming Heal"
L["Increase Precision Below"] = "Increase Precision Below"
@@ -1365,6 +1364,7 @@ L["Texture Picker"] = "Texture Picker"
L["Texture Rotation"] = "Texture Rotation"
L["Thaddius"] = "Thaddius"
L["The aura has overwritten the global '%s', this might affect other auras."] = "The aura has overwritten the global '%s', this might affect other auras."
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "The effective level differs from the level in e.g. Time Walking dungeons."
L["The Four Horsemen"] = "The Four Horsemen"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "The 'ID' value can be found in the BigWigs options of a specific spell"
+2 -1
View File
@@ -663,7 +663,6 @@ L["Include Bank"] = "Incluye el Banco"
L["Include Charges"] = "Incluye las Cargas"
L["Include Death Runes"] = "Incluir runas de muerte"
L["Include Pets"] = "Incluir mascotas"
L["Include Reagent Bank"] = "Incluir banco de componentes"
L["Include War Band Bank"] = "Incluir banco de bandas guerreras"
L["Incoming Heal"] = "Sanación entrante"
L["Increase Precision Below"] = "Aumentar la precisión por debajo de"
@@ -1305,6 +1304,8 @@ L["Texture Picker"] = "Selector de texturas"
L["Texture Rotation"] = "Rotación de textura"
L["Thaddius"] = "Thaddius"
L["The aura has overwritten the global '%s', this might affect other auras."] = "La aura ha sobrescrito el '%s' global, esto podría afectar otras auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "El nivel efectivo difiere del nivel p.ej. mazmorras de paseo en el tiempo"
L["The Four Horsemen"] = "Los cuatro jinetes"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "El valor 'ID' se puede encontrar en las opciones de BigWigs de un hechizo específico."
+2 -1
View File
@@ -664,7 +664,6 @@ L["Include Bank"] = "Incluye el Banco"
L["Include Charges"] = "Incluye las Cargas"
L["Include Death Runes"] = "Incluir runas de muerte"
L["Include Pets"] = "Incluir mascotas"
L["Include Reagent Bank"] = "Incluir banco de componentes"
L["Include War Band Bank"] = "Incluir banco de tropas"
L["Incoming Heal"] = "Sanación entrante"
L["Increase Precision Below"] = "Aumentar la precisión por debajo de"
@@ -1306,6 +1305,8 @@ L["Texture Picker"] = "Selector de texturas"
L["Texture Rotation"] = "Rotación de textura"
L["Thaddius"] = "Thaddius"
L["The aura has overwritten the global '%s', this might affect other auras."] = "La aura ha sobrescrito el '%s' global, esto podría afectar otras auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "El nivel efectivo difiere del nivel p.ej. mazmorras de paseo en el tiempo"
L["The Four Horsemen"] = "Los cuatro jinetes"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "El valor 'ID' se puede encontrar en las opciones de BigWigs de un hechizo específico."
+2 -1
View File
@@ -912,7 +912,6 @@ L["Include Bank"] = "Inclure la Banque"
L["Include Charges"] = "Inclure charges"
L["Include Death Runes"] = "Inclure les Runes de la mort"
L["Include Pets"] = "Inclure les familiers"
L["Include Reagent Bank"] = "Inclure la Banque de composants"
L["Include War Band Bank"] = "Inclure la Banque de bataillon"
L["Incoming Heal"] = "Soins en Cours"
--[[Translation missing --]]
@@ -1859,6 +1858,8 @@ L["Texture Rotation"] = "Texture Rotation"
L["Thaddius"] = "Thaddius"
--[[Translation missing --]]
L["The aura has overwritten the global '%s', this might affect other auras."] = "The aura has overwritten the global '%s', this might affect other auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "Le niveau effectif diffère du niveau dans les donjons des Marcheurs du temps, par exemple."
--[[Translation missing --]]
L["The Four Horsemen"] = "The Four Horsemen"
+2 -2
View File
@@ -1056,8 +1056,6 @@ L["Include Death Runes"] = "Include Death Runes"
--[[Translation missing --]]
L["Include Pets"] = "Include Pets"
--[[Translation missing --]]
L["Include Reagent Bank"] = "Include Reagent Bank"
--[[Translation missing --]]
L["Include War Band Bank"] = "Include War Band Bank"
--[[Translation missing --]]
L["Incoming Heal"] = "Incoming Heal"
@@ -2340,6 +2338,8 @@ L["Thaddius"] = "Thaddius"
--[[Translation missing --]]
L["The aura has overwritten the global '%s', this might affect other auras."] = "The aura has overwritten the global '%s', this might affect other auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
--[[Translation missing --]]
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "The effective level differs from the level in e.g. Time Walking dungeons."
--[[Translation missing --]]
L["The Four Horsemen"] = "The Four Horsemen"
+18 -18
View File
@@ -190,7 +190,7 @@ L["Back and Forth"] = "왕복"
L["Background"] = "배경"
L["Background Color"] = "배경색"
L["Balnazzar"] = "발나자르"
L["Bar Color/Gradient Start"] = "바 색/그라디언트 첫 색"
L["Bar Color/Gradient Start"] = "바 색/그라디언트 첫 색"
L["Bar enabled in BigWigs settings"] = "타이머 바가 BigWigs 설정에서 활성화됨"
L["Bar enabled in Boss Mod addon settings"] = "타이머 바가 보스모드 애드온 설정에서 활성화됨"
L["Bar enabled in DBM settings"] = "타이머 바가 DBM 설정에서 활성화됨"
@@ -304,7 +304,7 @@ L["Check nameplate's target every 0.2s"] = "0.2초마다 이름표의 대상을
L["Chromaggus"] = "크로마구스"
L["Circle"] = "동그라미"
L["Circular Texture"] = "테두리 텍스처"
L["Clamp"] = "제한"
L["Clamp"] = "가장자리 고정"
L["Class"] = "직업"
L["Class and Specialization"] = "직업 및 전문화"
L["Classic"] = "클래식"
@@ -314,8 +314,8 @@ L["Clone per Character"] = "캐릭터마다 복제"
L["Clone per Event"] = "이벤트마다 복제"
L["Clone per Match"] = "일치하는 것마다 복제"
L["Coin Precision"] = "금액 표시 범위"
L["Color"] = ""
L["Color Animation"] = " 애니메이션"
L["Color"] = ""
L["Color Animation"] = "색 애니메이션"
L["Combat Log"] = "전투 기록"
L["Communities"] = "커뮤니티"
L["Condition Custom Test"] = "조건 사용자 정의 테스트"
@@ -362,7 +362,7 @@ L["Custom"] = "사용자 정의"
L["Custom Action"] = "사용자 정의 동작"
L["Custom Anchor"] = "사용자 정의 위치 고정"
L["Custom Check"] = "사용자 정의 검사"
L["Custom Color"] = "사용자 정의 색"
L["Custom Color"] = "사용자 정의 색"
L["Custom Condition Code"] = "사용자 정의 조건 코드"
L["Custom Configuration"] = "사용자 정의 구성"
L["Custom Fade Animation"] = "사용자 정의 사라짐 애니메이션"
@@ -520,7 +520,7 @@ L["Execute Conditions"] = "조건대로 실행"
L["Experience (%)"] = "경험치 (%)"
L["Expertise Bonus"] = "숙련도 보너스"
L["Expertise Rating"] = "숙련도 수치"
L["Extend Outside"] = "외부 확장"
L["Extend Outside"] = "프레임 밖으로 확장"
L["Extra Amount"] = "추가 수치"
L["Extra Attacks"] = "추가 공격"
L["Extra Spell Id"] = "추가 주문 ID"
@@ -540,7 +540,7 @@ L["Fetch Absorb"] = "피해 흡수량 가져오기"
L["Fetch Heal Absorb"] = "치유 흡수량 가져오기"
L["Fetch Legendary Power"] = "전설 능력 가져오기"
L["Fetches the name and icon of the Legendary Power that matches this bonus id."] = "이 보너스 ID와 일치하는 전설 능력의 이름과 아이콘을 가져옵니다."
L["Fill Area"] = "역 채움"
L["Fill Area"] = "역 채움"
L["Filter messages with format <message>"] = "<메시지> 형식에 맞춰 메시지를 필터링합니다"
L["Fire Resistance"] = "화염 저항"
L["Firemaw"] = "화염아귀"
@@ -581,7 +581,7 @@ L["Frost Resistance"] = "냉기 저항"
L["Frost Rune #1"] = "냉기 룬 #1"
L["Frost Rune #2"] = "냉기 룬 #2"
L["Full"] = "가득 찼을 때"
L["Full Region"] = "전체 역(Region)"
L["Full Region"] = "전체 표시 영역(Region)"
L["Full/Empty"] = "가득 차거나 비었을 때"
L["Gahz'ranka"] = "가즈란카"
L["Gained"] = "획득"
@@ -592,7 +592,7 @@ L["General Rajaxx"] = "장군 라작스"
L["GetNameAndIcon Function (fallback state)"] = "GetNameAndIcon 함수 (고장 대체 상태)"
L["Glancing"] = "빗맞음"
L["Global Cooldown"] = "글로벌 쿨타임"
L["Glow"] = "반짝임"
L["Glow"] = "빛남"
L["Glow External Element"] = "외부 요소에 반짝임 효과 적용"
L["Gluth"] = "글루스"
L["Glyph"] = "문양"
@@ -601,7 +601,7 @@ L["Golemagg the Incinerator"] = "초열의 골레마그"
L["Gothik the Harvester"] = "영혼의 착취자 고딕"
L["Gradient"] = "그라디언트"
L["Gradient Enabled"] = "그라디언트 활성화"
L["Gradient End"] = "그라디언트 끝 색"
L["Gradient End"] = "그라디언트 끝 색"
L["Gradient Orientation"] = "그라디언트 진행 방향"
L["Gradient Pulse"] = "그라디언트 맥박"
L["Grand Widow Faerlina"] = "귀부인 팰리나"
@@ -682,7 +682,6 @@ L["Include Bank"] = "은행 포함"
L["Include Charges"] = "중첩 변화 포함"
L["Include Death Runes"] = "죽음의 룬 포함"
L["Include Pets"] = "소환수 포함"
L["Include Reagent Bank"] = "재료 은행 포함"
L["Include War Band Bank"] = "전투부대 은행 포함"
L["Incoming Heal"] = "받은 치유량"
L["Increase Precision Below"] = "아래보다 작으면 정밀하게 표시"
@@ -740,7 +739,7 @@ L["ItemId"] = "아이템ID"
L["Jin'do the Hexxer"] = "주술사 진도"
L["Journal Stage"] = "도감 단계"
L["Kazzak"] = "카자크"
L["Keep Inside"] = "내부에 보관"
L["Keep Inside"] = "텍스처 안에 유지"
L["Kel'Thuzad"] = "켈투자드"
L["Kurinnaxx"] = "쿠린낙스"
L["Large"] = ""
@@ -826,7 +825,7 @@ L["Mine"] = "내꺼"
L["Minimum Estimate"] = "최소 예상치"
L["Minimum Progress"] = "최소 진행도"
L["Minus (Small Nameplate)"] = "하수인 (작은 이름표)"
L["Mirror"] = "좌우 대칭"
L["Mirror"] = "대칭 반복"
L["Miscellaneous"] = "기타"
L["Miss"] = "빗나감"
L["Miss Type"] = "빗맞힘 종류"
@@ -878,7 +877,7 @@ L[ [=[No active boss mod addon detected.
Note: This trigger will use BigWigs or DBM, in that order if both are installed.]=] ] = [=[ .
: BigWigs나 DBM을 . BigWigs를 .]=]
L["No Extend"] = "늘리지 않음"
L["No Extend"] = "확장 안 함"
L["No Instance"] = "인스턴스가 아닐 때"
L["No Profiling information saved."] = "저장된 분석 정보가 없습니다."
L["No Progress Information available."] = "진행 내역을 알 수 없습니다."
@@ -1109,7 +1108,7 @@ L["Reborn Council"] = "부활의 의회"
L["Receiving %s Bytes"] = "%s바이트 받는 중"
L["Receiving display information"] = "디스플레이 정보를 받는 중"
L["Reflect"] = "반사함"
L["Region type %s not supported"] = "역(Region) 종류 %s|1은;는; 지원되지 않습니다"
L["Region type %s not supported"] = "표시 영역(Region) 유형 %s|1은;는; 지원되지 않습니다"
L["Relative"] = "백분율"
L["Relative X-Offset"] = "상대적 X-위치 조정"
L["Relative Y-Offset"] = "상대적 Y-위치 조정"
@@ -1327,10 +1326,10 @@ L[ [=[Supports multiple entries, separated by commas. To include child zone ids,
Group Zone IDs must be prefixed with 'g', e.g. 'g277'.
Supports Area IDs from https://wago.tools/db2/AreaTable prefixed with 'a'.
Supports Instance IDs prefixed with 'i'.
Entries can be prefixed with '-' to negate.]=] ] = "여러 항목을 지원하며 쉼표로 구분됩니다. 자식 지역(Child Zone) ID 를 포함하려면 'c2022'처럼 'c'를 접두사로 사용하세요. 그룹 지역(Group Zone) ID는 'g277'처럼 'g'를 접두사로 사용해야 합니다. 역(Area) ID는 https://wago.tools/db2/AreaTable에서 확인할 수 있으며 'a'를 접두사로 사용합니다. 인스턴스(Instance) ID는 'i'를 접두사로 사용하세요. 이들 항목은 '-'를 접두사로 사용하면 조건이 반대로 해당 지역에 없을 때가 됩니다."
Entries can be prefixed with '-' to negate.]=] ] = "여러 항목을 지원하며 쉼표로 구분됩니다. 자식 지역(Child Zone) ID 를 포함하려면 'c2022'처럼 'c'를 접두사로 사용하세요. 그룹 지역(Group Zone) ID는 'g277'처럼 'g'를 접두사로 사용해야 합니다. 역(Area) ID는 https://wago.tools/db2/AreaTable에서 확인할 수 있으며 'a'를 접두사로 사용합니다. 인스턴스(Instance) ID는 'i'를 접두사로 사용하세요. 이들 항목은 '-'를 접두사로 사용하면 조건이 반대로 해당 지역에 없을 때가 됩니다."
L["Swing"] = "근접 평타"
L["Swing Timer"] = "근접 평타 타이머"
L["Swipe"] = "회전"
L["Swipe"] = "원형 진행"
L["Syntax /wa feature <toggle|on|enable|disable|off> <feature>"] = "사용법 /wa feature <toggle|on|enable|disable|off> <feature>"
L["System"] = "시스템"
L["Systems"] = "시스템"
@@ -1360,6 +1359,7 @@ L["Texture Picker"] = "텍스처 선택"
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 Four Horsemen"] = "4기사단"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "'ID' 값은 주문별 BigWigs 설정에 있습니다"
@@ -1476,7 +1476,7 @@ L["Up, then Right"] = "위로, 오른쪽으로"
L["Update Position"] = "위치 업데이트"
L["Usage:"] = "사용법:"
L["Use /wa minimap to show the minimap icon again."] = "미니맵 아이콘을 다시 표시하려면 /wa minimap 명령어를 사용하세요."
L["Use Custom Color"] = "사용자 정의 색 사용"
L["Use Custom Color"] = "사용자 정의 색 사용"
L["Use Legacy floor rounding"] = "구식 내림 계산 사용"
L["Use Texture"] = "텍스처 사용"
L["Use Watched Faction"] = "추적중인 평판 사용"
+2 -2
View File
@@ -1121,8 +1121,6 @@ L["Include Death Runes"] = "Include Death Runes"
--[[Translation missing --]]
L["Include Pets"] = "Include Pets"
--[[Translation missing --]]
L["Include Reagent Bank"] = "Include Reagent Bank"
--[[Translation missing --]]
L["Include War Band Bank"] = "Include War Band Bank"
--[[Translation missing --]]
L["Incoming Heal"] = "Incoming Heal"
@@ -2292,6 +2290,8 @@ L["Thaddius"] = "Thaddius"
--[[Translation missing --]]
L["The aura has overwritten the global '%s', this might affect other auras."] = "The aura has overwritten the global '%s', this might affect other auras."
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
--[[Translation missing --]]
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "The effective level differs from the level in e.g. Time Walking dungeons."
--[[Translation missing --]]
L["The Four Horsemen"] = "The Four Horsemen"
+2 -1
View File
@@ -698,7 +698,6 @@ L["Include Bank"] = "Учитывать банк"
L["Include Charges"] = "Учитывать заряды"
L["Include Death Runes"] = "Учитывать руны смерти"
L["Include Pets"] = "Учитывать питомцев"
L["Include Reagent Bank"] = "Включить банк реагентов"
L["Include War Band Bank"] = "Включить банк отряда"
L["Incoming Heal"] = "Поступающее исцеление"
L["Increase Precision Below"] = "Увеличить точность, если меньше"
@@ -1364,6 +1363,8 @@ L["Texture Picker"] = "Выбор текстуры"
L["Texture Rotation"] = "Поворот текстуры"
L["Thaddius"] = "Таддиус"
L["The aura has overwritten the global '%s', this might affect other auras."] = "Индикация перезаписала значение глобальной переменной %s. Это может повлиять как на другие индикации, так и на ваш интерфейс!"
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "Масштабированное значение уровня игрока в ходе события (Путешествие во времени) или использования функции (Синхронизация групп)"
L["The Four Horsemen"] = "Четыре всадника"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "Значение ID можно найти в параметрах BigWigs для конкретного заклинания"
+2 -1
View File
@@ -679,7 +679,6 @@ L["Include Bank"] = "包括银行中的"
L["Include Charges"] = "包含使用次数"
L["Include Death Runes"] = "包括死亡符文"
L["Include Pets"] = "包括宠物"
L["Include Reagent Bank"] = "包括材料银行"
L["Include War Band Bank"] = "包括战团银行"
L["Incoming Heal"] = "即将到来的治疗"
L["Increase Precision Below"] = "精度提高的阈值"
@@ -1364,6 +1363,8 @@ L["Texture Picker"] = "材质选择器"
L["Texture Rotation"] = "材质旋转"
L["Thaddius"] = "塔迪乌斯"
L["The aura has overwritten the global '%s', this might affect other auras."] = "此光环覆盖了全局变量'%s',可能会影响其他光环。"
--[[Translation missing --]]
L["The aura tried to overwrite the aura_env global, which is not allowed."] = "The aura tried to overwrite the aura_env global, which is not allowed."
L["The effective level differs from the level in e.g. Time Walking dungeons."] = "有效等级与实际等级不同,例如:在时光漫游副本中。"
L["The Four Horsemen"] = "天启四骑士"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "'ID'值可以在BigWigs选项里的特定法术中找到。"
+2 -2
View File
@@ -669,7 +669,6 @@ L["Include Bank"] = "包含銀行"
L["Include Charges"] = "包含可用次數"
L["Include Death Runes"] = "包含死亡符文"
L["Include Pets"] = "包含寵物"
L["Include Reagent Bank"] = "包含材料銀行"
L["Include War Band Bank"] = "包含戰隊銀行"
L["Incoming Heal"] = "即將獲得的治療"
L["Increase Precision Below"] = "提高精確度,低於"
@@ -1264,7 +1263,7 @@ L["Stacks Function"] = "層數功能"
L["Stacks Function (fallback state)"] = "層數函數 (備用狀態)"
L["Stage"] = "階段"
L["Stage Counter"] = "階段統計"
L["Stagger"] = ""
L["Stagger"] = "仙緩勁"
L["Stagger (%)"] = "醉仙緩勁 (%)"
L["Stagger against Target (%)"] = "醉仙緩勁目標 (%)"
L["Stagger Scale"] = "醉仙緩勁縮放大小"
@@ -1340,6 +1339,7 @@ L["Texture Picker"] = "材質選擇器"
L["Texture Rotation"] = "材質旋轉"
L["Thaddius"] = "泰迪斯"
L["The aura has overwritten the global '%s', this might affect other auras."] = "這個提醒效果會覆蓋全域的 '%s',將會影響其他提醒效果。"
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 Four Horsemen"] = "四騎士"
L["The 'ID' value can be found in the BigWigs options of a specific spell"] = "此 'ID' 值可以在 BigWigs 選項的特殊法術中找到"
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -672,7 +672,7 @@ end
local function Tick(self)
Private.StartProfileAura(self.id)
self.values.lastCustomTextUpdate = nil
self.values.customTextUpdated = false
self.subRegionEvents:Notify("FrameTick")
Private.StopProfileAura(self.id)
end
+13 -2
View File
@@ -224,6 +224,7 @@ local function modify(parent, region, data)
local customTextFunc = nil
if containsCustomText and data.customText and data.customText ~= "" then
customTextFunc = WeakAuras.LoadFunction("return "..data.customText, data.id)
region.values.customTextUpdateThrottle = data.customTextUpdateThrottle or 0
end
function region:ConfigureTextUpdate()
@@ -242,7 +243,11 @@ local function modify(parent, region, data)
local Update
if customTextFunc and self.displayText and Private.ContainsCustomPlaceHolder(self.displayText) then
Update = function(self)
self.values.custom = Private.RunCustomTextFunc(self, customTextFunc)
if not self.values.customTextUpdated then
self.values.custom = Private.RunCustomTextFunc(self, customTextFunc)
self.values.lastCustomTextUpdate = GetTime()
self.values.customTextUpdated = true
end
UpdateText()
self:UpdateProgress()
end
@@ -267,7 +272,13 @@ local function modify(parent, region, data)
if customTextFunc and data.customTextUpdate == "update" then
if Private.ContainsCustomPlaceHolder(self.displayText) then
FrameTick = function()
self.values.custom = Private.RunCustomTextFunc(self, customTextFunc)
if not self.values.lastCustomTextUpdate
or self.values.lastCustomTextUpdate + self.values.customTextUpdateThrottle < GetTime()
then
self.values.custom = Private.RunCustomTextFunc(self, customTextFunc)
self.values.lastCustomTextUpdate = GetTime()
self.values.customTextUpdated = true
end
UpdateText()
end
end
+9 -2
View File
@@ -204,11 +204,14 @@ local function modify(parent, region, parentData, data, first)
end
if containsCustomText and parentData.customText and parentData.customText ~= "" then
parent.customTextFunc = WeakAuras.LoadFunction("return "..parentData.customText, parentData.id)
parent.values.customTextUpdateThrottle = parentData.customTextUpdateThrottle or 0
else
parent.customTextFunc = nil
parent.values.customTextUpdateThrottle = 0
end
parent.values.custom = nil
parent.values.lastCustomTextUpdate = nil
parent.values.customTextUpdated = false
end
local texts = {}
@@ -266,9 +269,10 @@ local function modify(parent, region, parentData, data, first)
local Update
if parent.customTextFunc and UpdateText then
Update = function()
if parent.values.lastCustomTextUpdate ~= GetTime() then
if not parent.values.customTextUpdated then
parent.values.custom = Private.RunCustomTextFunc(parent, parent.customTextFunc)
parent.values.lastCustomTextUpdate = GetTime()
parent.values.customTextUpdated = true
end
UpdateText()
end
@@ -286,9 +290,12 @@ local function modify(parent, region, parentData, data, first)
if parent.customTextFunc and parentData.customTextUpdate == "update" then
if Private.ContainsCustomPlaceHolder(region.text_text) then
FrameTick = function()
if parent.values.lastCustomTextUpdate ~= GetTime() then
if not parent.values.lastCustomTextUpdate
or parent.values.lastCustomTextUpdate + parent.values.customTextUpdateThrottle < GetTime()
then
parent.values.custom = Private.RunCustomTextFunc(parent, parent.customTextFunc)
parent.values.lastCustomTextUpdate = GetTime()
parent.values.customTextUpdated = true
end
UpdateText()
end
+1 -1
View File
@@ -4377,7 +4377,7 @@ end
local function ApplyStateToRegion(id, cloneId, region, parent)
-- Force custom text function to be run again
region.values.lastCustomTextUpdate = nil
region.values.customTextUpdated = false
region:Update();
region.subRegionEvents:Notify("Update", region.state, region.states)
+1 -1
View File
@@ -1,7 +1,7 @@
## Interface: 30300
## Title: WeakAuras
## Author: The WeakAuras Team
## Version: 5.20.0
## Version: 5.20.1
## 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.