Originally Posted by wookiefriseur
Oh, yeah..looks like the Binding.xml expects a variable to generate the string, instead of writing the text directly into it.
|
Yep, ESO forces you to use Multi language support here, which is the correct way imo ;-)
https://wiki.esoui.com/Key_bindings
Code:
<Bindings>
<Layer name="SI_MY_ADDON_LAYER">
<Category name="SI_MAIN_FUNCTIONS">
<Action name="TURN_RIGHT">
<Down>TurnRightStart()</Down>
<Up>TurnRightStop()</Up>
</Action>
</Category>
</Layer>
</Bindings>
Layers and categories use the same names internally and on the UI; the game will pass the names through GetString to display them. Actions will have the string SI_BINDING_NAME_ prepended to their names, and the results will be passed through GetString for display (i.e. our example above would be GetString(SI_BINDING_NAME_TURN_RIGHT) which needs to be defined in your addon as string constant
https://wiki.esoui.com/How_to_add_lo...eating_strings
).
|