Skip to content

Commit

Permalink
MC-Ragnaros: fix pull locales
Browse files Browse the repository at this point in the history
  • Loading branch information
Zidras committed Feb 12, 2024
1 parent 401f263 commit d596a97
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions DBM-MC/Ragnaros.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local mod = DBM:NewMod("Ragnaros-Classic", "DBM-MC", 1)
local L = mod:GetLocalizedStrings()

mod:SetRevision("20231224101919")
mod:SetRevision("20240212180252")
mod:SetCreatureID(11502)
mod:SetModelID(11121)
mod:SetHotfixNoticeRev(20231219000000)--2023, 12, 19
Expand Down Expand Up @@ -134,7 +134,7 @@ end
function mod:CHAT_MSG_MONSTER_YELL(msg)
if msg == L.Submerge or msg == L.Submerge2 then
self:SendSync("Submerge")
elseif msg == L.Pull and self:AntiSpam(5, 4) then
elseif (msg == L.Pull or msg:find(L.Pull)) and self:AntiSpam(5, 4) then
self:SendSync("SummonRag")
end
end
Expand Down
2 changes: 1 addition & 1 deletion DBM-MC/localization.cn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ L:SetOptionLocalization({
L:SetMiscLocalization({
Submerge = "出现吧,我的奴仆!保卫你们的主人!",
Submerge2 = "你们不是烈焰之王的敌人!出现吧,火焰的奴仆!你们的主人在召唤你们!",
Pull = "你这个莽撞的家伙!你简直是自寻死路!看吧,你惊动了主人!"
Pull = "你这个莽撞的家伙你简直是自寻死路看吧,你惊动了主人"
})

-----------------
Expand Down
2 changes: 1 addition & 1 deletion DBM-MC/localization.fr.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ L:SetOptionLocalization({
L:SetMiscLocalization({
Submerge = "VENEZ, MES SERVITEURS ! DÉFENDEZ VOTRE MAÎTRE !",
Submerge2 = "VOUS NE POUVEZ VAINCRE LA FLAMME VIVANTE ! VENEZ, SERVITEURS DU FEU ! VENEZ, CRÉATURES DE LA HAINE ! VOTRE MAÎTRE VOUS APPELLE !",
Pull = "Impudents imbéciles ! Vous vous êtes précipités vers votre propre mort ! Voyez, à présent, le Maître remue !"
Pull = "Impudents imbéciles ! Vous vous êtes précipités vers votre propre mort ! Voyez, à présent, le Maître remue !"
})

-----------------
Expand Down
2 changes: 1 addition & 1 deletion DBM-MC/localization.mx.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ L:SetOptionLocalization({
L:SetMiscLocalization({
Submerge = "¡AVANCEN, MIS SIRVIENTES! ¡DEFIENDAN A SU MAESTRO!",
Submerge2 = "¡NO PUEDEN VENCER A LA LLAMA VIVIENTE! ¡VENGAN, ESCLAVOS DEL FUEGO! ¡AVANCEN, CRIATURAS DEL ODIO! ¡SU MAESTRO LOS LLAMA!",
Pull = "¡Crías imprudentes! ¡Se han precipitado hasta su propia muerte! ¡Ahora miren, el maestro se agita!"
Pull = "¡Crías imprudentes! ¡Se han precipitado hasta su propia muerte! ¡Ahora miren, el maestro se agita!" -- on Warmane has |n at the end. Left as is since string find will still work.
})

-----------------
Expand Down
2 changes: 1 addition & 1 deletion DBM-MC/localization.tw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ L:SetOptionLocalization({
L:SetMiscLocalization({
Submerge = "出現吧,我的奴僕! 保衛你們的主人!",
Submerge2 = "你們不是烈焰之王的敵人!出現吧,火焰的奴僕!你們的主人在召喚你們!",
Pull = "你這個莽撞的傢伙你簡直是自尋死路看吧,你驚動了主人"
Pull = "你這個莽撞的傢伙!你簡直是自尋死路!看吧,你驚動了主人!"
})

-----------------
Expand Down

0 comments on commit d596a97

Please sign in to comment.