Translation Bug
tiegars opened this issue · 9 comments
I have installed v1.3 and the bug is still in the code.
Spell Ardent Defender and Guardian of Ancient Kings don't work.
equences['ProtAoE'] = {
author="Tiegars",
specID=66,
version=1,
source = "GS-myMacros",
authorversion = "v1",
helpTxt = "Talents: 2332223",
StepFunction = GSStaticPriority,
lang="deDE",
PreMacro=[[
/targetenemy [noharm][dead]
]],
"/cast Schild des Rächers",
"/cast Richturteil",
"/cast Gesegneter Hammer",
"/cast Schild der Rechtschaffenen",
"/cast Weihe",
"/cast Licht des Beschützers",
"/cast Richturteil",
"/cast Gesegneter Hammer",
"/cast Schild der Rechtschaffenen",
PostMacro=[[
/castsequence [mod:shift] Zornige Vergeltung, Ardent Defender, Guardian of Ancient Kings
/castsequence [mod:shift] Guardian of Ancient Kings
]],
}
I cant replicate this with any of the test languages I have access to. (enUS, esMX, ptBR) I'm not saying its not working but every other translation problem is common across languages. Previously i could see the problems with these terms in other languages.
Looking at this further. If you have saved this in myMacros then it thinks its a native German Sequence not a enUS one. It is marked as lang="deDE", Its not trying to translate it from enUS to deDE its trying to interpret it as a deDE sequence. For the translator to come into effect you need to save the enUS version in GS-myMacros.
The key is this part here:
StepFunction = GSStaticPriority,
lang="deDE",
PreMacro=[[
It reads that and goes this is a Source language of deDE. My current is deDE so i wont try to translate this. For the translator to work it needs to be either all enUS or all deDE
This is my original code in myMacros.
Sequences['ProtAoE'] = {
author="Tiegars",
specID=66,
helpTxt = "Talents: 2332223",
lang = "enUS",
StepFunction = GSStaticPriority,
PreMacro=[[
/targetenemy [noharm][dead]
/startattack
]],
[[/cast Avenger's Shield]],
[[/cast Judgment]],
[[/cast Blessed Hammer]],
[[/cast Shield of the Righteous]],
[[/cast Consecration]],
[[/cast Light of the Protector]],
[[/cast Judgment]],
[[/cast Blessed Hammer]],
[[/cast Shield of the Righteous]],
PostMacro=[[
/castsequence [mod:shift] Avenging Wrath, Ardent Defender, Guardian of Ancient Kings
/castsequence [mod:shift] Guardian of Ancient Kings
]],
}
My language in the Game was german.