Skip to content

Commit f309445

Browse files
committed
fix interrupt msg for a832617
1 parent 8bc196f commit f309445

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ElvUI/Core/Modules/Misc/Misc.lua

+7-1
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,14 @@ function M:COMBAT_LOG_EVENT_UNFILTERED()
119119
inRaid = false --IsInRaid() returns true for arenas and they should not be considered a raid
120120
end
121121

122+
local name, msg = destName or UNKNOWN
123+
if E.locale == 'msMX' or E.locale == 'esES' or E.locale == 'ptBR' then -- name goes after
124+
msg = (E.Retail or E.Wrath) and format(INTERRUPT_MSG, spellID, spellName, name) or format(INTERRUPT_MSG, spellName, name)
125+
else
126+
msg = (E.Retail or E.Wrath) and format(INTERRUPT_MSG, name, spellID, spellName) or format(INTERRUPT_MSG, name, spellName)
127+
end
128+
122129
local channel = E.db.general.interruptAnnounce
123-
local msg = (E.Retail or E.Wrath) and format(INTERRUPT_MSG, destName or UNKNOWN, spellID, spellName) or format(INTERRUPT_MSG, destName or UNKNOWN, spellName)
124130
if channel == 'PARTY' then
125131
SendChatMessage(msg, inPartyLFG and 'INSTANCE_CHAT' or 'PARTY')
126132
elseif channel == 'RAID' then

ElvUI/Locales/ptBR.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ L["Importance: |cffFF3333High|r"] = "Importância: |cffFF3333Alta|r"
172172
L["In Progress"] = "Em Progresso"
173173
L["INCOMPATIBLE_ADDON"] = "%s is not compatible with %s.\nPlease select the addon/module to use."
174174
L["Installation Complete"] = "Instalação Completa"
175-
L["Interrupted %s's |cff71d5ff|Hspell:%d:0|h[%s]|h|r!"] = "Interrompeu %s's |cff71d5ff|Hspell:%d:0|h[%s]|h|r!"
175+
L["Interrupted %s's |cff71d5ff|Hspell:%d:0|h[%s]|h|r!"] = "Interrompeu |cff71d5ff|Hspell:%d:0|h[%s]|h|r de %s!"
176176
L["Invalid Target"] = "Alvo inválido"
177177
L["is looking for members"] = true
178178
L["It appears one of your AddOns have disabled the AddOn Blizzard_CompactRaidFrames. This can cause errors and other issues. The AddOn will now be re-enabled."] = "Parece que um dos seus AddOns desabilitou o Addon Blizzard_CompactRaidFrames. Isto pode causar erros e outros problemas. O AddOn será agora reabilitado"

0 commit comments

Comments
 (0)