GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

Translation Bug

tiegars opened this issue · 9 comments

commented

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
]],
}

commented

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.

commented

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.

commented

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

commented

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.

commented

I have not understand. :(

commented

Aura Mastery
Holy Avenger
Rule of Law

commented

Thx :)

commented

Found Something I can try for the next release

commented

I've released this in the Beta build on Curse and the updated Translator. If there are no issues overnight the Beta will become the final version