GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

translation issue [BUG]

Gyffes opened this issue · 8 comments

commented

🔵 Describe the bug:
In the Macro Variables area
the spells are displayed white. And do not work.
grafik

Only when I overwrite the spells with my game language they have a function again.

grafik

🔵 The error:
No Error

🔵 Screenshots:
see above

🔵 Expected behavior:
automatic translation of the spell

🔵 GSE.lua file:

GSE.lua.txt

🔵 Desktop (please complete the following information):

  • Windows 10 64bit]
  • retail (9.1.0)

🔵 GSE Version:

  • Version: 3.0.48
  • Downloaded From: [e.g. https://www.curseforge.com]

THANKS
Stay healthy.

commented

This unfortunately isn’t a bug. As mentioned in #998 not all variables are straight text like you have entered. Most are functions that comprise of Lua programming code that look like

function()
If SomeApiValue == true then
return valuea
else
return valueb
end
end

Attempting to translate this is currently not possible and would cause horrendous damage. As a result Variables are not translated. From the example “valuea” could be a spellID or it could be a true or false or it could be a cast line.

Macros have a limitation imposed by WoW in that they only work in the native client language.

commented

hi and thanks for the quick reply. that means you should work with the spellID instead of the spellName. To make it easier to work in different languages? Stay healthy.

commented
commented

ok sorry then i expressed myself wrong. Is it better to work with the id in the variable area? Thank you very much.

commented
commented

That's correct. But as soon as I share the macro and another game language is used. Must he adjust it again in the variable area. I would not work around this by entering the spellID. Sorry for my stupid and bad english.

;)

commented
commented

Ah ok. I understand. Thank you very much. I wish you a nice day. Thanks for your great addon. stay healthy.