xivapi / vue-xivtooltips

A set of vue components to fetch and display data from xivapi
Apache License 2.0
16 stars 8 forks source link

lang property doesn't work on ActionFetch #28

Closed ghost closed 3 years ago

ghost commented 4 years ago

Tested with:

<ActionFetch lang="fr" name="Asylum" :id="3569"></ActionFetch>

Results in:

Screen Shot 2020-11-16 at 4 11 51 PM

This is an issue that the requested columns in actions.js don't fetch the appropriate language data

ayyaruq commented 4 years ago

Language query parameter in xivapi changes the Name and Description fields, so you could either take all the separate language fields as individual columns, or just change Name_en and Description_en to Name and Description and it'll auto populate the correct language with the provided query param. Still need to localise the metadata like range/radius/etc.